# Template file for 'python-parso' pkgname=python-parso version=0.5.0 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=db5881df1643bf3e66c097bfd8935cf03eae73f4cb61ae4433c9ea4fb6613446 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 } }