summaryrefslogtreecommitdiff
path: root/geography
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 /geography
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 'geography')
-rw-r--r--geography/py-obspy/Makefile6
-rw-r--r--geography/py-trytond-country/Makefile6
2 files changed, 8 insertions, 4 deletions
diff --git a/geography/py-obspy/Makefile b/geography/py-obspy/Makefile
index c692e01e436..57b4983c0f7 100644
--- a/geography/py-obspy/Makefile
+++ b/geography/py-obspy/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.20 2022/01/04 20:54:02 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2022/01/05 15:41:11 wiz Exp $
DISTNAME= obspy-1.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= geography python
MASTER_SITES= ${MASTER_SITE_PYPI:=o/obspy/}
EXTRACT_SUFX= .zip
@@ -27,6 +27,8 @@ REPLACE_BASH= obspy/taup/tests/data/TauP_test_data/gendata.sh
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-scipy
+USE_PKG_RESOURCES= yes
+
pre-configure:
${FIND} ${WRKSRC} -type f -exec ${CHMOD} -x {} \;
diff --git a/geography/py-trytond-country/Makefile b/geography/py-trytond-country/Makefile
index 705af6b3019..0dc62360b91 100644
--- a/geography/py-trytond-country/Makefile
+++ b/geography/py-trytond-country/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.13 2022/01/04 20:54:02 wiz Exp $
+# $NetBSD: Makefile,v 1.14 2022/01/05 15:41:11 wiz Exp $
TRYTON_MODULE_NAME= trytond_country
-PKGREVISION= 1
+PKGREVISION= 2
.include "../../devel/py-trytond/Makefile.common"
CATEGORIES= geography python
@@ -15,6 +15,8 @@ USE_LANGUAGES= # none
REPLACE_PYTHON+= tests/test_country.py
+USE_PKG_RESOURCES= yes
+
PY_PATCHPLIST= yes
post-install: