Install this version:
emerge -a =dev-python/sacrebleu-2.6.0
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/sacrebleu-2.6.0
Or alternatively:
emerge --autounmask-write -a =dev-python/sacrebleu-2.6.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} )
inherit distutils-r1 pypi
DESCRIPTION="Reproducible BLEU, chrF and TER scores for machine translation"
HOMEPAGE="
https://github.com/mjpost/sacrebleu
https://pypi.org/project/sacrebleu/
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
dev-python/colorama[${PYTHON_USEDEP}]
dev-python/lxml[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
dev-python/portalocker[${PYTHON_USEDEP}]
dev-python/regex[${PYTHON_USEDEP}]
dev-python/tabulate[${PYTHON_USEDEP}]
"
BDEPEND="
dev-python/setuptools-scm[${PYTHON_USEDEP}]
"
# pyproject.toml drives version from setuptools_scm; the sdist has no .git
export SETUPTOOLS_SCM_PRETEND_VERSION="${PV}"
dev-python/colorama[] dev-python/lxml[] dev-python/numpy[] dev-python/portalocker[] dev-python/regex[] dev-python/tabulate[]
dev-python/setuptools-scm[]