summaryrefslogtreecommitdiff
path: root/net/py-magic-wormhole
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 /net/py-magic-wormhole
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 'net/py-magic-wormhole')
-rw-r--r--net/py-magic-wormhole/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/net/py-magic-wormhole/Makefile b/net/py-magic-wormhole/Makefile
index af1163c1998..d8423a29740 100644
--- a/net/py-magic-wormhole/Makefile
+++ b/net/py-magic-wormhole/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.6 2022/01/04 20:54:29 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2022/01/05 15:41:17 wiz Exp $
DISTNAME= magic-wormhole-0.12.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= net python
MASTER_SITES= ${MASTER_SITE_PYPI:=m/magic-wormhole/}
@@ -11,8 +11,6 @@ HOMEPAGE= https://github.com/warner/magic-wormhole
COMMENT= Securely transfer data between computers
LICENSE= mit
-PYTHON_VERSIONS_INCOMPATIBLE= 27
-
DEPENDS+= ${PYPKGPREFIX}-attrs>=16.3.0:../../devel/py-attrs
DEPENDS+= ${PYPKGPREFIX}-autobahn>=0.14.1:../../www/py-autobahn
DEPENDS+= ${PYPKGPREFIX}-automat-[0-9]*:../../devel/py-automat
@@ -32,6 +30,10 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-magic-wormhole-mailbox-server-[0-9]*:../../net/py-
USE_LANGUAGES= # none
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+USE_PKG_RESOURCES= yes
+
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} wormhole wormhole-${PYVERSSUFFIX} || ${TRUE}