From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1285602-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id A31D81382C5
	for <garchives@archives.gentoo.org>; Mon, 24 May 2021 10:35:32 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 4B437E0867;
	Mon, 24 May 2021 10:35:30 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2028EE0867
	for <gentoo-commits@lists.gentoo.org>; Mon, 24 May 2021 10:35:30 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 57D18340C59
	for <gentoo-commits@lists.gentoo.org>; Mon, 24 May 2021 10:35:28 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id B048B7A9
	for <gentoo-commits@lists.gentoo.org>; Mon, 24 May 2021 10:35:24 +0000 (UTC)
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org>
Message-ID: <1621848289.5f0db8dbf82f6046b86da76b9c8f0931e6dc875f.ulm@gentoo>
Subject: [gentoo-commits] proj/pms:eapi-8 commit in: /
X-VCS-Repository: proj/pms
X-VCS-Files: eapi-differences.tex pkg-mgr-commands.tex
X-VCS-Directories: /
X-VCS-Committer: ulm
X-VCS-Committer-Name: Ulrich Müller
X-VCS-Revision: 5f0db8dbf82f6046b86da76b9c8f0931e6dc875f
X-VCS-Branch: eapi-8
Date: Mon, 24 May 2021 10:35:24 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 371c6142-b47b-4742-bc90-29e32636384b
X-Archives-Hash: 87f65ec6d6a283be6d848f5abe9b0e59

commit:     5f0db8dbf82f6046b86da76b9c8f0931e6dc875f
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 24 21:50:30 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon May 24 09:24:49 2021 +0000
URL:        https://gitweb.gentoo.org/proj/pms.git/commit/?id=5f0db8db

EAPI 8 removes .7z, .rar, .lha unpack support

Bug: https://bugs.gentoo.org/690968
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eapi-differences.tex | 10 ++++++++++
 pkg-mgr-commands.tex | 21 ++++++++++++++-------
 2 files changed, 24 insertions(+), 7 deletions(-)

diff --git a/eapi-differences.tex b/eapi-differences.tex
index 9b1e98b..0afc131 100644
--- a/eapi-differences.tex
+++ b/eapi-differences.tex
@@ -341,6 +341,15 @@ Controllable stripping & \compactfeatureref{dostrip} &
 \t{unpack} support for \t{txz} & \compactfeatureref{unpack-extensions} &
     No & No & Yes & Yes & Yes \\
 
+\t{unpack} support for \t{7z} & \compactfeatureref{unpack-extensions} &
+    Yes & Yes & Yes & Yes & No \\
+
+\t{unpack} support for \t{lha} & \compactfeatureref{unpack-extensions} &
+    Yes & Yes & Yes & Yes & No \\
+
+\t{unpack} support for \t{rar} & \compactfeatureref{unpack-extensions} &
+    Yes & Yes & Yes & Yes & No \\
+
 \t{unpack} case-insensitive & \compactfeatureref{unpack-ignore-case} &
     No & No & Yes & Yes & Yes \\
 
@@ -533,6 +542,7 @@ EAPI 8 is EAPI 7 with the following changes:
 \item \t{insopts} no longer affects \t{doconfd}, \t{doenvd} and \t{doheader}, \featureref{insopts}.
 \item \t{exeopts} no longer affects \t{doinitd}, \featureref{exeopts}.
 \item \t{usev} supports an optional second argument, \featureref{usev}.
+\item \t{unpack} no longer supports \t{.7z}, \t{.rar}, \t{.lha}, \featureref{unpack-extensions}.
 \end{compactitem}
 
 \ChangeWhenAddingAnEAPI{8}

diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 0520f92..33a976b 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -1153,10 +1153,13 @@ has returned.
     \item bzip2-compressed tar files (\t{*.tar.bz2, *.tbz2, *.tar.bz, *.tbz}). Ebuilds must ensure
         that bzip2 and GNU tar are installed.
     \item zip files (\t{*.zip, *.ZIP, *.jar}). Ebuilds must ensure that Info-ZIP Unzip is installed.
-    \item 7zip files (\t{*.7z, *.7Z}). Ebuilds must ensure that P7ZIP is installed.
+    \item 7zip files (\t{*.7z, *.7Z}). Ebuilds must ensure that P7ZIP is installed. Only for EAPIs
+        listed in table~\ref{tab:unpack-extensions-table} as supporting \t{.7z}.
     \item rar files (\t{*.rar, *.RAR}). Ebuilds must ensure that RARLAB's unrar is installed.
+        Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting \t{.rar}.
     \item LHA archives (\t{*.LHA, *.LHa, *.lha, *.lzh}). Ebuilds must ensure that the lha program is
-        installed.
+        installed. Only for EAPIs listed in table~\ref{tab:unpack-extensions-table} as supporting
+        \t{.lha}.
     \item ar archives (\t{*.a}). Ebuilds must ensure that GNU binutils is installed.
     \item deb packages (\t{*.deb}). Ebuilds must ensure that the deb2targz program is installed on
         those platforms where the GNU binutils ar program is not available and the installed ar
@@ -1195,16 +1198,20 @@ has returned.
     \ChangeWhenAddingAnEAPI{8}
     \begin{centertable}{\t{unpack} extensions for EAPIs}
         \label{tab:unpack-extensions-table}
-        \begin{tabular}{llll}
+        \begin{tabular}{llllllll}
           \toprule
           \multicolumn{1}{c}{\textbf{EAPI}} &
           \multicolumn{1}{c}{\textbf{\t{.xz}?}} &
           \multicolumn{1}{c}{\textbf{\t{.tar.xz}?}} &
-          \multicolumn{1}{c}{\textbf{\t{.txz}?}} \\
+          \multicolumn{1}{c}{\textbf{\t{.txz}?}} &
+          \multicolumn{1}{c}{\textbf{\t{.7z}?}} &
+          \multicolumn{1}{c}{\textbf{\t{.rar}?}} &
+          \multicolumn{1}{c}{\textbf{\t{.lha}?}} \\
           \midrule
-          0, 1, 2           & No  & No  & No  \\
-          3, 4, 5           & Yes & Yes & No  \\
-          6, 7, 8           & Yes & Yes & Yes \\
+          0, 1, 2           & No  & No  & No  & Yes & Yes & Yes \\
+          3, 4, 5           & Yes & Yes & No  & Yes & Yes & Yes \\
+          6, 7              & Yes & Yes & Yes & Yes & Yes & Yes \\
+          8                 & Yes & Yes & Yes & No  & No  & No  \\
           \bottomrule
         \end{tabular}
     \end{centertable}