From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 653D713888F for ; Thu, 15 Oct 2015 10:50:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A300A21C047; Thu, 15 Oct 2015 10:50:27 +0000 (UTC) Received: from a1www.kph.uni-mainz.de (a1www.kph.uni-mainz.de [134.93.134.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 69DDD21C02E for ; Thu, 15 Oct 2015 10:50:26 +0000 (UTC) Received: from a1i15.kph.uni-mainz.de (a1i15.kph.uni-mainz.de [134.93.134.92]) by a1www.kph.uni-mainz.de (8.14.9/8.14.7) with ESMTP id t9FAoOmj024190 for ; Thu, 15 Oct 2015 12:50:24 +0200 Received: from a1i15.kph.uni-mainz.de (localhost [127.0.0.1]) by a1i15.kph.uni-mainz.de (8.14.8/8.14.2) with ESMTP id t9FAoOXP030612 for ; Thu, 15 Oct 2015 12:50:24 +0200 Received: (from ulm@localhost) by a1i15.kph.uni-mainz.de (8.14.8/8.14.8/Submit) id t9FAoOv8030611 for gentoo-pms@lists.gentoo.org; Thu, 15 Oct 2015 12:50:24 +0200 X-Authentication-Warning: a1i15.kph.uni-mainz.de: ulm set sender to ulm@gentoo.org using -f From: =?UTF-8?q?Ulrich=20M=C3=BCller?= To: gentoo-pms@lists.gentoo.org Subject: [gentoo-pms] [PATCH 12/22] EAPI 6 has eapply_user. Date: Thu, 15 Oct 2015 12:50:11 +0200 Message-Id: <1444906221-30505-13-git-send-email-ulm@gentoo.org> X-Mailer: git-send-email 1.9.3 In-Reply-To: <1444906221-30505-1-git-send-email-ulm@gentoo.org> References: <1444906221-30505-1-git-send-email-ulm@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org Reply-To: gentoo-pms@lists.gentoo.org X-Archives-Salt: c2a5fb60-c97b-4f64-9e0d-e8fd16b177a3 X-Archives-Hash: fba6cb3698c259a252153f2e4cf3791c Bug: 475288 --- eapi-differences.tex | 4 ++++ pkg-mgr-commands.tex | 15 +++++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index 7502c1e..be8563c 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -175,6 +175,9 @@ Option \t{-{}-host-root} & \compactfeatureref{host-root-option} & \t{eapply} & \compactfeatureref{eapply} & No & No & No & No & Yes \\ +\t{eapply\_user} & \compactfeatureref{eapply-user} & + No & No & No & No & Yes \\ + \t{econf} arguments & \compactfeatureref{econf-options} & & & disable dependency tracking & disable dependency tracking, disable silent rules & @@ -328,6 +331,7 @@ EAPI 6 is EAPI 5 with the following changes: \item \t{einstall} banned, \featureref{banned-commands}. \item \t{die} and \t{assert} called with \t{-n} respect \t{nonfatal}, \featureref{nonfatal-die}. \item \t{eapply} support, \featureref{eapply}. +\item \t{eapply\_user} support, \featureref{eapply-user}. \end{compactitem} \ChangeWhenAddingAnEAPI{6} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index 8fb8059..680340a 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -153,6 +153,12 @@ Ebuilds must not run any of these commands once the current phase function has r according to Algorithm~\ref{alg:eapply}. If applying the patches fails, it aborts the build using \t{die}, unless run using \t{nonfatal}, in which case it returns non-zero exit status. Only available in EAPIs listed in table~\ref{tab:patch-commands} as supporting \t{eapply}. + +\item[eapply\_user] \featurelabel{eapply-user} Takes no arguments. Package managers supporting it + apply user-provided patches to the source tree in the current working directory. Exact behaviour + is implementation defined and beyond the scope of this specification. Package managers not + supporting it must implement the function as a no-op. Only available in EAPIs listed in + table~\ref{tab:patch-commands} as supporting \t{eapply\_user}. \end{description} \begin{algorithm} @@ -189,13 +195,14 @@ Ebuilds must not run any of these commands once the current phase function has r \ChangeWhenAddingAnEAPI{6} \begin{centertable}{Patch commands for EAPIs} \label{tab:patch-commands} - \begin{tabular}{ l l } + \begin{tabular}{ l l l } \toprule \multicolumn{1}{c}{\textbf{EAPI}} & - \multicolumn{1}{c}{\textbf{\t{eapply}?}} \\ + \multicolumn{1}{c}{\textbf{\t{eapply}?}} & + \multicolumn{1}{c}{\textbf{\t{eapply\_user}?}} \\ \midrule - 0, 1, 2, 3, 4, 5 & No \\ - 6 & Yes \\ + 0, 1, 2, 3, 4, 5 & No & No \\ + 6 & Yes & Yes \\ \bottomrule \end{tabular} \end{centertable} -- 2.6.1