commit: 3d3e48c2c69924a16f9837d78590d543be1224ff Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> AuthorDate: Tue Sep 3 18:29:27 2024 +0000 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> CommitDate: Tue Sep 3 18:44:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d3e48c2
dev-util/tbump: new package; add 6.11.0 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> 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(+) diff --git a/dev-util/tbump/Manifest b/dev-util/tbump/Manifest new file mode 100644 index 000000000000..50c1e89755df --- /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 000000000000..59e126ffa3be --- /dev/null +++ b/dev-util/tbump/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> + +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Maciej Barć</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Python</name> + </maintainer> + <upstream> + <bugs-to>https://github.com/your-tools/tbump/issues/</bugs-to> + <remote-id type="github">your-tools/tbump</remote-id> + <remote-id type="pypi">tbump</remote-id> + </upstream> +</pkgmetadata> 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 000000000000..b0ca5dc36fb9 --- /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
