python-parso: update to 0.7.1, drop python3

This commit is contained in:
Andrew J. Hesford 2020-08-04 20:24:56 -04:00
parent 0f9079a065
commit a4c3d3aada
3 changed files with 5 additions and 15 deletions

View file

@ -1,29 +1,19 @@
# Template file for 'python-parso' # Template file for 'python-parso'
pkgname=python-parso pkgname=python-parso
version=0.7.0 version=0.7.1
revision=1 revision=1
archs=noarch archs=noarch
wrksrc="parso-${version}" wrksrc="parso-${version}"
build_style=python-module build_style=python2-module
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools"
depends="python" depends="python"
short_desc="Python parser (Python 2)" short_desc="Python parser (Python 2)"
maintainer="Alessio Sergi <al3hex@gmail.com>" maintainer="Alessio Sergi <al3hex@gmail.com>"
license="MIT" license="MIT"
homepage="https://github.com/davidhalter/parso" homepage="https://github.com/davidhalter/parso"
distfiles="${PYPI_SITE}/p/parso/parso-${version}.tar.gz" distfiles="${PYPI_SITE}/p/parso/parso-${version}.tar.gz"
checksum=908e9fae2144a076d72ae4e25539143d40b8e3eafbaeae03c1bfe226f4cdf12c checksum=caba44724b994a8a5e086460bb212abc5a8bc46951bf4a9a1210745953622eb9
post_install() { post_install() {
vlicense LICENSE.txt 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
}
}

View file

@ -0,0 +1 @@
pattern="parso-\K0.7[0-9.]+(?=.tar.gz)"

View file

@ -1 +0,0 @@
python-parso