[gnome-build-meta/jjardon/external_python_tarballs: 1/3] python-toml: Use tarball and avoid duplication




commit 7a9422b9f3858b27f11293b4249514c3aba0adfd
Author: Javier Jardón <jjardon gnome org>
Date:   Sat Jul 24 21:01:31 2021 +0100

    python-toml: Use tarball and avoid duplication

 elements/sdk-deps/python-toml.bst        | 17 ++++++-----------
 elements/vm/buildstream/bst-external.bst |  2 +-
 elements/vm/buildstream/toml.bst         | 11 -----------
 3 files changed, 7 insertions(+), 23 deletions(-)
---
diff --git a/elements/sdk-deps/python-toml.bst b/elements/sdk-deps/python-toml.bst
index b4a2c4c3..074d719e 100644
--- a/elements/sdk-deps/python-toml.bst
+++ b/elements/sdk-deps/python-toml.bst
@@ -1,16 +1,11 @@
-kind: pip
+kind: distutils
+
+sources:
+- kind: tar
+  url: 
https://files.pythonhosted.org/packages/be/ba/1f744cdc819428fc6b5084ec34d9b30660f6f9daaf70eead706e3203ec3c/toml-0.10.2.tar.gz
 
 build-depends:
-- freedesktop-sdk.bst:components/python3-pip.bst
+- freedesktop-sdk.bst:components/python3-setuptools.bst
 
 depends:
 - freedesktop-sdk.bst:components/python3.bst
-
-variables:
-  pip: pip3
-
-sources:
-- kind: git_tag
-  url: https://github.com/uiri/toml.git
-  track: master
-  ref: 0.10.1-0-ga86fc1fbd650a19eba313c3f642c9e2c679dc8d6
diff --git a/elements/vm/buildstream/bst-external.bst b/elements/vm/buildstream/bst-external.bst
index 104518d0..297de01f 100644
--- a/elements/vm/buildstream/bst-external.bst
+++ b/elements/vm/buildstream/bst-external.bst
@@ -13,4 +13,4 @@ depends:
 - vm/buildstream/buildstream.bst
 
 runtime-depends:
-- vm/buildstream/toml.bst
+- sdk-deps/python-toml.bst


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]