aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-pep8-naming/APKBUILD
blob: 120d78796eb0d96a09239425d051dbcfa314ecaa (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
29
30
31
32
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-pep8-naming
_pkgname=pep8-naming
pkgver=0.9.1
pkgrel=0
pkgdesc="Check PEP-8 naming conventions plugin for flake8"
url="https://github.com/flintwork/pep8-naming"
arch="noarch"
license="MIT"
depends="python3 py3-flake8"
makedepends="py3-setuptools"
checkdepends="py3-six py3-tox py3-virtualenv"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

replaces="py-pep8-naming" # Backwards compatibility
provides="py-pep8-naming=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="6a395d2fc2998f97b0592b2007323e21b97c20d4e2fbe4a541c9120f1c69efb4e10c3ce5f3e0c0305f48bfa42a7bf48668f881320ba1cf2fc808bf4447b63b82  pep8-naming-0.9.1.tar.gz"