svn commit: r560939 - head/devel/py-datatest
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jan 10 08:20:27 UTC 2021
Author: sunpoet
Date: Sun Jan 10 08:20:23 2021
New Revision: 560939
URL: https://svnweb.freebsd.org/changeset/ports/560939
Log:
Add OPTIONAL option
Modified:
head/devel/py-datatest/Makefile
Modified: head/devel/py-datatest/Makefile
==============================================================================
--- head/devel/py-datatest/Makefile Sun Jan 10 08:20:18 2021 (r560938)
+++ head/devel/py-datatest/Makefile Sun Jan 10 08:20:23 2021 (r560939)
@@ -17,4 +17,13 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+OPTION_DEFINE= OPTIONAL
+OPTIONAL_DESC= Optional dependencies
+
+OPTIONAL_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dbfread>=0:textproc/py-dbfread@${PY_FLAVOR} \
+ ${PYNUMPY} \
+ ${PYTHON_PKGNAMEPREFIX}pandas>=0:math/py-pandas@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}squint>=0:databases/py-squint@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}xlrd>=0:textproc/py-xlrd@${PY_FLAVOR}
+
.include <bsd.port.mk>
More information about the svn-ports-head
mailing list