dev-python/numexpr: Bump to 2.11.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-06-10 03:13:07 +02:00
parent bf1bc3ba61
commit 19efee75c6
2 changed files with 40 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST numexpr-2.10.2.gh.tar.gz 122622 BLAKE2B 762bab8166989ca6839c029289ce3c196b13f2698c377095c1baaefbe333c75a4a27d552ad7c69c97ca63ed91b5343464c9b36aee118f1ec6a8c039e8719997a SHA512 d1414300fb173b3b66e48fe1d782649e8d4085f6da2c72eec89d37deb01686505bb33514b003d01fcd6c645e2a5cf8a967739fc360e62172beee30b4e02d1e9e
DIST numexpr-2.11.0.gh.tar.gz 124469 BLAKE2B c00d2175925e5745e474d5b311faebf6bf8cf551a8d8d4ce679892c0b57a66bd9b007a51e8913ebc7d24924d46b1aa41476d3cefa358cb6cc3143dbbcf8cb835 SHA512 6a6d504a7eeb4aff16c975b204735befb2ca9152cf351b45c439e18e8a5a9b74b811271407da35c62a7d3a6e69012c70f686ee08740a10c0fddf91ae8a4c98f0

View File

@@ -0,0 +1,39 @@
# 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..13} )
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}" - <<-EOF || die "Tests failed with ${EPYTHON}"
import sys,numexpr
sys.exit(0 if numexpr.test(verbosity=2).wasSuccessful() else 1)
EOF
pushd >/dev/null || die
}