From e5eaf98459a132a79c92d9da0948efa2e56d4162 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 25 Oct 2021 16:51:19 +0200 Subject: [PATCH] sci-mathematics/mathlib-tools: remove problematic tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: https://bugs.gentoo.org/820218 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Maciej Barć --- .../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 b1522ec7b5..675a19481c 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