New package: python3-3to2-1.1.1

closes #3950
This commit is contained in:
Toby Merz 2018-10-19 09:38:47 +02:00 committed by maxice8
parent 6017bb34f4
commit a691502511
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B

View file

@ -0,0 +1,20 @@
# Template file for 'python3-3to2'
pkgname=python3-3to2
version=1.1.1
revision=1
noarch=yes
wrksrc="3to2-${version}"
build_style=python3-module
pycompile_module="lib3to2"
hostmakedepends="python3-setuptools unzip"
depends="python3"
short_desc="Refactors valid Python 3.x syntax into valid 2.x syntax"
maintainer="shizonic <realtiaz@gmail.com>"
license="Apache-2.0"
homepage="https://bitbucket.org/amentajo/lib3to2"
distfiles="${PYPI_SITE}/3/3to2/3to2-${version}.zip"
checksum=fef50b2b881ef743f269946e1090b77567b71bb9a9ce64b7f8e699b562ff685c
pre_build() {
sed -i 's/Exception, err:/Exception as err:/' lib3to2/build.py
}