commit:     e08993092d1b39c55e949755bd77e677940208a5
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 16 07:13:36 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Jun 16 07:13:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0899309

dev-python/blosc: Workaround dev-python/scikit-build bugs

Closes: https://bugs.gentoo.org/923038
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/blosc/blosc-1.11.1.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/dev-python/blosc/blosc-1.11.1.ebuild 
b/dev-python/blosc/blosc-1.11.1.ebuild
index fc0773f2cc28..327b9e7b9f91 100644
--- a/dev-python/blosc/blosc-1.11.1.ebuild
+++ b/dev-python/blosc/blosc-1.11.1.ebuild
@@ -55,6 +55,14 @@ src_configure() {
        export BLOSC_DIR="${EPREFIX}/usr"
 }
 
+python_compile() {
+       distutils-r1_python_compile
+
+       # scikit-build is broken and reuses the same build
+       # https://github.com/scikit-build/scikit-build/issues/633
+       rm -r _skbuild || die
+}
+
 python_test() {
        "${EPYTHON}" -m blosc.test -v || die
 }

Reply via email to