[Python-modules-commits] r30752 - in packages/python-django-uuidfield/trunk/debian (4 files)

jandd at users.alioth.debian.org jandd at users.alioth.debian.org
Fri Sep 26 14:00:15 UTC 2014


    Date: Friday, September 26, 2014 @ 14:00:14
  Author: jandd
Revision: 30752

Add Django 1.7 compatibility patch
debian/patches/django-1_7-compatibility.patch by Rapha?\195?\171l Hertzog (Closes:
#755639)

Added:
  packages/python-django-uuidfield/trunk/debian/patches/
  packages/python-django-uuidfield/trunk/debian/patches/django-1_7-compatibility.patch
  packages/python-django-uuidfield/trunk/debian/patches/series
Modified:
  packages/python-django-uuidfield/trunk/debian/changelog

Modified: packages/python-django-uuidfield/trunk/debian/changelog
===================================================================
--- packages/python-django-uuidfield/trunk/debian/changelog	2014-09-26 11:48:02 UTC (rev 30751)
+++ packages/python-django-uuidfield/trunk/debian/changelog	2014-09-26 14:00:14 UTC (rev 30752)
@@ -1,3 +1,11 @@
+python-django-uuidfield (0.5.0-2) UNRELEASED; urgency=medium
+
+  * Add Django 1.7 compatibility patch
+    debian/patches/django-1_7-compatibility.patch by Raphaël Hertzog (Closes:
+    #755639)
+
+ -- Jan Dittberner <jandd at debian.org>  Fri, 26 Sep 2014 15:40:26 +0200
+
 python-django-uuidfield (0.5.0-1) unstable; urgency=medium
 
   * Initial release. (Closes: #739869)

Added: packages/python-django-uuidfield/trunk/debian/patches/django-1_7-compatibility.patch
===================================================================
--- packages/python-django-uuidfield/trunk/debian/patches/django-1_7-compatibility.patch	                        (rev 0)
+++ packages/python-django-uuidfield/trunk/debian/patches/django-1_7-compatibility.patch	2014-09-26 14:00:14 UTC (rev 30752)
@@ -0,0 +1,32 @@
+Subject: fix Django 1.7 compatibility issues
+Author: Raphael Hertzog <hertzog at debian.org>
+Author: Jan Dittberner <jandd at debian.org>
+Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755639
+--- a/runtests.py
++++ b/runtests.py
+@@ -18,11 +18,15 @@
+             'uuidfield',
+             'uuidfield.tests',
+         ],
++        MIDDLEWARE_CLASSES=[],
+         ROOT_URLCONF='',
+         DEBUG=False,
+     )
+ 
+ from django_nose import NoseTestSuiteRunner
++import django
++if hasattr(django, 'setup'):
++    django.setup()
+ 
+ 
+ def runtests(*test_args, **kwargs):
+--- a/runtests_sqlite.py
++++ b/runtests_sqlite.py
+@@ -18,6 +18,7 @@
+             'uuidfield',
+             'uuidfield.tests',
+         ],
++        MIDDLEWARE_CLASSES=[],
+         ROOT_URLCONF='',
+         DEBUG=False,
+     )

Added: packages/python-django-uuidfield/trunk/debian/patches/series
===================================================================
--- packages/python-django-uuidfield/trunk/debian/patches/series	                        (rev 0)
+++ packages/python-django-uuidfield/trunk/debian/patches/series	2014-09-26 14:00:14 UTC (rev 30752)
@@ -0,0 +1 @@
+django-1_7-compatibility.patch




More information about the Python-modules-commits mailing list