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

Bug 36322

Summary: eutils.eclass overwrites DESCRIPTION
Product: Gentoo Linux Reporter: Tom Payne (RETIRED) <twp>
Component: New packagesAssignee: Martin Schlemmer (RETIRED) <azarah>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tom Payne (RETIRED) gentoo-dev 2003-12-22 14:52:31 UTC
v1.74 of eutils.eclass overwrites the DESCRIPTION variable

This means that, for example:

DESCRIPTION="This is my description"
inherit eutils

doesn't work -- you have to inherit eutils before setting DESCRIPTION.

Some eclasses need variables set before they are inherited. I like to set up all my variables in my ebuild and then have a single inherit line, but eutils breaks this.

Please edit eutils.eclass to not overwrite DESCRIPTION.

Thanks,

Tom
Comment 1 SpanKY gentoo-dev 2003-12-22 22:05:01 UTC
you inherit before you do anything else in ebuilds, read the docs/policy, it should be in there somewhere