mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-22 16:29:05 -07:00
dev-python/numexpr: use python_get_sitedir for tests
The tests still fail with pypy3, but at least with this change it doesn't error out on the pushd Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
This commit is contained in:
@@ -30,7 +30,7 @@ RDEPEND="
|
||||
"
|
||||
|
||||
python_test() {
|
||||
pushd "${BUILD_DIR}/install/usr/lib/${EPYTHON}/site-packages" >/dev/null || die
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user