commit: 491a58ecf4ac725b9c823a520594f8cb30266774
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 16 15:13:33 2015 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Thu Feb 19 08:17:29 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/pms.git;a=commit;h=491a58ec
EAPI 6: unpack supports txz.
See bug 458102.
---
eapi-differences.tex | 6 +++++-
pkg-mgr-commands.tex | 18 +++++++++++-------
2 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/eapi-differences.tex b/eapi-differences.tex
index 66c2cbe..f909461 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -210,9 +210,12 @@ Controllable compression & \compactfeatureref{docompress} &
\t{unpack} absolute paths & \compactfeatureref{unpack-absolute} &
No & No & No & No & Yes \\
-\t{unpack} support for \t{xz}? & \compactfeatureref{unpack-extensions} &
+\t{unpack} support for \t{xz} & \compactfeatureref{unpack-extensions} &
No & Yes & Yes & Yes & Yes \\
+\t{unpack} support for \t{txz} & \compactfeatureref{unpack-extensions} &
+ No & No & No & No & Yes \\
+
\t{default} function & \compactfeatureref{default-func} &
* & Yes & Yes & Yes & Yes \\
@@ -329,6 +332,7 @@ EAPI 6 is EAPI 5 with the following changes:
\item \t{die} and \t{assert} called with \t{-n} respect \t{nonfatal},
\featureref{nonfatal-die}.
\item \t{econf} adds \t{-{}-docdir} and \t{-{}-htmldir},
\featureref{econf-options}.
\item \t{unpack} supports absolute and relative paths,
\featureref{unpack-absolute}.
+\item \t{unpack} supports \t{.txz}, \featureref{unpack-extensions}.
\end{compactitem}
\ChangeWhenAddingAnEAPI{6}
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 57d5bfb..531a027 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -787,9 +787,10 @@ has returned.
\item lzma-compressed tar files (\t{*.tar.lzma}). Ebuilds must ensure that
LZMA Utils and
GNU tar are installed.
\item xz-compressed files (\t{*.xz}). Ebuilds must ensure that XZ Utils is
installed. Only for
- EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting
xz.
- \item xz-compressed tar files (\t{*.tar.xz}). Ebuilds must ensure that XZ
Utils and GNU tar are
- installed. Only for EAPIs listed in
table~\ref{tab:unpack-extensions-table} as supporting xz.
+ EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting
\t{.xz}.
+ \item xz-compressed tar files (\t{*.tar.xz, *.txz}). Ebuilds must ensure
that XZ Utils and
+ GNU tar are installed. Only for EAPIs listed in
table~\ref{tab:unpack-extensions-table} as
+ supporting \t{.tar.xz} or \t{.txz}.
\end{itemize}
It is up to the ebuild to ensure that the relevant external utilities are
available, whether by
being in the system set or via dependencies.
@@ -811,13 +812,16 @@ has returned.
\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{\t{unpack} extensions for EAPIs}
\label{tab:unpack-extensions-table}
- \begin{tabular}{ l l }
+ \begin{tabular}{ l l l l }
\toprule
\multicolumn{1}{c}{\textbf{EAPI}} &
- \multicolumn{1}{c}{\textbf{\t{.xz} and \t{.tar.xz}?}} \\
+ \multicolumn{1}{c}{\textbf{\t{.xz}?}} &
+ \multicolumn{1}{c}{\textbf{\t{.tar.xz}?}} &
+ \multicolumn{1}{c}{\textbf{\t{.txz}?}} \\
\midrule
- 0, 1, 2 & No \\
- 3, 4, 5, 6 & Yes \\
+ 0, 1, 2 & No & No & No \\
+ 3, 4, 5 & Yes & Yes & No \\
+ 6 & Yes & Yes & Yes \\
\bottomrule
\end{tabular}
\end{centertable}