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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5D53015813A for ; Mon, 13 Jan 2025 17:25:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A2042E0801; Mon, 13 Jan 2025 17:25:09 +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 71933E081A for ; Mon, 13 Jan 2025 17:25:09 +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 852F33406A2 for ; Mon, 13 Jan 2025 17:25:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1654120DB for ; Mon, 13 Jan 2025 17:25:07 +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: <1736788903.d6ab2a1bb6972b81669c45ce1d6b6536c16cada4.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex profiles.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: d6ab2a1bb6972b81669c45ce1d6b6536c16cada4 X-VCS-Branch: eapi-9 Date: Mon, 13 Jan 2025 17:25:07 +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: 0313abef-bf08-4fa6-9c5d-742f666ec5fd X-Archives-Hash: 4958d1cef62f1e2ca07fce32b5e16056 commit: d6ab2a1bb6972b81669c45ce1d6b6536c16cada4 Author: Ulrich Müller gentoo org> AuthorDate: Mon Feb 21 18:32:43 2022 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Mon Jan 13 17:21:43 2025 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=d6ab2a1b EAPI 9 profile EAPI defaults to top-level Bug: https://bugs.gentoo.org/806181 Signed-off-by: Ulrich Müller gentoo.org> eapi-differences.tex | 4 ++++ profiles.tex | 23 +++++++++++++++++++++-- 2 files changed, 25 insertions(+), 2 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index 4b0a0ff..0564ab4 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -32,6 +32,9 @@ have identical entries for all listed EAPIs.} Less strict \t{updates} syntax & \compactfeatureref{updates-filenames} & No & No & Yes & Yes \\ +Default EAPI for profiles & \compactfeatureref{profile-eapi-default} & + 0 & 0 & 0 & Top-level \\ + Profile files as directories & \compactfeatureref{profile-file-dirs} & No & Yes & Yes & Yes \\ @@ -353,6 +356,7 @@ EAPI 9 is EAPI 8 with the following changes: \begin{compactitem} \item Bash version is 5.2, \featureref{bash-version}. +\item Different default EAPI for profiles, \featureref{profile-eapi-default}. \end{compactitem} \ChangeWhenAddingAnEAPI{9} diff --git a/profiles.tex b/profiles.tex index c836f08..9d00c14 100644 --- a/profiles.tex +++ b/profiles.tex @@ -33,8 +33,27 @@ are discarded. A profile directory may contain an \t{eapi} file. This file, if it exists, must contain a single line with the name of an EAPI\@. This specifies the EAPI to use when handling the directory in question; a package manager must not attempt to use any profile using a directory which requires an -EAPI it does not support. If no \t{eapi} file is present, EAPI 0 shall be used. The EAPI is neither -inherited via the \t{parent} file nor in subdirectories. +EAPI it does not support. + +\featurelabel{profile-eapi-default} If no \t{eapi} file is present, the default depends on the EAPI +of the top-level profiles directory (see section~\ref{sec:profiles-dir}). That EAPI shall be used +if table~\ref{tab:profile-eapi-default} lists it as ``top-level''. Otherwise, EAPI 0 shall be used. + +The EAPI is neither inherited via the \t{parent} file nor in subdirectories. + +\ChangeWhenAddingAnEAPI{9} +\begin{centertable}{Default EAPI for profiles} + \label{tab:profile-eapi-default} + \begin{tabular}{ll} + \toprule + \multicolumn{1}{c}{\textbf{EAPI}} & + \multicolumn{1}{c}{\textbf{Default EAPI?}} \\ + \midrule + 0, 1, 2, 3, 4, 5, 6, 7, 8 & 0 \\ + 9 & Top-level \\ + \bottomrule + \end{tabular} +\end{centertable} \subsection{deprecated} If a profile contains a file named \t{deprecated}, it is treated as such. The first line of this