commit:     02910957a6c4559e1abc53aee75dd6045f227383
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  7 02:17:15 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Aug  7 02:17:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02910957

dev-python/numexpr: Bump to 2.8.5

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

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

diff --git a/dev-python/numexpr/Manifest b/dev-python/numexpr/Manifest
index da23b37c671f..9c158cceb466 100644
--- a/dev-python/numexpr/Manifest
+++ b/dev-python/numexpr/Manifest
@@ -1 +1,2 @@
 DIST numexpr-2.8.4.gh.tar.gz 113594 BLAKE2B 
65756e3a0755cd69b8586501d5026dc355f5263f852fedc4f59ecd1854576929bff702cc603c53c7230a5a0ad034a56c50db0bf2fbc2174b3f5272d3a03ffdc0
 SHA512 
e0a4eacb1a8721b9c2b4331f21e460fc3a1740a6a156eb43b31c495b17e191508f6d72375b8bd286a9be66ceaa1353f64f894deda0b4b29c3ac48c5b7c67cfa1
+DIST numexpr-2.8.5.gh.tar.gz 117015 BLAKE2B 
edf0084806cde40c7aa002a34b462f62f5d3cc37bc698f0125c4997c897333fccfff7c0df8a2ab96c0d7cf97ba7cc5955266ece50611e56c513798a3fc1306d0
 SHA512 
e02e8249ec62c85da1730d0932bcaf15fa10ff5e0a2ff847014c8d00b94612d441a9b1af46331b15480e63cfeb0fc84e31804db075789f23575003b4d8d1da48

diff --git a/dev-python/numexpr/numexpr-2.8.5.ebuild 
b/dev-python/numexpr/numexpr-2.8.5.ebuild
new file mode 100644
index 000000000000..27d778316ec8
--- /dev/null
+++ b/dev-python/numexpr/numexpr-2.8.5.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( 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 ~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/usr/lib/${EPYTHON}/site-packages" 
>/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