Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jan 2021 08:20:23 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r560939 - head/devel/py-datatest
Message-ID:  <202101100820.10A8KNY1011032@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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