summaryrefslogtreecommitdiff
path: root/math/py-netCDF4
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2022-01-05 15:40:56 +0000
committerwiz <wiz@pkgsrc.org>2022-01-05 15:40:56 +0000
commitd19f073cf98e1f2653a8d55bc4ae03f713437692 (patch)
treee9aefdaf8aa062e73299809ec4ac25bfcfb8a1a8 /math/py-netCDF4
parent43a3377b786e75dc9288884a4be636135f02feae (diff)
downloadpkgsrc-d19f073cf98e1f2653a8d55bc4ae03f713437692.tar.gz
python: egg.mk: add USE_PKG_RESOURCES flag
This flag should be set for packages that import pkg_resources and thus need setuptools after the build step. Set this flag for packages that need it and bump PKGREVISION.
Diffstat (limited to 'math/py-netCDF4')
-rw-r--r--math/py-netCDF4/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/math/py-netCDF4/Makefile b/math/py-netCDF4/Makefile
index dd8abcec4ff..db7b068eeb9 100644
--- a/math/py-netCDF4/Makefile
+++ b/math/py-netCDF4/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.18 2022/01/04 20:54:14 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2022/01/05 15:41:14 wiz Exp $
DISTNAME= netCDF4-1.5.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= math python
MASTER_SITES= ${MASTER_SITE_PYPI:=n/netCDF4/}
@@ -23,6 +23,8 @@ SUBST_MESSAGE.paths= Fixing header search paths.
PYTHON_VERSIONS_INCOMPATIBLE+= 27 # py-numpy
+USE_PKG_RESOURCES= yes
+
do-test:
cd ${WRKSRC}/test && ${SETENV} ${TEST_ENV} ${PYTHONBIN} run_all.py