summaryrefslogtreecommitdiff
path: root/textproc/py-tabulate
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 /textproc/py-tabulate
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 'textproc/py-tabulate')
-rw-r--r--textproc/py-tabulate/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/py-tabulate/Makefile b/textproc/py-tabulate/Makefile
index b772e6b1296..f5c3985c8f3 100644
--- a/textproc/py-tabulate/Makefile
+++ b/textproc/py-tabulate/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2022/01/04 20:55:07 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2022/01/05 15:41:27 wiz Exp $
DISTNAME= tabulate-0.8.9
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=t/tabulate/}
@@ -15,6 +15,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
USE_LANGUAGES= # none
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} tabulate tabulate-${PYVERSSUFFIX} || ${TRUE}