diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-03-22 02:46:38 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2023-03-22 03:21:12 +0800 |
commit | 2c3d49d4f38f1c5d3972cb33ba3ae11cebb30d2c (patch) | |
tree | 303518896828d8a0f2c7a53a1037158cfd17fb96 /net | |
parent | net/py-pyroute2: Update to 0.7.5 (diff) |
net/py-pyroute2.minimal: Convert to USE_PYTHON=pep517
- Bump PORTREVISION for dependency and package change
Diffstat (limited to 'net')
-rw-r--r-- | net/py-pyroute2.minimal/Makefile | 9 | ||||
-rw-r--r-- | net/py-pyroute2.minimal/files/setup.py | 3 |
2 files changed, 5 insertions, 7 deletions
diff --git a/net/py-pyroute2.minimal/Makefile b/net/py-pyroute2.minimal/Makefile index 362cb4e3117f..22a471ba1a1f 100644 --- a/net/py-pyroute2.minimal/Makefile +++ b/net/py-pyroute2.minimal/Makefile @@ -1,5 +1,6 @@ PORTNAME= pyroute2.minimal PORTVERSION= 0.7.3 +PORTREVISION= 1 CATEGORIES= net python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,8 +14,11 @@ LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSE.Apache-2.0 LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE.GPL-2.0-or-later +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} + USES= python:3.6+ -USE_PYTHON= autoplist concurrent distutils +USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes @@ -24,7 +28,4 @@ NO_ARCH= yes RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=0:devel/py-importlib-metadata@${PY_FLAVOR} .endif -post-patch: - @${CP} ${FILESDIR}/setup.py ${WRKSRC}/ - .include <bsd.port.post.mk> diff --git a/net/py-pyroute2.minimal/files/setup.py b/net/py-pyroute2.minimal/files/setup.py deleted file mode 100644 index 606849326a40..000000000000 --- a/net/py-pyroute2.minimal/files/setup.py +++ /dev/null @@ -1,3 +0,0 @@ -from setuptools import setup - -setup() |