void-packages/srcpkgs/python-parso/template
2019-04-09 06:39:51 -03:00

31 lines
761 B
Bash

# Template file for 'python-parso'
pkgname=python-parso
version=0.4.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 <al3hex@gmail.com>"
license="MIT"
homepage="https://github.com/davidhalter/parso"
distfiles="${PYPI_SITE}/p/parso/parso-${version}.tar.gz"
checksum=2e9574cb12e7112a87253e14e2c380ce312060269d04bd018478a3c92ea9a376
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
}
}