commit:     8536b990542049f4c81e1e616dd8d5c909266a66
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 13 07:43:40 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Mar 13 07:44:28 2018 +0000
URL:        https://gitweb.gentoo.org/data/xml-schema.git/commit/?id=8536b990

metadata.xsd: Support <stabilize-allarches/>, GLEP 68 v1.1

 metadata.xsd | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/metadata.xsd b/metadata.xsd
index cad8304..8b8ac0b 100644
--- a/metadata.xsd
+++ b/metadata.xsd
@@ -20,6 +20,10 @@
                        <xs:selector xpath='slots'/>
                        <xs:field xpath='@lang'/>
                </xs:unique>
+               <xs:unique name='stabilizeAllArchesUniquityConstraint'>
+                       <xs:selector xpath='stabilize-all-arches'/>
+                       <xs:field xpath='@restrict'/>
+               </xs:unique>
                <xs:unique name='upstreamSingleConstraint'>
                        <xs:selector xpath='upstream'/>
                        <xs:field xpath='@fake-only-once'/>
@@ -60,6 +64,7 @@
                                        <xs:field xpath='@fake-only-once'/>
                                </xs:unique>
                        </xs:element>
+                       <xs:element name='stabilize-allarches' 
type='stabilizeAllArchesType'/>
                        <xs:element name='upstream' type='upstreamType'>
                                <xs:unique 
name='upstreamMaintainerUniquityConstraint'>
                                        <xs:selector xpath='maintainer'/>
@@ -203,6 +208,12 @@
                </xs:restriction>
        </xs:simpleType>
 
+       <!-- stabilize-allarches -->
+       <xs:complexType name='stabilizeAllArchesType'>
+               <xs:attribute name='restrict' type='restrictAttrType'
+                       default=''/>
+       </xs:complexType>
+
        <!-- use flags -->
        <xs:complexType name='useType'>
                <xs:choice minOccurs='0' maxOccurs='unbounded'>

Reply via email to