summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-08-23 19:48:08 +0200
committerJustin Lecher <jlec@gentoo.org>2015-08-24 12:12:04 +0200
commit2a1ed025c31c25ce71ba8abc3f2e47b77c3f1364 (patch)
tree9f4744d9179df4fc828ff289b471c9cfe59ab4ec /dev-python/unittest2/unittest2-1.1.0.ebuild
parentdev-python/redis-py: Add pypy3 support (diff)
downloadgentoo-2a1ed025c31c25ce71ba8abc3f2e47b77c3f1364.tar.gz
gentoo-2a1ed025c31c25ce71ba8abc3f2e47b77c3f1364.tar.bz2
gentoo-2a1ed025c31c25ce71ba8abc3f2e47b77c3f1364.zip
dev-python/unittest2: Add pypy3 support
Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-python/unittest2/unittest2-1.1.0.ebuild')
-rw-r--r--dev-python/unittest2/unittest2-1.1.0.ebuild11
1 files changed, 3 insertions, 8 deletions
diff --git a/dev-python/unittest2/unittest2-1.1.0.ebuild b/dev-python/unittest2/unittest2-1.1.0.ebuild
index 00602d11bc09..20c30f45d032 100644
--- a/dev-python/unittest2/unittest2-1.1.0.ebuild
+++ b/dev-python/unittest2/unittest2-1.1.0.ebuild
@@ -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}"