From: Justin Lecher Date: Sun, 23 Aug 2015 18:10:57 +0000 (+0200) Subject: dev-python/mimeparse: Fix pypy3 support X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6005c20573b8561525fde4f1c2c38c709a628be4;p=gentoo.git dev-python/mimeparse: Fix pypy3 support Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher --- diff --git a/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild b/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild index c4966e859660..3a5b7118b199 100644 --- a/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild +++ b/dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild @@ -30,8 +30,10 @@ python_test() { python_install() { distutils-r1_python_install - if [[ ${EPYTHON} == pypy* ]]; then + if [[ ${EPYTHON} == pypy ]]; then local pyver=2.7 + elif [[ ${EPYTHON} == pypy3 ]]; then + local pyver=3.2 else local pyver=${EPYTHON#python} fi