void-packages/srcpkgs/python-parso/template
2018-05-23 18:02:21 +02:00

31 lines
775 B
Bash

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