From 3d3e48c2c69924a16f9837d78590d543be1224ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Tue, 3 Sep 2024 20:29:27 +0200 Subject: [PATCH] dev-util/tbump: new package; add 6.11.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maciej Barć --- dev-util/tbump/Manifest | 1 + dev-util/tbump/metadata.xml | 18 ++++++++++++ dev-util/tbump/tbump-6.11.0.ebuild | 45 ++++++++++++++++++++++++++++++ 3 files changed, 64 insertions(+) create mode 100644 dev-util/tbump/Manifest create mode 100644 dev-util/tbump/metadata.xml create mode 100644 dev-util/tbump/tbump-6.11.0.ebuild diff --git a/dev-util/tbump/Manifest b/dev-util/tbump/Manifest new file mode 100644 index 0000000000000..50c1e89755df6 --- /dev/null +++ b/dev-util/tbump/Manifest @@ -0,0 +1 @@ +DIST tbump-6.11.0.tar.gz 28642 BLAKE2B 2e45fbf1d3e824b0f63f79db0928895488fb06a657c85335235d9aede8576f12bc2e8be58006e2883fb8d639d63029decdc7377dfaeda5d87475e505a4a22fe2 SHA512 3bcd6d34dab2f323dba45dd29053da5a75b5ec9f88aad1d50a2dd1a1d43fe7200bc58742c56249dd167b12e9dc599783eba93adac52e7d87aaa2e7e74f43a532 diff --git a/dev-util/tbump/metadata.xml b/dev-util/tbump/metadata.xml new file mode 100644 index 0000000000000..59e126ffa3bec --- /dev/null +++ b/dev-util/tbump/metadata.xml @@ -0,0 +1,18 @@ + + + + + + xgqt@gentoo.org + Maciej Barć + + + python@gentoo.org + Python + + + https://github.com/your-tools/tbump/issues/ + your-tools/tbump + tbump + + diff --git a/dev-util/tbump/tbump-6.11.0.ebuild b/dev-util/tbump/tbump-6.11.0.ebuild new file mode 100644 index 0000000000000..b0ca5dc36fb9a --- /dev/null +++ b/dev-util/tbump/tbump-6.11.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517="poetry" +PYTHON_COMPAT=( python3_{11..13} ) + +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/tbump.git" +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" +) + +distutils_enable_tests pytest