From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 9AED1158046 for ; Sat, 12 Oct 2024 22:06:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A9682E0798; Sat, 12 Oct 2024 22:06:16 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 910BFE0798 for ; Sat, 12 Oct 2024 22:06:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C9551342FFE for ; Sat, 12 Oct 2024 22:06:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 31D6719C2 for ; Sat, 12 Oct 2024 22:06:14 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <1728770727.da3a0d51d2cfcda6c674c2d4072f04235e359ab1.sping@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-delete-merged-branches/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.1-r1.ebuild X-VCS-Directories: dev-vcs/git-delete-merged-branches/ X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: da3a0d51d2cfcda6c674c2d4072f04235e359ab1 X-VCS-Branch: master Date: Sat, 12 Oct 2024 22:06:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 37b914b6-27bb-4e04-ab17-85258363554f X-Archives-Hash: 0e8604bcc9c9613e8bcf31625113ca00 commit: da3a0d51d2cfcda6c674c2d4072f04235e359ab1 Author: Sebastian Pipping gentoo org> AuthorDate: Sat Oct 12 21:26:01 2024 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Sat Oct 12 22:05:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da3a0d51 dev-vcs/git-delete-merged-branches: Support Python 3.13 Signed-off-by: Sebastian Pipping gentoo.org> .../git-delete-merged-branches-7.4.1-r1.ebuild | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) diff --git a/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.1-r1.ebuild b/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.1-r1.ebuild new file mode 100644 index 000000000000..33ddb9d11f84 --- /dev/null +++ b/dev-vcs/git-delete-merged-branches/git-delete-merged-branches-7.4.1-r1.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..13} ) + +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 +}