aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-pep8-naming/APKBUILD
blob: 9128bc5eda8d206b40de1c4822665a7b2edd1420 (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
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-pep8-naming
_pkgname=pep8-naming
pkgver=0.5.0
pkgrel=0
pkgdesc="Check PEP-8 naming conventions plugin for flake8"
url="https://github.com/flintwork/pep8-naming"
arch="noarch"
license="MIT"
depends="python2 flake8"
depends_dev=""
makedepends="python2-dev py-setuptools"
install=""
subpackages=""
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
_builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$_builddir"
	python2 setup.py build
}

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

sha512sums="edf3c85140dda2ccfc172b75b8d65d70623446892e944d1b282fc64196d30ef96e21f02b519b6846e8e738acb28902ac60fdf61e276da59f5d722bba7554694f  pep8-naming-0.5.0.tar.gz"