diff options
author | wiz <wiz@pkgsrc.org> | 2022-01-05 15:40:56 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2022-01-05 15:40:56 +0000 |
commit | d19f073cf98e1f2653a8d55bc4ae03f713437692 (patch) | |
tree | e9aefdaf8aa062e73299809ec4ac25bfcfb8a1a8 /net/py-netaddr | |
parent | 43a3377b786e75dc9288884a4be636135f02feae (diff) | |
download | pkgsrc-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-netaddr')
-rw-r--r-- | net/py-netaddr/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/net/py-netaddr/Makefile b/net/py-netaddr/Makefile index cf9bb2d768f..0e8fa6bf8ed 100644 --- a/net/py-netaddr/Makefile +++ b/net/py-netaddr/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2022/01/04 20:54:29 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2022/01/05 15:41:17 wiz Exp $ DISTNAME= netaddr-0.8.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=n/netaddr/} @@ -18,6 +18,8 @@ DEPENDS+= ${PYPKGPREFIX}-importlib-resources-[0-9]*:../../devel/py-importlib-res USE_LANGUAGES= # none +USE_PKG_RESOURCES= yes + REPLACE_PYTHON+= netaddr/eui/ieee.py REPLACE_PYTHON+= netaddr/ip/iana.py REPLACE_PYTHON+= netaddr/tools/netaddr |