commit: 495a12b89714af51f7e154d7e1cdb86d6836ee2d Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Wed May 17 17:20:38 2023 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Wed May 17 17:21:38 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=495a12b8
sci-libs/evaluate: add datasets deps Closes: https://bugs.gentoo.org/906591 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> .../{evaluate-0.4.0.ebuild => evaluate-0.4.0-r1.ebuild} | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/sci-libs/evaluate/evaluate-0.4.0.ebuild b/sci-libs/evaluate/evaluate-0.4.0-r1.ebuild similarity index 78% rename from sci-libs/evaluate/evaluate-0.4.0.ebuild rename to sci-libs/evaluate/evaluate-0.4.0-r1.ebuild index 60382685f160..f9caea3a3a19 100644 --- a/sci-libs/evaluate/evaluate-0.4.0.ebuild +++ b/sci-libs/evaluate/evaluate-0.4.0-r1.ebuild @@ -5,6 +5,7 @@ EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_11 ) +DISTUTILS_SINGLE_IMPL=1 inherit distutils-r1 DESCRIPTION="makes evaluating, comparing models and reporting their performance easier" @@ -20,12 +21,17 @@ SLOT="0" KEYWORDS="~amd64" RDEPEND=" - dev-python/pyarrow[${PYTHON_USEDEP},parquet] - dev-python/unidecode[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/pyarrow[${PYTHON_USEDEP},parquet] + dev-python/unidecode[${PYTHON_USEDEP}] + ') + sci-libs/datasets[${PYTHON_SINGLE_USEDEP}] " BDEPEND="test? ( - sci-libs/jiwer[${PYTHON_USEDEP}] - sci-libs/seqeval[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + sci-libs/jiwer[${PYTHON_USEDEP}] + sci-libs/seqeval[${PYTHON_USEDEP}] + ') )" PATCHES=( "${FILESDIR}"/${P}-tests.patch )