dev-python/ujson: Add python3.5 support
authorJustin Lecher <jlec@gentoo.org>
Tue, 20 Oct 2015 19:22:04 +0000 (21:22 +0200)
committerJustin Lecher <jlec@gentoo.org>
Wed, 21 Oct 2015 13:40:24 +0000 (15:40 +0200)
Package-Manager: portage-2.2.23
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/ujson/ujson-1.33.ebuild

index 83591d2aea54ef18fff42f1f5363a6f1e66fc070..b0660cb35ba4a0ea6aef03d425c53bd9d426a8b3 100644 (file)
@@ -2,11 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="5"
+EAPI=5
 
 # One test; FAIL: test_encodeToUTF8 (__main__.UltraJSONTests) under py2.5.
 # Fix and repair and re-insert if it's REALLY needed
-PYTHON_COMPAT=( python{2_7,3_3,3_4} )
+PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
 
 inherit distutils-r1
 
@@ -35,7 +35,7 @@ python_test() {
        if [[ "${EPYTHON}" =~ 'python3' ]]; then
                cd "${BUILD_DIR}"/lib || die
                cp -a "${S}"/tests/ .  || die
-               2to3 -w tests/tests.py
+               2to3 -w tests/tests.py || die
                "${PYTHON}" tests/tests.py || die
                rm -rf tests/ || die
        else