summaryrefslogtreecommitdiff
path: root/dev-util/tbump/tbump-6.11.0-r1.ebuild
blob: af6319cbe536094b5837e25bec43dde0347f673c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517="poetry"
PYTHON_COMPAT=( python3_{13..14} )

inherit distutils-r1

DESCRIPTION="tbump helps you bump the version of your project easily"
HOMEPAGE="https://github.com/your-tools/tbump/"

if [[ "${PV}" == *9999* ]]; then
	inherit git-r3

	EGIT_REPO_URI="https://github.com/your-tools/${PN}"
else
	inherit pypi

	KEYWORDS="~amd64"
fi

LICENSE="BSD"
SLOT="0"

RDEPEND="
	dev-python/docopt[${PYTHON_USEDEP}]
	dev-python/cli-ui[${PYTHON_USEDEP}]
	dev-python/schema[${PYTHON_USEDEP}]
	dev-python/tomlkit[${PYTHON_USEDEP}]
	dev-python/packaging[${PYTHON_USEDEP}]
"

EPYTEST_DESELECT=(
	"tbump/test/test_api.py"
	"tbump/test/test_cli.py"
	"tbump/test/test_file_bumper.py::test_file_bumper_preserve_endings"
	"tbump/test/test_file_bumper.py::test_file_bumper_simple"
	"tbump/test/test_git_bumper.py"
	"tbump/test/test_hooks.py"
	"tbump/test/test_init.py"
)

EPYTEST_PLUGINS=()
distutils_enable_tests pytest