# Contributor: Leo # Maintainer: Leo pkgname=py3-visitor pkgver=0.1.3 pkgrel=1 pkgdesc="Tiny pythonic visitor implementation." url="https://github.com/mbr/visitor" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" checkdepends="py3-pytest" source="$pkgname-$pkgver.tar.gz::https://github.com/mbr/visitor/archive/$pkgver.tar.gz" builddir="$srcdir/visitor-$pkgver" build() { python3 setup.py build } check() { PYTHONPATH="$PWD/build/lib" py.test-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="414c77df8efcc22df5ee8073e02b8c5c28563954ef9b9a869c4ea3f7f1268a97929c1fe29142ba41e3a5acafea52599f6bf073aacd654643d7d8380cd4f41fbc py3-visitor-0.1.3.tar.gz"