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 CBECD13888F for ; Fri, 23 Oct 2015 17:30:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5214CE085A; Fri, 23 Oct 2015 17:30:54 +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 3CD37E085A for ; Fri, 23 Oct 2015 17:30:53 +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 72D2D340B1C for ; Fri, 23 Oct 2015 17:30:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 02690169F for ; Fri, 23 Oct 2015 17:30:49 +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: <1445621138.3db77f714583d4cf393869f4683cb8504a9f5e3c.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: 3db77f714583d4cf393869f4683cb8504a9f5e3c X-VCS-Branch: eapi-6 Date: Fri, 23 Oct 2015 17:30:49 +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: 2d47a461-51dc-4720-8236-0621f339b199 X-Archives-Hash: 8b08b216356c740a9e4d77b54e204e8c commit: 3db77f714583d4cf393869f4683cb8504a9f5e3c Author: Ulrich Müller gentoo org> AuthorDate: Mon Mar 23 18:35:39 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Fri Oct 23 17:25:38 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=3db77f71 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 7ee3191..b910b76 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 4ce6e57..4d80684 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{\t{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