commit:     91edb6fbb80d1ce789cd5135d5e667d48081f1f7
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Oct  1 03:08:03 2025 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Oct  1 03:08:22 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91edb6fb

dev-python/numexpr: Bump to 2.13.1

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

 dev-python/numexpr/Manifest              |  1 +
 dev-python/numexpr/numexpr-2.13.1.ebuild | 42 ++++++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest
index 932c17fdacbc..854887f3108e 100644
--- a/dev-python/numexpr/Manifest
+++ b/dev-python/numexpr/Manifest
@@ -1,3 +1,4 @@
 DIST numexpr-2.11.0.gh.tar.gz 124469 BLAKE2B 
c00d2175925e5745e474d5b311faebf6bf8cf551a8d8d4ce679892c0b57a66bd9b007a51e8913ebc7d24924d46b1aa41476d3cefa358cb6cc3143dbbcf8cb835
 SHA512 
6a6d504a7eeb4aff16c975b204735befb2ca9152cf351b45c439e18e8a5a9b74b811271407da35c62a7d3a6e69012c70f686ee08740a10c0fddf91ae8a4c98f0
 DIST numexpr-2.12.1.gh.tar.gz 129597 BLAKE2B 
7b820754eb58d5cb1514eafa12a978c3fc1146dd32479ec806fe6f68805bed20c28ad17d6cb5309f4cb74b22e3229080fec0fd65db9f15d1116eba7f9107c7bb
 SHA512 
fab6b97320bf297588ca7f775f8ecec10cefb170309ef5a68ec300cd982f6998cbc642e63e41f732b3f3c732bb997bdd1748d58705b484c9fb89f7d57c791d1a
 DIST numexpr-2.13.0.gh.tar.gz 133488 BLAKE2B 
5c9c1c7573703303a7ebf051cdff4422116a8e5e8d48032c9564d77f30854ba9490ef5b452e32c1657a04e6dfec75c7fd0417a2674bd5dd263d17b91b34b2cb1
 SHA512 
393af00a9e5be30bd7c74cde7142f9f9562fc44dd41acba4616a3dc749b146f52a21f558bfeee0ab172095790cd353bc54bee37b5c036e63cc4e8ae0d44918df
+DIST numexpr-2.13.1.gh.tar.gz 134005 BLAKE2B 
569ef8fbbfac683ffebb1e989d87a27be244799fc2541848b98ed4b29af7fea06ad7d9fcc0df13fa6591160b0071340c4bb6e29c4eb69a3bb656d630e378fcc7
 SHA512 
d0c15c13309cd2b4cbe5e8cd1d035e3dbd04377945c17c5c2e930ddc374b988d503695312882a7c22c502043d1c0ffc8a5f69e2950b6ebb825ad53d66d31f029

diff --git a/dev-python/numexpr/numexpr-2.13.1.ebuild 
b/dev-python/numexpr/numexpr-2.13.1.ebuild
new file mode 100644
index 000000000000..be1a1b815fc8
--- /dev/null
+++ b/dev-python/numexpr/numexpr-2.13.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2025 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_11 python3_{11..14} )
+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 ~loong ~ppc ~ppc64 ~riscv ~s390 
~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~x64-macos"
+
+DEPEND="
+       >=dev-python/numpy-2.0.0_rc:=[${PYTHON_USEDEP}]
+"
+RDEPEND="
+       ${DEPEND}
+       dev-python/packaging[${PYTHON_USEDEP}]
+"
+
+python_test() {
+       pushd "${BUILD_DIR}/install/$(python_get_sitedir)" >/dev/null || die
+       "${EPYTHON}" -c '
+import sys,numexpr
+sys.exit(0 if numexpr.test(verbosity=2).wasSuccessful() else 1)
+       ' || die "Tests failed with ${EPYTHON}"
+       pushd >/dev/null || die
+}

Reply via email to