From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 1A6B91581B9 for ; Fri, 03 Oct 2025 01:09:35 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id AE3D934226E for ; Fri, 03 Oct 2025 00:59:38 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 87EE0110213; Fri, 03 Oct 2025 00:59:37 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 7C9F0110213 for ; Fri, 03 Oct 2025 00:59:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 107DA34226A for ; Fri, 03 Oct 2025 00:59:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8E2343AA7 for ; Fri, 03 Oct 2025 00:57:26 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1759452961.690e0beef664fec6b43c25e72f7d3dab5fe3001c.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-cola/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/git-cola/Manifest dev-vcs/git-cola/git-cola-4.15.0.ebuild X-VCS-Directories: dev-vcs/git-cola/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 690e0beef664fec6b43c25e72f7d3dab5fe3001c X-VCS-Branch: master Date: Fri, 03 Oct 2025 00:57:26 +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: 0c86f76b-c0f7-4d85-a435-315bf24d205e X-Archives-Hash: 8ba3dab79f4dd547214c801a606e97b9 commit: 690e0beef664fec6b43c25e72f7d3dab5fe3001c Author: David Roman ifae es> AuthorDate: Mon Sep 15 08:37:13 2025 +0000 Commit: Sam James gentoo org> CommitDate: Fri Oct 3 00:56:01 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=690e0bee dev-vcs/git-cola: add 4.15.0 Signed-off-by: David Roman ifae.es> Part-of: https://github.com/gentoo/gentoo/pull/43787 Closes: https://github.com/gentoo/gentoo/pull/43787 Signed-off-by: Sam James gentoo.org> dev-vcs/git-cola/Manifest | 1 + dev-vcs/git-cola/git-cola-4.15.0.ebuild | 80 +++++++++++++++++++++++++++++++++ 2 files changed, 81 insertions(+) diff --git a/dev-vcs/git-cola/Manifest b/dev-vcs/git-cola/Manifest index 2256f5d3411b..de767af960e3 100644 --- a/dev-vcs/git-cola/Manifest +++ b/dev-vcs/git-cola/Manifest @@ -1,2 +1,3 @@ DIST git-cola-4.13.0.tar.gz 1276304 BLAKE2B 2e75241ed1c528478199aa9977776ceafc8ba72c5b674bc69aceaceb44b1b44db138ac98ea4441100f586dd0940ffcf18b9b64d70a464cbe957d40fe7878dcca SHA512 57b74cf98b6ec72946d730a5e59fbe4e57edaefa7b935a1d757e43e4faea6bc5d1752fbf37767250120d7192cb131c6565b6577e1857c3c6ad48ab6518f21316 DIST git-cola-4.14.0.tar.gz 1338074 BLAKE2B b6371bd91700f4702e063314bf28f834c3749d2041f0e65598af5e4beb4fcb905f3cd375c957a05f4a4b9fd463f732645ff644ef38ab097d12726512ef300468 SHA512 9b5cc0039cf6b47fe4524f1b672681ea2c0a3883e7761096256291b0ddb485df02b50bc35e7329edb4d3346841195f07f50123aadc2fa1e41196c5795e4f3011 +DIST git-cola-4.15.0.tar.gz 1340351 BLAKE2B 3adfb6a419f9e39d6af30ff975f49e52d8260928728a4d9a267e2742720da9a6b487a7f5ad1eacec822e3a0225e31599ebea448b0c21803442b33dd4e6d70eba SHA512 c7fbc875beef606709339fdcb44b4ee0e6ed017f47b685b6ecb2a4c573eeb6ef2aeb9a96a0a925501eb8f0f735779dc9257abd2e77755beae90c2579c9e4fd00 diff --git a/dev-vcs/git-cola/git-cola-4.15.0.ebuild b/dev-vcs/git-cola/git-cola-4.15.0.ebuild new file mode 100644 index 000000000000..c052fd0a6ae3 --- /dev/null +++ b/dev-vcs/git-cola/git-cola-4.15.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{11..13} ) +DISTUTILS_SINGLE_IMPL=true +DISTUTILS_USE_PEP517=setuptools +inherit desktop distutils-r1 optfeature readme.gentoo-r1 virtualx xdg + +DESCRIPTION="The highly caffeinated git GUI" +HOMEPAGE="https://git-cola.github.io/" +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/numpy[${PYTHON_USEDEP}] + dev-python/polib[${PYTHON_USEDEP}] + dev-python/pygments[${PYTHON_USEDEP}] + dev-python/qtpy[pyqt6,gui,network,${PYTHON_USEDEP}] + ') + dev-vcs/git +" +BDEPEND=" + sys-devel/gettext + $(python_gen_cond_dep " + dev-python/setuptools-scm[\${PYTHON_USEDEP}] + test? ( + dev-python/pytest[\${PYTHON_USEDEP}] + dev-python/qtpy[pyqt6,gui,network,\${PYTHON_USEDEP}] + ) + ") +" + +distutils_enable_sphinx docs \ + 'dev-python/rst-linker' +distutils_enable_tests pytest + +src_prepare() { + # remove bundled qtpy and polib + rm -Rf qtpy cola/polib.py || die + distutils-r1_src_prepare +} + +src_test() { + virtx distutils-r1_src_test +} + +python_test() { + cd "${T}" || die + GIT_CONFIG_NOSYSTEM=true LC_ALL="C.utf8" \ + epytest "${S}"/test +} + +src_compile() { + SETUPTOOLS_SCM_PRETEND_VERSION=${PV} distutils-r1_src_compile +} + +src_install() { + distutils-r1_src_install + + domenu share/applications/*.desktop + doicon -s scalable cola/icons/git-cola.svg + + # patch the binaries to use desired qtpy backend + sed -i "s|import sys|import sys\nimport os\nos.environ['QT_API'] = 'pyqt6'\n|" "${D}"/usr/bin/* || die + + readme.gentoo_create_doc +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "enable desktop notifications" dev-python/notify2 + optfeature "enables Send to Trash feature" dev-python/send2trash +}