summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2022-11-26 15:20:14 +0100
committerSebastian Pipping <sping@gentoo.org>2022-11-26 15:20:14 +0100
commit6564db0a95568453a825693cd1ad304746a554ae (patch)
tree6d56f27085c6b5aaa2c02469d2f7399c6f20a6e2 /dev-vcs
parentdev-ruby/pkg-config: Stabilize 1.4.9 sparc, #883139 (diff)
downloadgentoo-6564db0a95568453a825693cd1ad304746a554ae.tar.gz
gentoo-6564db0a95568453a825693cd1ad304746a554ae.tar.bz2
gentoo-6564db0a95568453a825693cd1ad304746a554ae.zip
dev-vcs/git-delete-merged-branches: 7.2.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.2.1.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-vcs/git-delete-merged-branches/Manifest b/dev-vcs/git-delete-merged-branches/Manifest
index e874b82d5152..f24a540ebb61 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.2.0.tar.gz 38948 BLAKE2B ceec3333221a75b7da8a0d0287c5fea9095136f3ccd4b3f59b205cfca6b2e394cf766aed632f9e94b34ec8f7bb3e1b4ef63c358581e0cf3df8ba33c19915aaf5 SHA512 cc7e250b98caa446af246067727768ae771235fa9d89cd5a319fa2143c826e13c9c2938cf399baefa217be95073fcf50d64a771f98fb12f10d4320b62bfe8b05
+DIST git-delete-merged-branches-7.2.1.tar.gz 39267 BLAKE2B 3514cb84dcd64e0f935eaf806dfbda6227f0c25dcafcd0c33de49fcfdeab330ca1636f63bef0bbd78c19475b0d039b38dbd1a86be614041313d83156d9f1f0fe SHA512 d7849ca309378bde5d09f4c663f65cd7b8a0e40425e134b3c5c4814220070d41da517c489d021036332bf3f85d4dd863b1a5b991549de0241bbaa2db69b9699b
diff --git a/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.2.1.ebuild b/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.2.1.ebuild
new file mode 100644
index 000000000000..6ec57561f7ac
--- /dev/null
+++ b/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.2.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Command-line tool to delete merged Git branches"
+HOMEPAGE="https://github.com/hartwork/git-delete-merged-branches"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+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
+ fi
+}