diff --git a/dev-util/bump-my-version/Manifest b/dev-util/bump-my-version/Manifest index e39f8dd7c5..96c83a3af9 100644 --- a/dev-util/bump-my-version/Manifest +++ b/dev-util/bump-my-version/Manifest @@ -1 +1,2 @@ DIST bump_my_version-1.2.6.tar.gz 1195328 BLAKE2B 9f483b59235d6426ef23d8cead71845b32d9f9424706c43406ec25bd877981c32977755093b80dd20e35c42be1d7c65787907cc3f6895ab63db6a8875ab70c5a SHA512 e07fd368ffa44964ed666141db6dcbb3dd29198d91239813d7b39ca77fa9704d6aad93e091b44713d80eb34be56abdd7773f6aa1b9a1c6a6bb4a8e60cf617288 +DIST bump_my_version-1.2.7.tar.gz 1198071 BLAKE2B b1d1a3550ddb3591ab20eaf0966fb88ce86a42011c65c5e51831ad6f631f2b42463586bb359d462e4e63f51a675a3e3a21f28d0cc6c61b5d3c7fe58c490f9e76 SHA512 04ef9e730b6b80ae716e477f74c220ab09f69eb44ea4c17d41f2c591452da454959819eabbae4a98206202d20f732867b18dadb054f699abefa11adda6767509 diff --git a/dev-util/bump-my-version/bump-my-version-1.2.7.ebuild b/dev-util/bump-my-version/bump-my-version-1.2.7.ebuild new file mode 100644 index 0000000000..f064378c61 --- /dev/null +++ b/dev-util/bump-my-version/bump-my-version-1.2.7.ebuild @@ -0,0 +1,64 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{12..13} ) +inherit click-app distutils-r1 pypi + +DESCRIPTION="Version bump your Python project" +HOMEPAGE=" + https://pypi.org/project/bump-my-version/ + https://callowayproject.github.io/bump-my-version/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/click[${PYTHON_USEDEP}] + >=dev-python/httpx-0.28.1[${PYTHON_USEDEP}] + >=dev-python/pydantic-2.0[${PYTHON_USEDEP}] + dev-python/pydantic-settings[${PYTHON_USEDEP}] + dev-python/questionary[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/rich-click[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + >=dev-python/wcmatch-8.5.1[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( + dev-vcs/git + dev-vcs/mercurial + dev-python/freezegun[${PYTHON_USEDEP}] + ) +" + +DOCS=( {CHANGELOG,CODE_OF_CONDUCT,CONTRIBUTING,README}.md ) + +EPYTEST_PLUGINS=( + pytest-localserver + pytest-mock +) +EPYTEST_DESELECT=( + tests/test_cli/test_bump.py::test_detects_bad_or_missing_version_component +) + +distutils_enable_tests pytest + +click-app_enable_completions bump-my-version + +python_test() { + epytest -o "addopts=" +} + +src_test() { + local -x TZ="UTC" + + git config --global user.email "you@example.com" || die + git config --global user.name "Your Name" || die + + distutils-r1_src_test +}