summaryrefslogtreecommitdiff
path: root/debian/patches/add-django-1.7-compat-with-new-django.setup.patch
diff options
context:
space:
mode:
authorOndřej Nový <novy@ondrej.org>2016-02-14 19:56:59 +0100
committerOndřej Nový <novy@ondrej.org>2016-02-14 19:56:59 +0100
commit36ef8928c06a4bba5249442cd832a73ece1570c3 (patch)
treeae902d5c84bc503bea7b04d66eadbc86fe730b0e /debian/patches/add-django-1.7-compat-with-new-django.setup.patch
parenta85231280accdfec8ef9cf67213ff706eb242889 (diff)
downloadfactory-boy-36ef8928c06a4bba5249442cd832a73ece1570c3.tar
factory-boy-36ef8928c06a4bba5249442cd832a73ece1570c3.tar.gz
* New upstream release.
* Added python(3)-wheel build dependency. * Fixed VCS url (https). * Removed disable-a-test-in-test_existing_file.patch * Removed add-django-1.7-compat-with-new-django.setup.patch * Rebased and fixed debian/patches/removed-privacy-breach.patch * d/copyright fixed.
Diffstat (limited to 'debian/patches/add-django-1.7-compat-with-new-django.setup.patch')
-rw-r--r--debian/patches/add-django-1.7-compat-with-new-django.setup.patch18
1 files changed, 0 insertions, 18 deletions
diff --git a/debian/patches/add-django-1.7-compat-with-new-django.setup.patch b/debian/patches/add-django-1.7-compat-with-new-django.setup.patch
deleted file mode 100644
index f2cf540..0000000
--- a/debian/patches/add-django-1.7-compat-with-new-django.setup.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-Description: Make unit tests work with Django 1.7
-Author: Thomas Goirand <zigo@debian.org>
-Bug-Debian: https://bugs.debian.org/764837
-Forwarded: no
-Last-Update: 2014-10-12
-
---- factory-boy-2.4.1.orig/tests/test_django.py
-+++ factory-boy-2.4.1/tests/test_django.py
-@@ -50,6 +50,9 @@ from . import tools
- if django is not None:
- os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'tests.djapp.settings')
-
-+ if hasattr(django, 'setup'):
-+ django.setup()
-+
- from django import test as django_test
- from django.conf import settings
- from django.db import models as django_models