Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2021 18:11:52 +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: r567173 - head/graphics/py-gdal
Message-ID:  <202103031811.123IBqAL049289@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Mar  3 18:11:52 2021
New Revision: 567173
URL: https://svnweb.freebsd.org/changeset/ports/567173

Log:
  Remove PYNUMPY

Modified:
  head/graphics/py-gdal/Makefile

Modified: head/graphics/py-gdal/Makefile
==============================================================================
--- head/graphics/py-gdal/Makefile	Wed Mar  3 18:11:48 2021	(r567172)
+++ head/graphics/py-gdal/Makefile	Wed Mar  3 18:11:52 2021	(r567173)
@@ -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:



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