32 lines
761 B
Bash
32 lines
761 B
Bash
# Template file for 'python-parso'
|
|
pkgname=python-parso
|
|
version=0.5.1
|
|
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=666b0ee4a7a1220f65d367617f2cd3ffddff3e205f3f16a0284df30e774c2a9c
|
|
|
|
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
|
|
}
|
|
}
|