mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
dev-python/dunamai: New package, v1.25.0
New dependency for dev-python/uv-dynamic-versioning, which is a NIH dep for dev-python/griffe. Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -0,0 +1 @@
|
||||
DIST dunamai-1.25.0.tar.gz 46155 BLAKE2B 8324b94e3cf3e4f28f0a6990f14426bd838403db7940a0545f8429e200793d2b2ce122df9b9d02380570d7a85fdc00200da5511f77c6c5fa03ed1085c9b95e8d SHA512 eb234c06f72b0c4942a30e53331c809bbde6af6e2795045b6411818e8e832e0307e706a4caf84ffdfb8c5123b9225fe1df52c857ac0dc1868f0f4edcdb49da29
|
||||
@@ -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 <name@example.com>" || die
|
||||
fi
|
||||
distutils-r1_src_test
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">mtkennerly/dunamai</remote-id>
|
||||
<remote-id type="pypi">dunamai</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user