Summary: | GLEP 33 (Eclass Restructure/Redesign) | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Simon Stelling (RETIRED) <blubb> |
Component: | Core - Ebuild Support | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED LATER | ||
Severity: | normal | CC: | stuart |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | http://www.gentoo.org/proj/en/glep/glep-0033.html | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 56408 | ||
Bug Blocks: | |||
Attachments: | patch |
Description
Simon Stelling (RETIRED)
2006-03-08 08:58:01 UTC
Created attachment 81694 [details, diff]
patch
This patch implements the portage part of the proposal:
* elibs/new eclasses are loaded from $PORTDIR/include/{elib,eclass}, old ones from $PORTDIR/eclass
* elibs are loaded using the 'elib' command, 'inherit' is only for eclasses
* when called from an ebuild's global scope, the elib loading is postponed until just before execution of pkg_setup()
* in case a binpkg is merged or an installed package is removed the saved env is used instead of the current tree
*** Bug 42993 has been marked as a duplicate of this bug. *** it doesn't handle the env correctly and it's not so trivial... resolving as LATER for now |