svn commit: r524199 - head/www/py-draftjs_exporter
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jan 26 16:13:02 UTC 2020
Author: sunpoet
Date: Sun Jan 26 16:13:01 2020
New Revision: 524199
URL: https://svnweb.freebsd.org/changeset/ports/524199
Log:
Add HTML5LIB and LXML options
Modified:
head/www/py-draftjs_exporter/Makefile
Modified: head/www/py-draftjs_exporter/Makefile
==============================================================================
--- head/www/py-draftjs_exporter/Makefile Sun Jan 26 16:12:56 2020 (r524198)
+++ head/www/py-draftjs_exporter/Makefile Sun Jan 26 16:13:01 2020 (r524199)
@@ -18,4 +18,12 @@ USE_PYTHON= autoplist distutils
NO_ARCH= yes
+OPTIONS_DEFINE= HTML5LIB LXML
+HTML5LIB_DESC= Use html5lib as backing engine
+LXML_DESC= Use lxml as backing engine
+
+HTML5LIB_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}beautifulsoup>=4.4.1<5:www/py-beautifulsoup@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}html5lib>=0.999<1.0.2:www/py-html5lib@${PY_FLAVOR}
+LXML_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=4.2.0<5:devel/py-lxml@${PY_FLAVOR}
+
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list