commit: a3190d79e9adf54e823576f80236956fd013cdec
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue May 11 08:38:25 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue May 11 08:38:25 2021 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=a3190d79
dev-python/numba: drop old
dependency <dev-python/llvmlite-0.36.0 removed
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
dev-python/numba/numba-0.51.2.ebuild | 69 ------------------------------------
dev-python/numba/numba-0.52.0.ebuild | 69 ------------------------------------
2 files changed, 138 deletions(-)
diff --git a/dev-python/numba/numba-0.51.2.ebuild
b/dev-python/numba/numba-0.51.2.ebuild
deleted file mode 100644
index 459a90f39..000000000
--- a/dev-python/numba/numba-0.51.2.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2020 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 eutils 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"
-
-RDEPEND="${PYTHON_DEPS}
- >=dev-python/llvmlite-0.34.0[${PYTHON_USEDEP}]
- <dev-python/llvmlite-0.35.0
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- threads? ( dev-cpp/tbb )
-"
-DEPEND="${RDEPEND}"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-distutils_enable_tests unittest
-
-# doc system is another huge mess, skip it
-PATCHES=(
- "${FILESDIR}/${P}-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
-}
-
-#
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"
-}
-
-# https://numba.pydata.org/numba-doc/latest/user/installing.html
-python_install_all() {
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- optfeature "compile cuda code" dev-util/nvidia-cuda-sdk
-}
diff --git a/dev-python/numba/numba-0.52.0.ebuild
b/dev-python/numba/numba-0.52.0.ebuild
deleted file mode 100644
index cdb0af3af..000000000
--- a/dev-python/numba/numba-0.52.0.ebuild
+++ /dev/null
@@ -1,69 +0,0 @@
-# Copyright 1999-2020 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 eutils 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"
-
-RDEPEND="${PYTHON_DEPS}
- >=dev-python/llvmlite-0.35.0[${PYTHON_USEDEP}]
- <dev-python/llvmlite-0.36.0
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/pip[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- threads? ( dev-cpp/tbb )
-"
-DEPEND="${RDEPEND}"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-distutils_enable_tests unittest
-
-# doc system is another huge mess, skip it
-PATCHES=(
- "${FILESDIR}/${P}-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
-}
-
-#
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"
-}
-
-# https://numba.pydata.org/numba-doc/latest/user/installing.html
-python_install_all() {
- distutils-r1_python_install_all
-}
-
-pkg_postinst() {
- optfeature "compile cuda code" dev-util/nvidia-cuda-sdk
-}