summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2015-02-16 16:13:33 +0100
committerUlrich Müller <ulm@gentoo.org>2015-11-08 20:29:20 +0100
commita16308ff92bdc7bb6cf2e672873b5ab0d7190e4c (patch)
tree7e6a7ea5cb702f3a65bf3ab7d22495cbcb591950
parentEAPI 6: unpack supports absolute and relative paths. (diff)
downloadpms-a16308ff.tar.gz
pms-a16308ff.tar.bz2
pms-a16308ff.zip
EAPI 6: unpack supports txz.
Bug: 458102
-rw-r--r--eapi-differences.tex6
-rw-r--r--pkg-mgr-commands.tex18
2 files changed, 16 insertions, 8 deletions
diff --git a/eapi-differences.tex b/eapi-differences.tex
index 4106754..14947a1 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -218,9 +218,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 \\
@@ -340,6 +343,7 @@ EAPI 6 is EAPI 5 with the following changes:
\item \t{econf} adds \t{-{}-docdir} and \t{-{}-htmldir}, \featureref{econf-options}.
\item \t{in\_iuse} support, \featureref{in-iuse}.
\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 c7ffcb3..d6701a7 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -880,9 +880,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.
@@ -904,13 +905,16 @@ has returned.
\ChangeWhenAddingAnEAPI{6}
\begin{centertable}{\t{unpack} extensions for EAPIs}
\label{tab:unpack-extensions-table}
- \begin{tabular}{ll}
+ \begin{tabular}{llll}
\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}