New package: python-parso-0.1.0
This commit is contained in:
parent
5b18b758c0
commit
6ad67331ef
2 changed files with 32 additions and 0 deletions
31
srcpkgs/python-parso/template
Normal file
31
srcpkgs/python-parso/template
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Template file for 'python-parso'
|
||||
pkgname=python-parso
|
||||
version=0.1.0
|
||||
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=c5279916bb417aa2bf634648ff895cf35dce371d7319744884827bfad06f8d7b
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt LICENSE
|
||||
}
|
||||
|
||||
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 LICENSE
|
||||
}
|
||||
}
|
1
srcpkgs/python3-parso
Symbolic link
1
srcpkgs/python3-parso
Symbolic link
|
@ -0,0 +1 @@
|
|||
python-parso
|
Loading…
Reference in a new issue