diff --git a/dev-python/jpype/jpype-1.5.0.ebuild b/dev-python/jpype/jpype-1.5.0.ebuild index 37cfc67601..66f80d3a4a 100644 --- a/dev-python/jpype/jpype-1.5.0.ebuild +++ b/dev-python/jpype/jpype-1.5.0.ebuild @@ -27,3 +27,8 @@ distutils_enable_tests pytest _distutils-r1_post_python_install() { local keep } + +src_prepare() { + sed -i "s/'-g0', //g;s/, '-O2'//g" ${S}/setupext/platform.py + default +}