diff options
author | Christoph Willing <chris.willing@linux.com> | 2019-06-26 17:12:43 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-06-29 08:17:48 +0700 |
commit | a77e44b2ccd6aea42ec48a1e5f0196375d4bb690 (patch) | |
tree | 3d7fffcd59e0bc3950b9cb097dc373c71538887c /python/feedparser/001_py37.diff | |
parent | 6f309be790ab3a703370e092fb760fdf3ee897da (diff) | |
download | slackbuilds-a77e44b2ccd6aea42ec48a1e5f0196375d4bb690.tar.gz slackbuilds-a77e44b2ccd6aea42ec48a1e5f0196375d4bb690.tar.xz |
python/feedparser: Added python3 support
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'python/feedparser/001_py37.diff')
-rw-r--r-- | python/feedparser/001_py37.diff | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/python/feedparser/001_py37.diff b/python/feedparser/001_py37.diff new file mode 100644 index 0000000000..5182a5b2b8 --- /dev/null +++ b/python/feedparser/001_py37.diff @@ -0,0 +1,23 @@ +--- setup.py.orig 2015-07-24 15:00:04.000000000 +1000 ++++ setup.py 2019-06-24 21:34:06.883000000 +1000 +@@ -35,6 +35,9 @@ + 'Programming Language :: Python :: 3.2', + 'Programming Language :: Python :: 3.3', + 'Programming Language :: Python :: 3.4', ++ 'Programming Language :: Python :: 3.5', ++ 'Programming Language :: Python :: 3.6', ++ 'Programming Language :: Python :: 3.7', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Topic :: Text Processing :: Markup :: XML', + ], +--- feedparser/feedparser.py.orig 2015-07-24 15:00:04.000000000 +1000 ++++ feedparser/feedparser.py 2019-06-24 22:15:09.636000000 +1000 +@@ -130,6 +130,8 @@ + #ACCEPTABLE_URI_SCHEMES = () + + # ---------- required modules (should come with any Python distribution) ---------- ++from __future__ import absolute_import, unicode_literals ++ + import cgi + import codecs + import copy |