Gentoo Archives: gentoo-commits

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/pms:eapi-6 commit in: /
Date: Sun, 30 Aug 2015 19:04:00
Message-Id: 1440961053.3135302539496e2e26d34286728ab0a5c16b68a9.ulm@gentoo
1 commit: 3135302539496e2e26d34286728ab0a5c16b68a9
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 16 15:13:33 2015 +0000
4 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 30 18:57:33 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=31353025
7
8 EAPI 6: unpack supports txz.
9
10 See bug 458102.
11
12 eapi-differences.tex | 6 +++++-
13 pkg-mgr-commands.tex | 18 +++++++++++-------
14 2 files changed, 16 insertions(+), 8 deletions(-)
15
16 diff --git a/eapi-differences.tex b/eapi-differences.tex
17 index 27c1ee6..4959819 100644
18 --- a/eapi-differences.tex
19 +++ b/eapi-differences.tex
20 @@ -222,9 +222,12 @@ Controllable compression & \compactfeatureref{docompress} &
21 \t{unpack} absolute paths & \compactfeatureref{unpack-absolute} &
22 No & No & No & No & Yes \\
23
24 -\t{unpack} support for \t{xz}? & \compactfeatureref{unpack-extensions} &
25 +\t{unpack} support for \t{xz} & \compactfeatureref{unpack-extensions} &
26 No & Yes & Yes & Yes & Yes \\
27
28 +\t{unpack} support for \t{txz} & \compactfeatureref{unpack-extensions} &
29 + No & No & No & No & Yes \\
30 +
31 \t{default} function & \compactfeatureref{default-func} &
32 * & Yes & Yes & Yes & Yes \\
33
34 @@ -345,6 +348,7 @@ EAPI 6 is EAPI 5 with the following changes:
35 \item \t{econf} adds \t{-{}-docdir} and \t{-{}-htmldir}, \featureref{econf-options}.
36 \item \t{in\_iuse} support, \featureref{in-iuse}.
37 \item \t{unpack} supports absolute and relative paths, \featureref{unpack-absolute}.
38 +\item \t{unpack} supports \t{.txz}, \featureref{unpack-extensions}.
39 \end{compactitem}
40
41 \ChangeWhenAddingAnEAPI{6}
42
43 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
44 index bb58c0f..01fd981 100644
45 --- a/pkg-mgr-commands.tex
46 +++ b/pkg-mgr-commands.tex
47 @@ -842,9 +842,10 @@ has returned.
48 \item lzma-compressed tar files (\t{*.tar.lzma}). Ebuilds must ensure that LZMA Utils and
49 GNU tar are installed.
50 \item xz-compressed files (\t{*.xz}). Ebuilds must ensure that XZ Utils is installed. Only for
51 - EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting xz.
52 - \item xz-compressed tar files (\t{*.tar.xz}). Ebuilds must ensure that XZ Utils and GNU tar are
53 - installed. Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting xz.
54 + EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting \t{.xz}.
55 + \item xz-compressed tar files (\t{*.tar.xz, *.txz}). Ebuilds must ensure that XZ Utils and
56 + GNU tar are installed. Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as
57 + supporting \t{.tar.xz} or \t{.txz}.
58 \end{itemize}
59 It is up to the ebuild to ensure that the relevant external utilities are available, whether by
60 being in the system set or via dependencies.
61 @@ -866,13 +867,16 @@ has returned.
62 \ChangeWhenAddingAnEAPI{6}
63 \begin{centertable}{\t{unpack} extensions for EAPIs}
64 \label{tab:unpack-extensions-table}
65 - \begin{tabular}{ l l }
66 + \begin{tabular}{ l l l l }
67 \toprule
68 \multicolumn{1}{c}{\textbf{EAPI}} &
69 - \multicolumn{1}{c}{\textbf{\t{.xz} and \t{.tar.xz}?}} \\
70 + \multicolumn{1}{c}{\textbf{\t{.xz}?}} &
71 + \multicolumn{1}{c}{\textbf{\t{.tar.xz}?}} &
72 + \multicolumn{1}{c}{\textbf{\t{.txz}?}} \\
73 \midrule
74 - 0, 1, 2 & No \\
75 - 3, 4, 5, 6 & Yes \\
76 + 0, 1, 2 & No & No & No \\
77 + 3, 4, 5 & Yes & Yes & No \\
78 + 6 & Yes & Yes & Yes \\
79 \bottomrule
80 \end{tabular}
81 \end{centertable}