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>
This commit is contained in:
Yegor Yefremov 2015-12-15 08:16:50 +01:00 committed by Thomas Petazzoni
parent 053b3f978b
commit 5a5e713264
2 changed files with 6 additions and 10 deletions

View File

@ -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

View File

@ -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))