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

Bug 663632

Summary: Add EAPI=7 support perl-module.eclass and perl-functions.eclass
Product: Gentoo Linux Reporter: James Jones <gentoo>
Component: EclassesAssignee: Gentoo Perl team <perl>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, kentnl, kfm, kingjon3377
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 239510, 663336    
Attachments: perl-module.eclass updated to support EAPI=7
perl-functions.eclass updated to support EAPI=7

Description James Jones 2018-08-14 20:32:55 UTC
Created attachment 543460 [details]
perl-module.eclass updated to support EAPI=7

Made an attempt to update the perl-module eclass and its dependency, perl-functions, to support EAPI7 after reading through https://dev.gentoo.org/~mgorny/articles/the-ultimate-guide-to-eapi-7.html.  Tested using an updated EAPI=7 umodpack ebuild from https://bugs.gentoo.org/663336.  Definitely a novice here, so please review carefully.  The main functional change to accommodate EAPI=7 was moving the DEPENDS additions to BDEPENDS, but I'm not 100% clear they shouldn't also remain as DEPENDS entries.
Comment 1 James Jones 2018-08-14 20:33:35 UTC
Created attachment 543462 [details]
perl-functions.eclass updated to support EAPI=7
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-08-14 22:26:58 UTC
Its worth mentioning that we typically do more than *just* update to new EAPI semantics when we add new EAPI support.

Typically, we try to think of all the new features we'd want in the eclass, and then bind them to become visible with the EAPI switch.

That way we don't have to implement additional sub-versioning of the eclass.
Comment 3 James Jones 2018-08-14 22:44:01 UTC
Makes sense.  I certainly won't have the expertise for that, so feel free to build upon these versions, or disregard them entirely.  My minimal adaptations were just motivated by a suggestion to use the latest EABI in a minor ebuild update I submitted in bug 663336.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2019-10-13 02:08:56 UTC
We did minimal updates in the meantime and postponed the rest for EAPI=8