Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-pms] [PATCH] EAPI 8 removes .7z, .rar, .lha unpack support
Date: Tue, 24 Dec 2019 21:51:04
Message-Id: 20191224215030.653100-1-mgorny@gentoo.org
1 Bug: https://bugs.gentoo.org/690968
2 Signed-off-by: Michał Górny <mgorny@g.o>
3 ---
4 eapi-differences.tex | 10 ++++++++++
5 pkg-mgr-commands.tex | 21 ++++++++++++++-------
6 2 files changed, 24 insertions(+), 7 deletions(-)
7
8 diff --git a/eapi-differences.tex b/eapi-differences.tex
9 index 4358125..d1739a3 100644
10 --- a/eapi-differences.tex
11 +++ b/eapi-differences.tex
12 @@ -310,6 +310,15 @@ Controllable stripping & \compactfeatureref{dostrip} &
13 \t{unpack} support for \t{txz} & \compactfeatureref{unpack-extensions} &
14 No & No & Yes & Yes & Yes \\
15
16 +\t{unpack} support for \t{7z} & \compactfeatureref{unpack-extensions} &
17 + Yes & Yes & Yes & Yes & No \\
18 +
19 +\t{unpack} support for \t{lha} & \compactfeatureref{unpack-extensions} &
20 + Yes & Yes & Yes & Yes & No \\
21 +
22 +\t{unpack} support for \t{rar} & \compactfeatureref{unpack-extensions} &
23 + Yes & Yes & Yes & Yes & No \\
24 +
25 \t{unpack} case-insensitive & \compactfeatureref{unpack-ignore-case} &
26 No & No & Yes & Yes & Yes \\
27
28 @@ -490,6 +499,7 @@ EAPI 8 is EAPI 7 with the following changes:
29 \item Selective fetch/mirror restriction, \featureref{selective-uri-restrict}.
30 \item \t{IDEPEND}, \featureref{idepend}.
31 \item \t{econf} adds \t{-{}-datarootdir}, \featureref{econf-options}.
32 +\item \t{unpack} no longer supports \t{.7z}, \t{.rar}, \t{.lha}, \featureref{unpack-extensions}.
33 \end{compactitem}
34
35 \ChangeWhenAddingAnEAPI{8}
36 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
37 index 11e4abc..265bc45 100644
38 --- a/pkg-mgr-commands.tex
39 +++ b/pkg-mgr-commands.tex
40 @@ -1049,10 +1049,13 @@ has returned.
41 \item bzip2-compressed tar files (\t{*.tar.bz2, *.tbz2, *.tar.bz, *.tbz}). Ebuilds must ensure
42 that bzip2 and GNU tar are installed.
43 \item zip files (\t{*.zip, *.ZIP, *.jar}). Ebuilds must ensure that Info-ZIP Unzip is installed.
44 - \item 7zip files (\t{*.7z, *.7Z}). Ebuilds must ensure that P7ZIP is installed.
45 + \item 7zip files (\t{*.7z, *.7Z}). Ebuilds must ensure that P7ZIP is installed. Only for EAPIs
46 + listed in table~\ref{tab:unpack-extensions-table} as supporting \t{.7z}.
47 \item rar files (\t{*.rar, *.RAR}). Ebuilds must ensure that RARLAB's unrar is installed.
48 + Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting \t{.rar}.
49 \item LHA archives (\t{*.LHA, *.LHa, *.lha, *.lzh}). Ebuilds must ensure that the lha program is
50 - installed.
51 + installed. Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting
52 + \t{.lha}.
53 \item ar archives (\t{*.a}). Ebuilds must ensure that GNU binutils is installed.
54 \item deb packages (\t{*.deb}). Ebuilds must ensure that the deb2targz program is installed on
55 those platforms where the GNU binutils ar program is not available and the installed ar
56 @@ -1091,16 +1094,20 @@ has returned.
57 \ChangeWhenAddingAnEAPI{8}
58 \begin{centertable}{\t{unpack} extensions for EAPIs}
59 \label{tab:unpack-extensions-table}
60 - \begin{tabular}{llll}
61 + \begin{tabular}{llllllll}
62 \toprule
63 \multicolumn{1}{c}{\textbf{EAPI}} &
64 \multicolumn{1}{c}{\textbf{\t{.xz}?}} &
65 \multicolumn{1}{c}{\textbf{\t{.tar.xz}?}} &
66 - \multicolumn{1}{c}{\textbf{\t{.txz}?}} \\
67 + \multicolumn{1}{c}{\textbf{\t{.txz}?}} &
68 + \multicolumn{1}{c}{\textbf{\t{.7z}?}} &
69 + \multicolumn{1}{c}{\textbf{\t{.rar}?}} &
70 + \multicolumn{1}{c}{\textbf{\t{.lha}?}} \\
71 \midrule
72 - 0, 1, 2 & No & No & No \\
73 - 3, 4, 5 & Yes & Yes & No \\
74 - 6, 7, 8 & Yes & Yes & Yes \\
75 + 0, 1, 2 & No & No & No & Yes & Yes & Yes \\
76 + 3, 4, 5 & Yes & Yes & No & Yes & Yes & Yes \\
77 + 6, 7 & Yes & Yes & Yes & Yes & Yes & Yes \\
78 + 8 & Yes & Yes & Yes & No & No & No \\
79 \bottomrule
80 \end{tabular}
81 \end{centertable}
82 --
83 2.24.1