pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www py-django*: switch to USE_PKG_RESOURCES
details: https://anonhg.NetBSD.org/pkgsrc/rev/3cce3c9e94d2
branches: trunk
changeset: 371142:3cce3c9e94d2
user: wiz <wiz%pkgsrc.org@localhost>
date: Wed Jan 05 15:51:59 2022 +0000
description:
py-django*: switch to USE_PKG_RESOURCES
diffstat:
www/py-django/Makefile | 3 +--
www/py-django14/Makefile | 5 +++--
www/py-django2/Makefile | 5 +++--
www/py-django3/Makefile | 5 +++--
4 files changed, 10 insertions(+), 8 deletions(-)
diffs (92 lines):
diff -r ef4d9cb18b13 -r 3cce3c9e94d2 www/py-django/Makefile
--- a/www/py-django/Makefile Wed Jan 05 15:45:18 2022 +0000
+++ b/www/py-django/Makefile Wed Jan 05 15:51:59 2022 +0000
@@ -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 @@
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
diff -r ef4d9cb18b13 -r 3cce3c9e94d2 www/py-django14/Makefile
--- a/www/py-django14/Makefile Wed Jan 05 15:45:18 2022 +0000
+++ b/www/py-django14/Makefile Wed Jan 05 15:51:59 2022 +0000
@@ -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 @@
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 @@
PYTHON_VERSIONS_ACCEPTED= 27 # use py-django if you want python-3.x support
+USE_PKG_RESOURCES= yes
+
.include "options.mk"
pre-configure:
diff -r ef4d9cb18b13 -r 3cce3c9e94d2 www/py-django2/Makefile
--- a/www/py-django2/Makefile Wed Jan 05 15:45:18 2022 +0000
+++ b/www/py-django2/Makefile Wed Jan 05 15:51:59 2022 +0000
@@ -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 @@
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
diff -r ef4d9cb18b13 -r 3cce3c9e94d2 www/py-django3/Makefile
--- a/www/py-django3/Makefile Wed Jan 05 15:45:18 2022 +0000
+++ b/www/py-django3/Makefile Wed Jan 05 15:51:59 2022 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index