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 11E1013888F for ; Thu, 15 Oct 2015 06:23:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B1825E0802; Thu, 15 Oct 2015 06:23:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 82295E0806 for ; Thu, 15 Oct 2015 06:23:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 91579340B28 for ; Thu, 15 Oct 2015 06:23:44 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 370EC10D3 for ; Thu, 15 Oct 2015 06:23:41 +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: <1444857697.ed67e2e565127695edbba8f16a7351e1a3bde199.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-6 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: ed67e2e565127695edbba8f16a7351e1a3bde199 X-VCS-Branch: eapi-6 Date: Thu, 15 Oct 2015 06:23:41 +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-Archives-Salt: ba038978-3652-4145-a980-620ee3be36a6 X-Archives-Hash: 8e4b606c1349d2347b3ca9246a697245 commit: ed67e2e565127695edbba8f16a7351e1a3bde199 Author: Ulrich Müller gentoo org> AuthorDate: Mon Mar 23 18:35:39 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Wed Oct 14 21:21:37 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=ed67e2e5 EAPI 6 has eapply. Bug: 463768 eapi-differences.tex | 4 ++++ pkg-mgr-commands.tex | 30 ++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/eapi-differences.tex b/eapi-differences.tex index 2a4f840..7502c1e 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -172,6 +172,9 @@ Option \t{-{}-host-root} & \compactfeatureref{host-root-option} & \t{die -n} & \compactfeatureref{nonfatal-die} & No & No & No & No & Yes \\ +\t{eapply} & \compactfeatureref{eapply} & + No & No & No & No & Yes \\ + \t{econf} arguments & \compactfeatureref{econf-options} & & & disable dependency tracking & disable dependency tracking, disable silent rules & @@ -324,6 +327,7 @@ EAPI 6 is EAPI 5 with the following changes: \item \t{failglob} is enabled in global scope, \featureref{failglob}. \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}. \end{compactitem} \ChangeWhenAddingAnEAPI{6} diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex index fce819b..7997323 100644 --- a/pkg-mgr-commands.tex +++ b/pkg-mgr-commands.tex @@ -143,6 +143,36 @@ completing. Ebuilds must not run any of these commands once the current phase fu \end{tabular} \end{centertable} +\subsubsection{Patch commands} +These commands are used during the \t{src\_prepare} phase to apply patches to the package's sources. +Ebuilds must not run any of these commands once the current phase function has returned. + +\begin{description} +\item[eapply] \featurelabel{eapply} + Only available in EAPIs listed in table~\ref{tab:patch-commands} as supporting \t{eapply}. +\end{description} + +\begin{algorithm} +\caption{eapply logic} \label{alg:eapply} +\begin{algorithmic}[1] +\STATE \COMMENT{WORK IN PROGRESS} +\end{algorithmic} +\end{algorithm} + +\ChangeWhenAddingAnEAPI{6} +\begin{centertable}{Patch commands for EAPIs} + \label{tab:patch-commands} + \begin{tabular}{ l l } + \toprule + \multicolumn{1}{c}{\textbf{EAPI}} & + \multicolumn{1}{c}{\textbf{\t{eapply}?}} \\ + \midrule + 0, 1, 2, 3, 4, 5 & No \\ + 6 & Yes \\ + \bottomrule + \end{tabular} +\end{centertable} + \subsubsection{Build commands} These commands are used during the \t{src\_configure}, \t{src\_compile}, and \t{src\_install} phases to run the package's build commands. Ebuilds must not run any of these commands once the