From 790bb170cc4b04eaae1bb8d3f26b33a59ea16232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Tue, 25 Apr 2023 17:31:32 +0200 Subject: [PATCH] dev-python/scipy: Fix ignoring tests with !pooch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/904975 Signed-off-by: Michał Górny --- dev-python/scipy/scipy-1.10.1.ebuild | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-python/scipy/scipy-1.10.1.ebuild b/dev-python/scipy/scipy-1.10.1.ebuild index f4f38cab64821..c04548669025b 100644 --- a/dev-python/scipy/scipy-1.10.1.ebuild +++ b/dev-python/scipy/scipy-1.10.1.ebuild @@ -94,24 +94,24 @@ python_configure_all() { } python_test() { - cd "${T}" || die + cd "${BUILD_DIR}/install$(python_get_sitedir)" || die local EPYTEST_DESELECT=( # Network - datasets/tests/test_data.py::TestDatasets::test_existence_all - datasets/tests/test_data.py::TestDatasets::test_ascent - datasets/tests/test_data.py::TestDatasets::test_face - datasets/tests/test_data.py::TestDatasets::test_electrocardiogram + scipy/datasets/tests/test_data.py::TestDatasets::test_existence_all + scipy/datasets/tests/test_data.py::TestDatasets::test_ascent + scipy/datasets/tests/test_data.py::TestDatasets::test_face + scipy/datasets/tests/test_data.py::TestDatasets::test_electrocardiogram ) local EPYTEST_IGNORE=() if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then EPYTEST_IGNORE+=( - datasets/tests/test_data.py + scipy/datasets/tests/test_data.py ) fi - epytest -n "$(makeopts_jobs)" --pyargs scipy + epytest -n "$(makeopts_jobs)" scipy } python_install_all() {