# Template file for 'python-parso' pkgname=python-parso version=0.3.4 revision=1 archs=noarch wrksrc="parso-${version}" build_style=python-module pycompile_module="parso" hostmakedepends="python-setuptools python3-setuptools" depends="python" short_desc="Python parser (Python2)" maintainer="Alessio Sergi " license="MIT" homepage="https://github.com/davidhalter/parso" distfiles="${PYPI_SITE}/p/parso/parso-${version}.tar.gz" checksum=68406ebd7eafe17f8e40e15a84b56848eccbf27d7c1feb89e93d8fca395706db post_install() { vlicense LICENSE.txt } python3-parso_package() { archs=noarch depends="python3" pycompile_module="parso" short_desc="${short_desc/Python2/Python3}" pkg_install() { vmove usr/lib/python3* vlicense LICENSE.txt } }