On Sun, 6 Mar 2016 20:28:33 +0100 Ulrich Mueller <[email protected]> wrote:
> >>>>> On Sun, 6 Mar 2016, Michał Górny wrote: > > > On Sun, 6 Mar 2016 19:26:15 +0100 > > Davide Pesavento <[email protected]> wrote: > > >> So I guess we could use the following form when SLOTs are needed: > >> <pkg>media-libs/gstreamer</pkg>:1.0 > >> ? > > > Prolly. > > > Just to be clear, I have no clue what the original use of <pkg/> > > was and what the final outcome of this will be. This thread was > > established mostly in order to determine that. I'd wait for ulm to > > turn up and have some suggestions ;-). > > :) > > No idea what the original purpose was, but <pkg> and <cat> are > specified in GLEP 56 [1]: > > - Each <flag> XML tag allows 0 or more nested <pkg> XML tags whose > character data is a valid CP or CPV as defined by the Gentoo > Development Manual - Ebuild File Format [2]. > > - Each <flag> XML tag allows 0 or more nested <cat> XML tags whose > character data is a valid category. > > So looks like a version is allowed, but not a slot. > > CCing Cardoe. What was the original intention behind <pkg> and <cat>? I would suggest we avoid using the 'CPV' syntax, and either allow only qualified package names or any package dependency specifications. -- Best regards, Michał Górny <http://dev.gentoo.org/~mgorny/>
pgpegQlFmyQCM.pgp
Description: OpenPGP digital signature
