diff --git a/net/py-pyroute2.minimal/Makefile b/net/py-pyroute2.minimal/Makefile index 32bbd9053485..1fc1d1351f82 100644 --- a/net/py-pyroute2.minimal/Makefile +++ b/net/py-pyroute2.minimal/Makefile @@ -1,30 +1,31 @@ # Created by: Po-Chuan Hsieh PORTNAME= pyroute2.minimal -PORTVERSION= 0.6.13 +PORTVERSION= 0.7.1 CATEGORIES= net python MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= sunpoet@FreeBSD.org COMMENT= Python Netlink library: minimal installation LICENSE= APACHE20 GPLv2+ LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.Apache.v2 LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE.GPL.v2 -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pyroute2.core>=${PORTVERSION}:net/py-pyroute2.core@${PY_FLAVOR} - USES= python:3.6+ USE_PYTHON= autoplist concurrent distutils NO_ARCH= yes .include .if ${PYTHON_REL} < 30800 RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} .endif +post-patch: + @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ + .include diff --git a/net/py-pyroute2.minimal/distinfo b/net/py-pyroute2.minimal/distinfo index fd57aba22396..7e0b2fc4f2b5 100644 --- a/net/py-pyroute2.minimal/distinfo +++ b/net/py-pyroute2.minimal/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1656092956 -SHA256 (pyroute2.minimal-0.6.13.tar.gz) = 74c3abfce19225a467dd3312dfd80310d5a9cc886370eafc16125d0527496117 -SIZE (pyroute2.minimal-0.6.13.tar.gz) = 22067 +TIMESTAMP = 1658151381 +SHA256 (pyroute2.minimal-0.7.1.tar.gz) = 9f3ab315174f2ef5abad190e80a2b68614530ad535e2b9604aa25d55ee342993 +SIZE (pyroute2.minimal-0.7.1.tar.gz) = 258485 diff --git a/net/py-pyroute2.minimal/files/setup.py b/net/py-pyroute2.minimal/files/setup.py new file mode 100644 index 000000000000..606849326a40 --- /dev/null +++ b/net/py-pyroute2.minimal/files/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup + +setup()