commit:     6832754dd100108646518ca18fc5a33f2d9644fe
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 20 18:20:44 2019 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Oct 20 18:20:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6832754d

app-arch/file-roller-3.32: update packages.match mapping

If new decompressors support gets added, then packages.match needs
updating too, not just the README.gentoo message. Upstream package
uses that to actually suggest what package to install, when it
encounters something the package for isn't installed.
So update it (and add unsquashfs too, which was missed in 3.30), and
fix space vs tab mixup in the readme-gentoo added entry.

Package-Manager: Portage-2.3.69, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>

 ...-3.32.2.ebuild => file-roller-3.32.2-r1.ebuild} |  5 ++--
 app-arch/file-roller/files/3.32-packages.match     | 34 ++++++++++++++++++++++
 2 files changed, 36 insertions(+), 3 deletions(-)

diff --git a/app-arch/file-roller/file-roller-3.32.2.ebuild 
b/app-arch/file-roller/file-roller-3.32.2-r1.ebuild
similarity index 95%
rename from app-arch/file-roller/file-roller-3.32.2.ebuild
rename to app-arch/file-roller/file-roller-3.32.2-r1.ebuild
index 40854a846ce..cc5f90b3046 100644
--- a/app-arch/file-roller/file-roller-3.32.2.ebuild
+++ b/app-arch/file-roller/file-roller-3.32.2-r1.ebuild
@@ -2,7 +2,6 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-
 inherit gnome.org gnome2-utils meson readme.gentoo-r1 xdg
 
 DESCRIPTION="Archive manager for GNOME"
@@ -44,7 +43,7 @@ and install the relevant package. For example:
 7-zip   - app-arch/p7zip
 ace     - app-arch/unace
 arj     - app-arch/arj
-brotli - app-arch/brotli
+brotli  - app-arch/brotli
 cpio    - app-arch/cpio
 deb     - app-arch/dpkg
 iso     - app-cdr/cdrtools
@@ -59,7 +58,7 @@ zoo     - app-arch/zoo"
 
 src_prepare() {
        # File providing Gentoo package names for various archivers
-       cp -v "${FILESDIR}"/3.22-packages.match data/packages.match || die
+       cp -v "${FILESDIR}"/3.32-packages.match data/packages.match || die
 
        xdg_src_prepare
 }

diff --git a/app-arch/file-roller/files/3.32-packages.match 
b/app-arch/file-roller/files/3.32-packages.match
new file mode 100644
index 00000000000..09f1513968e
--- /dev/null
+++ b/app-arch/file-roller/files/3.32-packages.match
@@ -0,0 +1,34 @@
+[Package Matches]
+arj=app-arch/arj
+binutils=sys-devel/binutils
+brotli=app-arch/brotli
+bzip2=app-arch/bzip2
+cpio=app-arch/cpio
+dpkg=app-arch/dpkg
+genisoimage=virtual/cdrtools
+gzip=app-arch/gzip
+lha=app-arch/lha
+lrzip=app-arch/lrzip
+lz4=app-arch/lz4
+lzip=app-arch/lzip
+lzma=app-arch/xz-utils
+lzop=app-arch/lzop
+ncompress=app-arch/ncompress
+p7zip=app-arch/p7zip
+p7zip-full=
+p7zip-rar=
+rar=app-arch/rar
+rpm=app-arch/rpm
+rzip=app-arch/rzip
+zip=app-arch/zip
+zoo=app-arch/zoo
+tar=app-arch/tar
+unace=app-arch/unace
+unalz=
+unarchiver=app-arch/unar
+unrar=app-arch/unrar
+unsquashfs=sys-fs/squashfs-tools
+unstaff=
+unzip=app-arch/unzip
+xz=app-arch/xz-utils
+

Reply via email to