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 77C1D158041 for ; Thu, 29 Feb 2024 13:39:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87BFAE2A71; Thu, 29 Feb 2024 13:38:50 +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 pigeon.gentoo.org (Postfix) with ESMTPS id 17EDCE2A6A for ; Thu, 29 Feb 2024 13:38:50 +0000 (UTC) From: Florian Schmaus To: gentoo-dev@lists.gentoo.org Cc: Paul Zander , tex@gentoo.org, Florian Schmaus Subject: [gentoo-dev] [PATCH 1/3] texlive-module.eclass: implicitly set TL_PV if not explicitly set Date: Thu, 29 Feb 2024 14:38:37 +0100 Message-ID: <20240229133839.292726-2-flow@gentoo.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240229133839.292726-1-flow@gentoo.org> References: <20240229133839.292726-1-flow@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Archives-Salt: 27f3671b-e075-42cb-8645-13efd465d7d8 X-Archives-Hash: 6acb24c9627206837ebd25f758287236 Signed-off-by: Florian Schmaus --- eclass/texlive-module.eclass | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/eclass/texlive-module.eclass b/eclass/texlive-module.eclass index afcd4532975a..d1bf0f86185b 100644 --- a/eclass/texlive-module.eclass +++ b/eclass/texlive-module.eclass @@ -85,6 +85,12 @@ HOMEPAGE="https://www.tug.org/texlive/" IUSE="doc source" +if [[ -z ${TL_PV} ]] \ + && [[ ${EAPI} -ge 8 ]] \ + && [[ ${CATEGORY} == dev-texlive ]]; then + TL_PV=$(ver_cut 1) +fi + RDEPEND=">=app-text/texlive-core-${TL_PV:-${PV}}" # We do not need anything from SYSROOT: # Everything is built from the texlive install in / -- 2.43.0