packages: epydoc/epydoc.spec, epydoc/epydoc-__package__.patch (NEW) - do no...

jajcus jajcus at pld-linux.org
Sun Jun 26 10:27:35 CEST 2011


Author: jajcus                       Date: Sun Jun 26 08:27:35 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- do not include the __package__ module variable in documentation
- Release: 4

---- Files affected:
packages/epydoc:
   epydoc.spec (1.23 -> 1.24) , epydoc-__package__.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/epydoc/epydoc.spec
diff -u packages/epydoc/epydoc.spec:1.23 packages/epydoc/epydoc.spec:1.24
--- packages/epydoc/epydoc.spec:1.23	Sun May  8 13:35:16 2011
+++ packages/epydoc/epydoc.spec	Sun Jun 26 10:27:30 2011
@@ -3,12 +3,13 @@
 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
@@ -70,6 +71,7 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 python setup.py build
@@ -108,6 +110,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.24  2011/06/26 08:27:30  jajcus
+- do not include the __package__ module variable in documentation
+- Release: 4
+
 Revision 1.23  2011/05/08 11:35:16  jajcus
 - Release: 3
 - restructured text parsing fix, based on the patch from https://bugzilla.redhat.com/show_bug.cgi?id=578920

================================================================
Index: packages/epydoc/epydoc-__package__.patch
diff -u /dev/null packages/epydoc/epydoc-__package__.patch:1.1
--- /dev/null	Sun Jun 26 10:27:35 2011
+++ packages/epydoc/epydoc-__package__.patch	Sun Jun 26 10:27:30 2011
@@ -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):
+     """
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/epydoc/epydoc.spec?r1=1.23&r2=1.24&f=u



More information about the pld-cvs-commit mailing list