32 lines
759 B
Bash
32 lines
759 B
Bash
# Template file for 'python-parso'
|
|
pkgname=python-parso
|
|
version=0.3.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=35704a43a3c113cce4de228ddb39aab374b8004f4f2407d070b6a2ca784ce8a2
|
|
|
|
post_install() {
|
|
vlicense LICENSE.txt
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|