summaryrefslogtreecommitdiff
path: root/biology
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 /biology
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 'biology')
-rw-r--r--biology/py-cutadapt/Makefile6
-rw-r--r--biology/py-pydicom/Makefile6
2 files changed, 8 insertions, 4 deletions
diff --git a/biology/py-cutadapt/Makefile b/biology/py-cutadapt/Makefile
index 11d58a72c64..06ea230e60e 100644
--- a/biology/py-cutadapt/Makefile
+++ b/biology/py-cutadapt/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2022/01/04 20:52:35 wiz Exp $
+# $NetBSD: Makefile,v 1.8 2022/01/05 15:40:57 wiz Exp $
DISTNAME= cutadapt-3.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= biology python
MASTER_SITES= ${MASTER_SITE_PYPI:=c/cutadapt/}
@@ -18,6 +18,8 @@ DEPENDS+= ${PYPKGPREFIX}-xopen>=1.0.0:../../devel/py-xopen
PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-xopen, dataclasses
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} cutadapt cutadapt-${PYVERSSUFFIX} || ${TRUE}
diff --git a/biology/py-pydicom/Makefile b/biology/py-pydicom/Makefile
index 50a60fddfce..a37ade7de7f 100644
--- a/biology/py-pydicom/Makefile
+++ b/biology/py-pydicom/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2022/01/04 20:52:35 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/01/05 15:40:57 wiz Exp $
DISTNAME= pydicom-2.2.2
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= biology python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pydicom/}
@@ -17,6 +17,8 @@ USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} pydicom pydicom-${PYVERSSUFFIX} || ${TRUE}