blob: 8c5d83d1fe1db6726d043e8e2d73f8fd510e0301 (
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-yapf"
pkgver="0.29.0"
pkgrel=0
pkgdesc="A formatter for Python files"
url="https://github.com/google/yapf"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools"
source="https://github.com/google/yapf/archive/v$pkgver/yapf-$pkgver.tar.gz"
builddir="$srcdir/yapf-$pkgver"
build() {
python3 setup.py build
}
check() {
python3 setup.py test
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="6ed72dc1ae1e14a015ba9c5e5c516968a87ccee90d6edc479a6e2a27e59066bbcbc4b8641994b80fadc4960c3114ca66c1c58d4e2d9489c74ef3c704ec6760ff yapf-0.29.0.tar.gz"
|