Hello community,

here is the log from the commit of package python-Sphinx for openSUSE:Factory 
checked in at 2013-07-11 20:13:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-Sphinx (Old)
 and      /work/SRC/openSUSE:Factory/.python-Sphinx.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-Sphinx"

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-Sphinx/python-Sphinx.changes      
2013-05-16 16:18:51.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.python-Sphinx.new/python-Sphinx.changes 
2013-07-11 20:13:36.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Jul  9 14:16:18 UTC 2013 - [email protected]
+
+- add sphinx-docutils-0.10.patch:
+  * add support for docutils 0.10
+
+-------------------------------------------------------------------

New:
----
  sphinx-docutils-0.10.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-Sphinx.spec ++++++
--- /var/tmp/diff_new_pack.6f3Ov3/_old  2013-07-11 20:13:37.000000000 +0200
+++ /var/tmp/diff_new_pack.6f3Ov3/_new  2013-07-11 20:13:37.000000000 +0200
@@ -24,6 +24,7 @@
 License:        BSD-2-Clause
 Group:          Development/Languages/Python
 Source:         
http://pypi.python.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
+Patch0:         sphinx-docutils-0.10.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-distribute
@@ -79,6 +80,7 @@
 
 %prep
 %setup -q -n Sphinx-%{version}
+%patch0 -p1
 sed -i '/#\!/d' sphinx/pycode/pgen2/token.py # Fix non-excutable-script warning
 # Add Interpreter version suffix to entrypoints (and thus /usr/bin binaries) to
 # allow for update-alternatives later on:

++++++ sphinx-docutils-0.10.patch ++++++
diff -up Sphinx-1.1.3/sphinx/writers/manpage.py.bak 
Sphinx-1.1.3/sphinx/writers/manpage.py
--- Sphinx-1.1.3/sphinx/writers/manpage.py.bak  2011-11-01 00:38:44.000000000 
-0700
+++ Sphinx-1.1.3/sphinx/writers/manpage.py      2012-08-21 12:38:33.380808202 
-0700
@@ -72,6 +72,11 @@ class ManualPageTranslator(BaseTranslato
         # since self.append_header() is never called, need to do this here
         self.body.append(MACRO_DEF)
 
+        # Overwrite admonition label translations with our own
+        for label, translation in admonitionlabels.items():
+            self.language.labels[label] = self.deunicode(translation)
+
+
     # overwritten -- added quotes around all .TH arguments
     def header(self):
         tmpl = (".TH \"%(title_upper)s\" \"%(manual_section)s\""
@@ -193,12 +198,6 @@ class ManualPageTranslator(BaseTranslato
     def depart_seealso(self, node):
         self.depart_admonition(node)
 
-    # overwritten -- use our own label translations
-    def visit_admonition(self, node, name=None):
-        if name:
-            self.body.append('.IP %s\n' %
-                             self.deunicode(admonitionlabels.get(name, name)))
-
     def visit_productionlist(self, node):
         self.ensure_eol()
         names = []
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to