summaryrefslogtreecommitdiff
path: root/security/py-keyring
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 /security/py-keyring
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 'security/py-keyring')
-rw-r--r--security/py-keyring/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/security/py-keyring/Makefile b/security/py-keyring/Makefile
index b274df12bb1..1834ef3b262 100644
--- a/security/py-keyring/Makefile
+++ b/security/py-keyring/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.28 2022/01/04 20:54:42 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2022/01/05 15:41:20 wiz Exp $
DISTNAME= keyring-21.2.1
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= security python
MASTER_SITES= ${MASTER_SITE_PYPI:=k/keyring/}
@@ -17,6 +17,8 @@ BUILD_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=3.4.1:../../devel/py-setuptools_s
PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_PKG_RESOURCES= yes
+
.include "../../lang/python/pyversion.mk"
.if ${_PYTHON_VERSION} < 38
DEPENDS+= ${PYPKGPREFIX}-importlib-metadata-[0-9]*:../../devel/py-importlib-metadata