aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Yegor Yefremov <yegorslists@googlemail.com>2015-12-15 08:16:50 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-12-15 21:41:15 +0100
commit5a5e7132647c22ac3c93d53cb3b6a41a9fef5590 (patch)
tree87a52b0fff8eaee354c422e39226399c31a2d3d1
parent053b3f978b579dedabeafe4455f6321fb98010da (diff)
downloadbuildroot-5a5e7132647c22ac3c93d53cb3b6a41a9fef5590.tar.gz
buildroot-5a5e7132647c22ac3c93d53cb3b6a41a9fef5590.tar.bz2
python-pyroute2: bump to 0.3.15
Add a hash file. Change download location to pypi and remove a pre-configure hook as the package now provides a stand-alone setup.py. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/python-pyroute2/python-pyroute2.hash3
-rw-r--r--package/python-pyroute2/python-pyroute2.mk13
2 files changed, 6 insertions, 10 deletions
diff --git a/package/python-pyroute2/python-pyroute2.hash b/package/python-pyroute2/python-pyroute2.hash
new file mode 100644
index 0000000000..978492700c
--- /dev/null
+++ b/package/python-pyroute2/python-pyroute2.hash
@@ -0,0 +1,3 @@
+# md5 from https://pypi.python.org/pypi?:action=show_md5&digest=09cf70377ddf45ffc27b4ad56bcdf52e, sha256 locally computed
+md5 09cf70377ddf45ffc27b4ad56bcdf52e pyroute2-0.3.15.tar.gz
+sha256 f5b7116fd97f73f97adc3b9c040a4ddbe61f18bb02f47e1c8399567c8791d270 pyroute2-0.3.15.tar.gz
diff --git a/package/python-pyroute2/python-pyroute2.mk b/package/python-pyroute2/python-pyroute2.mk
index 61de1957c7..fffd556213 100644
--- a/package/python-pyroute2/python-pyroute2.mk
+++ b/package/python-pyroute2/python-pyroute2.mk
@@ -4,18 +4,11 @@
#
#############################################################
-PYTHON_PYROUTE2_VERSION = 16a8aced82c65b94eb9e15a7d773a3256763d155
-PYTHON_PYROUTE2_SITE = $(call github,svinota,pyroute2,$(PYTHON_PYROUTE2_VERSION))
+PYTHON_PYROUTE2_VERSION = 0.3.15
+PYTHON_PYROUTE2_SOURCE = pyroute2-$(PYTHON_PYROUTE2_VERSION).tar.gz
+PYTHON_PYROUTE2_SITE = https://pypi.python.org/packages/source/p/pyroute2
PYTHON_PYROUTE2_LICENSE = Apache-2.0 or GPLv2+
PYTHON_PYROUTE2_LICENSE_FILES = LICENSE.Apache.v2 LICENSE.GPL.v2 README.license.md
PYTHON_PYROUTE2_SETUP_TYPE = distutils
-PYTHON_PYROUTE2_DEPENDENCIES = host-gawk
-
-# this hook is needed to create setup.py from setup.py.in
-define PYTHON_PYROUTE2_CREATE_SETUP_PY
- $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D) update-version
-endef
-
-PYTHON_PYROUTE2_PRE_CONFIGURE_HOOKS += PYTHON_PYROUTE2_CREATE_SETUP_PY
$(eval $(python-package))