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 /www/py-static | |
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 'www/py-static')
-rw-r--r-- | www/py-static/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/www/py-static/Makefile b/www/py-static/Makefile index d90276d878a..6b6c31ff1e7 100644 --- a/www/py-static/Makefile +++ b/www/py-static/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2022/01/04 20:55:35 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2022/01/05 15:41:31 wiz Exp $ DISTNAME= static-1.1.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_PYPI:=s/static/} @@ -15,6 +15,8 @@ USE_LANGUAGES= # none DEPENDS+= ${PYPKGPREFIX}-pystache-[0-9]*:../../www/py-pystache +USE_PKG_RESOURCES= yes + post-install: ${MV} ${DESTDIR}${PREFIX}/bin/static ${DESTDIR}${PREFIX}/bin/static-${PYVERSSUFFIX} |