aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flake8-blind-except/APKBUILD
blob: f6cc1fc8af67fbce246f3f4cb14164a54275a870 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flake8-blind-except
_pkgname=flake8-blind-except
pkgver=0.1.1
pkgrel=0
pkgdesc="Extension for flake8 which checks for blind except: statements"
options="!check" # No testsuite
url="https://github.com/elijahandrews/flake8-blind-except"
arch="noarch"
license="MIT"
depends="py3-flake8 py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-flake8-blind-except" # Backwards compatibility
provides="py-flake8-blind-except=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="3a74e626b87e570a079dd54ac4abbdabf2daa0b5bc64b8205f54747ddb8ce8dd4ded9dd3222307f879dcda8fc9aa47dcfacf401da27d7717888cd3d9691a0513  flake8-blind-except-0.1.1.tar.gz"