On Tuesday 17 July 2007, Ciaran McCreesh wrote: > Alin Năstac wrote: > > Basically I need a pkg_create() that will be executed only in the > > context of the upcoming "ebuild ${PF}.ebuild create" command. > > This isn't something that should be done in an ebuild. It's more > suitable to an external script maintained by the appropriate herd. except that it makes transition of maintenance of packages from person to person, herd to herd, whatever to monkey, a lot easier. not everything has a herd and not every herd has a standard (or anything close) as to how these things are done. having a useful helper function in an ebuild eases and standardizes all of these things. > There's no point cluttering up the tree with something that is of no > use to end users. incorrect. end users can utilize these functions just as easily as a developer to help test a new tarball not yet in the tree. -mike