commit:     cab0db34c94bbebc2d311d52e2507db36a44cc0f
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun May 14 16:57:53 2023 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun May 14 17:07:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cab0db34

sci-libs/datasets: enable jiwer depend tests

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 .../{datasets-2.11.0.ebuild => datasets-2.11.0-r1.ebuild}         | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/sci-libs/datasets/datasets-2.11.0.ebuild 
b/sci-libs/datasets/datasets-2.11.0-r1.ebuild
similarity index 92%
rename from sci-libs/datasets/datasets-2.11.0.ebuild
rename to sci-libs/datasets/datasets-2.11.0-r1.ebuild
index b7c020779cce..977bf0d698b9 100644
--- a/sci-libs/datasets/datasets-2.11.0.ebuild
+++ b/sci-libs/datasets/datasets-2.11.0-r1.ebuild
@@ -42,16 +42,10 @@ BDEPEND="test? (
        $(python_gen_cond_dep '
                dev-python/pytest-datadir[${PYTHON_USEDEP}]
                dev-python/decorator[${PYTHON_USEDEP}]
+               sci-libs/jiwer[${PYTHON_USEDEP}]
        ')
 )"
 
 PATCHES=( "${FILESDIR}"/${P}-tests.patch )
 
 distutils_enable_tests pytest
-
-src_prepare() {
-       # Require jiwer
-       rm metrics/cer/test_cer.py || die
-
-       distutils-r1_src_prepare
-}

Reply via email to