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 97BEC1580EB for ; Wed, 21 May 2025 21:01:04 +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 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 8311A3431B4 for ; Wed, 21 May 2025 21:01:04 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id C26C11104C3; Wed, 21 May 2025 20:59:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id BA17C1104C3 for ; Wed, 21 May 2025 20:59:56 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6F066343180 for ; Wed, 21 May 2025 20:59:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 25EB128B3 for ; Wed, 21 May 2025 20:59:54 +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: <1747861109.57d418e5b6ec9fb8e84a1be713dc4626e9d97032.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/tortoisehg/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/tortoisehg/Manifest dev-vcs/tortoisehg/tortoisehg-7.0.1.ebuild X-VCS-Directories: dev-vcs/tortoisehg/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 57d418e5b6ec9fb8e84a1be713dc4626e9d97032 X-VCS-Branch: master Date: Wed, 21 May 2025 20:59:54 +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: ce0c248a-1d32-4215-b116-53b3225af155 X-Archives-Hash: 15fc989a198d2c7b637d7b6ce345f632 commit: 57d418e5b6ec9fb8e84a1be713dc4626e9d97032 Author: Sergey Torokhov yandex ru> AuthorDate: Thu May 1 07:21:02 2025 +0000 Commit: Sam James gentoo org> CommitDate: Wed May 21 20:58:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57d418e5 dev-vcs/tortoisehg: 7.0.1 version bump Signed-off-by: Sergey Torokhov yandex.ru> Part-of: https://github.com/gentoo/gentoo/pull/41874 Closes: https://github.com/gentoo/gentoo/pull/41874 Signed-off-by: Sam James gentoo.org> dev-vcs/tortoisehg/Manifest | 1 + dev-vcs/tortoisehg/tortoisehg-7.0.1.ebuild | 81 ++++++++++++++++++++++++++++++ 2 files changed, 82 insertions(+) diff --git a/dev-vcs/tortoisehg/Manifest b/dev-vcs/tortoisehg/Manifest index f4f6985d819c..55b1eb15c855 100644 --- a/dev-vcs/tortoisehg/Manifest +++ b/dev-vcs/tortoisehg/Manifest @@ -1 +1,2 @@ DIST tortoisehg-6.9.tar.gz 8862668 BLAKE2B b7f917a8c9f0ca575e27ab1670bfe940e6257940691c53fca464b4012417283c9915fe5f604b0c1a5cb7f620ce20b47e945bb9e88b301f7ac036c19fcb4508b5 SHA512 f9f7ed9c3a1cdf633c453a12c7f68505027975fbd858c4e9cd4ce09920126f22043c1621a5d949391d31a9a13331cee2466d718635aa16dc8558bac5536d14fb +DIST tortoisehg-7.0.1.tar.gz 8863754 BLAKE2B fa2c750ac88a48d96845f026161a8f72979ea2caa2fcfcc7b25ed82726ffc68e57771ee4b7690f096c173cfbbb881cd9d1173020b2acb943d3a4c6a899b3c51c SHA512 237e14245af58c7f0d0976ea207c4d73c3b7738420ac0b6c2f9a7fb13e4b966ed5be9e3bbf6a4964b5ddbb78118603e151fa75a4d01f026696f641a6dd28dc7b diff --git a/dev-vcs/tortoisehg/tortoisehg-7.0.1.ebuild b/dev-vcs/tortoisehg/tortoisehg-7.0.1.ebuild new file mode 100644 index 000000000000..a4d35c489f73 --- /dev/null +++ b/dev-vcs/tortoisehg/tortoisehg-7.0.1.ebuild @@ -0,0 +1,81 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +DISTUTILS_USE_PEP517=setuptools +inherit desktop distutils-r1 optfeature xdg-utils + +if [[ ${PV} != *9999* ]]; then + KEYWORDS="~amd64 ~arm64 ~x86" + SRC_URI="https://foss.heptapod.net/mercurial/${PN}/thg/-/archive/${PV}/thg-${PV}.tar.gz -> ${P}.tar.gz" + HG_DEPEND=">=dev-vcs/mercurial-6.7[${PYTHON_USEDEP}] + =mercurial-4.0 (bug #599266). + rm "${S}"/hgext3rd/__init__.py || die "can't remove /hgext3rd/__init__.py" + + sed -i -e 's:share/doc/tortoisehg:share/doc/'"${PF}"':' setup.py || die + sed -i -e '/^testedwith/s/6.9/6.9 7.0/' tortoisehg/util/hgversion.py || die + export THG_QT_API=PyQt6 + distutils-r1_python_prepare_all +} + +python_test() { + ${EPYTHON} tests/run-tests.py -m 'not largefiles' --disable-pytest-warnings --doctest-modules tests || die "Tests failed with ${EPYTHON}" + ${EPYTHON} tests/run-tests.py -m largefiles --disable-pytest-warnings tests || die "Tests failed with ${EPYTHON}" +} + +python_install_all() { + export THG_QT_API=PyQt6 + distutils-r1_python_install_all + dodoc doc/ReadMe*.txt doc/TODO contrib/mergetools.rc + newicon -s scalable icons/scalable/apps/thg.svg thg_logo.svg + domenu contrib/thg.desktop +} + +pkg_postinst() { + xdg_icon_cache_update + elog "When startup of ${PN} fails with an API version mismatch error" + elog "between dev-python/sip and dev-python/pyqt6 please rebuild" + elog "dev-python/qscintilla." + + optfeature "the core git extension support" dev-python/pygit2 +} + +pkg_postrm() { + xdg_icon_cache_update +}