dev-python/versioningit: Bump to 3.2.0

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny 2025-06-11 07:05:44 +02:00
parent 364e2dab0a
commit 9db8bdf5d6
No known key found for this signature in database
GPG Key ID: 639ADAE2329E240E
2 changed files with 53 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST versioningit-3.1.3.tar.gz 213327 BLAKE2B 7263a22ab0f6dd08f66de6a13bfc15d7bafd6d4af67a90169d19c1ebc82e5381cf64edb786c940416367434ec2540d7faa64d71dec109d67bb181aaf4419890f SHA512 829d595803853e18159f4109bb10fe8335529e9c7c31ebe5948d551e88811453705637e98d8de349972f1bc37c33d3ccdf6546343c13670c7a7672a03bd14cff
DIST versioningit-3.2.0.tar.gz 217086 BLAKE2B 7989ce8fbdf469fefbd9d26533ee212f8e0fb62e7d29af51df3f7cd42e6f5845db0264ce50d044cd53e22c18469295660a7bffe83e8571d5ee4466516838ee61 SHA512 084a457b7142139f71121f76769adf2ba1672339cdd90e0c3c02a611c19d8db7b0833f9ec4395af57ea794592e2fda1815f4de4a86a7d6fd2996f2b2fba9f70c

View File

@ -0,0 +1,52 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=hatchling
PYTHON_FULLY_TESTED=( pypy3_11 python3_{11..13} )
PYTHON_COMPAT=( "${PYTHON_FULLY_TESTED[@]}" python3_14 )
inherit distutils-r1 pypi
DESCRIPTION="A setuptools plugin for versioning based on git tags"
HOMEPAGE="
https://github.com/jwodder/versioningit/
https://pypi.org/project/versioningit/
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
RDEPEND="
>=dev-python/packaging-17.1[${PYTHON_USEDEP}]
dev-vcs/git
"
BDEPEND="
test? (
dev-python/pytest-mock[${PYTHON_USEDEP}]
$(python_gen_cond_dep '
dev-python/pydantic[${PYTHON_USEDEP}]
' "${PYTHON_FULLY_TESTED[@]}")
)
"
EPYTEST_IGNORE=(
# Tries to do wheel/pip installs
test/test_end2end.py
)
distutils_enable_tests pytest
python_test() {
if ! has "${EPYTHON/./_}" "${PYTHON_FULLY_TESTED[@]}"; then
EPYTEST_IGNORE+=(
# Needs pydantic
test/test_methods/test_hg.py
test/test_methods/test_git.py
)
fi
epytest -o addopts=
}