dev-python/numexpr: new package, add 2.9.0

Closes: #4114
Signed-off-by: Andreas Billmeier <b@edevau.net>
This commit is contained in:
Andreas Billmeier 2025-02-18 12:37:00 +01:00
parent de6b59b981
commit caa838b081
Signed by: onkelbeh
GPG Key ID: E6DB12C8C550F3C0
4 changed files with 61 additions and 2 deletions

View File

@ -606,11 +606,11 @@ A daily compile test is run at Github with Python 3.9 to catch general faults. E
## Licenses
This repository itself is released under GPL-3 (like most Gentoo repositories), all work on the depending components under the licenses they came from. Perhaps you came here because I filed an issue at your component about a bad or missing license. It is easy to [assign a license](https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository). During cleanups and license investigations I have been asked often which license to choose. I am not a lawyer, but I can offer the following table, counted over this repository, perhaps this helps your decision. If a package has more than one license listed, all of them are counted.
There are 2333 Ebuilds in total, 2319 of them have in total 2358 (43 different) licenses assigned.
There are 2334 Ebuilds in total, 2320 of them have in total 2359 (43 different) licenses assigned.
|License| Ebuilds using it|
|-------|-----|
|MIT|1325|
|MIT|1326|
|Apache-2.0|551|
|GPL-3|145|
|BSD|123|

View File

@ -0,0 +1,3 @@
DIST numexpr-2.9.0.gh.tar.gz 118463 BLAKE2B 04904a6faaff713b9775dc3601fcfc963b9bea5bc24e1d2ca21f0123d7dca8d088abef9b8da09195e9bf9fb6a4ff3b2bee0f75dbc5b40e174803cb726d8b1f31 SHA512 9d7319a872228faea845fbc8c2b85b5f9e941eb2e1308711835bdba37fce65543a23ad483b92e28c33b3eb341f2f7d75b760a0827ae63782fac573a65efdedb0
EBUILD numexpr-2.9.0.ebuild 962 BLAKE2B 419b4ec9b5ba9d85301f0d16de5b1c31d24274afaf20e27d1bedc1244391ad20034974825a209e183169c7a70be08738bee390f82de8198e188fd68db5dd5c4f SHA512 cbd7b90774916648a14be3cb86c4705122dff29369e683f3fe110e8564d1337750c47f77c27a8ae9968b1a3e51f78b47ffc6085bba058a3cebf708a3e1322036
MISC metadata.xml 513 BLAKE2B ff302715ecd972260efb4ed3b67c56c0cd55c052412238bec2133bd23eebdbcfb331c2379943c5486dbda1237af58d839420d96a687b798c1a138ad8ccb5fb0a SHA512 3fe0aac4d70e012d67398928aa6ffafb73eff14d76d26f35b7167e9ff341a707786fc026fd49441e8872fcd523c4a82bd43bade344e258a0231b96ff891034dd

View File

@ -0,0 +1,16 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>b@edevau.net</email>
<name>Andreas Billmeier</name>
</maintainer>
<upstream>
<remote-id type="pypi">numexpr</remote-id>
<remote-id type="github">pydata/numexpr</remote-id>
<maintainer status="unknown">
<email>blosc@blosc.org</email>
<name>Blosc Development Team</name>
</maintainer>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,40 @@
# 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=( 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="amd64 arm arm64 x86"
DEPEND="
<dev-python/numpy-2[${PYTHON_USEDEP}]
>=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
}