py-django*: switch to USE_PKG_RESOURCES
This commit is contained in:
parent
fd73e2c94a
commit
d6ed3f5636
4 changed files with 10 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.117 2022/01/05 15:41:29 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.118 2022/01/05 15:51:59 wiz Exp $
|
||||
|
||||
DISTNAME= Django-1.11.29
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -11,7 +11,6 @@ HOMEPAGE= https://www.djangoproject.com/
|
|||
COMMENT= Django, a high-level Python Web framework
|
||||
LICENSE= modified-bsd
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
||||
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.21 2022/01/05 10:09:53 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.22 2022/01/05 15:51:59 wiz Exp $
|
||||
|
||||
DISTNAME= Django-1.4.22
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -12,7 +12,6 @@ COMMENT= Django, a high-level Python Web framework (LTS version)
|
|||
LICENSE= modified-bsd
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-flup-[0-9]*:../../www/py-flup
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
REPLACE_PYTHON= django/bin/*.py
|
||||
|
@ -21,6 +20,8 @@ REPLACE_PYTHON+= django/conf/project_template/*.py
|
|||
|
||||
PYTHON_VERSIONS_ACCEPTED= 27 # use py-django if you want python-3.x support
|
||||
|
||||
USE_PKG_RESOURCES= yes
|
||||
|
||||
.include "options.mk"
|
||||
|
||||
pre-configure:
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.39 2022/01/05 10:09:53 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.40 2022/01/05 15:51:59 wiz Exp $
|
||||
|
||||
DISTNAME= Django-2.2.25
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -13,12 +13,13 @@ COMMENT= Django, a high-level Python Web framework
|
|||
LICENSE= modified-bsd
|
||||
|
||||
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
USE_PKG_RESOURCES= yes
|
||||
|
||||
REPLACE_PYTHON+= django/bin/django-admin.py
|
||||
REPLACE_PYTHON+= django/conf/project_template/manage.py-tpl
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.24 2022/01/05 10:09:53 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.25 2022/01/05 15:51:59 wiz Exp $
|
||||
|
||||
DISTNAME= Django-3.2.10
|
||||
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
|
||||
|
@ -14,13 +14,14 @@ LICENSE= modified-bsd
|
|||
|
||||
DEPENDS+= ${PYPKGPREFIX}-asgiref>=3.3.2:../../www/py-asgiref
|
||||
DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
|
||||
DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
|
||||
DEPENDS+= ${PYPKGPREFIX}-sqlparse>=0.2.2:../../databases/py-sqlparse
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
PYTHON_VERSIONS_INCOMPATIBLE= 27
|
||||
|
||||
USE_PKG_RESOURCES= yes
|
||||
|
||||
REPLACE_PYTHON+= django/bin/django-admin.py
|
||||
REPLACE_PYTHON+= django/conf/project_template/manage.py-tpl
|
||||
|
||||
|
|
Loading…
Reference in a new issue