commit: 4e45b62ce4d995366b063dc1d475fbee3f986527 Author: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org> AuthorDate: Tue Jul 15 17:16:39 2025 +0000 Commit: Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org> CommitDate: Thu Jul 17 19:05:33 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e45b62c
dev-python/rencode: fix build on non amd64/x86 platforms On platforms without sse/sse2/fma support, rencode fails to build with following errors: aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-msse’ aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-msse2’ aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-mfma’ aarch64-unknown-linux-gnu-gcc: error: unrecognized command-line option ‘-mfpmath=sse’ Bug: https://github.com/aresch/rencode/issues/38 Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org> Part-of: https://github.com/gentoo/gentoo/pull/43015 Closes: https://github.com/gentoo/gentoo/pull/43015 Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org> .../rencode/{rencode-1.0.8.ebuild => rencode-1.0.8-r1.ebuild} | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev-python/rencode/rencode-1.0.8.ebuild b/dev-python/rencode/rencode-1.0.8-r1.ebuild similarity index 86% rename from dev-python/rencode/rencode-1.0.8.ebuild rename to dev-python/rencode/rencode-1.0.8-r1.ebuild index 6e7d3b21f525..cc03a610e886 100644 --- a/dev-python/rencode/rencode-1.0.8.ebuild +++ b/dev-python/rencode/rencode-1.0.8-r1.ebuild @@ -30,6 +30,13 @@ BDEPEND=" distutils_enable_tests pytest +src_prepare() { + # remove forced -O3 + sed -e '/extra_compile_args=/d' -i build.py || die + + distutils-r1_src_prepare +} + python_test() { rm -rf rencode || die epytest
