diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-04-20 18:29:29 +0000 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2024-04-20 18:29:29 +0000 |
commit | bbee8306baf7e7054b13d33faafe1a3d35d65533 (patch) | |
tree | c7b49a6fc5b9df7e90e18a3a9bd92e68f79dd046 | |
parent | c4b168f5b2c58257ddac39c4a9889979173e0f6f (diff) | |
download | ports-bbee8306baf7e7054b13d33faafe1a3d35d65533.tar.gz ports-bbee8306baf7e7054b13d33faafe1a3d35d65533.zip |
net-mgmt/py-pynetbox: Allow build with py-packaging 24.0+
- Bump PORTREVISION for package change
Obtained from: https://github.com/netbox-community/pynetbox/pull/608
-rw-r--r-- | net-mgmt/py-pynetbox/Makefile | 3 | ||||
-rw-r--r-- | net-mgmt/py-pynetbox/files/patch-packaging | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/net-mgmt/py-pynetbox/Makefile b/net-mgmt/py-pynetbox/Makefile index 5f73b94b2556..1235f25ac282 100644 --- a/net-mgmt/py-pynetbox/Makefile +++ b/net-mgmt/py-pynetbox/Makefile @@ -1,5 +1,6 @@ PORTNAME= pynetbox DISTVERSION= 7.3.3 +PORTREVISION= 1 CATEGORIES= net-mgmt python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -12,7 +13,7 @@ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools-scm>0:devel/py-setuptools-scm@${PY_FLAVOR} -RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0<24:devel/py-packaging@${PY_FLAVOR} \ +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}requests>=2.20<3:www/py-requests@${PY_FLAVOR} TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} diff --git a/net-mgmt/py-pynetbox/files/patch-packaging b/net-mgmt/py-pynetbox/files/patch-packaging new file mode 100644 index 000000000000..c956f34f9395 --- /dev/null +++ b/net-mgmt/py-pynetbox/files/patch-packaging @@ -0,0 +1,13 @@ +Obtained from: https://github.com/netbox-community/pynetbox/pull/608 + +--- setup.py.orig 2024-01-05 23:18:34 UTC ++++ setup.py +@@ -15,7 +15,7 @@ setup( + long_description_content_type='text/markdown', + install_requires=[ + "requests>=2.20.0,<3.0", +- "packaging<24.0" ++ "packaging" + ], + zip_safe=False, + keywords=["netbox"], |