Install this version:
emerge -a =dev-python/dunamai-1.26.1
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =dev-python/dunamai-1.26.1
Or alternatively:
emerge --autounmask-write -a =dev-python/dunamai-1.26.1
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=poetry
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 pypi
DESCRIPTION="Dynamic versioning library and CLI"
HOMEPAGE="https://dunamai.readthedocs.io"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
PROPERTIES="test_network"
RESTRICT="test"
RDEPEND=">=dev-python/packaging-20.9[${PYTHON_USEDEP}]"
BDEPEND="test? (
dev-vcs/breezy
dev-vcs/fossil
dev-vcs/git
dev-vcs/mercurial
dev-vcs/subversion
)
"
EPYTEST_PLUGINS=()
distutils_enable_tests pytest
EPYTEST_DESELECT=(
# https://gitlab.archlinux.org/archlinux/packaging/packages/python-dunamai/-/blob/main/PKGBUILD
# skipping annoying ones that require messing with global git config
tests/integration/test_dunamai.py::test__version__from_git__with_annotated_tags
tests/integration/test_dunamai.py::test__version__from_git__with_lightweight_tags
tests/integration/test_dunamai.py::test__version__from_git__with_mixed_tags
tests/integration/test_dunamai.py::test__version__from_git__with_nonchronological_commits
tests/integration/test_dunamai.py::test__version__from_git__gitflow
tests/integration/test_dunamai.py::test__version__from_git__exclude_decoration
tests/integration/test_dunamai.py::test__version__from_git__broken_ref
tests/integration/test_dunamai.py::test__version__from_git__trace_env_var
tests/integration/test_dunamai.py::test__version__from_git__initial_commit_empty_and_tagged
)
src_test() {
brz whoami "Your Name <name@example.com>" || die
distutils-r1_src_test
}
>=dev-python/packaging-20.9[]
test? ( dev-vcs/breezy dev-vcs/fossil dev-vcs/git dev-vcs/mercurial dev-vcs/subversion )