]> git.pld-linux.org Git - packages/epydoc.git/commitdiff
- do not include the __package__ module variable in documentation auto/th/epydoc-3_0_1-4
authorJacek Konieczny <jajcus@pld-linux.org>
Sun, 26 Jun 2011 08:27:30 +0000 (08:27 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- Release: 4

Changed files:
    epydoc-__package__.patch -> 1.1
    epydoc.spec -> 1.24

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

diff --git a/epydoc-__package__.patch b/epydoc-__package__.patch
new file mode 100644 (file)
index 0000000..d11719e
--- /dev/null
@@ -0,0 +1,12 @@
+diff -dur epydoc-3.0.1.orig/epydoc/docintrospecter.py epydoc-3.0.1/epydoc/docintrospecter.py
+--- epydoc-3.0.1.orig/epydoc/docintrospecter.py        2008-01-29 13:21:22.000000000 +0100
++++ epydoc-3.0.1/epydoc/docintrospecter.py     2011-06-26 10:07:01.000000000 +0200
+@@ -185,7 +185,7 @@
+ #: module's API documentation.
+ UNDOCUMENTED_MODULE_VARS = (
+     '__builtins__', '__doc__', '__all__', '__file__', '__path__',
+-    '__name__', '__extra_epydoc_fields__', '__docformat__')
++    '__name__', '__extra_epydoc_fields__', '__docformat__', '__package__')
+ def introspect_module(module, module_doc, module_name=None, preliminary=False):
+     """
index 3095e944a8864fd30972832d69bcecd9267fc86d..d7b54cb51ff242110b22a6aad02fc299e3690707 100644 (file)
@@ -2,12 +2,13 @@ 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:       3
+Release:       4
 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
 URL:           http://epydoc.sourceforge.net/
 BuildRequires: python
 BuildRequires: python-modules >= 2.2.1
@@ -69,6 +70,7 @@ Ten pakiet zawiera graficzny interfejs użytkownika (GUI) dla epydoc.
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 python setup.py build
This page took 0.106389 seconds and 4 git commands to generate.