Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 810796

Summary: devmanual: update "known file formats" for EAPI 8
Product: Documentation Reporter: Emily Rowlands <gentoo>
Component: DevmanualAssignee: Gentoo Devmanual Team <devmanual>
Status: RESOLVED FIXED    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://devmanual.gentoo.org/ebuild-writing/functions/src_unpack/index.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild-writing/functions/src_unpack: Update list of unpack formats

Description Emily Rowlands 2021-08-28 14:13:43 UTC
In EAPI 8, the package manager is no longer required to directly support 7z, rar, and lha files in the unpack function - unpacker.eclass is now required for these formats. The devmanual still documents the earlier behaviour.

Reproducible: Always
Comment 1 Ulrich Müller gentoo-dev 2021-08-28 16:57:06 UTC
The simple solution would be to remove the last three items of that list. These formats were never widely used, and soon most new ebuilds will be EAPI 8.
Comment 2 Ulrich Müller gentoo-dev 2021-08-28 17:44:54 UTC
Created attachment 736498 [details, diff]
ebuild-writing/functions/src_unpack: Update list of unpack formats
Comment 3 Larry the Git Cow gentoo-dev 2021-09-01 17:58:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/proj/devmanual.git/commit/?id=ee38282ed5b47bef8fe81183746ebac9f16b54bf

commit ee38282ed5b47bef8fe81183746ebac9f16b54bf
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2021-08-28 17:38:51 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2021-08-28 17:38:51 +0000

    ebuild-writing/functions/src_unpack: Update list of unpack formats
    
    Drop 7zip, RAR, and LHA from the list of recognized unpack formats,
    following the EAPI 8 change to unpack(). This considers that these
    formats were never widely used, and that soon most new ebuilds will
    use the new EAPI.
    
    Closes: https://bugs.gentoo.org/810796
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 ebuild-writing/functions/src_unpack/text.xml | 3 ---
 1 file changed, 3 deletions(-)
Comment 4 Ulrich Müller gentoo-dev 2021-09-01 17:58:49 UTC
Thank you for reporting.