]> git.pld-linux.org Git - packages/epydoc.git/commitdiff
- fix to stripping the leading ':' or '-' from consolidated fields
authorJacek Konieczny <jajcus@pld-linux.org>
Tue, 28 Jun 2011 18:53:39 +0000 (18:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
  bulleted list. Probably broken by newer docutils.
- Release: 5

Changed files:
    epydoc-cons_fields_stripping.patch -> 1.1
    epydoc.spec -> 1.25

epydoc-cons_fields_stripping.patch [new file with mode: 0644]
epydoc.spec

diff --git a/epydoc-cons_fields_stripping.patch b/epydoc-cons_fields_stripping.patch
new file mode 100644 (file)
index 0000000..777f2bc
--- /dev/null
@@ -0,0 +1,12 @@
+--- epydoc-3.0.1/epydoc/markup/restructuredtext.py.orig        2011-06-26 10:08:26.000000000 +0200
++++ epydoc-3.0.1/epydoc/markup/restructuredtext.py     2011-06-28 20:47:31.000000000 +0200
+@@ -493,7 +493,8 @@
+                     child = child[1:].lstrip()
+                 elif child[:2] in (' -', ' :'):
+                     child = child[2:].lstrip()
+-
++                fbody[0][0] = docutils.nodes.Text(child)
++            
+             # Wrap the field body, and add a new field
+             self._add_field(tagname, arg, fbody)
+         
index d7b54cb51ff242110b22a6aad02fc299e3690707..6add1868dde9263aab37e48e332a1616a01dad5d 100644 (file)
@@ -2,13 +2,14 @@ Summary:      Tool for generating API documentation for Python modules
 Summary(pl.UTF-8):     Narzędzie do generowania dokumentacji API modułów Pythona
 Name:          epydoc
 Version:       3.0.1
-Release:       4
+Release:       5
 License:       MIT
 Group:         Development/Languages/Python
 Source0:       http://downloads.sourceforge.net/epydoc/%{name}-%{version}.zip
 # Source0-md5: 43223b2139c59ec60f064564bea82bf4
 Patch0:                %{name}-rst.patch
 Patch1:                %{name}-__package__.patch
+Patch2:                %{name}-cons_fields_stripping.patch
 URL:           http://epydoc.sourceforge.net/
 BuildRequires: python
 BuildRequires: python-modules >= 2.2.1
@@ -71,6 +72,7 @@ Ten pakiet zawiera graficzny interfejs użytkownika (GUI) dla epydoc.
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
 python setup.py build
This page took 0.065467 seconds and 4 git commands to generate.