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 3267B1384B4 for ; Sun, 8 Nov 2015 19:37:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC069E085A; Sun, 8 Nov 2015 19:36:57 +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 6CC87E0858 for ; Sun, 8 Nov 2015 19:36:56 +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 AA3F6340666 for ; Sun, 8 Nov 2015 19:36:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 86B9A22C9 for ; Sun, 8 Nov 2015 19:36:52 +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: <1447010959.440b0ee22c50bfd1c7f0b1038213a282c8bbbfa8.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: 440b0ee22c50bfd1c7f0b1038213a282c8bbbfa8 X-VCS-Branch: eapi-6 Date: Sun, 8 Nov 2015 19:36:52 +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: c085ccfe-e789-4735-84af-215d548edbc0 X-Archives-Hash: 7dc07ac6fde8d3d623d4eb21d6442b04 commit: 440b0ee22c50bfd1c7f0b1038213a282c8bbbfa8 Author: Ulrich Müller gentoo org> AuthorDate: Mon Mar 23 18:35:39 2015 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sun Nov 8 19:29:19 2015 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=440b0ee2 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 17b6aa9..2fb41d2 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -168,6 +168,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 & @@ -319,6 +322,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 49402e7..28a96b0 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}{ll} + \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