Package Details: 3to2 1.1.1-2

Git Clone URL: (read-only)
Package Base: 3to2
Description: Script to convert python3 code to python2. Counterpart to 2to3
Upstream URL:
Licenses: Apache
Submitter: jpkotta
Maintainer: jpkotta
Last Packager: jpkotta
Votes: 2
Popularity: 0.000000
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
@@ -17,6 +17,7 @@ md5sums=('cbeed28e350dbdaef86111ace3052824')

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