summaryrefslogtreecommitdiff
path: root/dev-python/docutils/files/docutils-0.10-optparser.patch
diff options
context:
space:
mode:
authorMathy Vanvoorden <mathy@vanvoorden.be>2016-10-19 12:09:44 +0200
committerPatrice Clement <monsieurp@gentoo.org>2016-10-19 18:30:06 +0200
commit37751f69b9bf96a30be87c43c4600d715953adf0 (patch)
tree782e96f00e72891a93ed389a57df1445d63136d7 /dev-python/docutils/files/docutils-0.10-optparser.patch
parenta4c1b274a5ca930ba5233f4eeebc77d5e73d2b96 (diff)
downloadgentoo-37751f69b9bf96a30be87c43c4600d715953adf0.tar.gz
gentoo-37751f69b9bf96a30be87c43c4600d715953adf0.tar.bz2
gentoo-37751f69b9bf96a30be87c43c4600d715953adf0.zip
dev-python/docutils: major improvements.
This commit: * bumps EAPI. * fixes EPYTHON. * removes python3.3. * removes version 0.10 and version 0.9.1-r1. * revision-bumps to version 0.12-r1. * fixes testing: testing was broken both for CPython and PyPy, it was solved by two patches. One is from upstream, the other has been submitted to upstream. Upstream submission: https://sourceforge.net/p/docutils/patches/136/ Gentoo-Bug: https://bugs.gentoo.org/452792 Gentoo-Bug: https://bugs.gentoo.org/451830 Gentoo-Bug: https://bugs.gentoo.org/529930 Gentoo-Bug: https://bugs.gentoo.org/593754 Courtesy of Mathy Vanvoorden <mathy@vanvoorden.be>. Package-Manager: portage-2.3.0 Closes: https://github.com/gentoo/gentoo/pull/2600 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-python/docutils/files/docutils-0.10-optparser.patch')
-rw-r--r--dev-python/docutils/files/docutils-0.10-optparser.patch34
1 files changed, 0 insertions, 34 deletions
diff --git a/dev-python/docutils/files/docutils-0.10-optparser.patch b/dev-python/docutils/files/docutils-0.10-optparser.patch
deleted file mode 100644
index 0e9f7ed8ec84..000000000000
--- a/dev-python/docutils/files/docutils-0.10-optparser.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-Patch by Arfrever
-https://sourceforge.net/tracker/?func=detail&aid=3598893&group_id=38414&atid=422030
-
-Index: docutils/frontend.py
-===================================================================
---- docutils/frontend.py (revision 7578)
-+++ docutils/frontend.py (working copy)
-@@ -158,7 +158,7 @@
-
- def validate_colon_separated_string_list(
- setting, value, option_parser, config_parser=None, config_section=None):
-- if isinstance(value, unicode):
-+ if isinstance(value, basestring):
- value = value.split(':')
- else:
- last = value.pop()
-@@ -171,7 +171,7 @@
- """
- # `value` is already a list when given as command line option
- # and "action" is "append"
-- if isinstance(value, unicode):
-+ if isinstance(value, basestring):
- value = [value]
- # this function is called for every option added to `value`
- # -> split the last item and apped the result:
-@@ -731,7 +731,7 @@
- """Wrapper around sys.stderr catching en-/decoding errors"""
-
- def read(self, filenames, option_parser):
-- if type(filenames) in (str, unicode):
-+ if isinstance(filenames, basestring):
- filenames = [filenames]
- for filename in filenames:
- try: