public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2020-09-26 23:03 Aisha Tammy
  0 siblings, 0 replies; 17+ messages in thread
From: Aisha Tammy @ 2020-09-26 23:03 UTC (permalink / raw
  To: gentoo-commits

commit:     262ab1d954eda1c0557944c4a9ddb37c9d156db1
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sat Sep 26 23:02:59 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Sat Sep 26 23:02:59 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=262ab1d9

dev-python/numba: fix use flag checks

found when doing compilations without tbb

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-python/numba/numba-0.51.2.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-python/numba/numba-0.51.2.ebuild b/dev-python/numba/numba-0.51.2.ebuild
index 597d6ac54..9f9af4049 100644
--- a/dev-python/numba/numba-0.51.2.ebuild
+++ b/dev-python/numba/numba-0.51.2.ebuild
@@ -18,7 +18,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="openmp threads"
 
-DEPEND="
+RDEPEND="${PYTHON_DEPS}
 	>=dev-python/llvmlite-0.34.0[${PYTHON_USEDEP}]
 	<dev-python/llvmlite-0.35.0
 	dev-python/numpy[${PYTHON_USEDEP}]
@@ -26,9 +26,7 @@ DEPEND="
 	dev-python/scipy[${PYTHON_USEDEP}]
 	threads? ( dev-cpp/tbb )
 "
-RDEPEND="${DEPEND}
-	${PYTHON_DEPS}
-"
+DEPEND="${RDEPEND}"
 
 DISTUTILS_IN_SOURCE_BUILD=1
 distutils_enable_tests unittest
@@ -39,12 +37,12 @@ PATCHES=(
 )
 
 pkg_setup() {
-	if ! usex openmp; then
+	if ! use openmp; then
 		export NUMBA_DISABLE_OPENMP=1
 	else
 		unset NUMBA_DISABLE_OPENMP
 	fi
-	if ! usex threads; then
+	if ! use threads; then
 		export NUMBA_DISABLE_TBB=1
 	else
 		unset NUMBA_DISABLE_TBB


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2020-12-01 23:14 Aisha Tammy
  0 siblings, 0 replies; 17+ messages in thread
From: Aisha Tammy @ 2020-12-01 23:14 UTC (permalink / raw
  To: gentoo-commits

commit:     cfb477681ef2ce2506acffc31b7ae151973e213e
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Tue Dec  1 23:14:31 2020 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Tue Dec  1 23:14:40 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=cfb47768

dev-python/numba: version bump to 0.52.0

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-python/numba/numba-0.52.0.ebuild | 69 ++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/dev-python/numba/numba-0.52.0.ebuild b/dev-python/numba/numba-0.52.0.ebuild
new file mode 100644
index 000000000..5625e679f
--- /dev/null
+++ b/dev-python/numba/numba-0.52.0.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..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
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2021-04-22 19:38 Aisha Tammy
  0 siblings, 0 replies; 17+ messages in thread
From: Aisha Tammy @ 2021-04-22 19:38 UTC (permalink / raw
  To: gentoo-commits

commit:     626f0ace2deddbf946b34c47d75ef0a05ebc4f40
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Thu Apr 22 19:37:50 2021 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Thu Apr 22 19:37:50 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=626f0ace

dev-python/numba: version bump to 0.53.1

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 dev-python/numba/numba-0.53.1.ebuild | 69 ++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/dev-python/numba/numba-0.53.1.ebuild b/dev-python/numba/numba-0.53.1.ebuild
new file mode 100644
index 000000000..c7c99c247
--- /dev/null
+++ b/dev-python/numba/numba-0.53.1.ebuild
@@ -0,0 +1,69 @@
+# 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 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.36.0[${PYTHON_USEDEP}]
+	<dev-python/llvmlite-0.37.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
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2021-05-08 14:23 Andrew Ammerlaan
  0 siblings, 0 replies; 17+ messages in thread
From: Andrew Ammerlaan @ 2021-05-08 14:23 UTC (permalink / raw
  To: gentoo-commits

commit:     2d23636b1725bc009f44ff4c1911a3095e3eb14b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat May  8 14:23:14 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat May  8 14:23:14 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2d23636b

dev-python/numba: fix patch

Closes: https://github.com/gentoo/sci/issues/1079
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/numba/numba-0.53.1.ebuild | 14 +++++---------
 1 file changed, 5 insertions(+), 9 deletions(-)

diff --git a/dev-python/numba/numba-0.53.1.ebuild b/dev-python/numba/numba-0.53.1.ebuild
index c7c99c247..3088b99eb 100644
--- a/dev-python/numba/numba-0.53.1.ebuild
+++ b/dev-python/numba/numba-0.53.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{7..9} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit eutils multiprocessing distutils-r1
+inherit multiprocessing distutils-r1
 
 DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
 HOMEPAGE="https://numba.pydata.org/
@@ -18,7 +18,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="openmp threads"
 
-RDEPEND="${PYTHON_DEPS}
+RDEPEND="
 	>=dev-python/llvmlite-0.36.0[${PYTHON_USEDEP}]
 	<dev-python/llvmlite-0.37.0
 	dev-python/numpy[${PYTHON_USEDEP}]
@@ -30,10 +30,11 @@ 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
 
-# doc system is another huge mess, skip it
 PATCHES=(
-	"${FILESDIR}/${P}-skip_tests.patch"
+	"${FILESDIR}/${PN}-0.52.0-skip_tests.patch"
 )
 
 pkg_setup() {
@@ -59,11 +60,6 @@ python_test() {
 		"${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
 }


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2021-05-08 14:24 Andrew Ammerlaan
  0 siblings, 0 replies; 17+ messages in thread
From: Andrew Ammerlaan @ 2021-05-08 14:24 UTC (permalink / raw
  To: gentoo-commits

commit:     ecc906c8c95b003eabc08e0d05a2894153e0f42d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat May  8 14:24:35 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat May  8 14:24:35 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ecc906c8

dev-python/numba: inherit optfeature

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 dev-python/numba/numba-0.53.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/numba/numba-0.53.1.ebuild b/dev-python/numba/numba-0.53.1.ebuild
index 3088b99eb..7cd6dfe9c 100644
--- a/dev-python/numba/numba-0.53.1.ebuild
+++ b/dev-python/numba/numba-0.53.1.ebuild
@@ -6,7 +6,7 @@ EAPI=7
 PYTHON_COMPAT=( python3_{7..9} )
 
 DISTUTILS_USE_SETUPTOOLS=rdepend
-inherit multiprocessing distutils-r1
+inherit optfeature multiprocessing distutils-r1
 
 DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
 HOMEPAGE="https://numba.pydata.org/


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2021-05-11  8:38 Andrew Ammerlaan
  0 siblings, 0 replies; 17+ messages in thread
From: Andrew Ammerlaan @ 2021-05-11  8:38 UTC (permalink / raw
  To: gentoo-commits

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
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2021-06-05 12:49 Andrew Ammerlaan
  0 siblings, 0 replies; 17+ messages in thread
From: Andrew Ammerlaan @ 2021-06-05 12:49 UTC (permalink / raw
  To: gentoo-commits

commit:     0bae485bac13d1865a651853bfc7721b1341ba8e
Author:     leycec <leycec <AT> gmail <DOT> com>
AuthorDate: Thu May 27 05:32:47 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat Jun  5 12:49:34 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=0bae485b

dev-python/numba: fix #1080

disable parallel build completely and add minimum dependency versions.

Signed-off-by: Cecil Curry <leycec <AT> gmail.com>
Closes: https://github.com/gentoo/sci/pull/1082
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/numba/numba-0.53.1.ebuild | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

diff --git a/dev-python/numba/numba-0.53.1.ebuild b/dev-python/numba/numba-0.53.1.ebuild
index 7cd6dfe9c..d1ee3f0b7 100644
--- a/dev-python/numba/numba-0.53.1.ebuild
+++ b/dev-python/numba/numba-0.53.1.ebuild
@@ -18,13 +18,20 @@ 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[${PYTHON_USEDEP}]
+	>=dev-python/numpy-1.15.0[${PYTHON_USEDEP}]
 	dev-python/pip[${PYTHON_USEDEP}]
 	dev-python/scipy[${PYTHON_USEDEP}]
-	threads? ( dev-cpp/tbb )
+	threads? ( >=dev-cpp/tbb-2019.5 )
 "
 DEPEND="${RDEPEND}"
 
@@ -51,6 +58,13 @@ pkg_setup() {
 	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


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2021-09-15 18:39 Andrew Ammerlaan
  0 siblings, 0 replies; 17+ messages in thread
From: Andrew Ammerlaan @ 2021-09-15 18:39 UTC (permalink / raw
  To: gentoo-commits

commit:     74cb9c3f95a52e96d5c0e204c38d2bd27f4b5d51
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 15 18:38:49 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Wed Sep 15 18:38:49 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=74cb9c3f

dev-python/numba: add version 0.54.0

Package-Manager: Portage-3.0.23, Repoman-3.0.3
RepoMan-Options: --force
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/numba/numba-0.54.0.ebuild | 84 ++++++++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)

diff --git a/dev-python/numba/numba-0.54.0.ebuild b/dev-python/numba/numba-0.54.0.ebuild
new file mode 100644
index 000000000..125b20daf
--- /dev/null
+++ b/dev-python/numba/numba-0.54.0.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..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"
+
+RDEPEND="
+	>=dev-python/llvmlite-0.37.0[${PYTHON_USEDEP}]
+	<dev-python/llvmlite-0.38.0
+	>=dev-python/numpy-1.17.0[${PYTHON_USEDEP}]
+	threads? ( >=dev-cpp/tbb-2019.5 )
+"
+BDEPEND="
+	dev-python/pip[${PYTHON_USEDEP}]
+	dev-python/versioneer[${PYTHON_USEDEP}]
+"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+distutils_enable_tests unittest
+distutils_enable_sphinx docs/source dev-python/numpydoc dev-python/sphinx_rtd_theme
+
+PATCHES=(
+	"${FILESDIR}/${PN}-0.52.0-skip_tests.patch"
+)
+
+pkg_setup() {
+	if ! use openmp; then
+		export NUMBA_DISABLE_OPENMP=1 || die
+	else
+		unset NUMBA_DISABLE_OPENMP || die
+	fi
+	if ! use threads; then
+		export NUMBA_DISABLE_TBB=1 || die
+	else
+		unset NUMBA_DISABLE_TBB || die
+		export TBBROOT="${EPREFIX}/usr" || die
+	fi
+}
+
+python_prepare_all() {
+	# This conf.py only works in a git repo
+	if use doc; then
+		git init -q || die
+		git config user.email "larry@gentoo.org" || die
+		git config user.name "Larry the Cow" || die
+		git add . || die
+		git commit -m "init" || die
+	fi
+	distutils-r1_python_prepare_all
+}
+
+python_compile() {
+	# FIXME: parallel python building fails. See Portage bug #614464 and
+	# gentoo/sci issue #1080.
+	export MAKEOPTS=-j1 || die
+	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
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2021-09-15 18:39 Andrew Ammerlaan
  0 siblings, 0 replies; 17+ messages in thread
From: Andrew Ammerlaan @ 2021-09-15 18:39 UTC (permalink / raw
  To: gentoo-commits

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
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2022-01-16 15:23 Andrew Ammerlaan
  0 siblings, 0 replies; 17+ messages in thread
From: Andrew Ammerlaan @ 2022-01-16 15:23 UTC (permalink / raw
  To: gentoo-commits

commit:     ebe960677718da5594d78b8c4ccb28006600678d
Author:     YiyangWu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Sun Jan 16 15:16:01 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Jan 16 15:22:26 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ebe96067

dev-python/numba: bump version to 0.55.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Closes: https://github.com/gentoo/sci/pull/1137
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/numba/numba-0.55.0.ebuild | 85 ++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)

diff --git a/dev-python/numba/numba-0.55.0.ebuild b/dev-python/numba/numba-0.55.0.ebuild
new file mode 100644
index 000000000..c700339ad
--- /dev/null
+++ b/dev-python/numba/numba-0.55.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+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"
+
+RDEPEND="
+	>=dev-python/llvmlite-0.38.0[${PYTHON_USEDEP}]
+	<=dev-python/llvmlite-0.39.0
+	>=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
+	<dev-python/numpy-1.22[${PYTHON_USEDEP}]
+	threads? ( >=dev-cpp/tbb-2019.5 )
+"
+BDEPEND="
+	dev-python/pip[${PYTHON_USEDEP}]
+	dev-python/versioneer[${PYTHON_USEDEP}]
+"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+distutils_enable_tests unittest
+distutils_enable_sphinx docs/source dev-python/numpydoc dev-python/sphinx_rtd_theme
+
+PATCHES=(
+	"${FILESDIR}/${PN}-0.52.0-skip_tests.patch"
+)
+
+pkg_setup() {
+	if ! use openmp; then
+		export NUMBA_DISABLE_OPENMP=1 || die
+	else
+		unset NUMBA_DISABLE_OPENMP || die
+	fi
+	if ! use threads; then
+		export NUMBA_DISABLE_TBB=1 || die
+	else
+		unset NUMBA_DISABLE_TBB || die
+		export TBBROOT="${EPREFIX}/usr" || die
+	fi
+}
+
+python_prepare_all() {
+	# This conf.py only works in a git repo
+	if use doc; then
+		git init -q || die
+		git config user.email "larry@gentoo.org" || die
+		git config user.name "Larry the Cow" || die
+		git add . || die
+		git commit -m "init" || die
+	fi
+	distutils-r1_python_prepare_all
+}
+
+python_compile() {
+	# FIXME: parallel python building fails. See Portage bug #614464 and
+	# gentoo/sci issue #1080.
+	export MAKEOPTS=-j1 || die
+	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
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2022-01-30  8:50 Benda XU
  0 siblings, 0 replies; 17+ messages in thread
From: Benda XU @ 2022-01-30  8:50 UTC (permalink / raw
  To: gentoo-commits

commit:     a26266424c08f44b8f2dba3e0cf0d2982cd9bfae
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 30 08:48:33 2022 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Sun Jan 30 08:49:23 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a2626642

dev-python/numba: tbb dependency is 2021.1.

Reference: https://github.com/gentoo/sci/pull/1137
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 dev-python/numba/numba-0.55.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/numba/numba-0.55.0.ebuild b/dev-python/numba/numba-0.55.0.ebuild
index c700339ad..342c3894f 100644
--- a/dev-python/numba/numba-0.55.0.ebuild
+++ b/dev-python/numba/numba-0.55.0.ebuild
@@ -23,7 +23,7 @@ RDEPEND="
 	<=dev-python/llvmlite-0.39.0
 	>=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
 	<dev-python/numpy-1.22[${PYTHON_USEDEP}]
-	threads? ( >=dev-cpp/tbb-2019.5 )
+	threads? ( >=dev-cpp/tbb-2021.1 )
 "
 BDEPEND="
 	dev-python/pip[${PYTHON_USEDEP}]


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2022-08-07  9:07 Andrew Ammerlaan
  0 siblings, 0 replies; 17+ messages in thread
From: Andrew Ammerlaan @ 2022-08-07  9:07 UTC (permalink / raw
  To: gentoo-commits

commit:     84f78b601d068377a3ff4637b78e66aee7759eee
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Sun Aug  7 09:07:20 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Aug  7 09:07:20 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=84f78b60

dev-python/numba: drop 0.54.0, 0.55.0

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/numba/numba-0.54.0.ebuild | 84 -----------------------------------
 dev-python/numba/numba-0.55.0.ebuild | 85 ------------------------------------
 2 files changed, 169 deletions(-)

diff --git a/dev-python/numba/numba-0.54.0.ebuild b/dev-python/numba/numba-0.54.0.ebuild
deleted file mode 100644
index 125b20daf..000000000
--- a/dev-python/numba/numba-0.54.0.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..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"
-
-RDEPEND="
-	>=dev-python/llvmlite-0.37.0[${PYTHON_USEDEP}]
-	<dev-python/llvmlite-0.38.0
-	>=dev-python/numpy-1.17.0[${PYTHON_USEDEP}]
-	threads? ( >=dev-cpp/tbb-2019.5 )
-"
-BDEPEND="
-	dev-python/pip[${PYTHON_USEDEP}]
-	dev-python/versioneer[${PYTHON_USEDEP}]
-"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-distutils_enable_tests unittest
-distutils_enable_sphinx docs/source dev-python/numpydoc dev-python/sphinx_rtd_theme
-
-PATCHES=(
-	"${FILESDIR}/${PN}-0.52.0-skip_tests.patch"
-)
-
-pkg_setup() {
-	if ! use openmp; then
-		export NUMBA_DISABLE_OPENMP=1 || die
-	else
-		unset NUMBA_DISABLE_OPENMP || die
-	fi
-	if ! use threads; then
-		export NUMBA_DISABLE_TBB=1 || die
-	else
-		unset NUMBA_DISABLE_TBB || die
-		export TBBROOT="${EPREFIX}/usr" || die
-	fi
-}
-
-python_prepare_all() {
-	# This conf.py only works in a git repo
-	if use doc; then
-		git init -q || die
-		git config user.email "larry@gentoo.org" || die
-		git config user.name "Larry the Cow" || die
-		git add . || die
-		git commit -m "init" || die
-	fi
-	distutils-r1_python_prepare_all
-}
-
-python_compile() {
-	# FIXME: parallel python building fails. See Portage bug #614464 and
-	# gentoo/sci issue #1080.
-	export MAKEOPTS=-j1 || die
-	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
-}

diff --git a/dev-python/numba/numba-0.55.0.ebuild b/dev-python/numba/numba-0.55.0.ebuild
deleted file mode 100644
index 342c3894f..000000000
--- a/dev-python/numba/numba-0.55.0.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-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"
-
-RDEPEND="
-	>=dev-python/llvmlite-0.38.0[${PYTHON_USEDEP}]
-	<=dev-python/llvmlite-0.39.0
-	>=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
-	<dev-python/numpy-1.22[${PYTHON_USEDEP}]
-	threads? ( >=dev-cpp/tbb-2021.1 )
-"
-BDEPEND="
-	dev-python/pip[${PYTHON_USEDEP}]
-	dev-python/versioneer[${PYTHON_USEDEP}]
-"
-
-DISTUTILS_IN_SOURCE_BUILD=1
-distutils_enable_tests unittest
-distutils_enable_sphinx docs/source dev-python/numpydoc dev-python/sphinx_rtd_theme
-
-PATCHES=(
-	"${FILESDIR}/${PN}-0.52.0-skip_tests.patch"
-)
-
-pkg_setup() {
-	if ! use openmp; then
-		export NUMBA_DISABLE_OPENMP=1 || die
-	else
-		unset NUMBA_DISABLE_OPENMP || die
-	fi
-	if ! use threads; then
-		export NUMBA_DISABLE_TBB=1 || die
-	else
-		unset NUMBA_DISABLE_TBB || die
-		export TBBROOT="${EPREFIX}/usr" || die
-	fi
-}
-
-python_prepare_all() {
-	# This conf.py only works in a git repo
-	if use doc; then
-		git init -q || die
-		git config user.email "larry@gentoo.org" || die
-		git config user.name "Larry the Cow" || die
-		git add . || die
-		git commit -m "init" || die
-	fi
-	distutils-r1_python_prepare_all
-}
-
-python_compile() {
-	# FIXME: parallel python building fails. See Portage bug #614464 and
-	# gentoo/sci issue #1080.
-	export MAKEOPTS=-j1 || die
-	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
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2022-08-07  9:07 Andrew Ammerlaan
  0 siblings, 0 replies; 17+ messages in thread
From: Andrew Ammerlaan @ 2022-08-07  9:07 UTC (permalink / raw
  To: gentoo-commits

commit:     c737ad5e6f3b04c9997382826ccdc15dd1380b7b
Author:     Yiyang Wu <xgreenlandforwyy <AT> gmail <DOT> com>
AuthorDate: Thu Aug  4 09:12:41 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Aug  7 08:40:43 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c737ad5e

dev-python/numba: add 0.56.0

Signed-off-by: Yiyang Wu <xgreenlandforwyy <AT> gmail.com>
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/numba/numba-0.56.0.ebuild | 85 ++++++++++++++++++++++++++++++++++++
 1 file changed, 85 insertions(+)

diff --git a/dev-python/numba/numba-0.56.0.ebuild b/dev-python/numba/numba-0.56.0.ebuild
new file mode 100644
index 000000000..15eae53a7
--- /dev/null
+++ b/dev-python/numba/numba-0.56.0.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+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"
+
+RDEPEND="
+	>=dev-python/llvmlite-0.39.0[${PYTHON_USEDEP}]
+	<=dev-python/llvmlite-0.40.0
+	>=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
+	<dev-python/numpy-1.23[${PYTHON_USEDEP}]
+	threads? ( >=dev-cpp/tbb-2021.1 )
+"
+BDEPEND="
+	dev-python/pip[${PYTHON_USEDEP}]
+	dev-python/versioneer[${PYTHON_USEDEP}]
+"
+
+DISTUTILS_IN_SOURCE_BUILD=1
+distutils_enable_tests unittest
+distutils_enable_sphinx docs/source dev-python/numpydoc dev-python/sphinx_rtd_theme
+
+PATCHES=(
+	"${FILESDIR}/${PN}-0.52.0-skip_tests.patch"
+)
+
+pkg_setup() {
+	if ! use openmp; then
+		export NUMBA_DISABLE_OPENMP=1 || die
+	else
+		unset NUMBA_DISABLE_OPENMP || die
+	fi
+	if ! use threads; then
+		export NUMBA_DISABLE_TBB=1 || die
+	else
+		unset NUMBA_DISABLE_TBB || die
+		export TBBROOT="${EPREFIX}/usr" || die
+	fi
+}
+
+python_prepare_all() {
+	# This conf.py only works in a git repo
+	if use doc; then
+		git init -q || die
+		git config user.email "larry@gentoo.org" || die
+		git config user.name "Larry the Cow" || die
+		git add . || die
+		git commit -m "init" || die
+	fi
+	distutils-r1_python_prepare_all
+}
+
+python_compile() {
+	# FIXME: parallel python building fails. See Portage bug #614464 and
+	# gentoo/sci issue #1080.
+	export MAKEOPTS=-j1 || die
+	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
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2022-10-28 10:17 Andrew Ammerlaan
  0 siblings, 0 replies; 17+ messages in thread
From: Andrew Ammerlaan @ 2022-10-28 10:17 UTC (permalink / raw
  To: gentoo-commits

commit:     5ec3467fd83e944ab9473868d8083a362cf7300f
Author:     FoscoV <FoscoV <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Fri Oct 28 10:06:47 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Fri Oct 28 10:17:03 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=5ec3467f

numba-0.56.3 dependency on <numpy-1.24

According to https://numba.readthedocs.io/en/stable/user/installing.html#version-support-information the dependency changed since 0.56.2
Closes: https://github.com/gentoo/sci/pull/1178

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 dev-python/numba/numba-0.56.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/numba/numba-0.56.3.ebuild b/dev-python/numba/numba-0.56.3.ebuild
index af3ffd6e8..9644fdf54 100644
--- a/dev-python/numba/numba-0.56.3.ebuild
+++ b/dev-python/numba/numba-0.56.3.ebuild
@@ -22,7 +22,7 @@ RDEPEND="
 	>=dev-python/llvmlite-0.39.0[${PYTHON_USEDEP}]
 	<=dev-python/llvmlite-0.40.0
 	>=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
-	<dev-python/numpy-1.23[${PYTHON_USEDEP}]
+	<dev-python/numpy-1.24[${PYTHON_USEDEP}]
 	threads? ( >=dev-cpp/tbb-2021.1 <dev-cpp/tbb-2021.6 )
 "
 BDEPEND="


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2023-02-16  8:11 Horea Christian
  0 siblings, 0 replies; 17+ messages in thread
From: Horea Christian @ 2023-02-16  8:11 UTC (permalink / raw
  To: gentoo-commits

commit:     f9a4ead5467a19ac6777cd63a187a7183b44c864
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Thu Feb 16 08:09:30 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Thu Feb 16 08:09:30 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=f9a4ead5

dev-python/numba: doc package name fix

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/numba/numba-0.56.3.ebuild | 4 ++--
 dev-python/numba/numba-0.56.4.ebuild | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/dev-python/numba/numba-0.56.3.ebuild b/dev-python/numba/numba-0.56.3.ebuild
index f8cd62036..0585a0660 100644
--- a/dev-python/numba/numba-0.56.3.ebuild
+++ b/dev-python/numba/numba-0.56.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -31,7 +31,7 @@ BDEPEND="
 "
 
 distutils_enable_tests unittest
-distutils_enable_sphinx docs/source dev-python/numpydoc dev-python/sphinx_rtd_theme
+distutils_enable_sphinx docs/source dev-python/numpydoc dev-python/sphinx-rtd-theme
 
 PATCHES=(
 	"${FILESDIR}/${PN}-0.52.0-skip_tests.patch"

diff --git a/dev-python/numba/numba-0.56.4.ebuild b/dev-python/numba/numba-0.56.4.ebuild
index 63ecebdf4..1812adf93 100644
--- a/dev-python/numba/numba-0.56.4.ebuild
+++ b/dev-python/numba/numba-0.56.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -32,7 +32,7 @@ BDEPEND="
 "
 
 distutils_enable_tests unittest
-distutils_enable_sphinx docs/source dev-python/numpydoc dev-python/sphinx_rtd_theme
+distutils_enable_sphinx docs/source dev-python/numpydoc dev-python/sphinx-rtd-theme
 
 PATCHES=(
 	"${FILESDIR}/${PN}-0.52.0-skip_tests.patch"


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2023-02-16  8:11 Horea Christian
  0 siblings, 0 replies; 17+ messages in thread
From: Horea Christian @ 2023-02-16  8:11 UTC (permalink / raw
  To: gentoo-commits

commit:     2d510f438ed0b75d2956d305b28bb270cf9239ec
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Thu Feb 16 08:10:26 2023 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Thu Feb 16 08:10:26 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=2d510f43

dev-python/numba: py3.11 bump

Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 dev-python/numba/numba-0.56.3.ebuild | 2 +-
 dev-python/numba/numba-0.56.4.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/numba/numba-0.56.3.ebuild b/dev-python/numba/numba-0.56.3.ebuild
index 0585a0660..85fb09a85 100644
--- a/dev-python/numba/numba-0.56.3.ebuild
+++ b/dev-python/numba/numba-0.56.3.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
 
 DISTUTILS_USE_PEP517=setuptools
 inherit optfeature multiprocessing distutils-r1

diff --git a/dev-python/numba/numba-0.56.4.ebuild b/dev-python/numba/numba-0.56.4.ebuild
index 1812adf93..3fcfd4a94 100644
--- a/dev-python/numba/numba-0.56.4.ebuild
+++ b/dev-python/numba/numba-0.56.4.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 # py3.11 fails to compile:
 # error: ‘CFrame’ does not name a type; did you mean ‘_frame’?
-PYTHON_COMPAT=( python3_10 )
+PYTHON_COMPAT=( python3_{10..11} )
 DISTUTILS_USE_PEP517=setuptools
 inherit optfeature multiprocessing distutils-r1
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread

* [gentoo-commits] proj/sci:master commit in: dev-python/numba/
@ 2023-08-09  9:19 Benda XU
  0 siblings, 0 replies; 17+ messages in thread
From: Benda XU @ 2023-08-09  9:19 UTC (permalink / raw
  To: gentoo-commits

commit:     6fbdce70f6d34338a7f854b91fdc84056cddabc8
Author:     Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Aug  9 09:17:09 2023 +0000
Commit:     Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Aug  9 09:19:17 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=6fbdce70

dev-python/numba: add 0.57.1, drop 0.56.3

Signed-off-by: Benda Xu <heroxbd <AT> gentoo.org>

 .../numba/{numba-0.56.3.ebuild => numba-0.57.1.ebuild}       | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/dev-python/numba/numba-0.56.3.ebuild b/dev-python/numba/numba-0.57.1.ebuild
similarity index 91%
rename from dev-python/numba/numba-0.56.3.ebuild
rename to dev-python/numba/numba-0.57.1.ebuild
index 85fb09a85..814dc36f9 100644
--- a/dev-python/numba/numba-0.56.3.ebuild
+++ b/dev-python/numba/numba-0.57.1.ebuild
@@ -4,14 +4,14 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{10..11} )
-
 DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_EXT=1
 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"
+SRC_URI="https://github.com/numba/numba/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
@@ -19,11 +19,11 @@ KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="openmp threads"
 
 RDEPEND="
-	>=dev-python/llvmlite-0.39.0[${PYTHON_USEDEP}]
-	<=dev-python/llvmlite-0.40.0
+	>=dev-python/llvmlite-0.40.0[${PYTHON_USEDEP}]
+	<=dev-python/llvmlite-0.41.0
 	>=dev-python/numpy-1.18.0[${PYTHON_USEDEP}]
-	<dev-python/numpy-1.24[${PYTHON_USEDEP}]
-	threads? ( >=dev-cpp/tbb-2021.1 <dev-cpp/tbb-2021.6 )
+	<dev-python/numpy-1.25[${PYTHON_USEDEP}]
+	threads? ( >=dev-cpp/tbb-2021.6 )
 "
 BDEPEND="
 	dev-python/pip[${PYTHON_USEDEP}]


^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2023-08-09  9:19 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-15 18:39 [gentoo-commits] proj/sci:master commit in: dev-python/numba/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2023-08-09  9:19 Benda XU
2023-02-16  8:11 Horea Christian
2023-02-16  8:11 Horea Christian
2022-10-28 10:17 Andrew Ammerlaan
2022-08-07  9:07 Andrew Ammerlaan
2022-08-07  9:07 Andrew Ammerlaan
2022-01-30  8:50 Benda XU
2022-01-16 15:23 Andrew Ammerlaan
2021-09-15 18:39 Andrew Ammerlaan
2021-06-05 12:49 Andrew Ammerlaan
2021-05-11  8:38 Andrew Ammerlaan
2021-05-08 14:24 Andrew Ammerlaan
2021-05-08 14:23 Andrew Ammerlaan
2021-04-22 19:38 Aisha Tammy
2020-12-01 23:14 Aisha Tammy
2020-09-26 23:03 Aisha Tammy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox