git: 88be65029620 - main - devel/py-pytools: Add NUMPY option
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 31 Aug 2022 11:47:26 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=88be6502962063ad7da26b6e864748223fc1354f
commit 88be6502962063ad7da26b6e864748223fc1354f
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-08-31 11:27:31 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-08-31 11:41:49 +0000
devel/py-pytools: Add NUMPY option
---
devel/py-pytools/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/devel/py-pytools/Makefile b/devel/py-pytools/Makefile
index 67e1cb95209c..8b7c9ac64100 100644
--- a/devel/py-pytools/Makefile
+++ b/devel/py-pytools/Makefile
@@ -17,6 +17,10 @@ USE_PYTHON= autoplist concurrent distutils
NO_ARCH= yes
+OPTIONS_DEFINE= NUMPY
+
+NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.6.0,1:math/py-numpy@${PY_FLAVOR}
+
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 31100