aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-autopep8/APKBUILD
blob: 25a1db84af7dd12ed707b272f78e4a726bc70c8e (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-autopep8
pkgver=1.5.2
pkgrel=1
pkgdesc="A tool that automatically formats Python code to conform to the PEP 8 style guide"
url="https://pypi.python.org/pypi/autopep8/"
arch="noarch"
license="MIT"
depends="python3 py3-setuptools py3-pycodestyle"
source="https://github.com/hhatto/autopep8/archive/v$pkgver/autopep8-$pkgver.tar.gz"
builddir="$srcdir/autopep8-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

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

sha512sums="6b1a41e5769b9f1f85f6e53fcc6c78239cbbbb5065e0abcf4cd110e013b8098dfee60f397d60ea89705b7b40b987c08e2625428946fd43c2078f33b993cec591  autopep8-1.5.2.tar.gz"