commit:     0e9b2b30d650e59553b690dbdedde889c5c43381
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 26 15:52:01 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan 26 15:52:01 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e9b2b30

dev-python/numexpr: Bump to 2.9.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/numexpr/Manifest             |  1 +
 dev-python/numexpr/numexpr-2.9.0.ebuild | 39 +++++++++++++++++++++++++++++++++
 2 files changed, 40 insertions(+)

diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest
index fcea8278e7d6..14ca77695eb8 100644
--- a/dev-python/numexpr/Manifest
+++ b/dev-python/numexpr/Manifest
@@ -1 +1,2 @@
 DIST numexpr-2.8.8.gh.tar.gz 118241 BLAKE2B 
409477cf69b64405359e86b11127fe31ccf6f940499fc5591498865fdef750a3321ff08ab5332caf0f11479927523d80699488f2985793a5f73f22b7467852bc
 SHA512 
f89a2f04797ad4dffc3a591685e1a0e577912610d6b5359d2344a1a0a78873d951e95fa7c47833ab1008315467b861eb464442f85c06d1fe73f9743bcf358332
+DIST numexpr-2.9.0.gh.tar.gz 118463 BLAKE2B 
04904a6faaff713b9775dc3601fcfc963b9bea5bc24e1d2ca21f0123d7dca8d088abef9b8da09195e9bf9fb6a4ff3b2bee0f75dbc5b40e174803cb726d8b1f31
 SHA512 
9d7319a872228faea845fbc8c2b85b5f9e941eb2e1308711835bdba37fce65543a23ad483b92e28c33b3eb341f2f7d75b760a0827ae63782fac573a65efdedb0

diff --git a/dev-python/numexpr/numexpr-2.9.0.ebuild 
b/dev-python/numexpr/numexpr-2.9.0.ebuild
new file mode 100644
index 000000000000..61b612a584e6
--- /dev/null
+++ b/dev-python/numexpr/numexpr-2.9.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( pypy3 python3_{10..12} )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy"
+HOMEPAGE="
+       https://github.com/pydata/numexpr/
+       https://pypi.org/project/numexpr/
+"
+SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> 
${P}.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv 
~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+
+DEPEND="
+       >=dev-python/numpy-1.13.3[${PYTHON_USEDEP}]
+"
+RDEPEND="
+       ${DEPEND}
+       dev-python/packaging[${PYTHON_USEDEP}]
+"
+
+python_test() {
+       pushd "${BUILD_DIR}/install/$(python_get_sitedir)" >/dev/null || die
+       "${EPYTHON}" - <<-EOF || die "Tests failed with ${EPYTHON}"
+               import sys,numexpr
+               sys.exit(0 if numexpr.test().wasSuccessful() else 1)
+       EOF
+       pushd >/dev/null || die
+}

Reply via email to