Date: Sunday, March 20, 2022 @ 17:34:46
  Author: archange
Revision: 1164406

FS#73953 Fix upper bounds removal

Modified:
  flake8/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-03-20 17:34:44 UTC (rev 1164405)
+++ PKGBUILD    2022-03-20 17:34:46 UTC (rev 1164406)
@@ -5,11 +5,11 @@
 
 pkgname=flake8
 pkgver=4.0.1
-pkgrel=3
+pkgrel=4
 epoch=1
 pkgdesc="The modular source code checker: pep8, pyflakes and co"
 arch=('any')
-url="http://flake8.pycqa.org";
+url="https://flake8.pycqa.org";
 license=('MIT')
 depends=('python-pyflakes' 'python-mccabe' 'python-pycodestyle' 
'python-entrypoints')
 makedepends=('python-setuptools')
@@ -18,7 +18,7 @@
 
sha512sums=('6a3749b6c23bc2417351829340ec212c3305bd6a740cb77d4309296031abaa150ccff64b456e847540eb05cf635ed65025d4835d8663af6c8903491034998313')
 
 prepare() {
-  sed -i -e 's/, *< *[0-9=.]*//' flake8-$pkgver/setup.py
+  sed -i -e 's/,<[0-9=.]*//' flake8-$pkgver/setup.cfg
 
   sed -i '/error/a \    ignore:Creating a LegacyVersion has been deprecated 
and will be removed in the next major release:DeprecationWarning' 
flake8-$pkgver/pytest.ini
 }

Reply via email to