summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-08-23 20:10:57 +0200
committerJustin Lecher <jlec@gentoo.org>2015-08-24 12:12:05 +0200
commit6005c20573b8561525fde4f1c2c38c709a628be4 (patch)
tree759a3da4bfc24a24a0109d4e1c609ea6b8a6cca7
parentdev-python/testtools: Add pypy3 support (diff)
downloadgentoo-6005c20573b8561525fde4f1c2c38c709a628be4.tar.gz
gentoo-6005c20573b8561525fde4f1c2c38c709a628be4.tar.bz2
gentoo-6005c20573b8561525fde4f1c2c38c709a628be4.zip
dev-python/mimeparse: Fix pypy3 support
Package-Manager: portage-2.2.20.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
-rw-r--r--dev-python/mimeparse/mimeparse-0.1.4-r1.ebuild4
1 files changed, 3 insertions, 1 deletions
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