[Exherbo-dev] CONTAINS/CONTAINED_IN

Gaute Hope eg at gaute.vetsj.com
Thu Sep 24 17:15:38 BST 2009


Excerpts from Mike Kelly's message of to. sep. 24 17:26:56 +0200 2009:
> There're some packages, like dev-perl/autodie, dev-perl/Module-Build,
> etc, which exist both as separate packages, and as part of core perl
> itself. To make things more confusing, not all versions of perl contain
> them. And you can't even just do a simple ">=5.10" for some, since
> there's 5.8.9 which came out later.
> 
> So, one solution that has been suggested is to add 2 new metadata keys,
> CONTAINS and CONTAINED_IN. They would each be space-separated lists of
> packages.

Isn't this just a special case of virtuals? why not try to solve both
at one time, to keep consistency. It basically boils down to a package
or user needing a feature that is provided by two or more packages. 

The effect is that both CONTAINS and CONTAINED_IN lack a central place
to relate. And adding another package that provides the feature
means updating all the CONTAINS and CONTAINED_IN packages.

Which package is to be the CONTAINS package and which is the
CONTAINED_IN one(s) ?

- gaute



More information about the Exherbo-dev mailing list