summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYegor Yefremov <yegorslists@googlemail.com>2017-01-17 11:17:20 +0100
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-01-24 22:49:17 +1300
commit3022787c73e7474e4ebb2647a561bea2d2bc45b3 (patch)
tree78fe7d199a4fba04516e9b8c1f5ae855f68436c0
parentf2f3619997ed52beb2c811bfa674411ccf8d2d51 (diff)
python-setuptools-scm: new package
This package is only needed at build stage, so make it a host package. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/python-setuptools-scm/python-setuptools-scm.hash3
-rw-r--r--package/python-setuptools-scm/python-setuptools-scm.mk14
2 files changed, 17 insertions, 0 deletions
diff --git a/package/python-setuptools-scm/python-setuptools-scm.hash b/package/python-setuptools-scm/python-setuptools-scm.hash
new file mode 100644
index 000000000..734fc5a9d
--- /dev/null
+++ b/package/python-setuptools-scm/python-setuptools-scm.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi/setuptools_scm/json, sha256 locally computed
+md5 b6916c78ed6253d6602444fad4279c5b setuptools_scm-1.15.0.tar.gz
+sha256 daf12d05aa2155a46aa357453757ffdc47d87f839e62114f042bceac6a619e2f setuptools_scm-1.15.0.tar.gz
diff --git a/package/python-setuptools-scm/python-setuptools-scm.mk b/package/python-setuptools-scm/python-setuptools-scm.mk
new file mode 100644
index 000000000..993fbb978
--- /dev/null
+++ b/package/python-setuptools-scm/python-setuptools-scm.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# python-setuptools-scm
+#
+################################################################################
+
+PYTHON_SETUPTOOLS_SCM_VERSION = 1.15.0
+PYTHON_SETUPTOOLS_SCM_SOURCE = setuptools_scm-$(PYTHON_SETUPTOOLS_SCM_VERSION).tar.gz
+PYTHON_SETUPTOOLS_SCM_SITE = https://pypi.python.org/packages/80/b7/31b6ae5fcb188e37f7e31abe75f9be90490a5456a72860fa6e643f8a3cbc
+PYTHON_SETUPTOOLS_SCM_LICENSE = MIT
+PYTHON_SETUPTOOLS_SCM_LICENSE_FILES = LICENSE
+PYTHON_SETUPTOOLS_SCM_SETUP_TYPE = setuptools
+
+$(eval $(host-python-package))