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:57:14
Message-Id: 1424333849.491a58ecf4ac725b9c823a520594f8cb30266774.git@gentoo
1 commit: 491a58ecf4ac725b9c823a520594f8cb30266774
2 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Feb 16 15:13:33 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=491a58ec
7
8 EAPI 6: unpack supports txz.
9
10 See bug 458102.
11
12 ---
13 eapi-differences.tex | 6 +++++-
14 pkg-mgr-commands.tex | 18 +++++++++++-------
15 2 files changed, 16 insertions(+), 8 deletions(-)
16
17 diff --git a/eapi-differences.tex b/eapi-differences.tex
18 index 66c2cbe..f909461 100644
19 --- a/eapi-differences.tex
20 +++ b/eapi-differences.tex
21 @@ -210,9 +210,12 @@ Controllable compression & \compactfeatureref{docompress} &
22 \t{unpack} absolute paths & \compactfeatureref{unpack-absolute} &
23 No & No & No & No & Yes \\
24
25 -\t{unpack} support for \t{xz}? & \compactfeatureref{unpack-extensions} &
26 +\t{unpack} support for \t{xz} & \compactfeatureref{unpack-extensions} &
27 No & Yes & Yes & Yes & Yes \\
28
29 +\t{unpack} support for \t{txz} & \compactfeatureref{unpack-extensions} &
30 + No & No & No & No & Yes \\
31 +
32 \t{default} function & \compactfeatureref{default-func} &
33 * & Yes & Yes & Yes & Yes \\
34
35 @@ -329,6 +332,7 @@ EAPI 6 is EAPI 5 with the following changes:
36 \item \t{die} and \t{assert} called with \t{-n} respect \t{nonfatal}, \featureref{nonfatal-die}.
37 \item \t{econf} adds \t{-{}-docdir} and \t{-{}-htmldir}, \featureref{econf-options}.
38 \item \t{unpack} supports absolute and relative paths, \featureref{unpack-absolute}.
39 +\item \t{unpack} supports \t{.txz}, \featureref{unpack-extensions}.
40 \end{compactitem}
41
42 \ChangeWhenAddingAnEAPI{6}
43
44 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
45 index 57d5bfb..531a027 100644
46 --- a/pkg-mgr-commands.tex
47 +++ b/pkg-mgr-commands.tex
48 @@ -787,9 +787,10 @@ has returned.
49 \item lzma-compressed tar files (\t{*.tar.lzma}). Ebuilds must ensure that LZMA Utils and
50 GNU tar are installed.
51 \item xz-compressed files (\t{*.xz}). Ebuilds must ensure that XZ Utils is installed. Only for
52 - EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting xz.
53 - \item xz-compressed tar files (\t{*.tar.xz}). Ebuilds must ensure that XZ Utils and GNU tar are
54 - installed. Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting xz.
55 + EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting \t{.xz}.
56 + \item xz-compressed tar files (\t{*.tar.xz, *.txz}). Ebuilds must ensure that XZ Utils and
57 + GNU tar are installed. Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as
58 + supporting \t{.tar.xz} or \t{.txz}.
59 \end{itemize}
60 It is up to the ebuild to ensure that the relevant external utilities are available, whether by
61 being in the system set or via dependencies.
62 @@ -811,13 +812,16 @@ has returned.
63 \ChangeWhenAddingAnEAPI{6}
64 \begin{centertable}{\t{unpack} extensions for EAPIs}
65 \label{tab:unpack-extensions-table}
66 - \begin{tabular}{ l l }
67 + \begin{tabular}{ l l l l }
68 \toprule
69 \multicolumn{1}{c}{\textbf{EAPI}} &
70 - \multicolumn{1}{c}{\textbf{\t{.xz} and \t{.tar.xz}?}} \\
71 + \multicolumn{1}{c}{\textbf{\t{.xz}?}} &
72 + \multicolumn{1}{c}{\textbf{\t{.tar.xz}?}} &
73 + \multicolumn{1}{c}{\textbf{\t{.txz}?}} \\
74 \midrule
75 - 0, 1, 2 & No \\
76 - 3, 4, 5, 6 & Yes \\
77 + 0, 1, 2 & No & No & No \\
78 + 3, 4, 5 & Yes & Yes & No \\
79 + 6 & Yes & Yes & Yes \\
80 \bottomrule
81 \end{tabular}
82 \end{centertable}