dev-python/numba - 0.57.1 (blshkv)

Search

Install

Install this version:

emerge -a =dev-python/numba-0.57.1

Package Information

Description:
NumPy aware dynamic Python compiler using LLVM
Homepage:
https://pypi.org/project/numba/
License:
BSD-2

Ebuild Details

Version EAPI Keywords Slot
0.57.1 8 amd64 0
View Raw Ebuild
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

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

DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
HOMEPAGE="https://pypi.org/project/numba/"
IUSE="tbb"

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64"

BDEPEND="dev-python/numpy[${PYTHON_USEDEP}]"
DEPEND="tbb? ( <dev-cpp/tbb-2021.5.0-r1 )"
RDEPEND="dev-python/llvmlite[${PYTHON_USEDEP}]
	dev-python/setuptools:0[${PYTHON_USEDEP}]
	${BDEPEND}"

#src_configure() {
#	append-ldflags "$(no-as-needed)"
#	distutils-r1_src_configure
#}

src_compile() {
	export MAKEOPTS=-j1
	! use tbb && export NUMBA_DISABLE_TBB=1
	distutils-r1_src_compile
}

distutils_enable_tests pytest

USE Flags

Manage flags for this package: euse -i <flag> -p dev-python/numba | euse -E <flag> -p dev-python/numba | euse -D <flag> -p dev-python/numba

Global/Standard Flags

tbb

Inherited Eclasses

Dependencies

DEPEND

tbb? ( <dev-cpp/tbb-2021.5.0-r1 )

RDEPEND

dev-python/llvmlite[]
	dev-python/setuptools:0[]
	dev-python/numpy[]

BDEPEND

dev-python/numpy[]