summaryrefslogtreecommitdiff
path: root/dev-python/numexpr
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-25 00:41:18 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-05-25 00:41:18 +0000
commit4fdeebf08b9afa9ef1e1e0f79862aa4e1e2471f3 (patch)
tree10a7277a1e0224d81de32a1548280aae24769ed5 /dev-python/numexpr
parent538a017712fc13107eb97f2fa247f4a43980108c (diff)
downloadbaldeagleos-repo-4fdeebf08b9afa9ef1e1e0f79862aa4e1e2471f3.tar.gz
baldeagleos-repo-4fdeebf08b9afa9ef1e1e0f79862aa4e1e2471f3.tar.xz
baldeagleos-repo-4fdeebf08b9afa9ef1e1e0f79862aa4e1e2471f3.zip
Adding metadata
Diffstat (limited to 'dev-python/numexpr')
-rw-r--r--dev-python/numexpr/numexpr-2.8.1-r1.ebuild34
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-python/numexpr/numexpr-2.8.1-r1.ebuild b/dev-python/numexpr/numexpr-2.8.1-r1.ebuild
new file mode 100644
index 000000000000..56b05db1796e
--- /dev/null
+++ b/dev-python/numexpr/numexpr-2.8.1-r1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{7,8,9,10} )
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1
+
+DESCRIPTION="Fast numerical array expression evaluator for Python and NumPy"
+HOMEPAGE="https://github.com/pydata/numexpr"
+SRC_URI="https://github.com/pydata/numexpr/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+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
+}