--- python-django-extensions-0.4~pre+svn188.orig/debian/compat +++ python-django-extensions-0.4~pre+svn188/debian/compat @@ -0,0 +1 @@ +7 --- python-django-extensions-0.4~pre+svn188.orig/debian/changelog +++ python-django-extensions-0.4~pre+svn188/debian/changelog @@ -0,0 +1,11 @@ +python-django-extensions (0.4~pre+svn188-1ubuntu1) karmic; urgency=low + + * Python 2.6 transition. + + -- Michael Bienia Sat, 09 May 2009 15:36:23 +0200 + +python-django-extensions (0.4~pre+svn188-1) unstable; urgency=low + + * Initial release (Closes: #521349) + + -- Chris Lamb Thu, 26 Mar 2009 23:45:55 +0000 --- python-django-extensions-0.4~pre+svn188.orig/debian/watch +++ python-django-extensions-0.4~pre+svn188/debian/watch @@ -0,0 +1,3 @@ +version=3 +http://code.google.com/p/django-command-extensions/downloads/list \ +http://django-command-extensions.googlecode.com/files/django-command-extensions-(.*).tgz --- python-django-extensions-0.4~pre+svn188.orig/debian/README.Debian +++ python-django-extensions-0.4~pre+svn188/debian/README.Debian @@ -0,0 +1,24 @@ +README.Debian for python-django-extensions +========================================== + +You need to add 'django_extensions' to your INSTALLED_APPS iterable - this +usually resides in the `settings.py' file. Eg: + + INSTALLED_APPS = ( + 'django.contrib.auth', + 'django.contrib.contenttypes', + 'django.contrib.sessions', + 'django.contrib.sites', + 'django_extensions', + <..> + ) + +Alternatively, you make the application optional with: + + try: + import django_extensions + INSTALLED_APPS = INSTALLED_APPS + ('django_extensions',) + except ImportError: + pass + + -- Chris Lamb Thu, 26 Mar 2009 22:18:21 +0000 --- python-django-extensions-0.4~pre+svn188.orig/debian/copyright +++ python-django-extensions-0.4~pre+svn188/debian/copyright @@ -0,0 +1,54 @@ +Author: Michael Trier +Download: http://code.google.com/p/django-command-extensions/ + +Files: * +Copyright: © 2007 Michael Trier +License: MIT + +Files: django_extensions/media/django_extensions/js/jquery.autocomplete.js +Copyright: © 2007 Dylan Verheul, Dan G. Switzer, Anjesh Tuladhar, Jörn Zaefferer +License: GPL-2 | MIT + +Files: django_extensions/media/django_extensions/js/jquery.js +Copyright: © 2008 John Resig +License: GPL-2 | MIT + +Files: django_extensions/media/django_extensions/js/jquery.bgiframe.min.js +Copyright: © 2006 Brandon Aaron +License: GPL-2 | MIT + +Files: debian/* +Copyright: © 2008 Chris Lamb +License: MIT + +License: GPL-2 + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, version 2. + . + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + . + On Debian systems, the complete text of the GNU General Public License + can be found in the /usr/share/common-licenses/GPL-2 file. + +License: MIT + Permission is hereby granted, free of charge, to any person obtaining a copy + of this software and associated documentation files (the "Software"), to deal + in the Software without restriction, including without limitation the rights + to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + copies of the Software, and to permit persons to whom the Software is + furnished to do so, subject to the following conditions: + . + The above copyright notice and this permission notice shall be included in + all copies or substantial portions of the Software. + . + THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN + THE SOFTWARE. --- python-django-extensions-0.4~pre+svn188.orig/debian/rules +++ python-django-extensions-0.4~pre+svn188/debian/rules @@ -0,0 +1,28 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make +include /usr/share/python/python.mk + +get-orig-source: + set -e; \ + PKG=python-django-extensions; VER=0.4~pre; \ + svn co http://django-command-extensions.googlecode.com/svn/trunk/ $$PKG; \ + REVISION=`svnversion $$PKG`; \ + find $$PKG -depth -type d -name ".svn" -print0 | xargs -0 rm -rf; \ + tar cfz $${PKG}_$${VER}+svn$${REVISION}.orig.tar.gz $$PKG; \ + rm -rf $$PKG + +%: + dh $@ + +build: $(QUILT_STAMPFN) + dh $@ + +clean: unpatch + dh $@ + +override_dh_install: + dh_install + # Don't embed jQuery + ln -sf /usr/share/javascript/jquery/jquery.js \ + debian/python-django-extensions/$(call py_libdir_sh,`pyversions -d`)/django_extensions/media/django_extensions/js/jquery.js --- python-django-extensions-0.4~pre+svn188.orig/debian/control +++ python-django-extensions-0.4~pre+svn188/debian/control @@ -0,0 +1,32 @@ +Source: python-django-extensions +Section: python +Priority: optional +Maintainer: Ubuntu MOTU Developers +XSBC-Original-Maintainer: Chris Lamb +Build-Depends: debhelper (>= 7), quilt, python-support +Standards-Version: 3.8.1 +Vcs-Git: git://git.chris-lamb.co.uk/debian/pkg-python-django-extensions.git +Vcs-Browser: http://git.chris-lamb.co.uk/?p=debian/pkg-python-django-extensions.git +Homepage: http://code.google.com/p/django-command-extensions/ + +Package: python-django-extensions +Architecture: all +Depends: ${misc:Depends}, ${python:Depends}, python-django (>= 1.0.2) +Recommends: libjs-jquery +Suggests: python-werkzeug, python-pygraphviz, python-boto, python-profiler +Description: Useful extensions for Django projects + This is a collection of useful third-party tools for projects that use the + Django web development framework. It provides the management commands: + . + * runserver_plus - a "runserver" that uses the interactive Werkzeug debugger + * runprofileserver - starts runserver with profiling tools enabled + * shell_plus - similar to the built-in "shell" but autoloads all models + * graph_models - creates a GraphViz dot file of your model arrangement + * describe_form - generate template form definitions for a model + * export_emails - export the addresses of your users in many formats + * print_user_for_session - print the user information from a session key + * create_jobs/runjob/runjobs - manage scheduled maintenance jobs + * (plus many more) + . + python-django-extensions also includes a number of custom fields and abstract + models, including ones that manage created and updated times automatically. --- python-django-extensions-0.4~pre+svn188.orig/debian/patches/series +++ python-django-extensions-0.4~pre+svn188/debian/patches/series @@ -0,0 +1 @@ +01-werkzeug-package.diff --- python-django-extensions-0.4~pre+svn188.orig/debian/patches/01-werkzeug-package.diff +++ python-django-extensions-0.4~pre+svn188/debian/patches/01-werkzeug-package.diff @@ -0,0 +1,18 @@ + + Point people towards installing the python-werzeug package, not to download + random files from the internet. + + -- Chris Lamb Thu, 26 Mar 2009 22:02:40 +0000 + +diff -urNad /tmp/bp-build/python-django-extensions.orig/django_extensions/management/commands/runserver_plus.py /tmp/bp-build/python-django-extensions/django_extensions/management/commands/runserver_plus.py +--- python-django-extensions.orig/django_extensions/management/commands/runserver_plus.py 2008-12-14 12:07:49.000000000 +0000 ++++ python-django-extensions/django_extensions/management/commands/runserver_plus.py 2008-12-14 12:08:14.000000000 +0000 +@@ -28,7 +28,7 @@ + try: + from werkzeug import run_simple, DebuggedApplication + except: +- raise CommandError("Werkzeug is required to use runserver_plus. Please visit http://werkzeug.pocoo.org/download") ++ raise CommandError("Werkzeug is required to use runserver_plus. Please install `python-werkzeug'") + + # usurp django's handler + from django.views import debug