[Python-apps-commits] r12289 - in packages/pyflakes/trunk/debian (5 files)

barry at users.alioth.debian.org barry at users.alioth.debian.org
Tue Aug 25 20:59:10 UTC 2015


    Date: Tuesday, August 25, 2015 @ 20:59:09
  Author: barry
Revision: 12289

* Team upload.
* New upstream release.
* d/patches/python35-compat.patch: Cherry picked upstream patch to fix a
  test failure under Python 3.5.
* d/control: Bump Standards-Version to 3.9.6 with no other changes needed.
* d/watch: Use the pypi.debian.net redirector.

Added:
  packages/pyflakes/trunk/debian/patches/python35-compat.patch
Modified:
  packages/pyflakes/trunk/debian/changelog
  packages/pyflakes/trunk/debian/control
  packages/pyflakes/trunk/debian/patches/series
  packages/pyflakes/trunk/debian/watch

Modified: packages/pyflakes/trunk/debian/changelog
===================================================================
--- packages/pyflakes/trunk/debian/changelog	2015-08-25 19:32:47 UTC (rev 12288)
+++ packages/pyflakes/trunk/debian/changelog	2015-08-25 20:59:09 UTC (rev 12289)
@@ -1,11 +1,20 @@
-pyflakes (0.8.1-2) UNRELEASED; urgency=medium
+pyflakes (0.9.2-1) UNRELEASED; urgency=medium
 
+  * Team upload.
+
   [ Tristan Seligmann ]
   * Remove myself from uploaders since I'm no longer actively looking after
     this package.
 
- -- Tristan Seligmann <mithrandi at debian.org>  Sun, 04 May 2014 09:00:21 +0200
+  [ Barry Warsaw ]
+  * New upstream release.
+  * d/patches/python35-compat.patch: Cherry picked upstream patch to fix a
+    test failure under Python 3.5.
+  * d/control: Bump Standards-Version to 3.9.6 with no other changes needed.
+  * d/watch: Use the pypi.debian.net redirector.
 
+ -- Barry Warsaw <barry at debian.org>  Tue, 25 Aug 2015 16:42:02 -0400
+
 pyflakes (0.8.1-1) unstable; urgency=medium
 
   * Team upload.

Modified: packages/pyflakes/trunk/debian/control
===================================================================
--- packages/pyflakes/trunk/debian/control	2015-08-25 19:32:47 UTC (rev 12288)
+++ packages/pyflakes/trunk/debian/control	2015-08-25 20:59:09 UTC (rev 12289)
@@ -5,7 +5,7 @@
 Uploaders: Varun Hiremath <varun at debian.org>,
            Dimitri John Ledkov <xnox at debian.org>,
 Build-Depends: debhelper (>= 9),
-	       dh-python,
+               dh-python,
                python-all,
                python-nose,
                python-setuptools,
@@ -14,7 +14,7 @@
                python3-setuptools
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.2
-Standards-Version: 3.9.5
+Standards-Version: 3.9.6
 Homepage: https://launchpad.net/pyflakes
 Vcs-Svn: svn://anonscm.debian.org/python-apps/packages/pyflakes/trunk/
 Vcs-Browser: http://anonscm.debian.org/viewvc/python-apps/packages/pyflakes/trunk/

Added: packages/pyflakes/trunk/debian/patches/python35-compat.patch
===================================================================
--- packages/pyflakes/trunk/debian/patches/python35-compat.patch	                        (rev 0)
+++ packages/pyflakes/trunk/debian/patches/python35-compat.patch	2015-08-25 20:59:09 UTC (rev 12289)
@@ -0,0 +1,27 @@
+Subject: Fix a test under Python 3.5.
+Origin: https://github.com/pyflakes/pyflakes/commit/bf62d389bdbe2085f765f648de536eb44979e448.diff
+Forwarded: not-needed
+
+--- a/pyflakes/test/test_api.py
++++ b/pyflakes/test/test_api.py
+@@ -385,12 +385,18 @@
+         sourcePath = self.makeTempFile(source)
+         last_line = '            ^\n' if sys.version_info >= (3, 2) else ''
+         column = '13:' if sys.version_info >= (3, 2) else ''
++
++        if sys.version_info >= (3, 5):
++            message = 'positional argument follows keyword argument'
++        else:
++            message = 'non-keyword arg after keyword arg'
++
+         self.assertHasErrors(
+             sourcePath,
+             ["""\
+-%s:1:%s non-keyword arg after keyword arg
++%s:1:%s %s
+ foo(bar=baz, bax)
+-%s""" % (sourcePath, column, last_line)])
++%s""" % (sourcePath, column, message, last_line)])
+ 
+     def test_invalidEscape(self):
+         """

Modified: packages/pyflakes/trunk/debian/patches/series
===================================================================
--- packages/pyflakes/trunk/debian/patches/series	2015-08-25 19:32:47 UTC (rev 12288)
+++ packages/pyflakes/trunk/debian/patches/series	2015-08-25 20:59:09 UTC (rev 12289)
@@ -0,0 +1 @@
+python35-compat.patch

Modified: packages/pyflakes/trunk/debian/watch
===================================================================
--- packages/pyflakes/trunk/debian/watch	2015-08-25 19:32:47 UTC (rev 12288)
+++ packages/pyflakes/trunk/debian/watch	2015-08-25 20:59:09 UTC (rev 12289)
@@ -1,2 +1,3 @@
 version=3
-http://pypi.python.org/packages/source/p/pyflakes/pyflakes-(.*)\.tar.gz
+opts=uversionmangle=s/(rc|a|b|c)/~$1/ \
+https://pypi.debian.net/pyflakes/pyflakes-(.+)\.(?:zip|tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))




More information about the Python-apps-commits mailing list