git: dbe8df4b6a78 - main - textproc/py-rdflib: Update version requirement of *_DEPENDS

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Thu, 31 Oct 2024 20:43:45 UTC
The branch main has been updated by sunpoet:

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

commit dbe8df4b6a781b0d9ed5277229b94c4abe259347
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-31 20:41:24 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-31 20:41:24 +0000

    textproc/py-rdflib: Update version requirement of *_DEPENDS
---
 textproc/py-rdflib/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/textproc/py-rdflib/Makefile b/textproc/py-rdflib/Makefile
index 5d7303e20da0..89db6ab7e7bb 100644
--- a/textproc/py-rdflib/Makefile
+++ b/textproc/py-rdflib/Makefile
@@ -14,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}poetry-core>=1.4.0:devel/py-poetry-core@${PY_FLAVOR}
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pyparsing>=2.1.0<4:devel/py-pyparsing@${PY_FLAVOR}
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}berkeleydb>=0:databases/py-berkeleydb@${PY_FLAVOR} \
-		${PYTHON_PKGNAMEPREFIX}networkx>=2<4:math/py-networkx@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}networkx>=2,2<4,2:math/py-networkx@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-cov>=0:devel/py-pytest-cov@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}pytest-subtests>=0:devel/py-pytest-subtests@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}tabulate>=0:devel/py-tabulate@${PY_FLAVOR}
@@ -23,6 +23,7 @@ USES=		cpe python
 USE_PYTHON=	autoplist concurrent pep517 pytest
 
 NO_ARCH=	yes
+TEST_ENV=	PYTHONPATH=${STAGEDIR}${PYTHON_SITELIBDIR}
 
 CPE_VENDOR=	rdflib_project
 
@@ -36,7 +37,7 @@ NETWORKX_DESC=	Network support
 BERKELEYDB_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}berkeleydb>=0:databases/py-berkeleydb@${PY_FLAVOR}
 HTML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}html5rdf>=1.2<2:www/py-html5rdf@${PY_FLAVOR}
 LXML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=4.3<6.0:devel/py-lxml@${PY_FLAVOR}
-NEWORKX_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}networkx>=2<4:math/py-networkx@${PY_FLAVOR}
+NEWORKX_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}networkx>=2,2<4,2:math/py-networkx@${PY_FLAVOR}
 ORJSON_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}orjson>=3.9.14<4:devel/py-orjson@${PY_FLAVOR}
 
 .include <bsd.port.pre.mk>