From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/nxml-gentoo-schemas:master commit in: /
Date: Fri, 6 May 2016 07:59:37 +0000 (UTC) [thread overview]
Message-ID: <1462521521.3bc35f466f90b36c76f72dde69f3f2809b618e11.ulm@gentoo> (raw)
commit: 3bc35f466f90b36c76f72dde69f3f2809b618e11
Author: Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri May 6 07:58:41 2016 +0000
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri May 6 07:58:41 2016 +0000
URL: https://gitweb.gentoo.org/proj/nxml-gentoo-schemas.git/commit/?id=3bc35f46
Update metadata.rnc from DTD.
metadata.rnc | 41 +++++++++++++++++++----------------------
1 file changed, 19 insertions(+), 22 deletions(-)
diff --git a/metadata.rnc b/metadata.rnc
index 2ed65b0..3919793 100644
--- a/metadata.rnc
+++ b/metadata.rnc
@@ -10,12 +10,7 @@ attlist.catmetadata &=
pkgmetadata =
element pkgmetadata {
attlist.pkgmetadata,
- (maintainer
- | natural-name
- | longdescription
- | slots
- | use
- | upstream)*
+ (maintainer | longdescription | slots | use | upstream)*
}
attlist.pkgmetadata &=
[ a:defaultValue = "" ] attribute pkgname { text }?
@@ -30,9 +25,6 @@ maintainer =
attlist.maintainer &=
[ a:defaultValue = "unknown" ]
attribute type { "person" | "project" | "unknown" }?
-# Natural name for package, example: LibreOffice (for app-office/libreoffice)
-natural-name = element natural-name { attlist.natural-name, text }
-attlist.natural-name &= empty
# A long description of the package in freetext
longdescription =
element longdescription {
@@ -42,7 +34,10 @@ longdescription =
slots = element slots { attlist.slots, slot*, subslots? }
# A particular SLOT
slot = element slot { attlist.slot, text* }
-# name attribute holds the name of the SLOT, for sub-SLOTS use the subslots element
+# name attribute holds the name of the SLOT, for sub-SLOTS
+# use the subslots element. A slot name of '*' can be used to
+# indicate a single description applying to all the slots in which
+# case no other <slot/> elements may be present.
attlist.slot &= attribute name { text }
# The meaning of sub-SLOTs for the whole package
subslots = element subslots { attlist.subslots, text* }
@@ -71,7 +66,7 @@ changelog = element changelog { attlist.changelog, text }
attlist.changelog &= empty
# URL where the location of the upstream documentation can be found
doc = element doc { attlist.doc, text }
-attlist.doc &= [ a:defaultValue = "C" ] attribute lang { text }?
+attlist.doc &= [ a:defaultValue = "en" ] attribute lang { text }?
# location where to report bugs
# (may also be an email address prefixed with mailto:)
bugs-to = element bugs-to { attlist.bugs-to, text }
@@ -110,20 +105,22 @@ cat = element cat { attlist.cat, text }
attlist.cat &= empty
# Common attributes
-# the lang attribute, specifies the language of this tag. This is
-# only useful for descriptions of various kinds. If a tag with this
-# attribute is included there must be a description in the default
-# language "C" or "en", which is equivalent
-attlist.description &= [ a:defaultValue = "C" ] attribute lang { text }?
+# the lang attribute, specifies the language of this tag in the
+# form of a ISO 639-1 language code. This is only useful for
+# descriptions of various kinds. If a tag with this attribute is
+# included there must be a description in the default language "en"
+attlist.description &=
+ [ a:defaultValue = "en" ] attribute lang { text }?
attlist.longdescription &=
- [ a:defaultValue = "C" ] attribute lang { text }?
-attlist.slots &= [ a:defaultValue = "C" ] attribute lang { text }?
-attlist.use &= [ a:defaultValue = "C" ] attribute lang { text }?
+ [ a:defaultValue = "en" ] attribute lang { text }?
+attlist.slots &= [ a:defaultValue = "en" ] attribute lang { text }?
+attlist.use &= [ a:defaultValue = "en" ] attribute lang { text }?
# The restrict attribute, this attribute specifies restrictions on
# the applicability of tags on versions. The format of this attribute is
-# equal to the format of DEPEND lines in ebuilds. There is one special
-# value though: restrict="*". A tag that specifies this only applies if
-# there are no other tags that apply.
+# equal to the format of DEPEND lines in ebuilds. Only package
+# dependency specifications conforming to EAPI=0 syntax are allowed.
+# The dependency specification may only contain references to the
+# package itself and no other package.
#
# For required tags, there must be either an unrestricted version, or a
# version that is default restricted.
next reply other threads:[~2016-05-06 7:59 UTC|newest]
Thread overview: 58+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-06 7:59 Ulrich Müller [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-16 12:51 [gentoo-commits] proj/nxml-gentoo-schemas:master commit in: / Ulrich Müller
2024-11-12 18:22 Ulrich Müller
2024-11-12 18:22 Ulrich Müller
2024-10-31 19:27 Ulrich Müller
2024-10-31 19:27 Ulrich Müller
2024-10-31 19:27 Ulrich Müller
2024-02-08 10:56 Ulrich Müller
2023-10-22 21:05 Ulrich Müller
2023-10-07 14:17 Ulrich Müller
2023-09-14 16:01 Ulrich Müller
2023-02-27 18:20 Ulrich Müller
2022-11-03 17:48 Ulrich Müller
2022-10-01 9:42 Ulrich Müller
2022-10-01 9:40 Ulrich Müller
2022-10-01 9:40 Ulrich Müller
2022-09-16 7:15 Ulrich Müller
2022-07-30 5:31 Ulrich Müller
2022-06-19 15:46 Ulrich Müller
2022-05-26 6:10 Ulrich Müller
2022-05-26 6:10 Ulrich Müller
2022-05-24 17:59 Ulrich Müller
2022-04-28 22:38 Ulrich Müller
2022-04-28 22:35 Ulrich Müller
2022-01-25 8:11 Ulrich Müller
2022-01-25 8:11 Ulrich Müller
2022-01-25 8:11 Ulrich Müller
2022-01-21 22:08 Ulrich Müller
2021-09-08 17:55 Ulrich Müller
2021-09-06 18:11 Ulrich Müller
2021-03-15 13:15 Ulrich Müller
2021-02-03 13:45 Ulrich Müller
2020-03-03 8:33 Ulrich Müller
2020-02-29 16:15 Ulrich Müller
2020-02-29 16:15 Ulrich Müller
2020-01-22 19:54 Ulrich Müller
2020-01-09 23:37 Ulrich Müller
2020-01-09 23:37 Ulrich Müller
2019-12-27 9:50 Ulrich Müller
2019-12-27 9:50 Ulrich Müller
2019-12-17 19:07 Ulrich Müller
2019-12-17 19:07 Ulrich Müller
2019-12-17 19:07 Ulrich Müller
2019-12-17 17:22 Ulrich Müller
2019-12-11 6:55 Ulrich Müller
2019-12-03 14:57 Ulrich Müller
2018-06-18 19:48 Ulrich Müller
2018-06-11 22:42 Ulrich Müller
2018-06-11 22:42 Ulrich Müller
2016-03-12 12:28 Ulrich Müller
2016-03-12 12:28 Ulrich Müller
2016-01-25 21:23 Ulrich Müller
2016-01-25 21:23 Ulrich Müller
2016-01-25 21:23 Ulrich Müller
2016-01-25 21:23 Ulrich Müller
2016-01-25 9:28 Ulrich Müller
2016-01-25 9:21 Ulrich Müller
2016-01-25 9:21 Ulrich Müller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1462521521.3bc35f466f90b36c76f72dde69f3f2809b618e11.ulm@gentoo \
--to=ulm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox