mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
dev-util/bump-my-version: add 1.2.4, drop 1.2.0
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo@sysrq.in>
This commit is contained in:
64
dev-util/bump-my-version/bump-my-version-1.2.4.ebuild
Normal file
64
dev-util/bump-my-version/bump-my-version-1.2.4.ebuild
Normal file
@@ -0,0 +1,64 @@
|
||||
# Copyright 2023-2025 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 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-8.2.2[${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
|
||||
}
|
||||
Reference in New Issue
Block a user