Gentoo Archives: gentoo-pms

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] [PATCH 17/22] EAPI 6: unpack supports txz.
Date: Thu, 15 Oct 2015 10:50:58
Message-Id: 1444906221-30505-18-git-send-email-ulm@gentoo.org
In Reply to: [gentoo-pms] EAPI 6 draft for review by "Ulrich Müller"
1 Bug: 458102
2 ---
3 eapi-differences.tex | 6 +++++-
4 pkg-mgr-commands.tex | 18 +++++++++++-------
5 2 files changed, 16 insertions(+), 8 deletions(-)
6
7 diff --git a/eapi-differences.tex b/eapi-differences.tex
8 index 27c1ee6..4959819 100644
9 --- a/eapi-differences.tex
10 +++ b/eapi-differences.tex
11 @@ -222,9 +222,12 @@ Controllable compression & \compactfeatureref{docompress} &
12 \t{unpack} absolute paths & \compactfeatureref{unpack-absolute} &
13 No & No & No & No & Yes \\
14
15 -\t{unpack} support for \t{xz}? & \compactfeatureref{unpack-extensions} &
16 +\t{unpack} support for \t{xz} & \compactfeatureref{unpack-extensions} &
17 No & Yes & Yes & Yes & Yes \\
18
19 +\t{unpack} support for \t{txz} & \compactfeatureref{unpack-extensions} &
20 + No & No & No & No & Yes \\
21 +
22 \t{default} function & \compactfeatureref{default-func} &
23 * & Yes & Yes & Yes & Yes \\
24
25 @@ -345,6 +348,7 @@ EAPI 6 is EAPI 5 with the following changes:
26 \item \t{econf} adds \t{-{}-docdir} and \t{-{}-htmldir}, \featureref{econf-options}.
27 \item \t{in\_iuse} support, \featureref{in-iuse}.
28 \item \t{unpack} supports absolute and relative paths, \featureref{unpack-absolute}.
29 +\item \t{unpack} supports \t{.txz}, \featureref{unpack-extensions}.
30 \end{compactitem}
31
32 \ChangeWhenAddingAnEAPI{6}
33 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
34 index c16745a..8e8d191 100644
35 --- a/pkg-mgr-commands.tex
36 +++ b/pkg-mgr-commands.tex
37 @@ -869,9 +869,10 @@ has returned.
38 \item lzma-compressed tar files (\t{*.tar.lzma}). Ebuilds must ensure that LZMA Utils and
39 GNU tar are installed.
40 \item xz-compressed files (\t{*.xz}). Ebuilds must ensure that XZ Utils is installed. Only for
41 - EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting xz.
42 - \item xz-compressed tar files (\t{*.tar.xz}). Ebuilds must ensure that XZ Utils and GNU tar are
43 - installed. Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting xz.
44 + EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting \t{.xz}.
45 + \item xz-compressed tar files (\t{*.tar.xz, *.txz}). Ebuilds must ensure that XZ Utils and
46 + GNU tar are installed. Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as
47 + supporting \t{.tar.xz} or \t{.txz}.
48 \end{itemize}
49 It is up to the ebuild to ensure that the relevant external utilities are available, whether by
50 being in the system set or via dependencies.
51 @@ -893,13 +894,16 @@ has returned.
52 \ChangeWhenAddingAnEAPI{6}
53 \begin{centertable}{\t{unpack} extensions for EAPIs}
54 \label{tab:unpack-extensions-table}
55 - \begin{tabular}{ l l }
56 + \begin{tabular}{ l l l l }
57 \toprule
58 \multicolumn{1}{c}{\textbf{EAPI}} &
59 - \multicolumn{1}{c}{\textbf{\t{.xz} and \t{.tar.xz}?}} \\
60 + \multicolumn{1}{c}{\textbf{\t{.xz}?}} &
61 + \multicolumn{1}{c}{\textbf{\t{.tar.xz}?}} &
62 + \multicolumn{1}{c}{\textbf{\t{.txz}?}} \\
63 \midrule
64 - 0, 1, 2 & No \\
65 - 3, 4, 5, 6 & Yes \\
66 + 0, 1, 2 & No & No & No \\
67 + 3, 4, 5 & Yes & Yes & No \\
68 + 6 & Yes & Yes & Yes \\
69 \bottomrule
70 \end{tabular}
71 \end{centertable}
72 --
73 2.6.1