From 0dbdcfa23bc97d8a25b8a9c34a1e755a97703570 Mon Sep 17 00:00:00 2001 From: wiz Date: Wed, 5 Jan 2022 20:47:34 +0000 Subject: *: set USE_PKG_RESOURCES for more packages --- audio/py-beets/Makefile | 6 ++++-- devel/gyp/Makefile | 6 ++++-- devel/py-Pyro/Makefile | 6 ++++-- devel/py-bugzilla/Makefile | 6 ++++-- devel/py-cheetah3/Makefile | 6 ++++-- devel/py-deepstate/Makefile | 6 ++++-- devel/py-gitinspector-devel/Makefile | 6 ++++-- devel/py-isort4/Makefile | 6 ++++-- devel/py-pip20/Makefile | 6 ++++-- devel/py-py2app/Makefile | 6 ++++-- devel/py-test4/Makefile | 6 ++++-- devel/scons/Makefile | 6 ++++-- devel/transifex-client/Makefile | 6 ++++-- math/py-numba/Makefile | 6 ++++-- math/py-numpy16/Makefile | 6 ++++-- net/coilmq/Makefile | 6 ++++-- net/py-flower/Makefile | 6 ++++-- net/upnpinspector/Makefile | 6 ++++-- print/py-weasyprint0/Makefile | 6 ++++-- security/py-hsm/Makefile | 6 ++++-- security/py-rsa40/Makefile | 6 ++++-- textproc/py-html2text-2019.8.11/Makefile | 6 ++++-- textproc/py-pygments25/Makefile | 6 ++++-- textproc/py-sphinx1/Makefile | 6 ++++-- www/py-mod_wsgi/Makefile | 6 ++++-- www/qutebrowser/Makefile | 6 ++++-- 26 files changed, 104 insertions(+), 52 deletions(-) diff --git a/audio/py-beets/Makefile b/audio/py-beets/Makefile index 1280be4cb67..20a058dd458 100644 --- a/audio/py-beets/Makefile +++ b/audio/py-beets/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.29 2022/01/04 20:52:33 wiz Exp $ +# $NetBSD: Makefile,v 1.30 2022/01/05 20:47:34 wiz Exp $ DISTNAME= beets-1.5.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= audio python MASTER_SITES= ${MASTER_SITE_PYPI:=b/beets/} @@ -27,6 +27,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-jellyfish, py-mutagen +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && ${MV} beet beet-${PYVERSSUFFIX} || ${TRUE} diff --git a/devel/gyp/Makefile b/devel/gyp/Makefile index 3d203e11725..d64fc2098c4 100644 --- a/devel/gyp/Makefile +++ b/devel/gyp/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.23 2022/01/04 20:52:46 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2022/01/05 20:47:35 wiz Exp $ GIT_VERSION= 20200512.caa60026e223fc501e8b337fd5086ece4028b1c6 DIST_VERSION= 0.1 DISTNAME= gyp-${DIST_VERSION}pre${GIT_VERSION} PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_LOCAL} EXTRACT_SUFX= .tar.xz @@ -16,6 +16,8 @@ LICENSE= modified-bsd EGG_NAME= gyp-${DIST_VERSION} +USE_PKG_RESOURCES= yes + # REPLACE_PYTHON settings farmed out due to size... .include "Makefile.replace-python" diff --git a/devel/py-Pyro/Makefile b/devel/py-Pyro/Makefile index 6616d5c5d47..c6b34d73f87 100644 --- a/devel/py-Pyro/Makefile +++ b/devel/py-Pyro/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.28 2022/01/04 20:52:47 wiz Exp $ +# $NetBSD: Makefile,v 1.29 2022/01/05 20:47:35 wiz Exp $ DISTNAME= Pyro4-4.80 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pyro4/} @@ -15,6 +15,8 @@ DEPENDS+= ${PYPKGPREFIX}-serpent>=1.27:../../devel/py-serpent USE_LANGUAGES= # none +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} pyro4-check-config pyro4-check-config-${PYVERSSUFFIX} && \ diff --git a/devel/py-bugzilla/Makefile b/devel/py-bugzilla/Makefile index 11d1e9d5bf2..5c11ae8c117 100644 --- a/devel/py-bugzilla/Makefile +++ b/devel/py-bugzilla/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2022/01/04 20:52:53 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2022/01/05 20:47:35 wiz Exp $ DISTNAME= python-bugzilla-2.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-bugzilla/} @@ -17,6 +17,8 @@ PYTHON_VERSIONED_DEPENDENCIES= test:test USE_LANGUAGES= # none +USE_PKG_RESOURCES= yes + SUBST_CLASSES+= mandir SUBST_STAGE.mandir= pre-configure SUBST_MESSAGE.mandir= Setting correct mandir. diff --git a/devel/py-cheetah3/Makefile b/devel/py-cheetah3/Makefile index 21de1c05189..5d3b0d73745 100644 --- a/devel/py-cheetah3/Makefile +++ b/devel/py-cheetah3/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2022/01/04 20:52:56 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2022/01/05 20:47:35 wiz Exp $ DISTNAME= Cheetah3-3.2.6 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/Cheetah3/cheetah/} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cheetah3/} @@ -34,6 +34,8 @@ post-install: PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/devel/py-deepstate/Makefile b/devel/py-deepstate/Makefile index 87ca199124f..52a4819495c 100644 --- a/devel/py-deepstate/Makefile +++ b/devel/py-deepstate/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.3 2022/01/04 20:53:00 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2022/01/05 20:47:35 wiz Exp $ PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 USE_LANGUAGES= c99 c++ USE_CMAKE= yes @@ -15,6 +15,8 @@ DEPENDS+= deepstate-libfuzzer>=${VERSION}:../../devel/deepstate-libfuzzer PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + CONFIGURE_DIRS= build CMAKE_ARG_PATH= ${WRKSRC} PYSETUPSUBDIR= build diff --git a/devel/py-gitinspector-devel/Makefile b/devel/py-gitinspector-devel/Makefile index 670126d6102..9bd4a9c805d 100644 --- a/devel/py-gitinspector-devel/Makefile +++ b/devel/py-gitinspector-devel/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.2 2022/01/04 20:53:08 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2022/01/05 20:47:35 wiz Exp $ GITHUB_PROJECT= gitinspector DISTNAME= gitinspector-0.5.0.dev0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=ejwa/} GITHUB_TAG= 6d77989e341e043c9a7f09757000d75701b32d84 @@ -15,6 +15,8 @@ LICENSE= gnu-gpl-v3 DEPENDS+= git-base-[0-9]*:../../devel/git-base +USE_PKG_RESOURCES= yes + post-install: ${MV} ${DESTDIR}${PREFIX}/bin/gitinspector \ ${DESTDIR}${PREFIX}/bin/gitinspector${PYVERSSUFFIX} diff --git a/devel/py-isort4/Makefile b/devel/py-isort4/Makefile index 272292db07f..fa693195a94 100644 --- a/devel/py-isort4/Makefile +++ b/devel/py-isort4/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2022/01/04 20:53:12 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2022/01/05 20:47:35 wiz Exp $ DISTNAME= isort-4.3.21 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=i/isort/} @@ -15,6 +15,8 @@ DEPENDS+= ${PYPKGPREFIX}-lama-[0-9]*:../../devel/py-lama PYTHON_VERSIONED_DEPENDENCIES= test:test +USE_PKG_RESOURCES= yes + .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} == 27 DEPENDS+= ${PYPKGPREFIX}-backports.functools_lru_cache-[0-9]*:../../devel/py-backports.functools_lru_cache diff --git a/devel/py-pip20/Makefile b/devel/py-pip20/Makefile index 9f552229a98..08c8b267987 100644 --- a/devel/py-pip20/Makefile +++ b/devel/py-pip20/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2022/01/04 20:53:21 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2022/01/05 20:47:35 wiz Exp $ DISTNAME= pip-20.3.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pip/} @@ -19,6 +19,8 @@ REPLACE_PYTHON+= src/pip/_vendor/requests/certs.py PYTHON_VERSIONS_ACCEPTED= 27 +USE_PKG_RESOURCES= yes + .include "../../lang/python/pyversion.mk" FILES_SUBST+= PYMAJORVERSION=${_PYTHON_VERSION:C/^([0-9]).*/\1/} diff --git a/devel/py-py2app/Makefile b/devel/py-py2app/Makefile index 084d869c735..2cbe3c18931 100644 --- a/devel/py-py2app/Makefile +++ b/devel/py-py2app/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2022/01/04 20:53:22 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2022/01/05 20:47:35 wiz Exp $ DISTNAME= py2app-0.14 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/py2app/} @@ -24,6 +24,8 @@ do-test: ONLY_FOR_PLATFORM= Darwin-*-* +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && ${MV} py2applet py2applet${PYVERSSUFFIX} || ${TRUE} diff --git a/devel/py-test4/Makefile b/devel/py-test4/Makefile index 9d4b492052a..575cc301d24 100644 --- a/devel/py-test4/Makefile +++ b/devel/py-test4/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2022/01/04 20:53:43 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2022/01/05 20:47:36 wiz Exp $ DISTNAME= pytest-4.6.10 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pytest/} @@ -37,6 +37,8 @@ PYTHON_VERSIONED_DEPENDENCIES+= more-itertools PYTHON_VERSIONED_DEPENDENCIES+= hypothesis:test PYTHON_VERSIONED_DEPENDENCIES+= packaging +USE_PKG_RESOURCES= yes + USE_LANGUAGES= # none USE_TOOLS+= bash:build diff --git a/devel/scons/Makefile b/devel/scons/Makefile index 3a71586d56c..4bd3f483983 100644 --- a/devel/scons/Makefile +++ b/devel/scons/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.50 2022/01/04 20:53:50 wiz Exp $ +# $NetBSD: Makefile,v 1.51 2022/01/05 20:47:36 wiz Exp $ # 4.1.0 is broken, per reports on gpsd list. Apparently 4.0.1 is ok. DISTNAME= scons-3.1.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= devel python MASTER_SITES= ${MASTER_SITE_PYPI:=s/scons/} @@ -16,6 +16,8 @@ USE_LANGUAGES= # none PYTHON_SELF_CONFLICT= yes +USE_PKG_RESOURCES= yes + REPLACE_PYTHON+= script/scons REPLACE_PYTHON+= script/scons-configure-cache REPLACE_PYTHON+= script/scons-time diff --git a/devel/transifex-client/Makefile b/devel/transifex-client/Makefile index 3a919f9b9af..c2d35ad6d95 100644 --- a/devel/transifex-client/Makefile +++ b/devel/transifex-client/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.23 2022/01/04 20:53:50 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2022/01/05 20:47:36 wiz Exp $ DISTNAME= transifex-client-0.14.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=transifex/} GITHUB_PROJECT= transifex-client @@ -22,6 +22,8 @@ EXTRACT_USING= bsdtar PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && ${MV} tx tx-${PYVERSSUFFIX} || ${TRUE} diff --git a/math/py-numba/Makefile b/math/py-numba/Makefile index 8d63a19a162..631351343ec 100644 --- a/math/py-numba/Makefile +++ b/math/py-numba/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.26 2022/01/04 20:54:14 wiz Exp $ +# $NetBSD: Makefile,v 1.27 2022/01/05 20:47:36 wiz Exp $ DISTNAME= numba-0.51.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= math python MASTER_SITES= ${MASTER_SITE_PYPI:=n/numba/} @@ -18,6 +18,8 @@ USE_LANGUAGES= c c++ PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: .for cmd in numba pycc cd ${DESTDIR}${PREFIX}/bin && \ diff --git a/math/py-numpy16/Makefile b/math/py-numpy16/Makefile index a19aa4759fa..91194dcabdd 100644 --- a/math/py-numpy16/Makefile +++ b/math/py-numpy16/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2022/01/04 20:54:15 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2022/01/05 20:47:36 wiz Exp $ DISTNAME= numpy-1.16.6 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= math python MASTER_SITES= ${MASTER_SITE_PYPI:=n/numpy/} EXTRACT_SUFX= .zip @@ -20,6 +20,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose PYTHON_VERSIONED_DEPENDENCIES= test:test +USE_PKG_RESOURCES= yes + USE_LANGUAGES= c fortran .include "../../math/py-numpy/Makefile.make_env" diff --git a/net/coilmq/Makefile b/net/coilmq/Makefile index fa44e8266c1..688f499dbe8 100644 --- a/net/coilmq/Makefile +++ b/net/coilmq/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.19 2022/01/04 20:54:24 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2022/01/05 20:47:36 wiz Exp $ DISTNAME= CoilMQ-1.0.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=C/CoilMQ/} @@ -23,6 +23,8 @@ PYTHON_SELF_CONFLICT= yes PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + REPLACE_PYTHON+= coilmq/start.py PKG_SYSCONFSUBDIR= coilmq diff --git a/net/py-flower/Makefile b/net/py-flower/Makefile index 73be252f021..0cafda6f3dd 100644 --- a/net/py-flower/Makefile +++ b/net/py-flower/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.3 2022/01/04 20:54:27 wiz Exp $ +# $NetBSD: Makefile,v 1.4 2022/01/05 20:47:36 wiz Exp $ DISTNAME= flower-0.9.7 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= net python MASTER_SITES= ${MASTER_SITE_PYPI:=f/flower/} @@ -26,6 +26,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} flower flower-${PYVERSSUFFIX} || ${TRUE} diff --git a/net/upnpinspector/Makefile b/net/upnpinspector/Makefile index 16eaacbc9f9..4fbece0d9e7 100644 --- a/net/upnpinspector/Makefile +++ b/net/upnpinspector/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.20 2022/01/04 20:54:35 wiz Exp $ +# $NetBSD: Makefile,v 1.21 2022/01/05 20:47:36 wiz Exp $ DISTNAME= UPnP-Inspector-0.2.2 -PKGREVISION= 6 +PKGREVISION= 7 CATEGORIES= net #MASTER_SITES= http://coherence.beebits.net/download/ @@ -17,5 +17,7 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_ACCEPTED= 27 # py-gtk2 +USE_PKG_RESOURCES= yes + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/print/py-weasyprint0/Makefile b/print/py-weasyprint0/Makefile index 34c514f7575..4675714715a 100644 --- a/print/py-weasyprint0/Makefile +++ b/print/py-weasyprint0/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2022/01/04 20:54:36 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2022/01/05 20:47:36 wiz Exp $ DISTNAME= WeasyPrint-0.42.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= print python MASTER_SITES= ${MASTER_SITE_PYPI:=W/WeasyPrint/} @@ -27,6 +27,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner PYTHON_VERSIONS_ACCEPTED= 27 +USE_PKG_RESOURCES= yes + USE_LANGUAGES= # none .include "../../lang/python/egg.mk" diff --git a/security/py-hsm/Makefile b/security/py-hsm/Makefile index 6253ca2bcb9..3a64e7837b3 100644 --- a/security/py-hsm/Makefile +++ b/security/py-hsm/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2022/01/04 20:54:41 wiz Exp $ +# $NetBSD: Makefile,v 1.7 2022/01/05 20:47:37 wiz Exp $ DISTNAME= pyhsm-1.2.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/py//} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= security python MASTER_SITES= https://developers.yubico.com/python-pyhsm/Releases/ @@ -18,5 +18,7 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_ACCEPTED= 27 +USE_PKG_RESOURCES= yes + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/security/py-rsa40/Makefile b/security/py-rsa40/Makefile index e21447f4b2e..ef55ed52711 100644 --- a/security/py-rsa40/Makefile +++ b/security/py-rsa40/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2022/01/04 20:54:44 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2022/01/05 20:47:37 wiz Exp $ DISTNAME= rsa-4.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= security python MASTER_SITES= ${MASTER_SITE_PYPI:=r/rsa/} @@ -16,6 +16,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-mock-[0-9]*:../../devel/py-mock PYTHON_VERSIONS_ACCEPTED= 27 +USE_PKG_RESOURCES= yes + USE_LANGUAGES= # none post-install: diff --git a/textproc/py-html2text-2019.8.11/Makefile b/textproc/py-html2text-2019.8.11/Makefile index 4385fdb6f69..11acdc252c4 100644 --- a/textproc/py-html2text-2019.8.11/Makefile +++ b/textproc/py-html2text-2019.8.11/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.2 2022/01/04 20:54:55 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2022/01/05 20:47:37 wiz Exp $ DISTNAME= html2text-2019.8.11 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= textproc converters python MASTER_SITES= ${MASTER_SITE_PYPI:=h/html2text/} @@ -16,6 +16,8 @@ USE_LANGUAGES= # none # of html2text to work with this Python version. PYTHON_VERSIONS_ACCEPTED= 27 +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && ${MV} html2text html2text-${PYVERSSUFFIX} || ${TRUE} diff --git a/textproc/py-pygments25/Makefile b/textproc/py-pygments25/Makefile index 2ff96b3007b..31d93db7b3f 100644 --- a/textproc/py-pygments25/Makefile +++ b/textproc/py-pygments25/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2022/01/04 20:55:03 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2022/01/05 20:47:37 wiz Exp $ DISTNAME= Pygments-2.5.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=P/Pygments/} @@ -17,6 +17,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test4 PYTHON_VERSIONS_ACCEPTED= 27 +USE_PKG_RESOURCES= yes + USE_LANGUAGES= # none post-install: diff --git a/textproc/py-sphinx1/Makefile b/textproc/py-sphinx1/Makefile index aff014c35b2..c62d62b34c8 100644 --- a/textproc/py-sphinx1/Makefile +++ b/textproc/py-sphinx1/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2022/01/04 20:55:06 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2022/01/05 20:47:37 wiz Exp $ DISTNAME= Sphinx-1.8.5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} -PKGREVISION= 4 +PKGREVISION= 5 CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=S/Sphinx/} @@ -36,6 +36,8 @@ PYTHON_VERSIONED_DEPENDENCIES= packaging pygments test:test USE_LANGUAGES= # none USE_TOOLS+= makeinfo +USE_PKG_RESOURCES= yes + do-test: cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX} diff --git a/www/py-mod_wsgi/Makefile b/www/py-mod_wsgi/Makefile index ab13acfa64e..aef4c14cad4 100644 --- a/www/py-mod_wsgi/Makefile +++ b/www/py-mod_wsgi/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.21 2022/01/04 20:55:31 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2022/01/05 20:47:37 wiz Exp $ DISTNAME= mod_wsgi-4.7.1 PKGNAME= ${PYPKGPREFIX}-${APACHE_PKG_PREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=m/mod_wsgi/} @@ -16,6 +16,8 @@ MESSAGE_SUBST+= PYSITELIB=${PYSITELIB} MESSAGE_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} PLIST_SUBST+= PYPKGPREFIX=${PYPKGPREFIX} +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} mod_wsgi-express mod_wsgi-express-${PYVERSSUFFIX} || ${TRUE} diff --git a/www/qutebrowser/Makefile b/www/qutebrowser/Makefile index cf49a407bc4..5de2edd9841 100644 --- a/www/qutebrowser/Makefile +++ b/www/qutebrowser/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.12 2022/01/04 20:55:39 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2022/01/05 20:47:37 wiz Exp $ DISTNAME= qutebrowser-1.13.1 -PKGREVISION= 7 +PKGREVISION= 8 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_GITHUB:=qutebrowser/} GITHUB_TAG= v${PKGVERSION_NOREV} @@ -24,6 +24,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + .include "../../lang/python/egg.mk" .include "../../x11/py-qt5/buildlink3.mk" .include "../../x11/qt5-qtbase/buildlink3.mk" -- cgit v1.2.3