commit:     5a2f1b6fc00dc71645a0fd06b742ee05d6c51159
Author:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  5 02:06:11 2024 +0000
Commit:     Michael Orlitzky <mjo <AT> gentoo <DOT> org>
CommitDate: Mon Aug  5 02:07:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a2f1b6f

sci-mathematics/dunshire: don't use setup.py for tests

Closes: https://bugs.gentoo.org/937324
Signed-off-by: Michael Orlitzky <mjo <AT> gentoo.org>

 .../dunshire/{dunshire-0.1.3.ebuild => dunshire-0.1.3-r1.ebuild}    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/dunshire/dunshire-0.1.3.ebuild 
b/sci-mathematics/dunshire/dunshire-0.1.3-r1.ebuild
similarity index 72%
rename from sci-mathematics/dunshire/dunshire-0.1.3.ebuild
rename to sci-mathematics/dunshire/dunshire-0.1.3-r1.ebuild
index ac63ace2d98f..36354f6a301d 100644
--- a/sci-mathematics/dunshire/dunshire-0.1.3.ebuild
+++ b/sci-mathematics/dunshire/dunshire-0.1.3-r1.ebuild
@@ -19,8 +19,12 @@ RDEPEND="dev-python/cvxopt[${PYTHON_USEDEP}]"
 DOCS=( doc/README.rst )
 
 distutils_enable_sphinx doc/source
+
+# There are no additional dependencies even though we're not really
+# using setup.py to run the test suite any more. The __main__.py
+# runner has its own exit code handling.
 distutils_enable_tests setup.py
 
 python_test() {
-       esetup.py test
+       PYTHONPATH="." "${EPYTHON}" test/__main__.py --verbose
 }

Reply via email to