aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py3-autopep8/APKBUILD
blob: abc00f3f670790ddc32fea91687718894ba4440a (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
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname="py3-autopep8"
pkgver="1.5"
pkgrel=0
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"
makedepends="py3-setuptools"
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="d1d9f8f2589ff5c8d65c644abd494d88aa3a2810973a249663cbc2e0ed7abc351be1d98c3de3e45e00bb401b1e5ca0a1a3d1875a05bce39a2afbb5706b683b37  autopep8-1.5.tar.gz"