Install this version:
emerge -a =sci-physics/hepunits-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =sci-physics/hepunits-9999
Or alternatively:
emerge --autounmask-write -a =sci-physics/hepunits-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 8 | ~amd64 | 0 |
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{12..13} )
DISTUTILS_USE_PEP517=hatchling
inherit distutils-r1
DESCRIPTION="units and constants in the HEP system of units"
HOMEPAGE="https://github.com/scikit-hep/hepunits"
LICENSE="BSD"
SLOT="0"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/scikit-hep/hepunits"
else
inherit pypi
KEYWORDS="~amd64"
fi
BDEPEND="
dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? (
sci-physics/pint[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
dev-python/hatch-vcs[] test? ( sci-physics/pint[] )