Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Oct 2024 09:56:53 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: 50fe4e3a2019 - main - www/py-html5lib-modern: Add ALL, CHARDET, GENSHI and LXML options
Message-ID:  <202410220956.49M9urSA040651@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=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>



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