[arch-commits] Commit in flake8/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Mon Jun 1 08:48:06 UTC 2015
Date: Monday, June 1, 2015 @ 10:48:06
Author: fyan
Revision: 134448
upgpkg: flake8 1:2.4.1-2
allowing pyflakes 0.9 for now, works for me, waiting for upstream confirmation. (FS#45162)
Modified:
flake8/trunk/PKGBUILD
----------+
PKGBUILD | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-06-01 08:29:25 UTC (rev 134447)
+++ PKGBUILD 2015-06-01 08:48:06 UTC (rev 134448)
@@ -7,7 +7,7 @@
pkgbase=flake8
pkgname=(flake8 python2-flake8)
pkgver=2.4.1
-pkgrel=1
+pkgrel=2
epoch=1
pkgdesc="The modular source code checker: pep8, pyflakes and co"
arch=('any')
@@ -21,7 +21,9 @@
prepare() {
# We have patched pep8 to fix the problem, allowing 1.6.2)
- sed -i 's/pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2/pep8 >= 1.5.7, != 1.6.0, != 1.6.1/' $pkgbase-$pkgver/setup.py
+ sed -e 's/pep8 >= 1.5.7, != 1.6.0, != 1.6.1, != 1.6.2/pep8 >= 1.5.7, != 1.6.0, != 1.6.1/' \
+ -e 's/pyflakes >= 0.8.1, < 0.9/pyflakes >= 0.8.1/' \
+ -i $pkgbase-$pkgver/setup.py
cp -a ${pkgbase}-${pkgver}{,-py2}
}
More information about the arch-commits
mailing list