From 18d68ea8ac8796a4fe2e313433235f2b65864244 Mon Sep 17 00:00:00 2001 From: Ivan Lloro Date: Mon, 12 Aug 2024 19:03:09 +0200 Subject: [PATCH] dev-python/jpype: Remove upstream's default -O2 -g0 compile flags. Closes: https://bugs.gentoo.org/937760 Signed-off-by: Ivan Lloro --- dev-python/jpype/jpype-1.5.0.ebuild | 5 +++++ 1 file changed, 5 insertions(+) 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 +}