summaryrefslogtreecommitdiff
path: root/math/py-vector/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/py-vector/Makefile')
-rw-r--r--math/py-vector/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/math/py-vector/Makefile b/math/py-vector/Makefile
index 92317737cf8e..2bff38f7fe8f 100644
--- a/math/py-vector/Makefile
+++ b/math/py-vector/Makefile
@@ -1,5 +1,5 @@
PORTNAME= vector
-PORTVERSION= 1.6.2
+PORTVERSION= 1.6.3
CATEGORIES= math python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -22,4 +22,18 @@ USE_PYTHON= autoplist concurrent pep517
NO_ARCH= yes
-.include <bsd.port.mk>
+OPTIONS_DEFINE= AWKWARD NUMBA SYMPY
+AWKWARD_DESC= Awkward arrays
+NUMBA_DESC= Numba-compiled functions
+SYMPY_DESC= SymPy expressions
+
+AWKWARD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}awkward>=2:math/py-awkward@${PY_FLAVOR}
+SYMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sympy>=0:math/py-sympy@${PY_FLAVOR}
+
+.include <bsd.port.pre.mk>
+
+.if ${PORT_OPTIONS:MNUMBA} && ${PYTHON_REL} < 31400
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}numba>=0.57:devel/py-numba@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>