python-parso: update to 0.7.1, drop python3
This commit is contained in:
parent
0f9079a065
commit
a4c3d3aada
3 changed files with 5 additions and 15 deletions
|
@ -1,29 +1,19 @@
|
|||
# Template file for 'python-parso'
|
||||
pkgname=python-parso
|
||||
version=0.7.0
|
||||
version=0.7.1
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc="parso-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
build_style=python2-module
|
||||
hostmakedepends="python-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=908e9fae2144a076d72ae4e25539143d40b8e3eafbaeae03c1bfe226f4cdf12c
|
||||
checksum=caba44724b994a8a5e086460bb212abc5a8bc46951bf4a9a1210745953622eb9
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
|
|
1
srcpkgs/python-parso/update
Normal file
1
srcpkgs/python-parso/update
Normal file
|
@ -0,0 +1 @@
|
|||
pattern="parso-\K0.7[0-9.]+(?=.tar.gz)"
|
|
@ -1 +0,0 @@
|
|||
python-parso
|
Loading…
Reference in a new issue