[arch-commits] Commit in python-flake8-blind-except/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Fri Mar 19 20:12:37 UTC 2021
Date: Friday, March 19, 2021 @ 20:12:37
Author: felixonmars
Revision: 894996
upgpkg: python-flake8-blind-except 0.2.0-1
Modified:
python-flake8-blind-except/trunk/PKGBUILD
----------+
PKGBUILD | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-19 20:11:01 UTC (rev 894995)
+++ PKGBUILD 2021-03-19 20:12:37 UTC (rev 894996)
@@ -1,24 +1,24 @@
# Maintainer: Felix Yan <felixonmars at archlinux.org>
pkgname=python-flake8-blind-except
-pkgver=0.1.1
-pkgrel=4
+pkgver=0.2.0
+pkgrel=1
pkgdesc='A flake8 extension that checks for blind except: statements'
arch=('any')
license=('MIT')
url='https://github.com/elijahandrews/flake8-blind-except'
depends=('python-setuptools')
-makedepends=('python-setuptools' 'git')
-source=("git+https://github.com/elijahandrews/flake8-blind-except.git#tag=v$pkgver")
-md5sums=('SKIP')
+makedepends=('python-setuptools')
+source=("https://github.com/elijahandrews/flake8-blind-except/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('e96ca3e9cf6fa0d5f155f2136bfc150c6726591184d84f48b77385fda32727f4fa780563a7dc404bd8b0329fc2200f6ac796c5e644565155e51f4140e1eba0cd')
build() {
- cd "$srcdir"/flake8-blind-except
+ cd flake8-blind-except-$pkgver
python setup.py build
}
package() {
- cd "$srcdir"/flake8-blind-except
+ cd flake8-blind-except-$pkgver
python setup.py install --root="$pkgdir"/ --optimize=1
install -D -m644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
More information about the arch-commits
mailing list