void-packages/srcpkgs/python-parso/template

30 lines
701 B
Bash

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