Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 810796 - devmanual: update "known file formats" for EAPI 8
Summary: devmanual: update "known file formats" for EAPI 8
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Devmanual (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Devmanual Team
URL: https://devmanual.gentoo.org/ebuild-w...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-08-28 14:13 UTC by Emily Rowlands
Modified: 2021-09-01 17:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild-writing/functions/src_unpack: Update list of unpack formats (0001-ebuild-writing-functions-src_unpack-Update-list-of-u.patch,1.34 KB, patch)
2021-08-28 17:44 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.