29 lines
701 B
Bash
29 lines
701 B
Bash
# Template file for 'python-parso'
|
|
pkgname=python-parso
|
|
version=0.5.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=55cf25df1a35fd88b878715874d2c4dc1ad3f0eebd1e0266a67e1f55efccfbe1
|
|
|
|
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
|
|
}
|
|
}
|