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 /comms | |
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 'comms')
-rw-r--r-- | comms/py-nodemcu-uploader/Makefile | 6 | ||||
-rw-r--r-- | comms/py-serial/Makefile | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/comms/py-nodemcu-uploader/Makefile b/comms/py-nodemcu-uploader/Makefile index a9cb7ea4f34..63f34857eea 100644 --- a/comms/py-nodemcu-uploader/Makefile +++ b/comms/py-nodemcu-uploader/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2022/01/04 20:52:38 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2022/01/05 15:40:58 wiz Exp $ DISTNAME= nodemcu-uploader-0.4.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 3 +PKGREVISION= 4 CATEGORIES= comms MASTER_SITES= ${MASTER_SITE_PYPI:=n/nodemcu-uploader/} @@ -16,6 +16,8 @@ USE_LANGUAGES= # none DEPENDS+= ${PYPKGPREFIX}-serial>=2.7:../../comms/py-serial DEPENDS+= ${PYPKGPREFIX}-wrapt>=1.10.10:../../devel/py-wrapt +USE_PKG_RESOURCES= yes + .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/comms/py-serial/Makefile b/comms/py-serial/Makefile index 65e0cb5ca12..8a8589b39d1 100644 --- a/comms/py-serial/Makefile +++ b/comms/py-serial/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2022/01/04 20:52:38 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2022/01/05 15:40:58 wiz Exp $ DISTNAME= pyserial-3.5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= comms python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyserial/} @@ -17,6 +17,8 @@ USE_LANGUAGES= # none REPLACE_PYTHON= serial/*.py serial/*/*.py +USE_PKG_RESOURCES= yes + post-install: .for bin in pyserial-miniterm pyserial-ports cd ${DESTDIR}${PREFIX}/bin && \ |