aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-03-04 02:11:52 +0800
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2021-03-04 02:11:52 +0800
commit7ac61606b78d889262e76de9ebf794f4ff1a2cef (patch)
tree9a8b6d9cf4589affdfa681652a6cbc2fee35ac1d /graphics
parenteb8c71bf5d2bf7b4f7834600dcb2f3310cc23b5c (diff)
downloadfreebsd-ports-gnome-7ac61606b78d889262e76de9ebf794f4ff1a2cef.tar.gz
freebsd-ports-gnome-7ac61606b78d889262e76de9ebf794f4ff1a2cef.tar.zst
freebsd-ports-gnome-7ac61606b78d889262e76de9ebf794f4ff1a2cef.zip
Remove PYNUMPY
Diffstat (limited to 'graphics')
-rw-r--r--graphics/py-gdal/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/graphics/py-gdal/Makefile b/graphics/py-gdal/Makefile
index 022afadd89d4..ba7d09f35093 100644
--- a/graphics/py-gdal/Makefile
+++ b/graphics/py-gdal/Makefile
@@ -17,9 +17,6 @@ LICENSE_FILE= ${WRKSRC}/../../LICENSE.TXT
LIB_DEPENDS= libgdal.so:graphics/gdal
-OPTIONS_DEFINE= NUMPY
-NUMPY_DESC= Enable array support via NumPy
-
USES= compiler:c++14-lang python:3.6+ shebangfix tar:xz
USE_PYTHON= autoplist concurrent distutils
@@ -28,8 +25,11 @@ WRKSRC_SUBDIR= swig/python
SHEBANG_FILES= scripts/*.py
-NUMPY_BUILD_DEPENDS= ${PYNUMPY}
-NUMPY_RUN_DEPENDS= ${PYNUMPY}
+OPTIONS_DEFINE= NUMPY
+NUMPY_DESC= Enable array support via NumPy
+
+NUMPY_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.0.0,1:math/py-numpy@${PY_FLAVOR}
+NUMPY_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>=1.0.0,1:math/py-numpy@${PY_FLAVOR}
NUMPY_USES= fortran
post-install: