Package: pyparsing
Version: 1.4.2-1.1
Tags: patch

A simple inspection of the code will show the the functin lacks a return
statement.  Patch attached.  This has already been fixed in the current
upstream release (1.4.5).
diff -u pyparsing-1.4.2/debian/changelog pyparsing-1.4.2/debian/changelog
--- pyparsing-1.4.2/debian/changelog
+++ pyparsing-1.4.2/debian/changelog
@@ -1,3 +1,13 @@
+pyparsing (1.4.2-1.1ubuntu1) feisty; urgency=low
+
+  * Add patch for return to setWhitespaceChars in pyparsing.py 
+    (Closes LP: #104637)
+  * Change Build-Depends-Indep to Build-Depends (Lintian Error)
+  * Add simple-patchsys to rules and patchutils to Build-depends
+  * Change maintainer to MOTU
+
+ -- Scott Kitterman <[EMAIL PROTECTED]>  Tue, 10 Apr 2007 21:58:45 -0400
+
 pyparsing (1.4.2-1.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u pyparsing-1.4.2/debian/rules pyparsing-1.4.2/debian/rules
--- pyparsing-1.4.2/debian/rules
+++ pyparsing-1.4.2/debian/rules
@@ -6,6 +6,7 @@
 
 include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/class/python-distutils.mk
+include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
 clean::
 	find -name '*.py[co]' -print0 | xargs -0 --no-run-if-empty rm -f --
diff -u pyparsing-1.4.2/debian/control pyparsing-1.4.2/debian/control
--- pyparsing-1.4.2/debian/control
+++ pyparsing-1.4.2/debian/control
@@ -1,10 +1,10 @@
 Source: pyparsing
 Section: python
 Priority: optional
-Maintainer: Tommi Virtanen <[EMAIL PROTECTED]>
+Maintainer: Ubuntu MOTU Developers <ubuntu-motu@lists.ubuntu.com>
+XSBC-Original-Maintainer: Tommi Virtanen <[EMAIL PROTECTED]>
 Standards-Version: 3.7.2
-Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11)
-Build-Depends-Indep: python-support (>= 0.3), sysutils
+Build-Depends: cdbs (>= 0.4.43), debhelper (>= 5.0.37.2), python-all-dev (>= 2.3.5-11), python-support (>= 0.3), sysutils, patchutils
 
 Package: python-pyparsing
 Architecture: all
only in patch2:
unchanged:
--- pyparsing-1.4.2.orig/debian/patches/01-pyparsing-1-4-2.patch
+++ pyparsing-1.4.2/debian/patches/01-pyparsing-1-4-2.patch
@@ -0,0 +1,13 @@
+diff -Nur pyparsing-1.4.2/pyparsing.py pyparsing-1.4.2.new/pyparsing.py
+--- pyparsing-1.4.2/pyparsing.py	2006-03-31 23:53:39.000000000 -0500
++++ pyparsing-1.4.2.new/pyparsing.py	2007-04-10 22:36:10.000000000 -0400
+@@ -854,7 +854,8 @@
+         """
+         self.skipWhitespace = True
+         self.whiteChars = chars
+-        
++        return self
++
+     def parseWithTabs( self ):
+         """Overrides default behavior to expand <TAB>s to spaces before parsing the input string.
+            Must be called before parseString when the input grammar contains elements that 

Reply via email to