tags 539600 + patch
thanks

Dear maintainer,

I've prepared an NMU for pydoctor (versioned as 0.2-4.1) and
uploaded it to DELAYED/2 (shorter period given the patch is there
since October '09 and blocking #571492).

Regards.
diff -u pydoctor-0.2/debian/changelog pydoctor-0.2/debian/changelog
--- pydoctor-0.2/debian/changelog
+++ pydoctor-0.2/debian/changelog
@@ -1,3 +1,15 @@
+pydoctor (0.2-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * pydoctor/ast_pp.py
+    - applied patch from upstream to add compatibility with Python 2.6; thanks
+      to Seo Sanghyeon for the report; Closes: #539600
+  * debian/control
+    - set priority to 'optional' to match override file
+    - b-d on python instead of python-dev, since building an arch:all package
+
+ -- Sandro Tosi <mo...@debian.org>  Tue, 02 Mar 2010 13:21:30 +0100
+
 pydoctor (0.2-4) unstable; urgency=low
 
   * change section to extra since nevow is in extra
diff -u pydoctor-0.2/debian/control pydoctor-0.2/debian/control
--- pydoctor-0.2/debian/control
+++ pydoctor-0.2/debian/control
@@ -1,9 +1,9 @@
 Source: pydoctor
 Section: python
-Priority: extra
+Priority: optional
 Maintainer: Debian Calendarserver Team <calendarserver-maintain...@lists.alioth.debian.org>
 Uploaders: Guido Guenther <a...@sigxcpu.org>
-Build-Depends: cdbs, debhelper (>= 5), python-dev, python-support (>= 0.3)
+Build-Depends: cdbs, debhelper (>= 5), python, python-support (>= 0.3)
 Standards-Version: 3.7.2
 
 Package: python-pydoctor
only in patch2:
unchanged:
--- pydoctor-0.2.orig/pydoctor/ast_pp.py
+++ pydoctor-0.2/pydoctor/ast_pp.py
@@ -113,11 +113,11 @@
 
     def visitImport(self, node):
         self.w('import ')
-        for (mod, as) in node.names:
+        for (mod, as_) in node.names:
             self.w(mod)
-            if as is not None:
+            if as_ is not None:
                 self.w(' as ')
-                self.w(as)
+                self.w(as_)
             self.w(', ')
         self.nl()
 
@@ -125,11 +125,11 @@
         self.w('from ')
         self.w(node.modname)
         self.w(' import ')
-        for (mod, as) in node.names:
+        for (mod, as_) in node.names:
             self.w(mod)
-            if as is not None:
+            if as_ is not None:
                 self.w(' as ')
-                self.w(as)
+                self.w(as_)
             self.w(', ')
         self.nl()
 

Reply via email to