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 9FB30158091 for ; Sat, 21 Jun 2025 09:49:21 +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) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 7BEDD341FC9 for ; Sat, 21 Jun 2025 09:49:21 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3F5C911051B; Sat, 21 Jun 2025 09:49:01 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 2F42611051A for ; Sat, 21 Jun 2025 09:49:01 +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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D9D4D341FA1 for ; Sat, 21 Jun 2025 09:49:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BE1712A44 for ; Sat, 21 Jun 2025 09:48:58 +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: <1750497829.8c6fde0659bb899e5aa2aca4ef1c22800ff471c1.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex pkg-mgr-commands.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 8c6fde0659bb899e5aa2aca4ef1c22800ff471c1 X-VCS-Branch: eapi-9 Date: Sat, 21 Jun 2025 09:48:58 +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: bdfaf557-7445-49db-97a3-e82bdc0c64d1 X-Archives-Hash: 917610a626e310726466e164dd933344 commit: 8c6fde0659bb899e5aa2aca4ef1c22800ff471c1 Author: Ulrich Müller gentoo org> AuthorDate: Mon Jan 20 13:21:44 2025 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Jun 21 09:23:49 2025 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=8c6fde06 EAPI 9 has ver_replacing Bug: https://bugs.gentoo.org/947530 Signed-off-by: Ulrich Müller gentoo.org> eapi-differences.tex | 4 ++++ pkg-mgr-commands.tex | 20 ++++++++++++++++---- 2 files changed, 20 insertions(+), 4 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index 7cfffd4..d303322 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -180,6 +180,9 @@ Controllable stripping & \compactfeatureref{dostrip} & \t{ver_*} commands & \compactfeatureref{ver-commands} & No & Yes & Yes & Yes \\ +\t{ver_replacing} & \compactfeatureref{ver-replacing} & + No & No & No & Yes \\ + \t{unpack} support for \t{7z} & \compactfeatureref{unpack-extensions} & Yes & Yes & No & No \\ @@ -380,6 +383,7 @@ EAPI 9 is EAPI 8 with the following changes: \item \t{assert} banned, \featureref{banned-commands}. \item \t{domo} banned, \featureref{banned-commands}. \item \t{pipestatus}, \featureref{pipestatus}. +\item \t{ver_replacing}, \featureref{ver-replacing}. \end{compactitem} \ChangeWhenAddingAnEAPI{9} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index a2a1935..6944c6e 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -1101,20 +1101,32 @@ the second, inclusively. Both version strings must conform to the version specification in section~\ref{sec:version-spec}. Comparison is done using algorithm~\ref{alg:version-comparison}. + +\item[ver_replacing] \featurelabel{ver-replacing} Takes an operator and a version string as + arguments, which follow the same specification as in \t{ver_test}. Iterates over the elements + of \t{REPLACING_VERSIONS}, using \t{ver_test} to compare each element against the version + string. Returns shell true (0) if the specified relation holds for any element, shell false (1) + otherwise. Note that if \t{REPLACING_VERSIONS} is empty, shell false is returned. + + Only available in EAPIs listed in table~\ref{tab:version-commands} as supporting + \t{ver_replacing}. The command is only meaningful in phases where \t{REPLACING_VERSIONS} is + defined. \end{description} \ChangeWhenAddingAnEAPI{9} \begin{centertable}{EAPIs supporting version manipulation commands} \label{tab:version-commands} - \begin{tabular}{llll} + \begin{tabular}{lllll} \toprule \multicolumn{1}{c}{\textbf{EAPI}} & \multicolumn{1}{c}{\textbf{\t{ver_cut}?}} & \multicolumn{1}{c}{\textbf{\t{ver_rs}?}} & - \multicolumn{1}{c}{\textbf{\t{ver_test}?}} \\ + \multicolumn{1}{c}{\textbf{\t{ver_test}?}} & + \multicolumn{1}{c}{\textbf{\t{ver_replacing}?}} \\ \midrule - 0, 1, 2, 3, 4, 5, 6 & No & No & No \\ - 7, 8, 9 & Yes & Yes & Yes \\ + 0, 1, 2, 3, 4, 5, 6 & No & No & No & No \\ + 7, 8 & Yes & Yes & Yes & No \\ + 9 & Yes & Yes & Yes & Yes \\ \bottomrule \end{tabular} \end{centertable}