From 635cb1309c4d52763c03bc00e7c367e06908b54f Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 21 Oct 2019 03:03:12 +0800 Subject: treewide: Use pypi.mk for Python packages This updates all Python packages that download their source from PyPi to use pypi.mk. This will allow future improvements/changes to pypi.mk to affect all relevant packages. This also makes it easier for future Python packages to start using pypi.mk, when it's clear how it is used in existing packages. Signed-off-by: Jeffery To --- lang/python/python3-pyroute2/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'lang/python/python3-pyroute2/Makefile') diff --git a/lang/python/python3-pyroute2/Makefile b/lang/python/python3-pyroute2/Makefile index 1488e6dc2..875fe0d05 100644 --- a/lang/python/python3-pyroute2/Makefile +++ b/lang/python/python3-pyroute2/Makefile @@ -11,16 +11,14 @@ PKG_NAME:=python3-pyroute2 PKG_VERSION:=0.5.6 PKG_RELEASE:=1 -PKG_SOURCE:=pyroute2-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://files.pythonhosted.org/packages/source/p/pyroute2 +PYPI_NAME:=pyroute2 PKG_HASH:=deae0e6191a04c3ee213c6fae6ed779602ef5da5ca5e2fa533f27bc04326bfbe -PKG_BUILD_DIR:=$(BUILD_DIR)/pyroute2-$(PKG_VERSION) - PKG_MAINTAINER:=Martin Matějek PKG_LICENSE:=GPL-2.0-or-later Apache-2.0 PKG_LICENSE_FILES:=LICENSE.GPL.v2 LICENSE.Apache.v2 +include ../pypi.mk include $(INCLUDE_DIR)/package.mk include ../python3-package.mk -- cgit v1.2.3