From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SUzQt-0007Ow-Q4 for garchives@archives.gentoo.org; Thu, 17 May 2012 12:03:52 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AB94AE0965; Thu, 17 May 2012 12:02:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 677BAE097C for ; Thu, 17 May 2012 12:02:29 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5DE871B405D for ; Thu, 17 May 2012 12:02:28 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 79B5AE543D for ; Thu, 17 May 2012 12:02:25 +0000 (UTC) From: "Ulrich Mueller" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Mueller" Message-ID: <1337250689.76ddca560da42fd968c53a2a0c38a6ac840a7ad4.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-5 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: eapi-differences.tex ebuild-env-vars.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Mueller X-VCS-Revision: 76ddca560da42fd968c53a2a0c38a6ac840a7ad4 X-VCS-Branch: eapi-5 Date: Thu, 17 May 2012 12:02:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: d91df376-164b-493c-9458-0f0f8b432ac6 X-Archives-Hash: a27d49e784d43d6a5ce1dac6fcff4fe1 commit: 76ddca560da42fd968c53a2a0c38a6ac840a7ad4 Author: Ciaran McCreesh googlemail com> AuthorDate: Sun May 6 17:34:51 2012 +0000 Commit: Ulrich Mueller gentoo org> CommitDate: Thu May 17 10:31:29 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/pms.git;a=3Dc= ommit;h=3D76ddca56 EAPI 5 has EBUILD_PHASE_FUNC See bug 390765 --- eapi-differences.tex | 4 ++++ ebuild-env-vars.tex | 27 +++++++++++++++++++-------- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/eapi-differences.tex b/eapi-differences.tex index bcef3a5..a2233e1 100644 --- a/eapi-differences.tex +++ b/eapi-differences.tex @@ -127,6 +127,9 @@ Use dependencies & \compactfeatureref{use-deps} & \t{REPLACED\_BY\_VERSION} & \compactfeatureref{replace-version-vars} & No & No & No & No & Yes & Yes \\ =20 +\t{EBUILD\_PHASE\_FUNC} & \compactfeatureref{ebuild-phase-func} & + No & No & No & No & No & Yes \\ + \t{EPREFIX}, \t{ED}, \t{EROOT} & \compactfeatureref{offset-prefix-vars} = & No & No & No & Yes & Yes & Yes \\ =20 @@ -264,6 +267,7 @@ EAPI 5 is EAPI 4 with the following changes: \item \t{REQUIRED\_USE} now supports \t{??} groups, \featureref{at-most-= one-of}. \item \t{apply\_user\_patches} function, with \t{src\_prepare} changes, \featureref{apply-user-patches}. +\item \t{EBUILD\_PHASE\_FUNC}, \featureref{ebuild-phase-func}. \end{compactitem} =20 \ChangeWhenAddingAnEAPI{5} diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index fdffa42..cd0a6d9 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -173,6 +173,16 @@ variable. \t{postrm}, \t{info}, \t{pretend} according to the top level ebuild = function that was executed by the package manager. May be unset or any single word that is not = any of the above when the ebuild is being sourced for other (e.\,g.\ metadata or QA) purposes.= \\ +\t{EBUILD\_PHASE\_FUNC} & + All & + No & + \featurelabel{ebuild-phase-func} Takes one of the values \t{pkg\_con= fig}, \t{pkg\_setup}, + \t{pkg\_nofetch}, \t{src\_unpack}, \t{src\_prepare}, \t{src\_configu= re}, \t{src\_compile}, + \t{src\_test}, \t{src\_install}, \t{pkg\_preinst}, \t{pkg\_postinst}= , \t{pkg\_prerm}, + \t{pkg\_postrm}, \t{pkg\_info}, \t{pkg\_pretend} according to the to= p level ebuild function that + was executed by the package manager. May be unset or any single word= that is not any of the + above when the ebuild is being sourced for other (e.\,g.\ metadata o= r QA) purposes. Only for + EAPIs listed in table~\ref{tab:env-vars-table} as supporting \t{EBUI= LD\_PHASE\_FUNC}. \\ \t{WORKDIR} & \t{src\_*}, global~scope & Yes & @@ -217,7 +227,7 @@ variable. =20 \ChangeWhenAddingAnEAPI{5} \begin{centertable}{EAPIs supporting various env variables} \label{tab:e= nv-vars-table} - \begin{tabular}{ l l l l l l l } + \begin{tabular}{ l l l l l l l l } \toprule \multicolumn{1}{c}{\textbf{EAPI}} & \multicolumn{1}{c}{\textbf{\t{AA}?}} & @@ -225,14 +235,15 @@ variable. \multicolumn{1}{c}{\textbf{\t{MERGE\_TYPE}?}} & \multicolumn{1}{c}{\textbf{\t{REPLACING\_VERSIONS}?}} & \multicolumn{1}{c}{\textbf{\t{REPLACED\_BY\_VERSION}?}} & - \multicolumn{1}{c}{\textbf{\t{IMAGE}?}} \\ + \multicolumn{1}{c}{\textbf{\t{IMAGE}?}} & + \multicolumn{1}{c}{\textbf{\t{EBUILD\_PHASE\_FUNC}?}} \\ \midrule - \t{0} & Yes & Yes & No & No & No & Yes \\ - \t{1} & Yes & Yes & No & No & No & Yes \\ - \t{2} & Yes & Yes & No & No & No & Yes \\ - \t{3} & Yes & Yes & No & No & No & Yes \\ - \t{4} & No & No & Yes & Yes & Yes & Yes \\ - \t{5} & No & No & Yes & Yes & Yes & No \\ + \t{0} & Yes & Yes & No & No & No & Yes & No \\ + \t{1} & Yes & Yes & No & No & No & Yes & No \\ + \t{2} & Yes & Yes & No & No & No & Yes & No \\ + \t{3} & Yes & Yes & No & No & No & Yes & No \\ + \t{4} & No & No & Yes & Yes & Yes & Yes & No \\ + \t{5} & No & No & Yes & Yes & Yes & No & Yes \\ \bottomrule \end{tabular} \end{centertable}