git: 50fe4e3a2019 - main - www/py-html5lib-modern: Add ALL, CHARDET, GENSHI and LXML options
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 22 Oct 2024 09:56:53 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=50fe4e3a20197f13a1319ea24b813a7fdee78ee8 commit 50fe4e3a20197f13a1319ea24b813a7fdee78ee8 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2024-10-22 09:49:05 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2024-10-22 09:49:05 +0000 www/py-html5lib-modern: Add ALL, CHARDET, GENSHI and LXML options --- www/py-html5lib-modern/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/www/py-html5lib-modern/Makefile b/www/py-html5lib-modern/Makefile index c53fc47756d3..236453614247 100644 --- a/www/py-html5lib-modern/Makefile +++ b/www/py-html5lib-modern/Makefile @@ -20,4 +20,15 @@ USE_PYTHON= autoplist concurrent pep517 NO_ARCH= yes +OPTIONS_DEFINE= ALL CHARDET GENSHI LXML +ALL_DESC= All optional dependencies +ALL_IMPLIES= CHARDET GENSHI LXML +CHARDET_DESC= Fallback character encoding detector +GENSHI_DESC= Tree walking via genshi +LXML_DESC= Tree building/walking via lxml + +CHARDET_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}chardet>=2.2.1,1:textproc/py-chardet@${PY_FLAVOR} +GENSHI_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Genshi>=0.7.1:textproc/py-genshi@${PY_FLAVOR} +LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=3.4.0:devel/py-lxml@${PY_FLAVOR} + .include <bsd.port.mk>