Gentoo Archives: gentoo-commits

From: "git@oystercatcher mirror+tproxy" <git@××××××××××××××××××××.org>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-6 commit in: /
Date: Tue, 03 Mar 2015 06:27:15
Message-Id: 1424333849.92ebc3e49bf513fd1f997deaaf41285f845f0d75.git@gentoo
1 commit: 92ebc3e49bf513fd1f997deaaf41285f845f0d75
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 16 11:22:22 2015 +0000
4 Commit: git@oystercatcher mirror+tproxy <git <AT> oystercatcher <DOT> gentoo <DOT> org>
5 CommitDate: Thu Feb 19 08:17:29 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=92ebc3e4
7
8 EAPI 6: Bash version is 4.2.
9
10 See bug 431340.
11
12 ---
13 eapi-differences.tex | 4 ++++
14 ebuild-env-commands.tex | 15 ++++++++-------
15 ebuild-format.tex | 11 ++++++-----
16 3 files changed, 18 insertions(+), 12 deletions(-)
17
18 diff --git a/eapi-differences.tex b/eapi-differences.tex
19 index b3a757a..7854739 100644
20 --- a/eapi-differences.tex
21 +++ b/eapi-differences.tex
22 @@ -142,6 +142,9 @@ Profile \t{IUSE} injection & \compactfeatureref{profile-iuse-inject} &
23 \t{EPREFIX}, \t{ED}, \t{EROOT} & \compactfeatureref{offset-prefix-vars} &
24 No & Yes & Yes & Yes & Yes \\
25
26 +Bash version & \compactfeatureref{bash-version} &
27 + 3.2 & 3.2 & 3.2 & 3.2 & 4.2 \\
28 +
29 \t{find} is GNU? & \compactfeatureref{gnu-find} &
30 Undefined & Undefined & Undefined & Yes & Yes \\
31
32 @@ -308,6 +311,7 @@ EAPI 6 is EAPI 5 with the following changes:
33
34 \begin{compactitem}
35 \item Profile \t{package*} and \t{use*} can be directories, \featureref{profile-file-dirs}.
36 +\item Bash version is 4.2, \featureref{bash-version}.
37 \end{compactitem}
38
39 \ChangeWhenAddingAnEAPI{6}
40
41 diff --git a/ebuild-env-commands.tex b/ebuild-env-commands.tex
42 index 7a338a5..9e41abe 100644
43 --- a/ebuild-env-commands.tex
44 +++ b/ebuild-env-commands.tex
45 @@ -23,9 +23,8 @@ dependencies must be used to ensure their presence.
46
47 The following commands must always be available in the ebuild environment:
48 \begin{compactitem}
49 -\item All builtin commands in GNU bash, version 3.2\footnote{The required bash version was
50 - retroactively updated from 3.0 to 3.2 in November 2009
51 - (see \url{http://www.gentoo.org/proj/en/council/meeting-logs/20091109.txt}).\label{fn:bash3.2}}.
52 +\item \featurelabel{bash-version} All builtin commands in GNU bash, version as listed in
53 + table~\ref{tab:system-commands-table}.
54 \item \t{sed} must be available, and must support all forms of invocations valid for GNU sed
55 version 4 or later.
56 \item \t{patch} must be available, and must support all inputs valid for GNU patch.
57 @@ -35,15 +34,17 @@ The following commands must always be available in the ebuild environment:
58 \end{compactitem}
59
60 \ChangeWhenAddingAnEAPI{6}
61 -\begin{centertable}{\t{find} implementation for EAPIs}
62 +\begin{centertable}{System commands for EAPIs}
63 \label{tab:system-commands-table}
64 - \begin{tabular}{ l l }
65 + \begin{tabular}{ l l l }
66 \toprule
67 \multicolumn{1}{c}{\textbf{EAPI}} &
68 + \multicolumn{1}{c}{\textbf{Bash version}} &
69 \multicolumn{1}{c}{\textbf{GNU \t{find}?}} \\
70 \midrule
71 - 0, 1, 2, 3, 4 & Undefined \\
72 - 5, 6 & Yes \\
73 + 0, 1, 2, 3, 4 & 3.2 & Undefined \\
74 + 5 & 3.2 & Yes \\
75 + 6 & 4.2 & Yes \\
76 \bottomrule
77 \end{tabular}
78 \end{centertable}
79
80 diff --git a/ebuild-format.tex b/ebuild-format.tex
81 index befe679..3c57e5f 100644
82 --- a/ebuild-format.tex
83 +++ b/ebuild-format.tex
84 @@ -2,11 +2,12 @@
85 \label{sec:ebuild-format}
86
87 The ebuild file format is in its basic form a subset of the format of a bash script. The interpreter
88 -is assumed to be GNU bash, version 3.2 or later, see footnote \ref{fn:bash3.2} on page
89 -\pageref{fn:bash3.2}. The file encoding must be UTF-8 with Unix-style newlines. When sourced, the
90 -ebuild must define certain variables and functions (see sections~\ref{sec:ebuild-vars} and
91 -\ref{sec:ebuild-functions} for specific information), and must not call any external programs, write
92 -anything to standard output or standard error, or modify the state of the system in any way.
93 +is assumed to be GNU bash, version as listed in table~\ref{tab:system-commands-table} on
94 +page~\pageref{tab:system-commands-table}, or any later version. The file encoding must be UTF-8
95 +with Unix-style newlines. When sourced, the ebuild must define certain variables and functions
96 +(see sections~\ref{sec:ebuild-vars} and \ref{sec:ebuild-functions} for specific information), and
97 +must not call any external programs, write anything to standard output or standard error, or modify
98 +the state of the system in any way.
99
100 % vim: set filetype=tex fileencoding=utf8 et tw=100 spell spelllang=en :