Hi,
  I have prepared a QA upload for pyflakes which fixes 2 bugs
  including the ftbfs with python-central RC bug.

  If you want to adopt the package and move the package to PAPT,
  please do so quickly. I can sponsor upload for you.

  Please find attached the debdiff of my changes.

Regards
Varun

-- 
Varun Hiremath
Undergraduate Student,
Aerospace Engineering Department,
Indian Institute of Technology Madras,
Chennai, India
-------------------------------------
Homepage: http://varun.travisbsd.org
diff -u pyflakes-0.2.1+svn14502/debian/patches/set_exit_status.diff 
pyflakes-0.2.1+svn14502/debian/patches/set_exit_status.diff
--- pyflakes-0.2.1+svn14502/debian/patches/set_exit_status.diff
+++ pyflakes-0.2.1+svn14502/debian/patches/set_exit_status.diff
@@ -14,7 +14,7 @@
      try:
          tree = compiler.parse(codeString)
      except (SyntaxError, IndentationError):
-@@ -19,12 +23,16 @@
+@@ -19,12 +23,14 @@
          print >> sys.stderr, '%s:%d: could not compile' % (filename, lineno)
          print >> sys.stderr, line
          print >> sys.stderr, " " * (offset-2), "^"
@@ -25,10 +25,8 @@
          w.messages.sort(lambda a, b: cmp(a.lineno, b.lineno))
          for warning in w.messages:
              print warning
-+            if status == 0:
++            if status == 0 and len(w.messages) > 0:
 +                status = 1
-+            for warning in w.messages:
-+                print warning
          return len(w.messages)
  
  
diff -u pyflakes-0.2.1+svn14502/debian/rules 
pyflakes-0.2.1+svn14502/debian/rules
--- pyflakes-0.2.1+svn14502/debian/rules
+++ pyflakes-0.2.1+svn14502/debian/rules
@@ -11,9 +11,4 @@
 DEB_PYTHON_INSTALL_ARGS_ALL += --prefix=/usr 
 
-#DEB_INSTALL_PYTHON_gnue-common = /usr/lib/gnue/python
-
-binary-predeb/pyflakes::
-       rmdir $(DEB_DESTDIR)usr/lib
-
 clean::
        find . -name \*pyc -exec rm '{}' \;
diff -u pyflakes-0.2.1+svn14502/debian/control 
pyflakes-0.2.1+svn14502/debian/control
--- pyflakes-0.2.1+svn14502/debian/control
+++ pyflakes-0.2.1+svn14502/debian/control
@@ -2,7 +2,7 @@
 Section: python
 Priority: optional
 Maintainer: Debian QA Group <[EMAIL PROTECTED]>
-Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-central (>= 
0.5), python, python-dev, quilt
+Build-Depends: debhelper (>= 5.0.37.2), cdbs (>= 0.4.43), python-central (>= 
0.6), python, python-dev, quilt
 XS-Python-Version: current
 Standards-Version: 3.7.3
 Homepage: http://divmod.org/trac/wiki/DivmodPyflakes
@@ -11,7 +11,7 @@
 Architecture: all
 XB-Python-Version: ${python:Versions}
 Depends: ${python:Depends}
-Description: simple python source checker
+Description: simple Python source checker
  Pyflakes is a simple program which checks Python source files for errors.
  It is similar to PyChecker in scope, but differs in that it does not execute
  the modules to check them. This is both safer and faster, although it does 
diff -u pyflakes-0.2.1+svn14502/debian/changelog 
pyflakes-0.2.1+svn14502/debian/changelog
--- pyflakes-0.2.1+svn14502/debian/changelog
+++ pyflakes-0.2.1+svn14502/debian/changelog
@@ -1,3 +1,14 @@
+pyflakes (0.2.1+svn14502-2) unstable; urgency=low
+
+  * QA upload.
+  * Change Build-Depends: python-central (>= 0.6)
+  * debian/rules: remove /usr/lib directory removal (Closes: #472021)
+  * Fix duplicated output in patches/set_exit_status.diff, thanks to
+    Martin Geisler <[EMAIL PROTECTED]> (Closes: #467135)
+  * Fix lintian spelling-error-in-description: s/python/Python/
+
+ -- Varun Hiremath <[EMAIL PROTECTED]>  Sun, 23 Mar 2008 11:56:23 +0530
+
 pyflakes (0.2.1+svn14502-1) unstable; urgency=low
 
   * QA upload.

Reply via email to