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-django | |
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-django')
-rw-r--r-- | www/py-django/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
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} && \ |