[Python-modules-commits] [python-django-contact-form] 01/02: django-1.10-define-templates.patch: define TEMPLATES to fix test runs under Django 1.10 (Closes: #828663). Thanks to Thomas Goirand!
Andrew Starr-Bochicchio
asb at moszumanska.debian.org
Sat Aug 20 18:45:47 UTC 2016
This is an automated email from the git hooks/post-receive script.
asb pushed a commit to branch master
in repository python-django-contact-form.
commit 3553ee2962d9b39c991718477b4639c9c5e2d96f
Author: Andrew Starr-Bochicchio <a.starr.b at gmail.com>
Date: Sat Aug 20 14:38:03 2016 -0400
django-1.10-define-templates.patch: define TEMPLATES to fix test runs under Django 1.10 (Closes: #828663). Thanks to Thomas Goirand!
---
.gitignore | 2 +-
debian/changelog | 8 ++++++++
debian/patches/django-1.10-define-templates.patch | 24 +++++++++++++++++++++++
debian/patches/series | 1 +
4 files changed, 34 insertions(+), 1 deletion(-)
diff --git a/.gitignore b/.gitignore
index 462e3e6..e1a5bd6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,4 +2,4 @@
__pycache__
*.egg-info
docs/_build/
-.coverage
\ No newline at end of file
+.coverage.pc/
diff --git a/debian/changelog b/debian/changelog
index 1c099b9..36e3059 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+python-django-contact-form (1.2~git23.8413069-2) UNRELEASED; urgency=medium
+
+ * django-1.10-define-templates.patch: define TEMPLATES to
+ fix test runs under Django 1.10 (Closes: #828663).
+ Thanks to Thomas Goirand!
+
+ -- Andrew Starr-Bochicchio <a.starr.b at gmail.com> Sat, 20 Aug 2016 14:36:20 -0400
+
python-django-contact-form (1.2~git23.8413069-1) unstable; urgency=medium
* New upstream snapshot (Closes: #806363).
diff --git a/debian/patches/django-1.10-define-templates.patch b/debian/patches/django-1.10-define-templates.patch
new file mode 100644
index 0000000..0aa9a2c
--- /dev/null
+++ b/debian/patches/django-1.10-define-templates.patch
@@ -0,0 +1,24 @@
+Description: [Django 1.10] define TEMPLATES
+Author: Thomas Goirand <zigo at debian.org>
+Forwarded: no
+Bug-Debian: http://bugs.debian.org/828663
+Last-Update: 2016-08-04
+
+Index: python-django-contact-form/contact_form/runtests.py
+===================================================================
+--- python-django-contact-form.orig/contact_form/runtests.py 2016-08-20 14:28:40.144410498 -0400
++++ python-django-contact-form/contact_form/runtests.py 2016-08-20 14:34:22.446476678 -0400
+@@ -44,6 +44,13 @@
+ 'SITE_ID': 1,
+ 'DEFAULT_FROM_EMAIL': 'contact at example.com',
+ 'MANAGERS': [('Manager', 'noreply at example.com')],
++ 'TEMPLATES': [
++ {
++ 'BACKEND': 'django.template.backends.django.DjangoTemplates',
++ 'DIRS': [ os.path.join(CONTACT_FORM_DIR, 'tests/templates'), ],
++ 'APP_DIRS': True,
++ },
++ ]
+ }
+
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b76b520
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+django-1.10-define-templates.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-django-contact-form.git
More information about the Python-modules-commits
mailing list