* [gentoo-commits] repo/proj/gen-b0rk:master commit in: xml-test/valid/
@ 2016-05-04 7:21 Brian Dolbec
0 siblings, 0 replies; 2+ messages in thread
From: Brian Dolbec @ 2016-05-04 7:21 UTC (permalink / raw
To: gentoo-commits
commit: b90438cbe3a2cb3a7d886983bacafb0a75e9cd91
Author: Göktürk Yüksek <gokturk <AT> binghamton <DOT> edu>
AuthorDate: Wed May 4 06:43:05 2016 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Wed May 4 06:44:02 2016 +0000
URL: https://gitweb.gentoo.org/repo/proj/gen-b0rk.git/commit/?id=b90438cb
xml-test/valid: valid metadata.xml test based on the example in GLEP 68
Signed-off-by: Göktürk Yüksek <gokturk <AT> binghamton.edu>
xml-test/valid/metadata.xml | 64 +++++++++++++++++++++++++++++++++++++++++
xml-test/valid/valid-0.1.ebuild | 12 ++++++++
2 files changed, 76 insertions(+)
diff --git a/xml-test/valid/metadata.xml b/xml-test/valid/metadata.xml
new file mode 100644
index 0000000..c33f7ac
--- /dev/null
+++ b/xml-test/valid/metadata.xml
@@ -0,0 +1,64 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!-- A valid metadata.xml similar to the one specified in GLEP 68 -->
+<pkgmetadata>
+ <maintainer type='person'>
+ <email>developer@example.com</email>
+ <name>Example Developer</name>
+ </maintainer>
+ <maintainer type='project'>
+ <email>project@example.com</email>
+ <name>Example Project</name>
+ </maintainer>
+ <maintainer type='person'>
+ <email>upstream@example.com</email>
+ <name>Upstream Developer</name>
+ <description>Upstream developer, wishing to be CC-ed on bugs</description>
+ </maintainer>
+ <longdescription>
+ First paragraph of extensive description.
+
+ Second paragraph.
+ </longdescription>
+ <longdescription lang='de'>
+ Erster Absatz mit detaillierter Beschreibung.
+
+ Zweiter Absatz.
+ </longdescription>
+ <slots>
+ <slot name='11'>Compatibility slot providing libvalid.so.11 only.</slot>
+ <subslots>
+ Match SONAME of libvalid.so.
+ </subslots>
+ </slots>
+ <slots lang='de'>
+ <slot name='11'>Kompatibilitäts-Slot, installiert ausschließlich libvalid.so.11.</slot>
+ <subslots>
+ Subslot ist stets identisch mit dem SONAME von libvalid.so.
+ </subslots>
+ </slots>
+ <use>
+ <flag name='foo'>Enables foo feature</flag>
+ <flag name='bar' restrict='<xml-test/valid-0.1'>Enables bar feature (requires <pkg>xml-test/missing</pkg>)</flag>
+ <flag name='bar' restrict='>=xml-test/valid-0.1'>Enables bar feature</flag>
+ </use>
+ <use lang='de'>
+ <flag name='foo'>Konfiguriert das Paket mit Unterstütztung für foo</flag>
+ <flag name='bar' restrict='<xml-test/valid-0.1'>Konfiguriert das Paket mit Unterstütztung für bar (benötigt <pkg>xml-test/missing</pkg>)</flag>
+ <flag name='bar' restrict='>=xml-test/valid-0.1'>Konfiguriert das Paket mit Unterstütztung für bar</flag>
+ </use>
+ <upstream>
+ <maintainer status='active'>
+ <email>upstream@example.com</email>
+ <name>Upstream Developer</name>
+ </maintainer>
+ <maintainer status='inactive'>
+ <name>John Smith</name>
+ </maintainer>
+ <changelog>http://www.example.com/releases.html</changelog>
+ <doc>http://www.example.com/doc.html</doc>
+ <doc lang='de'>http://www.example.com/doc.de.html</doc>
+ <bugs-to>http://www.example.com/issues.html</bugs-to>
+ <remote-id type='github'>gentoo/gen-b0rk</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/xml-test/valid/valid-0.1.ebuild b/xml-test/valid/valid-0.1.ebuild
new file mode 100644
index 0000000..3b2c1c8
--- /dev/null
+++ b/xml-test/valid/valid-0.1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="GLEP68 compliant metadata example"
+HOMEPAGE="https://wiki.gentoo.org/wiki/GLEP:68#Example_metadata.xml_file"
+LICENSE="HPND"
+SLOT="11"
+KEYWORDS="~amd64"
+IUSE="foo bar"
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/gen-b0rk:master commit in: xml-test/valid/
@ 2016-05-08 5:43 Brian Dolbec
0 siblings, 0 replies; 2+ messages in thread
From: Brian Dolbec @ 2016-05-08 5:43 UTC (permalink / raw
To: gentoo-commits
commit: 1e7a7488efa19a02dd6fec35e7f79f5b2cbf8c89
Author: Göktürk Yüksek <gokturk <AT> binghamton <DOT> edu>
AuthorDate: Sat May 7 21:22:38 2016 +0000
Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sun May 8 02:06:37 2016 +0000
URL: https://gitweb.gentoo.org/repo/proj/gen-b0rk.git/commit/?id=1e7a7488
xml-text/valid: add a second description to downstream maintainer
Increase coverage and prevent future regressions by adding a second
description for a downstream maintainer element. See also:
https://gitweb.gentoo.org/data/xml-schema.git/commit/?id=6070512ca
Signed-off-by: Göktürk Yüksek <gokturk <AT> binghamton.edu>
xml-test/valid/metadata.xml | 1 +
1 file changed, 1 insertion(+)
diff --git a/xml-test/valid/metadata.xml b/xml-test/valid/metadata.xml
index c33f7ac..c9d92a3 100644
--- a/xml-test/valid/metadata.xml
+++ b/xml-test/valid/metadata.xml
@@ -14,6 +14,7 @@
<email>upstream@example.com</email>
<name>Upstream Developer</name>
<description>Upstream developer, wishing to be CC-ed on bugs</description>
+ <description lang="tr">Ana geliştirici, hata raporlarında CC'ye ekle</description>
</maintainer>
<longdescription>
First paragraph of extensive description.
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-05-08 5:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-04 7:21 [gentoo-commits] repo/proj/gen-b0rk:master commit in: xml-test/valid/ Brian Dolbec
-- strict thread matches above, loose matches on Subject: below --
2016-05-08 5:43 Brian Dolbec
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox