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

Bug 125493

Summary: GLEP 33 (Eclass Restructure/Redesign)
Product: Portage Development Reporter: Simon Stelling (RETIRED) <blubb>
Component: Core - Ebuild SupportAssignee: 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) gentoo-dev 2006-03-08 08:58:01 UTC
glep 33 should be implemented
Comment 1 Simon Stelling (RETIRED) gentoo-dev 2006-03-08 08:58:51 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
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2006-04-16 13:32:04 UTC
*** Bug 42993 has been marked as a duplicate of this bug. ***
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-05-18 08:52:05 UTC
it doesn't handle the env correctly and it's not so trivial... resolving as LATER for now