mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 00:08:05 +03:00
dev-python/numexpr: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST numexpr-2.8.8.gh.tar.gz 118241 BLAKE2B 409477cf69b64405359e86b11127fe31ccf6f940499fc5591498865fdef750a3321ff08ab5332caf0f11479927523d80699488f2985793a5f73f22b7467852bc SHA512 f89a2f04797ad4dffc3a591685e1a0e577912610d6b5359d2344a1a0a78873d951e95fa7c47833ab1008315467b861eb464442f85c06d1fe73f9743bcf358332
|
||||
DIST numexpr-2.9.0.gh.tar.gz 118463 BLAKE2B 04904a6faaff713b9775dc3601fcfc963b9bea5bc24e1d2ca21f0123d7dca8d088abef9b8da09195e9bf9fb6a4ff3b2bee0f75dbc5b40e174803cb726d8b1f31 SHA512 9d7319a872228faea845fbc8c2b85b5f9e941eb2e1308711835bdba37fce65543a23ad483b92e28c33b3eb341f2f7d75b760a0827ae63782fac573a65efdedb0
|
||||
|
||||
@@ -1,39 +0,0 @@
|
||||
# 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_{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 ~loong 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/$(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
|
||||
}
|
||||
Reference in New Issue
Block a user