[arch-commits] Commit in python-pyflakes/trunk (PKGBUILD python-3.5.patch)

Felix Yan fyan at archlinux.org
Mon Sep 21 02:34:05 UTC 2015


    Date: Monday, September 21, 2015 @ 04:34:04
  Author: fyan
Revision: 141327

upgpkg: python-pyflakes 1.0.0-1

Modified:
  python-pyflakes/trunk/PKGBUILD
Deleted:
  python-pyflakes/trunk/python-3.5.patch

------------------+
 PKGBUILD         |   11 ++++-------
 python-3.5.patch |   34 ----------------------------------
 2 files changed, 4 insertions(+), 41 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-09-21 02:21:33 UTC (rev 141326)
+++ PKGBUILD	2015-09-21 02:34:04 UTC (rev 141327)
@@ -9,20 +9,17 @@
 pkgbase=python-pyflakes
 pkgname=(python-pyflakes python2-pyflakes)
 _reponame=pyflakes
-pkgver=0.9.2
-pkgrel=2
+pkgver=1.0.0
+pkgrel=1
 pkgdesc='A lint-like tool for Python to identify common errors quickly without executing code'
 arch=('any')
 url='http://pypi.python.org/pypi/pyflakes'
 license=('MIT')
 makedepends=('python-setuptools' 'python2-setuptools')
-source=("http://pypi.python.org/packages/source/p/pyflakes/${_reponame}-${pkgver}.tar.gz"
-        python-3.5.patch)
-sha1sums=('522b7f7fa5967360e388d0ba72d8c7597785bfd0'
-          '51e527adbad4f0d672f939290e2aebb545b37983')
+source=("http://pypi.python.org/packages/source/p/pyflakes/${_reponame}-${pkgver}.tar.gz")
+sha1sums=('a33015811abae323bec1a9e4f9ab130036ab43c3')
 
 prepare() {
-  (cd ${_reponame}-${pkgver}; patch -p1 -i ../python-3.5.patch)
   cp -a "${_reponame}-${pkgver}"{,-py2}
 }
 

Deleted: python-3.5.patch
===================================================================
--- python-3.5.patch	2015-09-21 02:21:33 UTC (rev 141326)
+++ python-3.5.patch	2015-09-21 02:34:04 UTC (rev 141327)
@@ -1,34 +0,0 @@
-From bf62d389bdbe2085f765f648de536eb44979e448 Mon Sep 17 00:00:00 2001
-From: Steven Myint <git at stevenmyint.com>
-Date: Fri, 10 Jul 2015 07:17:51 -0700
-Subject: [PATCH] Fix a test under Python 3.5
-
----
- pyflakes/test/test_api.py | 10 ++++++++--
- 1 file changed, 8 insertions(+), 2 deletions(-)
-
-diff --git a/pyflakes/test/test_api.py b/pyflakes/test/test_api.py
-index ad61983..a83a7fd 100644
---- a/pyflakes/test/test_api.py
-+++ b/pyflakes/test/test_api.py
-@@ -385,12 +385,18 @@ def test_nonKeywordAfterKeywordSyntaxError(self):
-         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):
-         """



More information about the arch-commits mailing list