Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 663632 - Add EAPI=7 support perl-module.eclass and perl-functions.eclass
Summary: Add EAPI=7 support perl-module.eclass and perl-functions.eclass
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: perl-eclass 663336
  Show dependency tree
 
Reported: 2018-08-14 20:32 UTC by James Jones
Modified: 2019-10-13 02:08 UTC (History)
4 users (show)

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


Attachments
perl-module.eclass updated to support EAPI=7 (perl-module.eclass,15.36 KB, text/plain)
2018-08-14 20:32 UTC, James Jones
Details
perl-functions.eclass updated to support EAPI=7 (perl-functions.eclass,16.93 KB, text/plain)
2018-08-14 20:33 UTC, James Jones
Details

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