[Python-apps-commits] r9437 - in packages/pyflakes/trunk/debian (6 files)

xnox at users.alioth.debian.org xnox at users.alioth.debian.org
Wed Feb 13 20:01:14 UTC 2013


    Date: Wednesday, February 13, 2013 @ 20:01:11
  Author: xnox
Revision: 9437

* New upstream release:
  + rebase add_main_function.diff.
  - drop always_close_fd.diff, merged upstream.
  - drop check_encoding_errors.diff, merged upstream.
* Bump standards version
* Switch to dh_python2
* Bump debhelper to 9
* Adjust Vcs URL to canonical format.

Modified:
  packages/pyflakes/trunk/debian/changelog
  packages/pyflakes/trunk/debian/compat
  packages/pyflakes/trunk/debian/control
  packages/pyflakes/trunk/debian/patches/add_main_function.diff
  packages/pyflakes/trunk/debian/patches/series
  packages/pyflakes/trunk/debian/rules

Modified: packages/pyflakes/trunk/debian/changelog
===================================================================
--- packages/pyflakes/trunk/debian/changelog	2013-02-13 19:59:50 UTC (rev 9436)
+++ packages/pyflakes/trunk/debian/changelog	2013-02-13 20:01:11 UTC (rev 9437)
@@ -1,3 +1,16 @@
+pyflakes (0.6.1-1~exp1) experimental; urgency=low
+
+  * New upstream release:
+    + rebase add_main_function.diff.
+    - drop always_close_fd.diff, merged upstream.
+    - drop check_encoding_errors.diff, merged upstream.
+  * Bump standards version
+  * Switch to dh_python2
+  * Bump debhelper to 9
+  * Adjust Vcs URL to canonical format.
+
+ -- Dmitrijs Ledkovs <xnox at debian.org>  Wed, 13 Feb 2013 19:07:52 +0000
+
 pyflakes (0.5.0-2) unstable; urgency=low
 
   * debian/copyright

Modified: packages/pyflakes/trunk/debian/compat
===================================================================
--- packages/pyflakes/trunk/debian/compat	2013-02-13 19:59:50 UTC (rev 9436)
+++ packages/pyflakes/trunk/debian/compat	2013-02-13 20:01:11 UTC (rev 9437)
@@ -1 +1 @@
-7
+9

Modified: packages/pyflakes/trunk/debian/control
===================================================================
--- packages/pyflakes/trunk/debian/control	2013-02-13 19:59:50 UTC (rev 9436)
+++ packages/pyflakes/trunk/debian/control	2013-02-13 20:01:11 UTC (rev 9437)
@@ -3,11 +3,11 @@
 Priority: optional
 Maintainer: Python Applications Packaging Team <python-apps-team at lists.alioth.debian.org>
 Uploaders: Tristan Seligmann <mithrandi at mithrandi.net>, Varun Hiremath <varun at debian.org>, Sandro Tosi <morph at debian.org>
-Build-Depends: debhelper (>= 7.0.50~), python-support (>= 1.0.0), python
+Build-Depends: debhelper (>= 9), python
 XS-Python-Version: >= 2.6
-Standards-Version: 3.9.3
+Standards-Version: 3.9.4
 Homepage: https://launchpad.net/pyflakes
-Vcs-Svn: svn://svn.debian.org/svn/python-apps/packages/pyflakes/trunk/
+Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/pyflakes/trunk/
 Vcs-Browser: http://svn.debian.org/viewsvn/python-apps/packages/pyflakes/trunk/
 
 Package: pyflakes

Modified: packages/pyflakes/trunk/debian/patches/add_main_function.diff
===================================================================
--- packages/pyflakes/trunk/debian/patches/add_main_function.diff	2013-02-13 19:59:50 UTC (rev 9436)
+++ packages/pyflakes/trunk/debian/patches/add_main_function.diff	2013-02-13 20:01:11 UTC (rev 9437)
@@ -1,28 +1,22 @@
 # fix arguments passing to main function
 
-Index: pyflakes-0.5.0/bin/pyflakes
-===================================================================
---- pyflakes-0.5.0.orig/bin/pyflakes	2011-09-03 18:02:29.000000000 +0200
-+++ pyflakes-0.5.0/bin/pyflakes	2011-09-11 19:38:23.305803892 +0200
-@@ -1,4 +1,5 @@
- #!/usr/bin/python
- 
+--- a/bin/pyflakes
++++ b/bin/pyflakes
+@@ -1,3 +1,4 @@
+ #!/usr/bin/env python
 +import sys
  from pyflakes.scripts.pyflakes import main
 -main()
 +main(sys.argv[1:])
-Index: pyflakes-0.5.0/pyflakes/scripts/pyflakes.py
-===================================================================
---- pyflakes-0.5.0.orig/pyflakes/scripts/pyflakes.py	2011-09-03 18:02:29.000000000 +0200
-+++ pyflakes-0.5.0/pyflakes/scripts/pyflakes.py	2011-09-11 19:38:23.305803892 +0200
-@@ -72,9 +72,8 @@
-         return 1
+--- a/pyflakes/api.py
++++ b/pyflakes/api.py
+@@ -120,8 +120,7 @@
+     return warnings
  
  
 -def main():
-+def main(args):
-     warnings = 0
 -    args = sys.argv[1:]
++def main(args):
+     reporter = modReporter._makeDefaultReporter()
      if args:
-         for arg in args:
-             if os.path.isdir(arg):
+         warnings = checkRecursive(args, reporter)

Modified: packages/pyflakes/trunk/debian/patches/series
===================================================================
--- packages/pyflakes/trunk/debian/patches/series	2013-02-13 19:59:50 UTC (rev 9436)
+++ packages/pyflakes/trunk/debian/patches/series	2013-02-13 20:01:11 UTC (rev 9437)
@@ -1,3 +1 @@
 add_main_function.diff
-always_close_fd.diff
-check_encoding_errors.diff

Modified: packages/pyflakes/trunk/debian/rules
===================================================================
--- packages/pyflakes/trunk/debian/rules	2013-02-13 19:59:50 UTC (rev 9436)
+++ packages/pyflakes/trunk/debian/rules	2013-02-13 20:01:11 UTC (rev 9437)
@@ -1,7 +1,7 @@
 #!/usr/bin/make -f
 
 %:
-	dh $@
+	dh $@ --with=python2
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS.txt




More information about the Python-apps-commits mailing list