diff --git a/dev-python/dunamai/Manifest b/dev-python/dunamai/Manifest new file mode 100644 index 0000000000000..b9e0c39f4b3ef --- /dev/null +++ b/dev-python/dunamai/Manifest @@ -0,0 +1 @@ +DIST dunamai-1.25.0.tar.gz 46155 BLAKE2B 8324b94e3cf3e4f28f0a6990f14426bd838403db7940a0545f8429e200793d2b2ce122df9b9d02380570d7a85fdc00200da5511f77c6c5fa03ed1085c9b95e8d SHA512 eb234c06f72b0c4942a30e53331c809bbde6af6e2795045b6411818e8e832e0307e706a4caf84ffdfb8c5123b9225fe1df52c857ac0dc1868f0f4edcdb49da29 diff --git a/dev-python/dunamai/dunamai-1.25.0.ebuild b/dev-python/dunamai/dunamai-1.25.0.ebuild new file mode 100644 index 0000000000000..2cd3ca53913a8 --- /dev/null +++ b/dev-python/dunamai/dunamai-1.25.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3_11 python3_{11..14} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Dynamic version generation" +HOMEPAGE=" + https://github.com/mtkennerly/dunamai/ + https://pypi.org/project/dunamai/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + >=dev-python/packaging-20.9[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-vcs/git + ) +" + +EPYTEST_PLUGINS=() +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +src_test() { + local EPYTEST_DESELECT=( + # Internet + tests/integration/test_dunamai.py::test__version__from_git__shallow + ) + + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + if type -P bzr &>/dev/null; then + brz whoami "Your Name " || die + fi + distutils-r1_src_test +} diff --git a/dev-python/dunamai/metadata.xml b/dev-python/dunamai/metadata.xml new file mode 100644 index 0000000000000..d16f0515c2b6c --- /dev/null +++ b/dev-python/dunamai/metadata.xml @@ -0,0 +1,11 @@ + + + + + python@gentoo.org + + + mtkennerly/dunamai + dunamai + +