commit: 97d4c1a9c78cdc8239c3d93fa4bb850748fca2f3
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 23 18:15:15 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Apr 23 19:30:02 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97d4c1a9
dev-python/scipy: Put EPYTEST_* in python_test() for readability
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/scipy/scipy-1.10.1.ebuild | 25 +++++++++++++------------
1 file changed, 13 insertions(+), 12 deletions(-)
diff --git a/dev-python/scipy/scipy-1.10.1.ebuild
b/dev-python/scipy/scipy-1.10.1.ebuild
index 1b507dba0eb7..fbe608eae076 100644
--- a/dev-python/scipy/scipy-1.10.1.ebuild
+++ b/dev-python/scipy/scipy-1.10.1.ebuild
@@ -74,18 +74,6 @@ BDEPEND="
)
"
-EPYTEST_DESELECT=(
- linalg/tests/test_decomp.py::TestSchur::test_sort
- linalg/tests/test_solvers.py::test_solve_discrete_are
- optimize/tests/test_milp.py::test_milp_timeout_16545
-
- # 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
-)
-
distutils_enable_tests pytest
src_unpack() {
@@ -107,6 +95,19 @@ python_configure_all() {
python_test() {
cd "${T}" || die
+ local EPYTEST_DESELECT=(
+ linalg/tests/test_decomp.py::TestSchur::test_sort
+ linalg/tests/test_solvers.py::test_solve_discrete_are
+ optimize/tests/test_milp.py::test_milp_timeout_16545
+
+ # 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
+ )
+ local EPYTEST_IGNORE=()
+
if ! has_version -b "dev-python/pooch[${PYTHON_USEDEP}]" ; then
EPYTEST_IGNORE+=(
datasets/tests/test_data.py