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.
Created attachment 543462 [details] perl-functions.eclass updated to support EAPI=7
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.
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.
We did minimal updates in the meantime and postponed the rest for EAPI=8