[arch-commits] Commit in flake8/repos/community-any (3 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 17 06:05:37 UTC 2016
Date: Thursday, November 17, 2016 @ 06:05:37
Author: felixonmars
Revision: 196110
archrelease: copy trunk to community-any
Added:
flake8/repos/community-any/PKGBUILD
(from rev 196109, flake8/trunk/PKGBUILD)
Deleted:
flake8/repos/community-any/PKGBUILD
flake8/repos/community-any/pycodestyle-2.1.patch
-----------------------+
PKGBUILD | 143 +++++++++++++++++++++++-------------------------
pycodestyle-2.1.patch | 10 ---
2 files changed, 69 insertions(+), 84 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-11-17 06:05:21 UTC (rev 196109)
+++ PKGBUILD 2016-11-17 06:05:37 UTC (rev 196110)
@@ -1,74 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
-# Contributor: spider-mario <spidermario at free.fr>
-# Contributor: Allen Li <darkfeline at abagofapples.com>
-
-pkgbase=flake8
-pkgname=(flake8 python2-flake8)
-pkgver=3.0.4
-pkgrel=2
-epoch=1
-pkgdesc="The modular source code checker: pep8, pyflakes and co"
-arch=('any')
-url="http://bitbucket.org/tarek/flake8"
-license=('MIT')
-makedepends=('python-setuptools' 'python2-setuptools' 'python-pyflakes' 'python2-pyflakes'
- 'python-pycodestyle' 'python2-pycodestyle' 'python-mccabe' 'python2-mccabe'
- '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')
-
-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}
-}
-
-build() {
- cd "$srcdir"/flake8
- python setup.py build
-
- cd "$srcdir"/flake8-py2
- python2 setup.py build
-}
-
-check() {
- cd "$srcdir"/flake8
- python setup.py ptr
-
- cd "$srcdir"/flake8-py2
- python2 setup.py ptr
-}
-
-package_flake8() {
- depends=('python-pyflakes' 'python-mccabe' 'python-pycodestyle')
- provides=('flake8-python3')
- replaces=('flake8-python3')
- conflicts=('flake8-python3')
-
- cd "$srcdir"/flake8
- python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python2-flake8() {
- depends=('python2-pyflakes' 'python2-mccabe' 'python2-pycodestyle' 'python2-enum34'
- 'python2-configparser')
- provides=('flake8-python2')
- replaces=('flake8-python2')
- conflicts=('flake8-python2')
-
- cd "$srcdir"/flake8-py2
- python2 setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
- mv "$pkgdir"/usr/bin/flake8{,-python2}
- install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-# vim:set ts=2 sw=2 et:
Copied: flake8/repos/community-any/PKGBUILD (from rev 196109, flake8/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-11-17 06:05:37 UTC (rev 196110)
@@ -0,0 +1,69 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Karol "Kenji Takahashi" Woźniak <kenji.sx>
+# Contributor: spider-mario <spidermario at free.fr>
+# Contributor: Allen Li <darkfeline at abagofapples.com>
+
+pkgbase=flake8
+pkgname=(flake8 python2-flake8)
+pkgver=3.2.0
+pkgrel=1
+epoch=1
+pkgdesc="The modular source code checker: pep8, pyflakes and co"
+arch=('any')
+url="http://bitbucket.org/tarek/flake8"
+license=('MIT')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-pyflakes' 'python2-pyflakes'
+ 'python-pycodestyle' 'python2-pycodestyle' 'python-mccabe' 'python2-mccabe'
+ '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')
+
+prepare() {
+ sed -i -e 's/, *< *[0-9=.]*//' flake8/setup.py
+ cp -a flake8{,-py2}
+}
+
+build() {
+ cd "$srcdir"/flake8
+ python setup.py build
+
+ cd "$srcdir"/flake8-py2
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir"/flake8
+ python setup.py ptr
+
+ cd "$srcdir"/flake8-py2
+ python2 setup.py ptr
+}
+
+package_flake8() {
+ depends=('python-pyflakes' 'python-mccabe' 'python-pycodestyle')
+ provides=('flake8-python3')
+ replaces=('flake8-python3')
+ conflicts=('flake8-python3')
+
+ cd "$srcdir"/flake8
+ python setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python2-flake8() {
+ depends=('python2-pyflakes' 'python2-mccabe' 'python2-pycodestyle' 'python2-enum34'
+ 'python2-configparser')
+ provides=('flake8-python2')
+ replaces=('flake8-python2')
+ conflicts=('flake8-python2')
+
+ cd "$srcdir"/flake8-py2
+ python2 setup.py install --root="$pkgdir" --prefix=/usr --optimize=1
+ mv "$pkgdir"/usr/bin/flake8{,-python2}
+ install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: pycodestyle-2.1.patch
===================================================================
--- pycodestyle-2.1.patch 2016-11-17 06:05:21 UTC (rev 196109)
+++ pycodestyle-2.1.patch 2016-11-17 06:05:37 UTC (rev 196110)
@@ -1,10 +0,0 @@
---- a/processor.py 2016-08-08 20:35:49.000000000 +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):
More information about the arch-commits
mailing list