Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Apr 2024 18:32:09 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: bbee8306baf7 - main - net-mgmt/py-pynetbox: Allow build with py-packaging 24.0+
Message-ID:  <202404201832.43KIW9rT034806@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bbee8306baf7e7054b13d33faafe1a3d35d65533

commit bbee8306baf7e7054b13d33faafe1a3d35d65533
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-04-20 18:29:29 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-04-20 18:29:29 +0000

    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
---
 net-mgmt/py-pynetbox/Makefile              |  3 ++-
 net-mgmt/py-pynetbox/files/patch-packaging | 13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletion(-)

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"],



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404201832.43KIW9rT034806>