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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A90515800A for ; Sun, 16 Jul 2023 10:54:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5FAD9E07D3; Sun, 16 Jul 2023 10:54:40 +0000 (UTC) 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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4058CE07D3 for ; Sun, 16 Jul 2023 10:54:40 +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 19BDC33BF0B for ; Sun, 16 Jul 2023 10:54:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3EC25B50 for ; Sun, 16 Jul 2023 10:54:37 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1689504860.72ce5380bae5009b8f47b61ccd1f41c54e70952a.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-emacs/magit/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-emacs/magit/magit-3.3.0-r3.ebuild app-emacs/magit/magit-9999.ebuild X-VCS-Directories: app-emacs/magit/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 72ce5380bae5009b8f47b61ccd1f41c54e70952a X-VCS-Branch: master Date: Sun, 16 Jul 2023 10:54:37 +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: 3a1a6629-f7fd-456d-b85e-2833d72022cd X-Archives-Hash: a9b1fc19103d9ecd0af7e78c6a3f0cae commit: 72ce5380bae5009b8f47b61ccd1f41c54e70952a Author: Ulrich Müller gentoo org> AuthorDate: Sun Jul 16 10:49:42 2023 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Jul 16 10:54:20 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ce5380 app-emacs/magit: Update postinst message Signed-off-by: Ulrich Müller gentoo.org> app-emacs/magit/magit-3.3.0-r3.ebuild | 8 +++++--- app-emacs/magit/magit-9999.ebuild | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/app-emacs/magit/magit-3.3.0-r3.ebuild b/app-emacs/magit/magit-3.3.0-r3.ebuild index ac91b3d9a7f5..eaee9f6713a7 100644 --- a/app-emacs/magit/magit-3.3.0-r3.ebuild +++ b/app-emacs/magit/magit-3.3.0-r3.ebuild @@ -51,7 +51,9 @@ src_prepare() { pkg_postinst() { elisp_pkg_postinst - einfo "magit version 3.3.0 dropped necessity of the app-emacs/libegit2 package" - einfo "magit after 3.3.0 can now use the git executable directly," - einfo "if you need the libegit backend, then please add app-emacs/libegit2 to @world" + if ! use libgit; then + einfo "The dependency on app-emacs/libegit2 is optional" + einfo "since magit version 3.3.0. Enable the \"libgit\" flag" + einfo "if you need the libgit backend." + fi } diff --git a/app-emacs/magit/magit-9999.ebuild b/app-emacs/magit/magit-9999.ebuild index f8f9c547e60d..fd1904e9d6ec 100644 --- a/app-emacs/magit/magit-9999.ebuild +++ b/app-emacs/magit/magit-9999.ebuild @@ -49,7 +49,9 @@ src_prepare() { pkg_postinst() { elisp_pkg_postinst - einfo "magit version 3.3.0 dropped necessity of the app-emacs/libegit2 package" - einfo "magit after 3.3.0 can now use the git executable directly," - einfo "if you need the libegit backend, then please add app-emacs/libegit2 to @world" + if ! use libgit; then + einfo "The dependency on app-emacs/libegit2 is optional" + einfo "since magit version 3.3.0. Enable the \"libgit\" flag" + einfo "if you need the libgit backend." + fi }