Install this version:
emerge -a =sci-ml/evalplus-0.3.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-ml/evalplus-0.3.1
Or alternatively:
emerge --autounmask-write -a =sci-ml/evalplus-0.3.1
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 0.3.1 | 8 | ~amd64 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{12..14} )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1 pypi
DESCRIPTION="Rigorous evaluation of LLM-synthesised code (HumanEval+, MBPP+)"
HOMEPAGE="
https://github.com/evalplus/evalplus
https://pypi.org/project/evalplus/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="perf"
# single-impl: sci-ml/{datasets,transformers} are SINGLE_IMPL; rest of stack
# is multi-impl, wrapped via python_gen_cond_dep.
RDEPEND="
>=sci-ml/datasets-2.21.0[${PYTHON_SINGLE_USEDEP}]
>=sci-ml/transformers-4.43.0[${PYTHON_SINGLE_USEDEP}]
dev-python/stop-sequencer[${PYTHON_SINGLE_USEDEP}]
$(python_gen_cond_dep '
dev-python/anthropic[${PYTHON_USEDEP}]
dev-python/appdirs[${PYTHON_USEDEP}]
>=dev-python/fire-0.6.0[${PYTHON_USEDEP}]
>=dev-python/google-generativeai-0.7.2[${PYTHON_USEDEP}]
dev-python/multipledispatch[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
>=dev-python/openai-1.11.1[${PYTHON_USEDEP}]
>=dev-python/psutil-5.9.0[${PYTHON_USEDEP}]
>=dev-python/rich-12.3.0[${PYTHON_USEDEP}]
dev-python/tempdir[${PYTHON_USEDEP}]
>=dev-python/termcolor-2.0.0[${PYTHON_USEDEP}]
>=dev-python/tqdm-4.56.0[${PYTHON_USEDEP}]
>=dev-python/tree-sitter-0.22.0[${PYTHON_USEDEP}]
>=dev-libs/tree-sitter-python-0.21.0[python(+),${PYTHON_USEDEP}]
dev-python/wget[${PYTHON_USEDEP}]
perf? (
>=dev-python/cirron-0.4[${PYTHON_USEDEP}]
>=dev-python/pympler-1.0.1[${PYTHON_USEDEP}]
)
')
"
BDEPEND="
$(python_gen_cond_dep '
dev-python/setuptools-scm[${PYTHON_USEDEP}]
')
"
# pyproject sets version via setuptools_scm; sdist has no .git
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
Manage flags for this package:
euse -i <flag> -p sci-ml/evalplus |
euse -E <flag> -p sci-ml/evalplus |
euse -D <flag> -p sci-ml/evalplus
>=sci-ml/datasets-2.21.0[${PYTHON_SINGLE_USEDEP}] >=sci-ml/transformers-4.43.0[${PYTHON_SINGLE_USEDEP}] dev-python/stop-sequencer[${PYTHON_SINGLE_USEDEP}] $(python_gen_cond_dep ' dev-python/anthropic[${PYTHON_USEDEP}] dev-python/appdirs[${PYTHON_USEDEP}] >=dev-python/fire-0.6.0[${PYTHON_USEDEP}] >=dev-python/google-generativeai-0.7.2[${PYTHON_USEDEP}] dev-python/multipledispatch[${PYTHON_USEDEP}] dev-python/numpy[${PYTHON_USEDEP}] >=dev-python/openai-1.11.1[${PYTHON_USEDEP}] >=dev-python/psutil-5.9.0[${PYTHON_USEDEP}] >=dev-python/rich-12.3.0[${PYTHON_USEDEP}] dev-python/tempdir[${PYTHON_USEDEP}] >=dev-python/termcolor-2.0.0[${PYTHON_USEDEP}] >=dev-python/tqdm-4.56.0[${PYTHON_USEDEP}] >=dev-python/tree-sitter-0.22.0[${PYTHON_USEDEP}] >=dev-libs/tree-sitter-python-0.21.0[python(+),${PYTHON_USEDEP}] dev-python/wget[${PYTHON_USEDEP}] perf? ( >=dev-python/cirron-0.4[${PYTHON_USEDEP}] >=dev-python/pympler-1.0.1[${PYTHON_USEDEP}] ) ')
$(python_gen_cond_dep ' dev-python/setuptools-scm[${PYTHON_USEDEP}] ')