blob: d183e934b8c91b27c3595bf73737d6e74e1db9eb (
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.1
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"
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="eeb7668aa7b470a12b4fa08ecbdc120d7fa01405565f2e43f26d5e419a904317545ee921acadf1f4676ba72811691f86e79f8bcddb10b53976f955430a1fc912 autopep8-1.5.1.tar.gz"
|