commit: b50006e936bd2feae0699489eb94e6092ddb23e1 Author: Alfredo Tupone <tupone <AT> gentoo <DOT> org> AuthorDate: Sun Aug 3 07:37:32 2025 +0000 Commit: Alfredo Tupone <tupone <AT> gentoo <DOT> org> CommitDate: Sun Aug 3 07:37:58 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b50006e9
sci-ml/evaluate: add missing deps Closes: https://bugs.gentoo.org/960938 Closes: https://bugs.gentoo.org/960939 Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org> ...te-0.4.3-r1.ebuild => evaluate-0.4.3-r2.ebuild} | 24 +++++++++++++++++++++- sci-ml/evaluate/metadata.xml | 5 +++++ 2 files changed, 28 insertions(+), 1 deletion(-) diff --git a/sci-ml/evaluate/evaluate-0.4.3-r1.ebuild b/sci-ml/evaluate/evaluate-0.4.3-r2.ebuild similarity index 70% rename from sci-ml/evaluate/evaluate-0.4.3-r1.ebuild rename to sci-ml/evaluate/evaluate-0.4.3-r2.ebuild index 3bc7bf4269e6..eec72edd8176 100644 --- a/sci-ml/evaluate/evaluate-0.4.3-r1.ebuild +++ b/sci-ml/evaluate/evaluate-0.4.3-r2.ebuild @@ -19,15 +19,37 @@ SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64" +IUSE="+evaluator +template +torch" RDEPEND=" $(python_gen_cond_dep ' + dev-python/dill[${PYTHON_USEDEP}] + dev-python/fsspec[${PYTHON_USEDEP}] dev-python/matplotlib[${PYTHON_USEDEP}] + dev-python/multiprocess[${PYTHON_USEDEP}] + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/pandas[${PYTHON_USEDEP}] dev-python/pyarrow[${PYTHON_USEDEP},parquet] + dev-python/requests[${PYTHON_USEDEP}] + dev-python/tqdm[${PYTHON_USEDEP}] dev-python/unidecode[${PYTHON_USEDEP}] + dev-python/xxhash[${PYTHON_USEDEP}] + evaluator? ( + dev-python/scipy[${PYTHON_USEDEP}] + ) + template? ( + dev-util/cookiecutter[${PYTHON_USEDEP}] + ) ') sci-ml/datasets[${PYTHON_SINGLE_USEDEP}] - sci-ml/transformers[${PYTHON_SINGLE_USEDEP}] + sci-ml/huggingface_hub[${PYTHON_SINGLE_USEDEP}] + evaluator? ( + sci-ml/transformers[${PYTHON_SINGLE_USEDEP}] + ) + torch? ( + sci-ml/caffe2[${PYTHON_SINGLE_USEDEP},distributed] + sci-ml/pytorch[${PYTHON_SINGLE_USEDEP}] + ) " BDEPEND="test? ( $(python_gen_cond_dep ' diff --git a/sci-ml/evaluate/metadata.xml b/sci-ml/evaluate/metadata.xml index f1e8571190f9..b21ca0c65e07 100644 --- a/sci-ml/evaluate/metadata.xml +++ b/sci-ml/evaluate/metadata.xml @@ -5,6 +5,11 @@ <email>[email protected]</email> <name>Tupone Alfredo</name> </maintainer> + <use> + <flag name="evaluator">Enable evaluator</flag> + <flag name="template">Enable template</flag> + <flag name="torch">Support pytorch</flag> + </use> <upstream> <remote-id type="pypi">evaluate</remote-id> <remote-id type="github">huggingface/evaluate</remote-id>
