diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-24 02:00:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-24 02:00:51 +0000 |
commit | 4583148f2657a7a66fd68b25c9fab02be110c989 (patch) | |
tree | bd7f7afcfa312044a00e9f1207eecdd9802055bc /dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.0.ebuild | |
parent | edb8ee6f86e56d25f82a4f088a4504c903aede08 (diff) |
gentoo auto-resync : 24:12:2022 - 02:00:50
Diffstat (limited to 'dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.0.ebuild')
-rw-r--r-- | dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.0.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.0.ebuild b/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.0.ebuild new file mode 100644 index 000000000000..ef3284ec6ac5 --- /dev/null +++ b/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +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 + rm "${D}"/usr/share/man/man1/git-delete-merged-branches.1* || die + fi +} |