diff --git a/dev-util/bump-my-version/Manifest b/dev-util/bump-my-version/Manifest index d6f2e72aaa..7ba6e5e08a 100644 --- a/dev-util/bump-my-version/Manifest +++ b/dev-util/bump-my-version/Manifest @@ -1 +1,2 @@ DIST bump_my_version-0.28.0.tar.gz 983361 BLAKE2B c77277af977d23b14dd64d0b86789e4f377b2dbb82cd240527f6e3d18d617036138385227be5288c4d0ab58aceece386ea2a9d50f35f0eb6d5b96e972688fa78 SHA512 31a57a0a8de6e18602cc2916021b001b2c1582f82b6d3b9c37851962edbb7b7b6c6a3bbf32c039e6543a81cdbe2a72984a9093323b12d25467e27c5bbee9594c +DIST bump_my_version-0.28.1.tar.gz 983509 BLAKE2B 0b802695198732d9dc8e447189d8c3fe6b5f27999d9ed72c1a8c6919e62ca93eda7c1c083db992da67f5607aa169dc6a2903691e1679481293633f66ebfc5dfe SHA512 9dd089fe1dc00a63d5b77984d90aa5ab045760ba5cc37dc36f5b1c3be02d73a0591dcf1496a366226086ab3bbf1cf76cc9abada457ce0e349108768dfb658bbb diff --git a/dev-util/bump-my-version/bump-my-version-0.28.1.ebuild b/dev-util/bump-my-version/bump-my-version-0.28.1.ebuild new file mode 100644 index 0000000000..6d418372dc --- /dev/null +++ b/dev-util/bump-my-version/bump-my-version-0.28.1.ebuild @@ -0,0 +1,54 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{11..13} ) +inherit 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/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}] + dev-python/pytest-mock[${PYTHON_USEDEP}] + ) +" + +DOCS=( {CHANGELOG,CODE_OF_CONDUCT,CONTRIBUTING,README}.md ) + +distutils_enable_tests pytest + +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 +}