dev-python/mimeparse: Fix pypy3 support

Package-Manager: portage-2.2.20.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
This commit is contained in:
Justin Lecher
2015-08-23 20:10:57 +02:00
parent 7174f0a9af
commit 6005c20573

View File

@@ -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