mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
parent
6017bb34f4
commit
a691502511
1 changed files with 20 additions and 0 deletions
20
srcpkgs/python3-3to2/template
Normal file
20
srcpkgs/python3-3to2/template
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue