[packages/sphinx-pdg] - updated 1.2.1 - removed obsolete docutils-0.10 patch

qboosh qboosh at pld-linux.org
Tue Jan 28 18:35:10 CET 2014


commit 4ecfdc9d8c6fd9bdbc5f344a195022096c6796e4
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Jan 28 18:36:36 2014 +0100

    - updated 1.2.1
    - removed obsolete docutils-0.10 patch

 sphinx-docutils-0.10.patch | 28 ----------------------------
 sphinx-pdg.spec            | 14 ++++++--------
 2 files changed, 6 insertions(+), 36 deletions(-)
---
diff --git a/sphinx-pdg.spec b/sphinx-pdg.spec
index c9d96ba..20ff2e2 100644
--- a/sphinx-pdg.spec
+++ b/sphinx-pdg.spec
@@ -4,13 +4,12 @@
 Summary:	Sphinx - Python documentation generator
 Summary(pl.UTF-8):	Sphinx - narzędzie do tworzenia dokumentacji dla Pythona
 Name:		sphinx-pdg
-Version:	1.1.3
-Release:	4
+Version:	1.2.1
+Release:	1
 License:	BSD
 Group:		Development/Languages/Python
-Source0:	http://pypi.python.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
-# Source0-md5:	8f55a6d4f87fc6d528120c5d1f983e98
-Patch0:		sphinx-docutils-0.10.patch
+Source0:	https://pypi.python.org/packages/source/S/Sphinx/Sphinx-%{version}.tar.gz
+# Source0-md5:	104494f036889122c9f403ae065ae7a9
 URL:		http://sphinx.pocoo.org/
 BuildRequires:	python-devel >= 1:2.5
 BuildRequires:	python-distribute
@@ -111,7 +110,6 @@ sphinx-pdg-3.
 
 %prep
 %setup -q -n Sphinx-%{version}
-%patch0 -p1
 
 %build
 %{__python} setup.py build -b build-2
@@ -143,7 +141,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES EXAMPLES LICENSE PKG-INFO README TODO
+%doc AUTHORS CHANGES EXAMPLES LICENSE PKG-INFO README.rst TODO
 %attr(755,root,root) %{_bindir}/sphinx-autogen
 %attr(755,root,root) %{_bindir}/sphinx-apidoc
 %attr(755,root,root) %{_bindir}/sphinx-build
@@ -151,7 +149,7 @@ rm -rf $RPM_BUILD_ROOT
 
 %files 3
 %defattr(644,root,root,755)
-%doc AUTHORS CHANGES EXAMPLES LICENSE PKG-INFO README TODO
+%doc AUTHORS CHANGES EXAMPLES LICENSE PKG-INFO README.rst TODO
 %attr(755,root,root) %{_bindir}/sphinx-autogen-3
 %attr(755,root,root) %{_bindir}/sphinx-apidoc-3
 %attr(755,root,root) %{_bindir}/sphinx-build-3
diff --git a/sphinx-docutils-0.10.patch b/sphinx-docutils-0.10.patch
deleted file mode 100644
index 7f4f331..0000000
--- a/sphinx-docutils-0.10.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-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 = []
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/sphinx-pdg.git/commitdiff/4ecfdc9d8c6fd9bdbc5f344a195022096c6796e4



More information about the pld-cvs-commit mailing list