[arch-commits] Commit in flake8/trunk (PKGBUILD pycodestyle-2.1.patch)
Date: Thursday, November 17, 2016 @ 06:05:21 Author: felixonmars Revision: 196109 upgpkg: flake8 1:3.2.0-1 Modified: flake8/trunk/PKGBUILD Deleted: flake8/trunk/pycodestyle-2.1.patch ---+ PKGBUILD | 13 - pycodestyle-2.1.patch | 10 -- 2 files changed, 4 insertions(+), 19 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-11-17 06:03:46 UTC (rev 196108) +++ PKGBUILD2016-11-17 06:05:21 UTC (rev 196109) @@ -6,8 +6,8 @@ pkgbase=flake8 pkgname=(flake8 python2-flake8) -pkgver=3.0.4 -pkgrel=2 +pkgver=3.2.0 +pkgrel=1 epoch=1 pkgdesc="The modular source code checker: pep8, pyflakes and co" arch=('any') @@ -18,15 +18,10 @@ 'python2-enum34' 'python2-configparser' 'python-pytest-runner' 'python2-pytest-runner' 'git') checkdepends=('python-mock' 'python2-mock') -source=("git+https://gitlab.com/pycqa/flake8.git#tag=$pkgver"; -pycodestyle-2.1.patch) -md5sums=('SKIP' - 'aa1c184ffea3f79f4c53f3ad459ba6a4') +source=("git+https://gitlab.com/pycqa/flake8.git#tag=$pkgver";) +md5sums=('SKIP') prepare() { - # FS#51728 - (cd flake8/src/flake8; patch -p1 -i "$srcdir"/pycodestyle-2.1.patch) - sed -i -e 's/, *< *[0-9=.]*//' flake8/setup.py cp -a flake8{,-py2} } Deleted: pycodestyle-2.1.patch === --- pycodestyle-2.1.patch 2016-11-17 06:03:46 UTC (rev 196108) +++ pycodestyle-2.1.patch 2016-11-17 06:05:21 UTC (rev 196109) @@ -1,10 +0,0 @@ a/processor.py 2016-08-08 20:35:49.0 +0800 -+++ b/processor.py 2016-11-07 13:15:49.496852642 +0800 -@@ -98,6 +98,7 @@ - self.statistics = { - 'logical lines': 0, - } -+self.previous_unindented_logical_line = '' - - @contextlib.contextmanager - def inside_multiline(self, line_number):
[arch-commits] Commit in flake8/trunk (PKGBUILD pycodestyle-2.1.patch)
Date: Monday, November 7, 2016 @ 05:42:07 Author: felixonmars Revision: 194847 upgpkg: flake8 1:3.0.4-2 add a patch for pycodestyle-2.1 Added: flake8/trunk/pycodestyle-2.1.patch Modified: flake8/trunk/PKGBUILD ---+ PKGBUILD | 11 --- pycodestyle-2.1.patch | 10 ++ 2 files changed, 18 insertions(+), 3 deletions(-) Modified: PKGBUILD === --- PKGBUILD2016-11-07 05:12:05 UTC (rev 194846) +++ PKGBUILD2016-11-07 05:42:07 UTC (rev 194847) @@ -7,7 +7,7 @@ pkgbase=flake8 pkgname=(flake8 python2-flake8) pkgver=3.0.4 -pkgrel=1 +pkgrel=2 epoch=1 pkgdesc="The modular source code checker: pep8, pyflakes and co" arch=('any') @@ -18,10 +18,15 @@ 'python2-enum34' 'python2-configparser' 'python-pytest-runner' 'python2-pytest-runner' 'git') checkdepends=('python-mock' 'python2-mock') -source=("git+https://gitlab.com/pycqa/flake8.git#tag=$pkgver";) -md5sums=('SKIP') +source=("git+https://gitlab.com/pycqa/flake8.git#tag=$pkgver"; +pycodestyle-2.1.patch) +md5sums=('SKIP' + 'aa1c184ffea3f79f4c53f3ad459ba6a4') prepare() { + # FS#51728 + (cd flake8/src/flake8; patch -p1 -i "$srcdir"/pycodestyle-2.1.patch) + sed -i -e 's/, *< *[0-9=.]*//' flake8/setup.py cp -a flake8{,-py2} } Added: pycodestyle-2.1.patch === --- pycodestyle-2.1.patch (rev 0) +++ pycodestyle-2.1.patch 2016-11-07 05:42:07 UTC (rev 194847) @@ -0,0 +1,10 @@ +--- a/processor.py 2016-08-08 20:35:49.0 +0800 b/processor.py 2016-11-07 13:15:49.496852642 +0800 +@@ -98,6 +98,7 @@ + self.statistics = { + 'logical lines': 0, + } ++self.previous_unindented_logical_line = '' + + @contextlib.contextmanager + def inside_multiline(self, line_number):