dev-python/unittest2: Add pypy3 support
authorJustin Lecher <jlec@gentoo.org>
Sun, 23 Aug 2015 17:48:08 +0000 (19:48 +0200)
committerJustin Lecher <jlec@gentoo.org>
Mon, 24 Aug 2015 10:12:04 +0000 (12:12 +0200)
Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
dev-python/unittest2/unittest2-1.1.0.ebuild

index 00602d11bc0938e2ab045c3240807b02c36834b6..20c30f45d0329da09d969919844c98880307fea1 100644 (file)
@@ -3,7 +3,8 @@
 # $Id$
 
 EAPI=5
-PYTHON_COMPAT=( python2_7 python3_3 python3_4 pypy )
+
+PYTHON_COMPAT=( python2_7 python3_{3,4} pypy pypy3 )
 
 inherit distutils-r1
 
@@ -25,13 +26,7 @@ CDEPEND="
 DEPEND="${CDEPEND}"
 RDEPEND="${CDEPEND}"
 
-python_prepare_all() {
-       local PATCHES=(
-               "${FILESDIR}"/remove-argparse-dependence.patch
-       )
-
-       distutils-r1_python_prepare_all
-}
+PATCHES=( "${FILESDIR}"/remove-argparse-dependence.patch )
 
 python_test() {
        "${PYTHON}" -m unittest2 discover || die "tests failed under ${EPYTHON}"