# Contributor: Sören Tempel # Maintainer: pkgname=py3-astor pkgver=0.8 pkgrel=0 pkgdesc="Easy manipulation of Python source via the AST" url="https://github.com/berkerpeksag/astor" arch="noarch" license="BSD-3-Clause-Clear" depends="python3" makedepends="py3-setuptools" checkdepends="py3-nose" source="$pkgname-$pkgver.tar.gz::https://github.com/berkerpeksag/astor/archive/$pkgver.tar.gz" builddir="$srcdir/astor-$pkgver" build() { python3 setup.py build } check() { nosetests -v } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="ca787234f9a9caae37633be289d6e980e7b44507d74306ad7a30f017442d6cf423748ef35465b7b5d12bdb84ce4594af801de39882f4c11c732dba4dc65ab667 py3-astor-0.8.tar.gz"