Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 573414 - wxwidgets.eclass: Add support for EAPI="6"
Summary: wxwidgets.eclass: Add support for EAPI="6"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo wxWidgets project
URL:
Whiteboard:
Keywords:
: 579582 (view as bug list)
Depends on:
Blocks: 576732
  Show dependency tree
 
Reported: 2016-01-30 18:15 UTC by Jonathan Callen (RETIRED)
Modified: 2016-04-14 02:37 UTC (History)
2 users (show)

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


Attachments
eapi6 conversion of wxwidgets.eclass (wxwidgets.eclass_eapi6,2.79 KB, patch)
2016-03-15 18:00 UTC, Ian Stakenvicius (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Callen (RETIRED) gentoo-dev 2016-01-30 18:15:38 UTC
In EAPI 6, multilib.eclass no longer defines get_libdir() (leaving it for the package manager to provide a PMS-compliant version), and the PMS version of get_libdir() is not defined in global scope.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2016-02-05 05:27:06 UTC
This is fixed but I'll leave it open until we have an EAPI 6 solution.
Comment 2 Ian Stakenvicius (RETIRED) gentoo-dev 2016-03-15 18:00:29 UTC
Created attachment 428308 [details, diff]
eapi6 conversion of wxwidgets.eclass

Here's an attempt at converting the eclass to EAPI6.  In order to get around the issue with get_libdir in global scope, I wrapped it into a new function wxwidgets_pkg_setup , and for EAPI5 and earlier I'm calling that function in global scope to retain old behaviour.

EAPI6 ebuilds will just need to ensure wxwidgets_pkg_setup is called.

So far as I could tell, multilib.eclass is no longer needed in EAPI6 so I dropped it from inherit.
Comment 3 Arfrever Frehtes Taifersar Arahesis 2016-04-11 10:00:47 UTC
*** Bug 579582 has been marked as a duplicate of this bug. ***
Comment 4 Ryan Hill (RETIRED) gentoo-dev 2016-04-14 02:37:46 UTC
Fixed.