Package Details: 3to2 1.1.1-2

Git Clone URL: https://aur.archlinux.org/3to2.git (read-only)
Package Base: 3to2
Description: Script to convert python3 code to python2. Counterpart to 2to3
Upstream URL: https://pypi.python.org/pypi/3to2
Licenses: Apache
Submitter: jpkotta
Maintainer: jpkotta
Last Packager: jpkotta
Votes: 3
Popularity: 0.158186
First Submitted: 2015-08-28 20:39
Last Updated: 2017-08-28 16:54

Latest Comments

jpkotta commented on 2017-08-28 16:54

Yeah, that fix is committed upstream, but there hasn't been a release for a couple of years. Thanks for the fix.

risto3 commented on 2017-08-21 16:18

? I needed the following to get clean build where python3 was default:

diff --git a/PKGBUILD b/PKGBUILD
index e9c9ec8..a777e7c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,6 +17,7 @@ md5sums=('cbeed28e350dbdaef86111ace3052824')

package() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's/Exception, err:/(Exception) as Err:/' lib3to2/build.py
python ./setup.py install --root="${pkgdir}" --optimize=1
rm -rf "${pkgdir}"/usr/lib/python*/site-packages/lib3to2/tests/
}