# Copyright 2023-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{11..13} ) DISTUTILS_SINGLE_IMPL=1 inherit distutils-r1 DESCRIPTION="makes evaluating, comparing models and reporting their performance easier" HOMEPAGE=" https://pypi.org/project/evaluate/ https://github.com/huggingface/evaluate " SRC_URI="https://github.com/huggingface/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.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}]