commit: 769cbc21623df08ce893168ef80425b588306ff5
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 15 18:39:28 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Sep 15 18:39:28 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=769cbc21
dev-python/numba: drop version 0.53.1
Package-Manager: Portage-3.0.23, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>
dev-python/numba/numba-0.53.1.ebuild | 79 ------------------------------------
1 file changed, 79 deletions(-)
diff --git a/dev-python/numba/numba-0.53.1.ebuild
b/dev-python/numba/numba-0.53.1.ebuild
deleted file mode 100644
index d1ee3f0b7..000000000
--- a/dev-python/numba/numba-0.53.1.ebuild
+++ /dev/null
@@ -1,79 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-
-DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit optfeature multiprocessing distutils-r1
-
-DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
-HOMEPAGE="https://numba.pydata.org/
- https://github.com/numba"
-SRC_URI="https://github.com/numba/numba/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-IUSE="openmp threads"
-
-# Minimum dependency versions derive from:
-# * For llvmlite, the "min_llvmlite_version" and "max_llvmlite_version" globals
-# in "setup.py".
-# * For NumPy, the "min_numpy_run_version" global in "setup.py".
-# * For TBB, #error pragmas in "numba/np/ufunc/tbbpool.cpp" like:
-# #error "TBB version is too old, 2019 update 5...
-# Lastly, note the "numba -s" subcommand requires "pip" at runtime.
-RDEPEND="
- >=dev-python/llvmlite-0.36.0[${PYTHON_USEDEP}]
- <dev-python/llvmlite-0.37.0
- >=dev-python/numpy-1.15.0[${PYTHON_USEDEP}]
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- threads? ( >=dev-cpp/tbb-2019.5 )
-"
-DEPEND="${RDEPEND}"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-distutils_enable_tests unittest
-# Only works in a git repository
-#distutils_enable_sphinx docs/source dev-python/numpydoc
-
-PATCHES=(
- "${FILESDIR}/${PN}-0.52.0-skip_tests.patch"
-)
-
-pkg_setup() {
- if ! use openmp; then
- export NUMBA_DISABLE_OPENMP=1
- else
- unset NUMBA_DISABLE_OPENMP
- fi
- if ! use threads; then
- export NUMBA_DISABLE_TBB=1
- else
- unset NUMBA_DISABLE_TBB
- export TBBROOT="${EPREFIX}/usr"
- fi
-}
-
-python_compile() {
- # FIXME: parallel python building fails. See Portage bug #614464 and
- # gentoo/sci issue #1080.
- export MAKEOPTS=-j1
- distutils-r1_python_compile
-}
-
-#
https://numba.pydata.org/numba-doc/latest/developer/contributing.html?highlight=test#running-tests
-python_test() {
- distutils_install_for_testing
- ${EPYTHON} setup.py build_ext --inplace || die \
- "${EPYTHON} failed to build_ext"
- ${EPYTHON} runtests.py -m $(makeopts_jobs) || die \
- "${EPYTHON} failed unittests"
-}
-
-pkg_postinst() {
- optfeature "compile cuda code" dev-util/nvidia-cuda-sdk
-}