On 06/03/16 19:28, Ulrich Mueller wrote:
>>>>>> On Sun, 6 Mar 2016, Michał Górny wrote:
> 
>> On Sun, 6 Mar 2016 19:26:15 +0100
>> Davide Pesavento <p...@gentoo.org> 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].

Michał, your current syntax breaks with multiple pkg

(<pkg>sci-libs/metis</pkg> or <pkg>sci-libs/parmetis</pkg>)

results in

metadata.xml:21: element pkg: Schemas validity error : Element 'pkg':
[facet 'pattern'] The value '' is not accepted by the pattern
'[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*'.
metadata.xml:21: element pkg: Schemas validity error : Element 'pkg': ''
is not a valid value of the atomic type 'pkgType'.
metadata.xml:24: element pkg: Schemas validity error : Element 'pkg':
[facet 'pattern'] The value '' is not accepted by the pattern
'[A-Za-z0-9_][A-Za-z0-9+_.-]*/[A-Za-z0-9_][A-Za-z0-9+_-]*'.
metadata.xml:24: element pkg: Schemas validity error : Element 'pkg': ''
is not a valid value of the atomic type 'pkgType'.


Justin

Reply via email to