From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1721605-garchives=archives.gentoo.org@lists.gentoo.org>
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 96AC31582EF
	for <garchives@archives.gentoo.org>; Tue, 25 Feb 2025 16:36:52 +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 83EC9343211
	for <garchives@archives.gentoo.org>; Tue, 25 Feb 2025 16:36:52 +0000 (UTC)
Received: from bobolink.gentoo.org (localhost [127.0.0.1])
	by bobolink.gentoo.org (Postfix) with ESMTP id E381C1103C8;
	Tue, 25 Feb 2025 16:36:46 +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))
	(No client certificate requested)
	by bobolink.gentoo.org (Postfix) with ESMTPS id DD1181103C8
	for <gentoo-commits@lists.gentoo.org>; Tue, 25 Feb 2025 16:36:46 +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 94C29343239
	for <gentoo-commits@lists.gentoo.org>; Tue, 25 Feb 2025 16:36:46 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id BCA5F1289
	for <gentoo-commits@lists.gentoo.org>; Tue, 25 Feb 2025 16:36:44 +0000 (UTC)
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" <flow@gentoo.org>
Message-ID: <1740501358.e04e586ed5f7311a9fcae24bafc0c59b31a1ce98.flow@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
X-VCS-Repository: repo/gentoo
X-VCS-Files: eclass/latex-package.eclass
X-VCS-Directories: eclass/
X-VCS-Committer: flow
X-VCS-Committer-Name: Florian Schmaus
X-VCS-Revision: e04e586ed5f7311a9fcae24bafc0c59b31a1ce98
X-VCS-Branch: master
Date: Tue, 25 Feb 2025 16:36:44 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 9d52f6b7-8aec-47b6-8765-86ffac6a70ba
X-Archives-Hash: 94ab2b2741519d0968d9388eefb64aba

commit:     e04e586ed5f7311a9fcae24bafc0c59b31a1ce98
Author:     Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 20 08:41:09 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Feb 25 16:35:58 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04e586e

latex-package.eclass: use edo

Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 eclass/latex-package.eclass | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)

diff --git a/eclass/latex-package.eclass b/eclass/latex-package.eclass
index dfef7fc2836f..f23897d4315c 100644
--- a/eclass/latex-package.eclass
+++ b/eclass/latex-package.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: latex-package.eclass
@@ -60,6 +60,8 @@ esac
 if [[ -z ${_LATEX_PACKAGE_ECLASS} ]]; then
 _LATEX_PACKAGE_ECLASS=1
 
+inherit edo
+
 RDEPEND="virtual/latex-base"
 BDEPEND="${RDEPEND}
 	>=sys-apps/texinfo-4.2-r5"
@@ -145,11 +147,11 @@ latex-package_src_doinstall() {
 							"${i}"
 						)
 						# some macros need compiler called twice, do it here.
-						if "${mypdflatex[@]}"; then
-							"${mypdflatex[@]}"
+						if nonfatal edo "${mypdflatex[@]}"; then
+							edo "${mypdflatex[@]}"
 						else
 							einfo "pdflatex failed, trying texi2dvi"
-							texi2dvi -q -c --language=latex "${i}" || die
+							edo texi2dvi -q -c --language=latex "${i}"
 						fi
 					done < <(find -maxdepth 1 -type f -name "*.${1}" -print0)
 				fi