summaryrefslogtreecommitdiff
path: root/math/py-cma
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-22 21:27:53 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2020-04-22 21:27:53 +0000
commit23240ca505bc580c79ce8a5126956518f8043490 (patch)
tree4f8729ae7a98f26be6fa737bccef9e8802683985 /math/py-cma
parentUpdate RUN_DEPENDS for py-oslo.config 8.0.0 update (diff)
Add PLOTTING and SKOPT options
Notes
Notes: svn path=/head/; revision=532544
Diffstat (limited to 'math/py-cma')
-rw-r--r--math/py-cma/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/math/py-cma/Makefile b/math/py-cma/Makefile
index dff6bc8f1462..7a11de79de06 100644
--- a/math/py-cma/Makefile
+++ b/math/py-cma/Makefile
@@ -20,4 +20,11 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+OPTIONS_DEFINE= PLOTTING SKOPT
+PLOTTING_DESC= Plotting support
+SKOPT_DESC= Scikit-Optimize (skopt) support
+
+PLOTTING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>=0:math/py-matplotlib@${PY_FLAVOR}
+SKOPT_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-optimize>=0:science/py-scikit-optimize@${PY_FLAVOR}
+
.include <bsd.port.mk>