git: 1376fa14c9c0 - main - devel/py-xsdata: Add CLI, LXML and SOAP options

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Mon, 27 Nov 2023 18:46:55 UTC
The branch main has been updated by sunpoet:

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

commit 1376fa14c9c0c350308d6dfe5276db52fc00bcde
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-11-27 18:46:31 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-11-27 18:46:31 +0000

    devel/py-xsdata: Add CLI, LXML and SOAP options
---
 devel/py-xsdata/Makefile | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/devel/py-xsdata/Makefile b/devel/py-xsdata/Makefile
index fe48631cff9c..aa939e0c0e26 100644
--- a/devel/py-xsdata/Makefile
+++ b/devel/py-xsdata/Makefile
@@ -21,4 +21,16 @@ USE_PYTHON=	autoplist concurrent pep517
 
 NO_ARCH=	yes
 
+OPTIONS_DEFINE=	CLI LXML SOAP
+LXML_DESC=	Handler/writer via lxml
+SOAP_DESC=	Simple Object Access Protocol (SOAP) support
+
+CLI_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}click>=5.0:devel/py-click@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}click-default-group>=1.2:devel/py-click-default-group@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}docformatter>=1.7.2:devel/py-docformatter@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}Jinja2>=2.10:devel/py-Jinja2@${PY_FLAVOR} \
+			${PYTHON_PKGNAMEPREFIX}toposort>=1.5:devel/py-toposort@${PY_FLAVOR}
+LXML_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=4.4.1:devel/py-lxml@${PY_FLAVOR}
+SOAP_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
+
 .include <bsd.port.mk>