Summary: | missing information: 23 suggestions | ||
---|---|---|---|
Product: | Documentation | Reporter: | kevin asher <virginsnow> |
Component: | [OLD] Developer Handbook | Assignee: | Gentoo Community Relations Team <comrel> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | ttp://www.gentoo.org/proj/en/devrel/handbook/handbook.xml | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
kevin asher
2006-03-26 13:25:46 UTC
0. Looking at ebuild.sh it inherits whatever the last sourced eclass set, i.e. they get replaced. The exceptions to this are IUSE, DEPEND, RDEPEND and PDEPEND which are always concatenated along with the inheritance tree. 1. Yes, IUSE must list *all* USE flags used by your ebuild except arch flags which are special. 2. Order doesn't matter at parsing stage unless things negate each other... and what happens then depends on the Portage code. -ARCH specified and ARCH missing imply different things. One implies the package has not been tested on ARCH (if missing), -ARCH specifically implies that it has been tested, fails to work, and kills bunny rabbits. 4. Normal bash rules apply for substitution if HOMEPAGE is used inside the ebuild. As for whether Portage and external apps that parse ebuilds honor this is another matter. Variable inheritance for HOMEPAGE is no different to that of any other "normal" variable as answered in #0. 6. Yeah, if libxbuttons needs libdrawpretty but your app only needs libxbuttons then you only need to depend on libxbuttons... for all you know the next libxbuttons might need libdrawsuperpretty and your libdrawpretty DEPEND is redundant. 7. RDEPEND is dependant on Portage. It can be before, it can be after. Your app doesn't care so why should you. PDEPEND is explicitly after (man 5 ebuild). 8. emerge is the yin and ebuild is the yang :) 9. Oh dear. No, they must be USE atoms... Otherwise Portage barfs and just generally laughs at you very very hard. USE-based dependencies will eventually be implemented some time, I hope. B. That's an eutils.eclass feature. Check out portage-manpages. C. Should do, built_with_use internally runs portageq for its voodoo which should spit out the direct version. D. And how do you plan on solving this? F. Is this in policy anywhere? If not it needs to be agreed upon. G. Hm, that's nasty and more like a QA violation. H. That's also an eutils.eclass feature. I. Uhm, why do you want to do that? J. (1) gentoo-catalyst mailing list Yes, it's outside the scope and I'm not sure how catalyst needs to be mentioned in there... (2) Isn't that implied by the pretty headings to the left of the rendered HTML page. Or things on the front page? K. Um, yes, our appointed jester kinda ran off when we asked him to start doing proper work. L. And that's outside of the scope of the Developer Handbook :) 3., 5., A., E., G., could do with fixing :) This is a 6 years old bug and rather obsolete. Patches are always welcomed |