Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev-python/llvmlite/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST llvmlite-0.47.0.gh.tar.gz 310838 BLAKE2B 1b8732eedb2d07fdd4f1a49af1f3a1afab743e44f012be2e01888895525c21c58f4bef068e6a806b61b837a5c020fe3c5d19149927b51e4463938dbd678cf10d SHA512 5da13803e65d74fe067f3e212c7f94b953421a471bbbf54f9a722cc95178cd5d7af2aa5d1531ac72936623f2b6826d9d058def8cb24170dba33aef74f92c89aa
DIST llvmlite-0.50.0.gh.tar.gz 319227 BLAKE2B bf252760f90a3ff2872423a5a2d7bcd1694fb5b668db338beb39aa6da1471699a8cb803e61069e1902fce602abf41e44f875bc1b180fae851b70d1315113484b SHA512 d3a9eb00ad839252db0a0381cc6fd9ddd27f6f6a4b3d14343e71673e534f165c05ef214c81f23297847d9cb3fb09f9ea12fa497ca07389cd86bfc2e3443dd751
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ EAPI=8

DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
LLVM_COMPAT=( 20 )
PYTHON_COMPAT=( python3_{12..15} )
LLVM_COMPAT=( 22 )

inherit cmake distutils-r1 llvm-r2
inherit cmake distutils-r1 llvm-r2 multiprocessing

DESCRIPTION="Python wrapper around the llvm C++ library"
HOMEPAGE="https://github.com/numba/llvmlite"
Expand All @@ -24,20 +24,17 @@ RDEPEND="
"
DEPEND="${RDEPEND}"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_compile() {
LLVMLITE_SHARED=ON LLVM_CONFIG="$(get_llvm_prefix)/bin/llvm-config" distutils-r1_python_compile
LLVMLITE_SHARED=ON \
LLVM_DIR="$(get_llvm_prefix)/$(get_libdir)/cmake/llvm" \
CMAKE_BUILD_PARALLEL_LEVEL="$(makeopts_jobs)" \
distutils-r1_python_compile
}

python_test() {
LD_LIBRARY_PATH="$(get_llvm_prefix)/$(get_libdir)" \
"${EPYTHON}" runtests.py -v || die "tests failed for ${EPYTHON}"
}

python_install() {
distutils-r1_python_install
# 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
}
2 changes: 1 addition & 1 deletion dev-python/numba/Manifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
DIST numba-0.65.1.gh.tar.gz 2850906 BLAKE2B f91646aa4c86309ba98861191ac882e86c937c9fabdaa74e09dd5144782a25f42d68237da1b89034790b56a86151d6b775fb289e78d059e300234480795447e9 SHA512 9037d955ee19cb23d655002fea0243308b45eac6653a4cba52654d20d887078582315e2701812ded7774638a85a99969147fb54c9c8eb703f72b758e52cb6176
DIST numba-0.68.0.gh.tar.gz 2942998 BLAKE2B 79912eaa92acc1f37eca612e50169e6b7b3bc30df34cededb4d7b3ed2f9df070fe3b1e35e4f9b2753eabbde063bcfe047b95e4658ebd08265c601db306070a83 SHA512 bcd5e980882ab7b7924c479de0878e9877dfc156c432c45fd5de13a0d1444418f43a38f841548318638bd6f97937c6f89ec9890f3ca94ada0ff7a61215c580b5
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ EAPI=8

DISTUTILS_EXT=1
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
PYTHON_COMPAT=( python3_{12..15} )
inherit distutils-r1 flag-o-matic

DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
Expand All @@ -18,11 +18,13 @@ KEYWORDS="~amd64"
IUSE="debug"

RDEPEND="
>=dev-python/llvmlite-0.45[$PYTHON_USEDEP]
dev-python/numpy[$PYTHON_USEDEP]
>=dev-python/llvmlite-0.50.0[$PYTHON_USEDEP]
<dev-python/llvmlite-0.51[$PYTHON_USEDEP]
<dev-python/numpy-2.6[$PYTHON_USEDEP]
"
DEPEND="${RDEPEND}"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_prepare_all() {
Expand Down
Loading