aboutsummaryrefslogtreecommitdiffstats
path: root/testing/pelican/use-django-feedgenerator.patch
diff options
context:
space:
mode:
authorDanilo Falc√£o <danilo@falcao.org>2016-07-07 15:55:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-07-08 14:32:10 +0000
commitd7037afe2ba42041d38abdfcfe59185f54ca341a (patch)
tree96b0ad03eb6a149314f14deb8ad1bc0fdb2a909b /testing/pelican/use-django-feedgenerator.patch
parentadae7266dd725a41ca7f661c6477ef8a7b2c2d86 (diff)
downloadaports-d7037afe2ba42041d38abdfcfe59185f54ca341a.tar.gz
aports-d7037afe2ba42041d38abdfcfe59185f54ca341a.tar.bz2
aports-d7037afe2ba42041d38abdfcfe59185f54ca341a.tar.xz
testing/pelican: fix
- adding missing dependencies and scripts - patch to use django's feedgenerator
Diffstat (limited to 'testing/pelican/use-django-feedgenerator.patch')
-rw-r--r--testing/pelican/use-django-feedgenerator.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/pelican/use-django-feedgenerator.patch b/testing/pelican/use-django-feedgenerator.patch
new file mode 100644
index 0000000000..9cd80d2ad5
--- /dev/null
+++ b/testing/pelican/use-django-feedgenerator.patch
@@ -0,0 +1,12 @@
+diff --git a/pelican/writers.py b/pelican/writers.py
+index e90a000..1304188 100644
+--- a/pelican/writers.py
++++ b/pelican/writers.py
+@@ -8,7 +8,7 @@ import logging
+ if not six.PY3:
+ from codecs import open
+
+-from feedgenerator import Atom1Feed, Rss201rev2Feed
++from django.utils.feedgenerator import Atom1Feed, Rss201rev2Feed
+ from jinja2 import Markup
+ from six.moves.urllib.parse import urlparse