Skip to content
Snippets Groups Projects
Commit f5e52904 authored by Bart Ribbers's avatar Bart Ribbers Committed by Leo
Browse files

testing/py3-yapf: new aport

parent b99f5178
No related branches found
No related tags found
No related merge requests found
# 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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment