git: c1981c0b94c6 - main - textproc/py-rdflib: Add BERKELEYDB, LXML, NETWORKX and ORJSON options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Fri, 25 Oct 2024 11:23:00 UTC
The branch main has been updated by sunpoet:

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

commit c1981c0b94c6dd7a4587b3d6d757f8c4aae2e349
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-10-25 11:19:24 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-10-25 11:19:24 +0000

    textproc/py-rdflib: Add BERKELEYDB, LXML, NETWORKX and ORJSON options
---
 textproc/py-rdflib/Makefile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/textproc/py-rdflib/Makefile b/textproc/py-rdflib/Makefile
index 1f9902672aac..69ed88d368e0 100644
--- a/textproc/py-rdflib/Makefile
+++ b/textproc/py-rdflib/Makefile
@@ -27,6 +27,17 @@ NO_ARCH=	yes
 
 CPE_VENDOR=	rdflib_project
 
+OPTIONS_DEFINE=	BERKELEYDB LXML NETWORKX ORJSON
+BERKELEYDB_DESC=BDB support
+LXML_DESC=	XML support
+ORJSON_DESC=	JSON support
+NETWORKX_DESC=	Network support
+
+BERKELEYDB_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}berkeleydb>=0:databases/py-berkeleydb@${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}
+ORJSON_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}orjson>=3.9.14<4:devel/py-orjson@${PY_FLAVOR}
+
 .include <bsd.port.pre.mk>
 
 .if ${PYTHON_REL} < 31100