aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-autopep8/APKBUILD
blob: edb8907e6b87a0a82c8f3e2236b01bcd03342c64 (plain) (blame)
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: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=py3-autopep8
pkgver=1.5.6
pkgrel=1
pkgdesc="automatically format your Python code to conform to the PEP 8 style guide"
url="https://pypi.python.org/pypi/autopep8/"
arch="noarch"
license="MIT"
depends="
	py3-pycodestyle
	py3-toml
	python3
	"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://github.com/hhatto/autopep8/archive/v$pkgver/autopep8-$pkgver.tar.gz"
builddir="$srcdir/autopep8-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

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

sha512sums="ffd560bdd97bd228e2833727f8e1ca5f2e618726d8a0f90324c5235ae91af8c868e3d183fe25c9f8fde7c1104823e7bc7e1e913201aa992bd15f307d9f5a71f0  autopep8-1.5.6.tar.gz"