summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2024-05-22 19:14:27 +0200
committerSebastian Pipping <sping@gentoo.org>2024-05-22 19:15:45 +0200
commit93e314175d75779dbdb003e28b5922958be0a352 (patch)
treead6ddb245993b0fa7c5a027ab5c81579aef5bfae /dev-vcs
parentapp-crypt/tpm2-tss: Hide write_all symbol to fix tpm2-abrmd crash on clang/lld (diff)
downloadgentoo-93e314175d75779dbdb003e28b5922958be0a352.tar.gz
gentoo-93e314175d75779dbdb003e28b5922958be0a352.tar.bz2
gentoo-93e314175d75779dbdb003e28b5922958be0a352.zip
dev-vcs/git-delete-merged-branches: 7.4.1
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git-delete-merged-branches/Manifest1
-rw-r--r--dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.1.ebuild42
2 files changed, 43 insertions, 0 deletions
diff --git a/dev-vcs/git-delete-merged-branches/Manifest b/dev-vcs/git-delete-merged-branches/Manifest
index 1cd0469379aa..23e17e040b14 100644
--- a/dev-vcs/git-delete-merged-branches/Manifest
+++ b/dev-vcs/git-delete-merged-branches/Manifest
@@ -1 +1,2 @@
DIST git-delete-merged-branches-7.4.0.tar.gz 40887 BLAKE2B e267a0d1154d8adc8cb3a8ab0cfbab687b61b5d17bea63ea6946bbfe41b4cbdbbe288f16e120f7823f3bb50c4e6d61d3ca643fa3fe961bce5c26cc2a64287573 SHA512 90459162bb6d7cf9746ca0497a89f998b6a7b0cf165425e74375c55f99fa7ada3b8db66b567b41985e0728785c922c1a7cbdd30b4aab4700acf6a34a3d5056f3
+DIST git_delete_merged_branches-7.4.1.tar.gz 41639 BLAKE2B 527c849d92f0dcfbeebee312a2ac0120e5758eb42845a4570cacabe0f963b7a3b1122437e30f7add96f79b89ad9461b17bc1e3d6cff58b9741a9c7f9a8b13324 SHA512 582d2a83ed49971cf948ac5677f96a57469fbf829abc65accd106d594f384af98552be18dc157c56acff688b9b22209328b5d60a08a264a8c328196208183642
diff --git a/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.1.ebuild b/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.1.ebuild
new file mode 100644
index 000000000000..c4a0f2880132
--- /dev/null
+++ b/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{9..12} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Command-line tool to delete merged Git branches"
+HOMEPAGE="https://github.com/hartwork/git-delete-merged-branches"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="full-name-executable test"
+
+COMMON_DEPEND="
+ >=dev-python/colorama-0.4.3[${PYTHON_USEDEP}]
+ >=dev-python/prompt-toolkit-3.0.18[${PYTHON_USEDEP}]
+"
+DEPEND="${COMMON_DEPEND}
+ test? ( dev-python/parameterized[${PYTHON_USEDEP}] )
+"
+RDEPEND="${COMMON_DEPEND}
+ full-name-executable? ( !dev-vcs/git-extras )
+ dev-vcs/git
+"
+
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests pytest
+
+src_install() {
+ distutils-r1_src_install
+
+ if ! use full-name-executable; then
+ rm "${D}"/usr/bin/git-delete-merged-branches || die
+ rm "${D}"/usr/share/man/man1/git-delete-merged-branches.1* || die
+ fi
+}