summaryrefslogtreecommitdiff
path: root/dev-python/numexpr/numexpr-2.8.7.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/numexpr/numexpr-2.8.7.ebuild')
-rw-r--r--dev-python/numexpr/numexpr-2.8.7.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-python/numexpr/numexpr-2.8.7.ebuild b/dev-python/numexpr/numexpr-2.8.7.ebuild
index 5e14c17b6ffa..fc5b7013cbbb 100644
--- a/dev-python/numexpr/numexpr-2.8.7.ebuild
+++ b/dev-python/numexpr/numexpr-2.8.7.ebuild
@@ -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)