# Contributor: Kevin Daudt # Maintainer: Kevin Daudt pkgname=py3-parso pkgver=0.5.2 pkgrel=0 pkgdesc="Python3 parser that supports error recovery and round-trip parsing for different Python versions" url="https://github.com/davidhalter/parso" arch="noarch" license="MIT" depends="python3" makedepends="py3-setuptools" checkdepends="py3-pytest" source="https://files.pythonhosted.org/packages/source/p/parso/parso-$pkgver.tar.gz" builddir="$srcdir/parso-$pkgver" replaces="py-parso" # Backwards compatibility provides="py-parso=$pkgver-r$pkgrel" # Backwards compatibility build() { python3 setup.py build } check() { py.test-3 } package() { python3 setup.py install --prefix=/usr --root="$pkgdir" } sha512sums="709f116c4e9c4fffd8489a2e77d5e58e9bc653a586bd617f01216eb5368703c9b4da4edcbce2a7f6143b938a83cda54138e019043eb29e57a3b51596581970cd parso-0.5.2.tar.gz"