pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www REPLACE_PYTHON does not need WRKSRC
details: https://anonhg.NetBSD.org/pkgsrc/rev/3ce9003b4b7b
branches: trunk
changeset: 373045:3ce9003b4b7b
user: adam <adam%pkgsrc.org@localhost>
date: Mon Dec 25 09:18:24 2017 +0000
description:
REPLACE_PYTHON does not need WRKSRC
diffstat:
www/py-django/Makefile | 11 ++++++-----
www/py-django14/Makefile | 14 +++++++-------
2 files changed, 13 insertions(+), 12 deletions(-)
diffs (56 lines):
diff -r 131473e833fc -r 3ce9003b4b7b www/py-django/Makefile
--- a/www/py-django/Makefile Mon Dec 25 08:57:46 2017 +0000
+++ b/www/py-django/Makefile Mon Dec 25 09:18:24 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.93 2017/12/04 14:23:00 adam Exp $
+# $NetBSD: Makefile,v 1.94 2017/12/25 09:18:24 adam Exp $
DISTNAME= Django-1.11.8
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -10,11 +10,12 @@
COMMENT= Django, a high-level Python Web framework
LICENSE= modified-bsd
-USE_LANGUAGES= # empty
-REPLACE_PYTHON= ${WRKSRC}/django/bin/django-admin.py
-REPLACE_PYTHON+= ${WRKSRC}/django/conf/project_template/manage.py-tpl
+DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
-DEPENDS+= ${PYPKGPREFIX}-pytz-[0-9]*:../../time/py-pytz
+USE_LANGUAGES= # none
+
+REPLACE_PYTHON= django/bin/django-admin.py
+REPLACE_PYTHON+=django/conf/project_template/manage.py-tpl
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
diff -r 131473e833fc -r 3ce9003b4b7b www/py-django14/Makefile
--- a/www/py-django14/Makefile Mon Dec 25 08:57:46 2017 +0000
+++ b/www/py-django14/Makefile Mon Dec 25 09:18:24 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2017/09/04 18:08:30 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2017/12/25 09:20:27 adam Exp $
DISTNAME= Django-1.4.22
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
@@ -11,14 +11,14 @@
LICENSE= modified-bsd
USE_LANGUAGES= # empty
-REPLACE_PYTHON= ${WRKSRC}/django/bin/*.py
-REPLACE_PYTHON+= ${WRKSRC}/django/bin/profiling/*.py
-REPLACE_PYTHON+= ${WRKSRC}/django/contrib/admin/bin/*.py
-REPLACE_PYTHON+= ${WRKSRC}/django/contrib/admin/static/admin/js/*.py
-REPLACE_PYTHON+= ${WRKSRC}/django/conf/project_template/*.py
+REPLACE_PYTHON= django/bin/*.py
+REPLACE_PYTHON+= django/bin/profiling/*.py
+REPLACE_PYTHON+= django/contrib/admin/bin/*.py
+REPLACE_PYTHON+= django/contrib/admin/static/admin/js/*.py
+REPLACE_PYTHON+= django/conf/project_template/*.py
PYTHON_VERSIONED_DEPENDENCIES= flup
-PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 # use py-django if you want python-3.x support
+PYTHON_VERSIONS_ACCEPTED= 27 # use py-django if you want python-3.x support
.include "options.mk"
Home |
Main Index |
Thread Index |
Old Index