I started work on this, unfortunately, I appear to have got a test failure. Can't tell if it is python2.7 or python3, my history doesn't go back far enough:
====================================================================== FAIL: test_template_loader_postmortem_notreadable (view_tests.tests.test_debug.DebugViewTests) Tests for not readable file ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/brian/tree/debian/wip/python-django/python-django-1.6.5/tests/view_tests/tests/test_debug.py", line 105, in test_template_loader_postmortem_notreadable self.assertContains(response, "%s (File is not readable)" % template_path, status_code=500, count=1) File "/home/brian/tree/debian/wip/python-django/python-django-1.6.5/django/test/testcases.py", line 327, in assertContains " (expected %d)" % (response.status_code, status_code)) AssertionError: Couldn't retrieve content: Response code was 200 (expected 500) ---------------------------------------------------------------------- Ran 5984 tests in 174.187s FAILED (failures=1, skipped=432, expected failures=11) Destroying test database for alias 'default' (':memory:')... Destroying test database for alias 'other' (':memory:')... make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory `/home/brian/tree/debian/wip/python-django/python-django-1.6.5' make: *** [binary] Error 2 At least it is a start :-) Patch is attached. -- Brian May <br...@microcomaustralia.com.au>
diff -ruN --exclude '*.bak' python-django-1.6.5.old/debian/control python-django-1.6.5/debian/control --- python-django-1.6.5.old/debian/control 2014-05-15 06:47:08.000000000 +1000 +++ python-django-1.6.5/debian/control 2014-06-18 09:57:15.966142150 +1000 @@ -6,7 +6,7 @@ Raphaƫl Hertzog <hert...@debian.org>, Chris Lamb <la...@debian.org> Standards-Version: 3.9.5 -Build-Depends: debhelper (>= 9), python (>= 2.6.6-3~), python-sphinx (>= 1.0.8), locales (>= 0) +Build-Depends: debhelper (>= 9), dh-python, python-all (>= 2.6.6-3~), python3-all, python-sphinx (>= 1.0.8), locales (>= 0) Build-Depends-Indep: libjs-jquery Homepage: http://www.djangoproject.com/ Vcs-Svn: svn://anonscm.debian.org/python-modules/packages/python-django/trunk/ @@ -20,6 +20,33 @@ Description: High-level Python web development framework Django is a high-level web application framework that loosely follows the model-view-controller design pattern. + . + Python's equivalent to Ruby on Rails, Django lets you build complex + data-driven websites quickly and easily - Django focuses on automating as much + as possible and adhering to the "Don't Repeat Yourself" (DRY) principle. + . + Django additionally emphasizes reusability and "pluggability" of components; + many generic third-party "applications" are available to enhance projects or + to simply to reduce development time even further. + . + Notable features include: + * An object-relational mapper (ORM) + * Automatic admin interface + * Elegant URL dispatcher + * Form serialization and validation system + * Templating system + * Lightweight, standalone web server for development and testing + * Internationalization support + * Testing framework and client + +Package: python3-django +Architecture: all +Depends: ${misc:Depends}, ${python:Depends} +Recommends: libjs-jquery +Suggests: python3-psycopg2, python3-psycopg, python3-mysqldb, python3-flup, python3-sqlite, python3-yaml, geoip-database-contrib, gettext, python-django-doc, ipython3, bpython3, libgdal1 +Description: High-level Python web development framework + Django is a high-level web application framework that loosely follows the + model-view-controller design pattern. . Python's equivalent to Ruby on Rails, Django lets you build complex data-driven websites quickly and easily - Django focuses on automating as much diff -ruN --exclude '*.bak' python-django-1.6.5.old/debian/rules python-django-1.6.5/debian/rules --- python-django-1.6.5.old/debian/rules 2011-09-15 20:39:41.000000000 +1000 +++ python-django-1.6.5/debian/rules 2014-06-18 09:52:00.241407412 +1000 @@ -12,7 +12,7 @@ PREFIX = debian/python-django %: - dh $@ --with sphinxdoc,python2 + dh $@ --with sphinxdoc,python2,python3 override_dh_auto_clean: rm -rf docs.debian tests/__init__.py