commit:     2aa8da207ba7521628dbe964a5af753260fb2012
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 20 22:29:49 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sat Dec 20 22:29:49 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aa8da20

sci-ml/onnx: fix build on multiple python target

Closes: https://bugs.gentoo.org/967468
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 sci-ml/onnx/onnx-1.20.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sci-ml/onnx/onnx-1.20.0.ebuild b/sci-ml/onnx/onnx-1.20.0.ebuild
index 3f2d90b2229e..93612ebdf18f 100644
--- a/sci-ml/onnx/onnx-1.20.0.ebuild
+++ b/sci-ml/onnx/onnx-1.20.0.ebuild
@@ -53,6 +53,7 @@ python_compile() {
                "${mycmakeargs[@]}"
                -Dnanobind_DIR="$(python_get_sitedir)/nanobind/cmake"
        )
+       rm -rf .setuptools-cmake-build
        CMAKE_ARGS="${mycmakeargs[@]}" distutils-r1_python_compile
 }
 

Reply via email to