commit:     14fa88b0c16c1f3659454cac8b6caf7ea638171a
Author:     Michael Schubert <mschu.dev <AT> gmail <DOT> com>
AuthorDate: Fri Mar  7 21:15:11 2025 +0000
Commit:     Nowa Ammerlaan <nowa <AT> gentoo <DOT> org>
CommitDate: Fri Mar 21 15:01:50 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=14fa88b0

dev-python/llvmlite: fix double EPREFIX

Signed-off-by: Michael Schubert <mschu.dev <AT> gmail.com>
Closes: https://github.com/gentoo/sci/pull/1330
Signed-off-by: Nowa Ammerlaan <nowa <AT> gentoo.org>

 dev-python/llvmlite/llvmlite-0.44.0.ebuild | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/dev-python/llvmlite/llvmlite-0.44.0.ebuild 
b/dev-python/llvmlite/llvmlite-0.44.0.ebuild
index f81f98418..216e0b478 100644
--- a/dev-python/llvmlite/llvmlite-0.44.0.ebuild
+++ b/dev-python/llvmlite/llvmlite-0.44.0.ebuild
@@ -36,6 +36,7 @@ python_test() {
 
 python_install() {
        distutils-r1_python_install
-       dosym "$(get_llvm_prefix)/$(get_libdir)/libLLVM-${LLVM_SLOT}.so" \
-               "$(python_get_sitedir)/llvmlite/binding/libLLVM-${LLVM_SLOT}.so"
+       # numba compilation fails without this link
+       ln -s "$(get_llvm_prefix)/$(get_libdir)/libLLVM-${LLVM_SLOT}.so" \
+               
"${D}/$(python_get_sitedir)/llvmlite/binding/libLLVM-${LLVM_SLOT}.so" || die
 }

Reply via email to