commit:     e5eaf98459a132a79c92d9da0948efa2e56d4162
Author:     Maciej Barć <xgqt <AT> riseup <DOT> net>
AuthorDate: Mon Oct 25 14:51:19 2021 +0000
Commit:     Maciej Barć <xgqt <AT> riseup <DOT> net>
CommitDate: Mon Oct 25 14:51:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e5eaf984

sci-mathematics/mathlib-tools: remove problematic tests

Closes: https://bugs.gentoo.org/820218
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> riseup.net>

 sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild 
b/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
index b1522ec7b..675a19481 100644
--- a/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
+++ b/sci-mathematics/mathlib-tools/mathlib-tools-1.1.0.ebuild
@@ -3,8 +3,7 @@
 
 EAPI=8
 
-# Tests fail with 3.9
-PYTHON_COMPAT=(python3_8)
+PYTHON_COMPAT=(python3_{8,9})
 
 inherit distutils-r1
 
@@ -40,4 +39,11 @@ RDEPEND="
        dev-lang/lean:0/3
 "
 
+src_prepare() {
+       # Remove problematic tests (mainly issues with network)
+       rm ./tests/test_functional.py || die
+
+       distutils-r1_python_prepare_all
+}
+
 distutils_enable_tests pytest

Reply via email to