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 | |
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')
29 files changed, 116 insertions, 59 deletions
diff --git a/www/ddgr/Makefile b/www/ddgr/Makefile index e8ef182243d..86bf9e1887f 100644 --- a/www/ddgr/Makefile +++ b/www/ddgr/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.4 2022/01/04 20:55:14 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2022/01/05 15:41:28 wiz Exp $ DISTNAME= ddgr-1.9 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_GITHUB:=jarun/} GITHUB_TAG= v${PKGVERSION_NOREV} @@ -17,6 +17,8 @@ INSTALLATION_DIRS= ${PKGMANDIR}/man1 PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + REPLACE_PYTHON+= ddgr REPLACE_PYTHON+= setup.py diff --git a/www/py-PasteScript/Makefile b/www/py-PasteScript/Makefile index 3f0b1993bbb..bf10cda2ef6 100644 --- a/www/py-PasteScript/Makefile +++ b/www/py-PasteScript/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2022/01/04 20:55:15 wiz Exp $ +# $NetBSD: Makefile,v 1.6 2022/01/05 15:41:28 wiz Exp $ DISTNAME= PasteScript-2.0.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_PYPI:=P/PasteScript/} @@ -17,5 +17,7 @@ DEPENDS+= ${PYPKGPREFIX}-paste-[0-9]*:../../www/py-paste USE_LANGUAGES= # none +USE_PKG_RESOURCES= yes + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/py-autobahn/Makefile b/www/py-autobahn/Makefile index abcc919bff8..cc9665f6064 100644 --- a/www/py-autobahn/Makefile +++ b/www/py-autobahn/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.33 2022/01/04 20:55:16 wiz Exp $ +# $NetBSD: Makefile,v 1.34 2022/01/05 15:41:29 wiz Exp $ DISTNAME= autobahn-20.1.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=a/autobahn/} @@ -23,6 +23,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && ${MV} wamp wamp-${PYVERSSUFFIX} diff --git a/www/py-cheroot/Makefile b/www/py-cheroot/Makefile index acd65e497aa..05bfc5777bf 100644 --- a/www/py-cheroot/Makefile +++ b/www/py-cheroot/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.28 2022/01/04 20:55:17 wiz Exp $ +# $NetBSD: Makefile,v 1.29 2022/01/05 15:41:29 wiz Exp $ DISTNAME= cheroot-6.5.8 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=C/Cheroot/} @@ -35,6 +35,8 @@ DEPENDS+= ${PYPKGPREFIX}-backports.functools_lru_cache-[0-9]*:../../devel/py-bac USE_LANGUAGES= # none +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} cheroot cheroot-${PYVERSSUFFIX} || ${TRUE} diff --git a/www/py-cherrypy/Makefile b/www/py-cherrypy/Makefile index 8a79e2671b7..0415385849a 100644 --- a/www/py-cherrypy/Makefile +++ b/www/py-cherrypy/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.41 2022/01/04 20:55:17 wiz Exp $ +# $NetBSD: Makefile,v 1.42 2022/01/05 15:41:29 wiz Exp $ DISTNAME= CherryPy-18.2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=C/CherryPy/} @@ -30,6 +30,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} cherryd cherryd-${PYVERSSUFFIX} || ${TRUE} diff --git a/www/py-daphne/Makefile b/www/py-daphne/Makefile index d230a3d7895..7de851194b1 100644 --- a/www/py-daphne/Makefile +++ b/www/py-daphne/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.23 2022/01/04 20:55:17 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2022/01/05 15:41:29 wiz Exp $ DISTNAME= daphne-3.0.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=d/daphne/} @@ -20,6 +20,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} daphne daphne-${PYVERSSUFFIX} || ${TRUE} diff --git a/www/py-django/Makefile b/www/py-django/Makefile index 0158aef5c46..99cee464dea 100644 --- a/www/py-django/Makefile +++ b/www/py-django/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.116 2022/01/05 10:09:53 wiz Exp $ +# $NetBSD: Makefile,v 1.117 2022/01/05 15:41:29 wiz Exp $ DISTNAME= Django-1.11.29 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= www python MASTER_SITES= https://www.djangoproject.com/m/releases/${PKGVERSION_NOREV:R}/ @@ -19,6 +19,8 @@ USE_LANGUAGES= # none REPLACE_PYTHON+= django/bin/django-admin.py REPLACE_PYTHON+= django/conf/project_template/manage.py-tpl +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} django-admin django-admin-${PYVERSSUFFIX} && \ diff --git a/www/py-flask/Makefile b/www/py-flask/Makefile index 733aab41664..bf8990667e8 100644 --- a/www/py-flask/Makefile +++ b/www/py-flask/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.18 2022/01/04 20:55:25 wiz Exp $ +# $NetBSD: Makefile,v 1.19 2022/01/05 15:41:29 wiz Exp $ DISTNAME= Flask-1.1.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=F/Flask/} @@ -18,6 +18,8 @@ DEPENDS+= ${PYPKGPREFIX}-werkzeug>=0.15:../../www/py-werkzeug PYTHON_VERSIONED_DEPENDENCIES= test:test +USE_PKG_RESOURCES= yes + USE_LANGUAGES= # none post-install: diff --git a/www/py-google-apitools/Makefile b/www/py-google-apitools/Makefile index 033d55e8c54..71070d94307 100644 --- a/www/py-google-apitools/Makefile +++ b/www/py-google-apitools/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2022/01/04 20:55:29 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2022/01/05 15:41:29 wiz Exp $ DISTNAME= google-apitools-0.5.32 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=g/google-apitools/} @@ -21,6 +21,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-gflags +USE_PKG_RESOURCES= yes + USE_LANGUAGES= # none post-install: diff --git a/www/py-gunicorn/Makefile b/www/py-gunicorn/Makefile index 0014efbd6e7..7911c3bcc69 100644 --- a/www/py-gunicorn/Makefile +++ b/www/py-gunicorn/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.21 2022/01/04 20:55:29 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2022/01/05 15:41:29 wiz Exp $ DISTNAME= gunicorn-20.1.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=g/gunicorn/} PKGNAME= ${PYPKGPREFIX}-${DISTNAME} @@ -22,6 +22,8 @@ PYSETUPTESTTARGET= pytest PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} gunicorn gunicorn-${PYVERSSUFFIX} || ${TRUE} diff --git a/www/py-httpie/Makefile b/www/py-httpie/Makefile index ad2c54bdcf7..fc177193507 100644 --- a/www/py-httpie/Makefile +++ b/www/py-httpie/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.11 2022/01/04 20:55:30 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2022/01/05 15:41:30 wiz Exp $ DISTNAME= httpie-2.6.0 PKGNAME= ${PYPKGPREFIX}-${EGG_NAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpie/} @@ -25,6 +25,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: .for bin in http https cd ${DESTDIR}${PREFIX}/bin && \ diff --git a/www/py-httpx/Makefile b/www/py-httpx/Makefile index 60baae19787..7c623deb635 100644 --- a/www/py-httpx/Makefile +++ b/www/py-httpx/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.19 2022/01/04 20:55:30 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2022/01/05 15:41:30 wiz Exp $ DISTNAME= httpx-0.21.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=h/httpx/} @@ -21,6 +21,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-httpcore, py-anyio, py-uvloop +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} httpx httpx-${PYVERSSUFFIX} || ${TRUE} diff --git a/www/py-livereload/Makefile b/www/py-livereload/Makefile index f55f7959309..01c163eb8a7 100644 --- a/www/py-livereload/Makefile +++ b/www/py-livereload/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.9 2022/01/04 20:55:31 wiz Exp $ +# $NetBSD: Makefile,v 1.10 2022/01/05 15:41:30 wiz Exp $ DISTNAME= livereload-2.6.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=l/livereload/} @@ -16,6 +16,8 @@ DEPENDS+= ${PYPKGPREFIX}-tornado-[0-9]*:../../www/py-tornado USE_LANGUAGES= # none +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} livereload livereload-${PYVERSSUFFIX} || ${TRUE} diff --git a/www/py-mezzanine/Makefile b/www/py-mezzanine/Makefile index 6f84b979d29..cb23bb9c357 100644 --- a/www/py-mezzanine/Makefile +++ b/www/py-mezzanine/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2022/01/04 20:55:31 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2022/01/05 15:41:30 wiz Exp $ DISTNAME= Mezzanine-4.3.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=M/Mezzanine/} @@ -30,6 +30,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-django-contrib-comments +USE_PKG_RESOURCES= yes + REPLACE_PYTHON= mezzanine/project_template/manage.py post-install: diff --git a/www/py-nbformat/Makefile b/www/py-nbformat/Makefile index 59aeb5e9e61..b64fc649379 100644 --- a/www/py-nbformat/Makefile +++ b/www/py-nbformat/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.11 2022/01/04 20:55:32 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2022/01/05 15:41:30 wiz Exp $ DISTNAME= nbformat-5.1.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 2 +PKGREVISION= 3 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=n/nbformat/} @@ -23,6 +23,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && mv jupyter-trust jupyter-trust-${PYVERSSUFFIX} || ${TRUE} diff --git a/www/py-notebook/Makefile b/www/py-notebook/Makefile index af5ad1308c0..a1838997528 100644 --- a/www/py-notebook/Makefile +++ b/www/py-notebook/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.21 2022/01/04 20:55:32 wiz Exp $ +# $NetBSD: Makefile,v 1.22 2022/01/05 15:41:30 wiz Exp $ DISTNAME= notebook-6.0.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=n/notebook/} @@ -29,6 +29,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-ipykernel +USE_PKG_RESOURCES= yes + post-install: .for name in bundlerextension nbextension notebook serverextension cd ${DESTDIR}${PREFIX}/bin && \ diff --git a/www/py-pelican/Makefile b/www/py-pelican/Makefile index 8b804ec4933..17052daf7df 100644 --- a/www/py-pelican/Makefile +++ b/www/py-pelican/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.15 2022/01/04 20:55:32 wiz Exp $ +# $NetBSD: Makefile,v 1.16 2022/01/05 15:41:30 wiz Exp $ DISTNAME= pelican-4.5.0 GITHUB_PROJECT= pelican PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www textproc MASTER_SITES= ${MASTER_SITE_GITHUB:=getpelican/} @@ -27,6 +27,8 @@ DEPENDS+= ${PYPKGPREFIX}-dateutil-[0-9]*:../../time/py-dateutil PYTHON_VERSIONS_INCOMPATIBLE= 27 PYTHON_VERSIONED_DEPENDENCIES= sphinx:build +USE_PKG_RESOURCES= yes + USE_TOOLS+= make:build sed:build REPLACE_PYTHON+= pelican/tools/pelican_import.py diff --git a/www/py-pystache/Makefile b/www/py-pystache/Makefile index 2b17a2332d2..ad8d798564f 100644 --- a/www/py-pystache/Makefile +++ b/www/py-pystache/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.4 2022/01/04 20:55:33 wiz Exp $ +# $NetBSD: Makefile,v 1.5 2022/01/05 15:41:30 wiz Exp $ DISTNAME= pystache-0.5.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=p/pystache/} @@ -13,6 +13,8 @@ LICENSE= mit USE_LANGUAGES= # none +USE_PKG_RESOURCES= yes + post-extract: cd ${WRKSRC} && 2to3-${PYVERSSUFFIX} -w --no-diffs pystache diff --git a/www/py-raven/Makefile b/www/py-raven/Makefile index 1b385375737..b4377ae3d30 100644 --- a/www/py-raven/Makefile +++ b/www/py-raven/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.11 2022/01/04 20:55:34 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2022/01/05 15:41:30 wiz Exp $ DISTNAME= raven-6.10.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=r/raven/} @@ -44,6 +44,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-zconfig-[0-9]*:../../devel/py-zconfig PYTHON_VERSIONED_DEPENDENCIES= test:test +USE_PKG_RESOURCES= yes + .include "../../lang/python/pyversion.mk" .if ${PYPKGPREFIX} == py27 DEPENDS+= ${PYPKGPREFIX}-contextlib2-[0-9]*:../../devel/py-contextlib2 diff --git a/www/py-sanic/Makefile b/www/py-sanic/Makefile index 56c29999d7b..fde9ca8ff0e 100644 --- a/www/py-sanic/Makefile +++ b/www/py-sanic/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.23 2022/01/04 20:55:35 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2022/01/05 15:41:31 wiz Exp $ DISTNAME= sanic-21.6.2 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=s/sanic/} @@ -23,6 +23,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} sanic sanic-${PYVERSSUFFIX} || ${TRUE} diff --git a/www/py-scrapy/Makefile b/www/py-scrapy/Makefile index 9acfc5f1825..e1e5ce514ec 100644 --- a/www/py-scrapy/Makefile +++ b/www/py-scrapy/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.13 2022/01/04 20:55:35 wiz Exp $ +# $NetBSD: Makefile,v 1.14 2022/01/05 15:41:31 wiz Exp $ DISTNAME= Scrapy-2.4.1 PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=S/Scrapy/} @@ -30,6 +30,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} scrapy scrapy-${PYVERSSUFFIX} || ${TRUE} 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} diff --git a/www/py-swiftclient/Makefile b/www/py-swiftclient/Makefile index da35962fdb3..dde6b1b4d5d 100644 --- a/www/py-swiftclient/Makefile +++ b/www/py-swiftclient/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.8 2022/01/04 20:55:35 wiz Exp $ +# $NetBSD: Makefile,v 1.9 2022/01/05 15:41:31 wiz Exp $ DISTNAME= python-swiftclient-3.11.0 PKGNAME= ${DISTNAME:S/python/${PYPKGPREFIX}/} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=p/python-swiftclient/} @@ -23,6 +23,8 @@ SUBST_SED.manpath= -e 's,share/man,${PKGMANDIR},' PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX} && \ ${MV} bin/swift bin/swift-${PYVERSSUFFIX} && \ diff --git a/www/py-uvicorn/Makefile b/www/py-uvicorn/Makefile index e1b6a323ded..bcf1ed81156 100644 --- a/www/py-uvicorn/Makefile +++ b/www/py-uvicorn/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2022/01/04 20:55:36 wiz Exp $ +# $NetBSD: Makefile,v 1.25 2022/01/05 15:41:31 wiz Exp $ DISTNAME= uvicorn-0.16.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=u/uvicorn/} @@ -20,6 +20,8 @@ DEPENDS+= ${PYPKGPREFIX}-websockets>=10.0:../../www/py-websockets PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes + .include "../../lang/python/pyversion.mk" .if ${_PYTHON_VERSION} < 38 DEPENDS+= ${PYPKGPREFIX}-typing-extensions-[0-9]*:../../devel/py-typing-extensions diff --git a/www/py-wagtail/Makefile b/www/py-wagtail/Makefile index 0545d12a7e2..70c999ac228 100644 --- a/www/py-wagtail/Makefile +++ b/www/py-wagtail/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2022/01/04 20:55:37 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2022/01/05 15:41:31 wiz Exp $ DISTNAME= wagtail-2.12.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=w/wagtail/} @@ -38,6 +38,8 @@ USE_LANGUAGES= # none PYTHON_VERSIONS_INCOMPATIBLE= 27 # py-django2 +USE_PKG_RESOURCES= yes + REPLACE_PYTHON+= wagtail/project_template/manage.py pre-install: diff --git a/www/py-waitress/Makefile b/www/py-waitress/Makefile index 2433d409ca8..c6bc663893f 100644 --- a/www/py-waitress/Makefile +++ b/www/py-waitress/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.10 2022/01/04 20:55:37 wiz Exp $ +# $NetBSD: Makefile,v 1.11 2022/01/05 15:41:31 wiz Exp $ DISTNAME= waitress-1.4.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=w/waitress/} @@ -16,6 +16,8 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose USE_LANGUAGES= # none +USE_PKG_RESOURCES= yes + post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} waitress-serve waitress-serve-${PYVERSSUFFIX} || ${TRUE} diff --git a/www/py-webassets/Makefile b/www/py-webassets/Makefile index bbbabc7d811..e0fb936aba0 100644 --- a/www/py-webassets/Makefile +++ b/www/py-webassets/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2022/01/04 20:55:37 wiz Exp $ +# $NetBSD: Makefile,v 1.13 2022/01/05 15:41:31 wiz Exp $ DISTNAME= webassets-2.0 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www python MASTER_SITES= ${MASTER_SITE_PYPI:=w/webassets/} @@ -11,11 +11,13 @@ HOMEPAGE= https://webassets.readthedocs.io/ COMMENT= Asset management for Python web development LICENSE= modified-bsd +TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose + USE_LANGUAGES= # empty REPLACE_PYTHON+= src/webassets/filter/rjsmin/rjsmin.py -TEST_DEPENDS+= ${PYPKGPREFIX}-nose-[0-9]*:../../devel/py-nose +USE_PKG_RESOURCES= yes .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" diff --git a/www/trac/Makefile b/www/trac/Makefile index 3cd55d84899..00c7300da48 100644 --- a/www/trac/Makefile +++ b/www/trac/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.92 2022/01/04 20:55:39 wiz Exp $ +# $NetBSD: Makefile,v 1.93 2022/01/05 15:41:32 wiz Exp $ DISTNAME= Trac-1.4.2 PKGNAME= ${DISTNAME:tl} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www devel MASTER_SITES= http://ftp.edgewall.org/pub/trac/ @@ -27,6 +27,8 @@ USE_TOOLS+= pax # The Trac 1.4 series does not support python 3. PYTHON_VERSIONS_ACCEPTED= 27 +USE_PKG_RESOURCES= yes + REPLACE_PYTHON= contrib/*.py contrib/*-hook REPLACE_PYTHON+= trac/tests/functional/*.py diff --git a/www/tuir/Makefile b/www/tuir/Makefile index 1fce1e0f021..ce23800f6a5 100644 --- a/www/tuir/Makefile +++ b/www/tuir/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2022/01/04 20:55:39 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2022/01/05 15:41:32 wiz Exp $ DISTNAME= tuir-1.29.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www MASTER_SITES= ${MASTER_SITE_PYPI:=t/tuir/} @@ -25,6 +25,7 @@ SUBST_FILES.man+= setup.py SUBST_SED.man+= -e "s,share/man/man1,${PKGMANDIR}/man1,g" PYTHON_VERSIONS_INCOMPATIBLE= 27 +USE_PKG_RESOURCES= yes .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" |