pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-django Changes 1.4:
details: https://anonhg.NetBSD.org/pkgsrc/rev/29e70e6e30a3
branches: trunk
changeset: 602679:29e70e6e30a3
user: adam <adam%pkgsrc.org@localhost>
date: Tue Apr 17 17:57:38 2012 +0000
description:
Changes 1.4:
* Support for time zones
* Support for in-browser testing frameworks
* Updated default project layout and manage.py
* Custom project and app templates
* Improved WSGI support
* Improved password hashing
* HTML5 doctype
* List filters in admin interface
* Multiple sort in admin interface
* New ModelAdmin methods
More...
diffstat:
www/py-django/Makefile | 22 +-
www/py-django/PLIST | 790 ++++++++++++++++++++++++++++++++++++------------
www/py-django/distinfo | 8 +-
3 files changed, 601 insertions(+), 219 deletions(-)
diffs (truncated from 1902 to 300 lines):
diff -r 1513359bf586 -r 29e70e6e30a3 www/py-django/Makefile
--- a/www/py-django/Makefile Tue Apr 17 17:53:13 2012 +0000
+++ b/www/py-django/Makefile Tue Apr 17 17:57:38 2012 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.33 2012/01/26 11:34:28 obache Exp $
+# $NetBSD: Makefile,v 1.34 2012/04/17 17:57:38 adam Exp $
-DJANGOVERS= 1.3.1
+DJANGOVERS= 1.4
DISTNAME= Django-${DJANGOVERS}
PKGNAME= ${PYPKGPREFIX}-django-${DJANGOVERS}
-PKGREVISION= 1
CATEGORIES= www python
-MASTER_SITES= http://media.djangoproject.com/releases/1.3/
+MASTER_SITES= http://www.djangoproject.com/m/releases/1.4/
MAINTAINER= joerg%NetBSD.org@localhost
HOMEPAGE= http://www.djangoproject.com/
@@ -18,21 +17,24 @@
PKG_DESTDIR_SUPPORT= user-destdir
-USE_LANGUAGES= # empty
+USE_LANGUAGES= # empty
+REPLACE_PYTHON= ${WRKSRC}/django/bin/*.py
+REPLACE_PYTHON+= ${WRKSRC}/django/bin/profiling/*.py
+REPLACE_PYTHON+= ${WRKSRC}/django/contrib/admin/static/admin/js/*.py
+REPLACE_PYTHON+= ${WRKSRC}/django/conf/project_template/*.py
DEPENDS+= ${PYPKGPREFIX}-flup-[0-9]*:../../www/py-flup
.include "options.mk"
pre-configure:
+.if empty(PKG_OPTIONS:Mmysql)
+ rm -r ${WRKSRC}/django/db/backends/mysql
+.endif
.if empty(PKG_OPTIONS:Moracle)
rm -r ${WRKSRC}/django/db/backends/oracle
.endif
-.if empty(PKG_OPTIONS:Mmysql)
- rm -r ${WRKSRC}/django/db/backends/mysql
-.endif
.if empty(PKG_OPTIONS:Mpgsql)
- rm -r ${WRKSRC}/django/db/backends/postgresql
rm -r ${WRKSRC}/django/db/backends/postgresql_psycopg2
.endif
.if empty(PKG_OPTIONS:Msqlite)
@@ -44,9 +46,9 @@
PRINT_PLIST_AWK+= { gsub("^${BACKEND_PATH}/mysql/", "$${PLIST.mysql}${BACKEND_PATH_PLIST}/mysql/") }
PRINT_PLIST_AWK+= { gsub("^${BACKEND_PATH}/oracle/", "$${PLIST.oracle}${BACKEND_PATH_PLIST}/oracle/") }
-PRINT_PLIST_AWK+= { gsub("^${BACKEND_PATH}/postgresql/", "$${PLIST.pgsql}${BACKEND_PATH_PLIST}/postgresql/") }
PRINT_PLIST_AWK+= { gsub("^${BACKEND_PATH}/postgresql_psycopg2/", "$${PLIST.pgsql}${BACKEND_PATH_PLIST}/postgresql_psycopg2/") }
PRINT_PLIST_AWK+= { gsub("^${BACKEND_PATH}/sqlite3/", "$${PLIST.sqlite}${BACKEND_PATH_PLIST}/sqlite3/") }
+.include "../../lang/python/application.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 1513359bf586 -r 29e70e6e30a3 www/py-django/PLIST
--- a/www/py-django/PLIST Tue Apr 17 17:53:13 2012 +0000
+++ b/www/py-django/PLIST Tue Apr 17 17:57:38 2012 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.23 2012/04/08 20:21:59 wiz Exp $
+@comment $NetBSD: PLIST,v 1.24 2012/04/17 17:57:38 adam Exp $
bin/django-admin.py
${PYSITELIB}/${EGG_FILE}
${PYSITELIB}/django/__init__.py
@@ -141,6 +141,8 @@
${PYSITELIB}/django/conf/locale/en_GB/formats.py
${PYSITELIB}/django/conf/locale/en_GB/formats.pyc
${PYSITELIB}/django/conf/locale/en_GB/formats.pyo
+${PYSITELIB}/django/conf/locale/eo/LC_MESSAGES/django.mo
+${PYSITELIB}/django/conf/locale/eo/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/es/LC_MESSAGES/django.mo
${PYSITELIB}/django/conf/locale/es/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/es/__init__.py
@@ -307,6 +309,8 @@
${PYSITELIB}/django/conf/locale/ka/formats.py
${PYSITELIB}/django/conf/locale/ka/formats.pyc
${PYSITELIB}/django/conf/locale/ka/formats.pyo
+${PYSITELIB}/django/conf/locale/kk/LC_MESSAGES/django.mo
+${PYSITELIB}/django/conf/locale/kk/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/km/LC_MESSAGES/django.mo
${PYSITELIB}/django/conf/locale/km/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/km/__init__.py
@@ -379,6 +383,8 @@
${PYSITELIB}/django/conf/locale/nb/formats.py
${PYSITELIB}/django/conf/locale/nb/formats.pyc
${PYSITELIB}/django/conf/locale/nb/formats.pyo
+${PYSITELIB}/django/conf/locale/ne/LC_MESSAGES/django.mo
+${PYSITELIB}/django/conf/locale/ne/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/nl/LC_MESSAGES/django.mo
${PYSITELIB}/django/conf/locale/nl/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/nl/__init__.py
@@ -395,14 +401,6 @@
${PYSITELIB}/django/conf/locale/nn/formats.py
${PYSITELIB}/django/conf/locale/nn/formats.pyc
${PYSITELIB}/django/conf/locale/nn/formats.pyo
-${PYSITELIB}/django/conf/locale/no/LC_MESSAGES/django.mo
-${PYSITELIB}/django/conf/locale/no/LC_MESSAGES/django.po
-${PYSITELIB}/django/conf/locale/no/__init__.py
-${PYSITELIB}/django/conf/locale/no/__init__.pyc
-${PYSITELIB}/django/conf/locale/no/__init__.pyo
-${PYSITELIB}/django/conf/locale/no/formats.py
-${PYSITELIB}/django/conf/locale/no/formats.pyc
-${PYSITELIB}/django/conf/locale/no/formats.pyo
${PYSITELIB}/django/conf/locale/pa/LC_MESSAGES/django.mo
${PYSITELIB}/django/conf/locale/pa/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/pl/LC_MESSAGES/django.mo
@@ -493,6 +491,8 @@
${PYSITELIB}/django/conf/locale/sv/formats.py
${PYSITELIB}/django/conf/locale/sv/formats.pyc
${PYSITELIB}/django/conf/locale/sv/formats.pyo
+${PYSITELIB}/django/conf/locale/sw/LC_MESSAGES/django.mo
+${PYSITELIB}/django/conf/locale/sw/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/ta/LC_MESSAGES/django.mo
${PYSITELIB}/django/conf/locale/ta/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/ta/__init__.py
@@ -525,6 +525,8 @@
${PYSITELIB}/django/conf/locale/tr/formats.py
${PYSITELIB}/django/conf/locale/tr/formats.pyc
${PYSITELIB}/django/conf/locale/tr/formats.pyo
+${PYSITELIB}/django/conf/locale/tt/LC_MESSAGES/django.mo
+${PYSITELIB}/django/conf/locale/tt/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/uk/LC_MESSAGES/django.mo
${PYSITELIB}/django/conf/locale/uk/LC_MESSAGES/django.po
${PYSITELIB}/django/conf/locale/uk/__init__.py
@@ -559,18 +561,19 @@
${PYSITELIB}/django/conf/locale/zh_TW/formats.py
${PYSITELIB}/django/conf/locale/zh_TW/formats.pyc
${PYSITELIB}/django/conf/locale/zh_TW/formats.pyo
-${PYSITELIB}/django/conf/project_template/__init__.py
-${PYSITELIB}/django/conf/project_template/__init__.pyc
-${PYSITELIB}/django/conf/project_template/__init__.pyo
${PYSITELIB}/django/conf/project_template/manage.py
-${PYSITELIB}/django/conf/project_template/manage.pyc
-${PYSITELIB}/django/conf/project_template/manage.pyo
-${PYSITELIB}/django/conf/project_template/settings.py
-${PYSITELIB}/django/conf/project_template/settings.pyc
-${PYSITELIB}/django/conf/project_template/settings.pyo
-${PYSITELIB}/django/conf/project_template/urls.py
-${PYSITELIB}/django/conf/project_template/urls.pyc
-${PYSITELIB}/django/conf/project_template/urls.pyo
+${PYSITELIB}/django/conf/project_template/project_name/__init__.py
+${PYSITELIB}/django/conf/project_template/project_name/__init__.pyc
+${PYSITELIB}/django/conf/project_template/project_name/__init__.pyo
+${PYSITELIB}/django/conf/project_template/project_name/settings.py
+${PYSITELIB}/django/conf/project_template/project_name/settings.pyc
+${PYSITELIB}/django/conf/project_template/project_name/settings.pyo
+${PYSITELIB}/django/conf/project_template/project_name/urls.py
+${PYSITELIB}/django/conf/project_template/project_name/urls.pyc
+${PYSITELIB}/django/conf/project_template/project_name/urls.pyo
+${PYSITELIB}/django/conf/project_template/project_name/wsgi.py
+${PYSITELIB}/django/conf/project_template/project_name/wsgi.pyc
+${PYSITELIB}/django/conf/project_template/project_name/wsgi.pyo
${PYSITELIB}/django/conf/urls/__init__.py
${PYSITELIB}/django/conf/urls/__init__.pyc
${PYSITELIB}/django/conf/urls/__init__.pyo
@@ -595,9 +598,9 @@
${PYSITELIB}/django/contrib/admin/actions.py
${PYSITELIB}/django/contrib/admin/actions.pyc
${PYSITELIB}/django/contrib/admin/actions.pyo
-${PYSITELIB}/django/contrib/admin/filterspecs.py
-${PYSITELIB}/django/contrib/admin/filterspecs.pyc
-${PYSITELIB}/django/contrib/admin/filterspecs.pyo
+${PYSITELIB}/django/contrib/admin/filters.py
+${PYSITELIB}/django/contrib/admin/filters.pyc
+${PYSITELIB}/django/contrib/admin/filters.pyo
${PYSITELIB}/django/contrib/admin/forms.py
${PYSITELIB}/django/contrib/admin/forms.pyc
${PYSITELIB}/django/contrib/admin/forms.pyo
@@ -656,6 +659,10 @@
${PYSITELIB}/django/contrib/admin/locale/en_GB/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/en_GB/LC_MESSAGES/djangojs.mo
${PYSITELIB}/django/contrib/admin/locale/en_GB/LC_MESSAGES/djangojs.po
+${PYSITELIB}/django/contrib/admin/locale/eo/LC_MESSAGES/django.mo
+${PYSITELIB}/django/contrib/admin/locale/eo/LC_MESSAGES/django.po
+${PYSITELIB}/django/contrib/admin/locale/eo/LC_MESSAGES/djangojs.mo
+${PYSITELIB}/django/contrib/admin/locale/eo/LC_MESSAGES/djangojs.po
${PYSITELIB}/django/contrib/admin/locale/es/LC_MESSAGES/django.mo
${PYSITELIB}/django/contrib/admin/locale/es/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/es/LC_MESSAGES/djangojs.mo
@@ -736,6 +743,10 @@
${PYSITELIB}/django/contrib/admin/locale/ka/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/ka/LC_MESSAGES/djangojs.mo
${PYSITELIB}/django/contrib/admin/locale/ka/LC_MESSAGES/djangojs.po
+${PYSITELIB}/django/contrib/admin/locale/kk/LC_MESSAGES/django.mo
+${PYSITELIB}/django/contrib/admin/locale/kk/LC_MESSAGES/django.po
+${PYSITELIB}/django/contrib/admin/locale/kk/LC_MESSAGES/djangojs.mo
+${PYSITELIB}/django/contrib/admin/locale/kk/LC_MESSAGES/djangojs.po
${PYSITELIB}/django/contrib/admin/locale/km/LC_MESSAGES/django.mo
${PYSITELIB}/django/contrib/admin/locale/km/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/km/LC_MESSAGES/djangojs.mo
@@ -772,6 +783,10 @@
${PYSITELIB}/django/contrib/admin/locale/nb/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/nb/LC_MESSAGES/djangojs.mo
${PYSITELIB}/django/contrib/admin/locale/nb/LC_MESSAGES/djangojs.po
+${PYSITELIB}/django/contrib/admin/locale/ne/LC_MESSAGES/django.mo
+${PYSITELIB}/django/contrib/admin/locale/ne/LC_MESSAGES/django.po
+${PYSITELIB}/django/contrib/admin/locale/ne/LC_MESSAGES/djangojs.mo
+${PYSITELIB}/django/contrib/admin/locale/ne/LC_MESSAGES/djangojs.po
${PYSITELIB}/django/contrib/admin/locale/nl/LC_MESSAGES/django.mo
${PYSITELIB}/django/contrib/admin/locale/nl/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/nl/LC_MESSAGES/djangojs.mo
@@ -780,10 +795,6 @@
${PYSITELIB}/django/contrib/admin/locale/nn/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/nn/LC_MESSAGES/djangojs.mo
${PYSITELIB}/django/contrib/admin/locale/nn/LC_MESSAGES/djangojs.po
-${PYSITELIB}/django/contrib/admin/locale/no/LC_MESSAGES/django.mo
-${PYSITELIB}/django/contrib/admin/locale/no/LC_MESSAGES/django.po
-${PYSITELIB}/django/contrib/admin/locale/no/LC_MESSAGES/djangojs.mo
-${PYSITELIB}/django/contrib/admin/locale/no/LC_MESSAGES/djangojs.po
${PYSITELIB}/django/contrib/admin/locale/pa/LC_MESSAGES/django.mo
${PYSITELIB}/django/contrib/admin/locale/pa/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/pa/LC_MESSAGES/djangojs.mo
@@ -832,6 +843,10 @@
${PYSITELIB}/django/contrib/admin/locale/sv/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/sv/LC_MESSAGES/djangojs.mo
${PYSITELIB}/django/contrib/admin/locale/sv/LC_MESSAGES/djangojs.po
+${PYSITELIB}/django/contrib/admin/locale/sw/LC_MESSAGES/django.mo
+${PYSITELIB}/django/contrib/admin/locale/sw/LC_MESSAGES/django.po
+${PYSITELIB}/django/contrib/admin/locale/sw/LC_MESSAGES/djangojs.mo
+${PYSITELIB}/django/contrib/admin/locale/sw/LC_MESSAGES/djangojs.po
${PYSITELIB}/django/contrib/admin/locale/ta/LC_MESSAGES/django.mo
${PYSITELIB}/django/contrib/admin/locale/ta/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/ta/LC_MESSAGES/djangojs.mo
@@ -848,6 +863,10 @@
${PYSITELIB}/django/contrib/admin/locale/tr/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/tr/LC_MESSAGES/djangojs.mo
${PYSITELIB}/django/contrib/admin/locale/tr/LC_MESSAGES/djangojs.po
+${PYSITELIB}/django/contrib/admin/locale/tt/LC_MESSAGES/django.mo
+${PYSITELIB}/django/contrib/admin/locale/tt/LC_MESSAGES/django.po
+${PYSITELIB}/django/contrib/admin/locale/tt/LC_MESSAGES/djangojs.mo
+${PYSITELIB}/django/contrib/admin/locale/tt/LC_MESSAGES/djangojs.po
${PYSITELIB}/django/contrib/admin/locale/uk/LC_MESSAGES/django.mo
${PYSITELIB}/django/contrib/admin/locale/uk/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/uk/LC_MESSAGES/djangojs.mo
@@ -868,84 +887,6 @@
${PYSITELIB}/django/contrib/admin/locale/zh_TW/LC_MESSAGES/django.po
${PYSITELIB}/django/contrib/admin/locale/zh_TW/LC_MESSAGES/djangojs.mo
${PYSITELIB}/django/contrib/admin/locale/zh_TW/LC_MESSAGES/djangojs.po
-${PYSITELIB}/django/contrib/admin/media/css/base.css
-${PYSITELIB}/django/contrib/admin/media/css/changelists.css
-${PYSITELIB}/django/contrib/admin/media/css/dashboard.css
-${PYSITELIB}/django/contrib/admin/media/css/forms.css
-${PYSITELIB}/django/contrib/admin/media/css/ie.css
-${PYSITELIB}/django/contrib/admin/media/css/login.css
-${PYSITELIB}/django/contrib/admin/media/css/rtl.css
-${PYSITELIB}/django/contrib/admin/media/css/widgets.css
-${PYSITELIB}/django/contrib/admin/media/img/admin/arrow-down.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/arrow-up.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/changelist-bg.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/changelist-bg_rtl.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/chooser-bg.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/chooser_stacked-bg.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/default-bg-reverse.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/default-bg.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/deleted-overlay.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon-no.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon-unknown.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon-yes.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon_addlink.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon_alert.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon_calendar.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon_changelink.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon_clock.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon_deletelink.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon_error.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon_searchbox.png
-${PYSITELIB}/django/contrib/admin/media/img/admin/icon_success.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/inline-delete-8bit.png
-${PYSITELIB}/django/contrib/admin/media/img/admin/inline-delete.png
-${PYSITELIB}/django/contrib/admin/media/img/admin/inline-restore-8bit.png
-${PYSITELIB}/django/contrib/admin/media/img/admin/inline-restore.png
-${PYSITELIB}/django/contrib/admin/media/img/admin/inline-splitter-bg.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/nav-bg-grabber.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/nav-bg-reverse.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/nav-bg.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/selector-add.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/selector-addall.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/selector-remove.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/selector-removeall.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/selector-search.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/selector_stacked-add.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/selector_stacked-remove.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/tool-left.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/tool-left_over.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/tool-right.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/tool-right_over.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/tooltag-add.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/tooltag-add_over.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/tooltag-arrowright.gif
-${PYSITELIB}/django/contrib/admin/media/img/admin/tooltag-arrowright_over.gif
-${PYSITELIB}/django/contrib/admin/media/img/gis/move_vertex_off.png
-${PYSITELIB}/django/contrib/admin/media/img/gis/move_vertex_on.png
-${PYSITELIB}/django/contrib/admin/media/js/LICENSE-JQUERY.txt
-${PYSITELIB}/django/contrib/admin/media/js/SelectBox.js
-${PYSITELIB}/django/contrib/admin/media/js/SelectFilter2.js
-${PYSITELIB}/django/contrib/admin/media/js/actions.js
Home |
Main Index |
Thread Index |
Old Index