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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BE84B1382C5 for ; Sat, 22 May 2021 06:37:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60015E0877; Sat, 22 May 2021 06:36:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 47EE3E0877 for ; Sat, 22 May 2021 06:36:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4A695335D5E for ; Sat, 22 May 2021 06:36:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 93C7A79C for ; Sat, 22 May 2021 06:36:54 +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: <1621572394.c2d3f76893b5d4cd3541bc22f04d2f401074b491.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-8 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: c2d3f76893b5d4cd3541bc22f04d2f401074b491 X-VCS-Branch: eapi-8 Date: Sat, 22 May 2021 06:36:54 +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: f67fcb53-658a-4fb5-b961-fde7aed28cfb X-Archives-Hash: 882f45904fd51b5f5d9b0ff7560f70a3 commit: c2d3f76893b5d4cd3541bc22f04d2f401074b491 Author: Ulrich Müller gentoo org> AuthorDate: Sun May 16 12:05:17 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri May 21 04:46:34 2021 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=c2d3f768 EAPI 8: useq, hasv and hasq are banned Bug: https://bugs.gentoo.org/199722 Signed-off-by: Ulrich Müller gentoo.org> eapi-differences.tex | 11 +++++++++++ pkg-mgr-commands.tex | 16 ++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/eapi-differences.tex b/eapi-differences.tex index 5319bf0..913935d 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -233,6 +233,15 @@ Most utilities die & \compactfeatureref{die-on-failure} & \t{libopts} & \compactfeatureref{banned-commands} & Yes & Yes & Yes & Banned & Banned \\ +\t{useq} & \compactfeatureref{banned-commands} & + Yes & Yes & Yes & Yes & Banned \\ + +\t{hasv} & \compactfeatureref{banned-commands} & + Yes & Yes & Yes & Yes & Banned \\ + +\t{hasq} & \compactfeatureref{banned-commands} & + Yes & Yes & Yes & Yes & Banned \\ + Query command options & \compactfeatureref{pm-query-options} & None & \t{-{}-host-root} & \t{-{}-host-root} & \t{-b}, \t{-d}, \t{-r} & \t{-b}, \t{-d}, \t{-r} \\ @@ -499,6 +508,8 @@ EAPI 8 is EAPI 7 with the following changes: \item \t{IDEPEND}, \featureref{idepend}. \item Different \t{src_prepare} implementation, \featureref{src-prepare-8}. \item \t{PROPERTIES}, \t{RESTRICT} accumulated across eclasses, \featureref{accumulate-vars}. +\item \t{useq} banned, \featureref{banned-commands}. +\item \t{hasv} and \t{hasq} banned, \featureref{banned-commands}. \end{compactitem} \ChangeWhenAddingAnEAPI{8} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 71d1e89..c56e592 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -73,6 +73,16 @@ called, the package manager must abort the build process indicating an error. 4, 5 & Yes & Yes & No & No & No & No \\ 6 & Yes & Yes & Yes & No & No & No \\ 7, 8 & Yes & Yes & Yes & Yes & Yes & Yes \\ + \midrule + \multicolumn{1}{c}{\textbf{EAPI}} & + \multicolumn{6}{c}{\textbf{Command banned?}} \\ + \multicolumn{1}{c}{} & + \multicolumn{1}{c}{\textbf{\t{useq}}} & + \multicolumn{1}{c}{\textbf{\t{hasv}}} & + \multicolumn{1}{c}{\textbf{\t{hasq}}} & & & \\ + \midrule + 0, 1, 2, 3, 4, 5, 6, 7 & No & No & No & & & \\ + 8 & Yes & Yes & Yes & & & \\ \bottomrule \end{tabular} \end{centertable} @@ -842,6 +852,8 @@ table~\ref{tab:use-list-strictness}. \item[usev] The same as \t{use}, but also prints the flag name if the condition is met. \item[useq] Deprecated synonym for \t{use}. + In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as per + section~\ref{sec:banned-commands}. \item[use_with] \featurelabel{use-with} Has one-, two-, and three-argument forms. The first argument is a USE flag name, the second a \t{configure} option name (\t{\$\{opt\}}), defaulting to the same as the first argument if not provided, and the third is a string value @@ -916,7 +928,11 @@ These functions check whitespace-separated lists for a particular value. \item[has] Returns shell true (0) if the first argument (a word) is found in the list of subsequent arguments, false otherwise. Guaranteed quiet. \item[hasv] The same as \t{has}, but also prints the first argument if found. + In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as per + section~\ref{sec:banned-commands}. \item[hasq] Deprecated synonym for \t{has}. + In EAPIs listed in table~\ref{tab:banned-commands-table}, this command is banned as per + section~\ref{sec:banned-commands}. \end{description} \subsection{Version manipulation and comparison commands}