aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-flake8-builtins/APKBUILD
blob: 3d7da9eeffc8ae091451d84ae3d8909970d49c52 (plain)
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
28
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-flake8-builtins
_pkgname=flake8-builtins
pkgver=1.4.2
pkgrel=0
pkgdesc="Extension for flake8 to check for builtins"
options="!check" # No testsuite
url="https://github.com/gforcada/flake8-builtins"
arch="noarch"
license="MIT"
depends="py3-flake8"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

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

build() {
	python3 setup.py build
}

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

sha512sums="6fb5a07da03e51ff14cd0024fb65f41cbd35b425dcd89884b638877734d00d8f7c1473c07a3784cb884864560c6823d999ea52185e57083b1bd72b795662e597  flake8-builtins-1.4.2.tar.gz"