Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] [PATCH 18/22] EAPI 6: unpack matches filename extensions case-insensitively.
Date: Thu, 15 Oct 2015 10:51:01
Message-Id: 1444906221-30505-19-git-send-email-ulm@gentoo.org
In Reply to: [gentoo-pms] EAPI 6 draft for review by "Ulrich Müller"
1 Bug: 476730
2 ---
3 eapi-differences.tex | 4 ++++
4 pkg-mgr-commands.tex | 12 ++++++++----
5 2 files changed, 12 insertions(+), 4 deletions(-)
6
7 diff --git a/eapi-differences.tex b/eapi-differences.tex
8 index 4959819..88b8c6f 100644
9 --- a/eapi-differences.tex
10 +++ b/eapi-differences.tex
11 @@ -228,6 +228,9 @@ Controllable compression & \compactfeatureref{docompress} &
12 \t{unpack} support for \t{txz} & \compactfeatureref{unpack-extensions} &
13 No & No & No & No & Yes \\
14
15 +\t{unpack} case-insensitive & \compactfeatureref{unpack-ignore-case} &
16 + No & No & No & No & Yes \\
17 +
18 \t{default} function & \compactfeatureref{default-func} &
19 * & Yes & Yes & Yes & Yes \\
20
21 @@ -349,6 +352,7 @@ EAPI 6 is EAPI 5 with the following changes:
22 \item \t{in\_iuse} support, \featureref{in-iuse}.
23 \item \t{unpack} supports absolute and relative paths, \featureref{unpack-absolute}.
24 \item \t{unpack} supports \t{.txz}, \featureref{unpack-extensions}.
25 +\item \t{unpack} matches filename extensions case-insensitively, \featureref{unpack-ignore-case}.
26 \end{compactitem}
27
28 \ChangeWhenAddingAnEAPI{6}
29 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
30 index 8e8d191..5611fa8 100644
31 --- a/pkg-mgr-commands.tex
32 +++ b/pkg-mgr-commands.tex
33 @@ -877,16 +877,20 @@ has returned.
34 It is up to the ebuild to ensure that the relevant external utilities are available, whether by
35 being in the system set or via dependencies.
36
37 + \featurelabel{unpack-ignore-case} \t{unpack} matches filename extensions in a case-insensitive
38 + manner, for EAPIs listed such in table~\ref{tab:unpack-behaviour}.
39 +
40 \ChangeWhenAddingAnEAPI{6}
41 \begin{centertable}{\t{unpack} behaviour for EAPIs}
42 \label{tab:unpack-behaviour}
43 - \begin{tabular}{ l l }
44 + \begin{tabular}{ l l l }
45 \toprule
46 \multicolumn{1}{c}{\textbf{EAPI}} &
47 - \multicolumn{1}{c}{\textbf{Supports absolute and relative paths?}} \\
48 + \multicolumn{1}{c}{\textbf{Supports absolute and relative paths?}} &
49 + \multicolumn{1}{c}{\textbf{Case-insensitive matching?}} \\
50 \midrule
51 - 0, 1, 2, 3, 4, 5 & No \\
52 - 6 & Yes \\
53 + 0, 1, 2, 3, 4, 5 & No & No \\
54 + 6 & Yes & Yes \\
55 \bottomrule
56 \end{tabular}
57 \end{centertable}
58 --
59 2.6.1