[arch-commits] Commit in python-sphinx/trunk (2 files)

Johannes Löthberg demize at archlinux.org
Tue Jun 6 23:49:04 UTC 2017


    Date: Tuesday, June 6, 2017 @ 23:49:03
  Author: demize
Revision: 235156

Remove old patches

Deleted:
  python-sphinx/trunk/fix-broken-latex-testcase.patch
  python-sphinx/trunk/typing-module-py35+.patch

---------------------------------+
 fix-broken-latex-testcase.patch |   40 --------------------------------------
 typing-module-py35+.patch       |   30 ----------------------------
 2 files changed, 70 deletions(-)

Deleted: fix-broken-latex-testcase.patch
===================================================================
--- fix-broken-latex-testcase.patch	2017-06-06 23:44:02 UTC (rev 235155)
+++ fix-broken-latex-testcase.patch	2017-06-06 23:49:03 UTC (rev 235156)
@@ -1,40 +0,0 @@
-From dd3b100925194b4c8e411f0064c1d049538b95bf Mon Sep 17 00:00:00 2001
-From: Takeshi KOMIYA <i.tkomiya at gmail.com>
-Date: Wed, 17 May 2017 00:03:39 +0900
-Subject: [PATCH] Follow translations
-
----
- tests/test_build_latex.py | 14 +++++++-------
- 1 file changed, 7 insertions(+), 7 deletions(-)
-
-diff --git a/tests/test_build_latex.py b/tests/test_build_latex.py
-index 4efe70eda..81522a365 100644
---- a/tests/test_build_latex.py
-+++ b/tests/test_build_latex.py
-@@ -310,19 +310,19 @@ def test_numref_with_language_ja(app, status, warning):
-     print(result)
-     print(status.getvalue())
-     print(warning.getvalue())
--    assert u'\\renewcommand{\\figurename}{\u56f3}' in result
--    assert '\\renewcommand{\\tablename}{TABLE}' in result
--    assert '\\renewcommand{\\literalblockname}{LIST}' in result
-+    assert u'\\renewcommand{\\figurename}{\u56f3}' in result  # 図
-+    assert u'\\renewcommand{\\tablename}{\u8868}' in result  # 表
-+    assert u'\\renewcommand{\\literalblockname}{\u30ea\u30b9\u30c8}' in result  # リスト
-     assert (u'\\hyperref[\\detokenize{index:fig1}]'
-             u'{\u56f3 \\ref{\\detokenize{index:fig1}}}') in result
-     assert ('\\hyperref[\\detokenize{baz:fig22}]'
-             '{Figure\\ref{\\detokenize{baz:fig22}}}') in result
--    assert ('\\hyperref[\\detokenize{index:table-1}]'
--            '{TABLE \\ref{\\detokenize{index:table-1}}}') in result
-+    assert (u'\\hyperref[\\detokenize{index:table-1}]'
-+            u'{\u8868 \\ref{\\detokenize{index:table-1}}}') in result
-     assert ('\\hyperref[\\detokenize{baz:table22}]'
-             '{Table:\\ref{\\detokenize{baz:table22}}}') in result
--    assert ('\\hyperref[\\detokenize{index:code-1}]'
--            '{LIST \\ref{\\detokenize{index:code-1}}}') in result
-+    assert (u'\\hyperref[\\detokenize{index:code-1}]'
-+            u'{\u30ea\u30b9\u30c8 \\ref{\\detokenize{index:code-1}}}') in result
-     assert ('\\hyperref[\\detokenize{baz:code22}]'
-             '{Code-\\ref{\\detokenize{baz:code22}}}') in result
-     assert (u'\\hyperref[\\detokenize{foo:foo}]'

Deleted: typing-module-py35+.patch
===================================================================
--- typing-module-py35+.patch	2017-06-06 23:44:02 UTC (rev 235155)
+++ typing-module-py35+.patch	2017-06-06 23:49:03 UTC (rev 235156)
@@ -1,30 +0,0 @@
-From 34346a8ac129047c8ba345562a78c74a9bae8096 Mon Sep 17 00:00:00 2001
-From: Julien Schueller <schueller at phimeca.com>
-Date: Tue, 23 May 2017 09:33:45 +0200
-Subject: [PATCH] Do not require typing module for python>=3.5
-
-pkg_resources.DistributionNotFound: The 'typing' distribution was not found and is required by Sphinx
----
- setup.py | 6 +++++-
- 1 file changed, 5 insertions(+), 1 deletion(-)
-
-diff --git a/setup.py b/setup.py
-index 95bb3778f..4544ca3b0 100644
---- a/setup.py
-+++ b/setup.py
-@@ -51,10 +51,14 @@
-     'alabaster>=0.7,<0.8',
-     'imagesize',
-     'requests>=2.0.0',
--    'typing',
-     'setuptools',
-     'sphinxcontrib-websupport',
- ]
-+
-+# this is a backport to versions older than 3.5
-+if sys.version_info < (3, 5):
-+    requires.append('typing')
-+
- extras_require = {
-     # Environment Marker works for wheel 0.24 or later
-     ':sys_platform=="win32"': [



More information about the arch-commits mailing list