aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/jpype')
-rw-r--r--dev-python/jpype/jpype-1.5.0.ebuild5
1 files changed, 5 insertions, 0 deletions
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
+}