1 |
Signed-off-by: Göktürk Yüksek <gokturk@××××××××××.edu> |
2 |
--- |
3 |
xml-test/singularity/metadata.xml | 43 +++++++++++++++++++++++++++++ |
4 |
xml-test/singularity/singularity-0.1.ebuild | 11 ++++++++ |
5 |
2 files changed, 54 insertions(+) |
6 |
create mode 100644 xml-test/singularity/metadata.xml |
7 |
create mode 100644 xml-test/singularity/singularity-0.1.ebuild |
8 |
|
9 |
diff --git a/xml-test/singularity/metadata.xml b/xml-test/singularity/metadata.xml |
10 |
new file mode 100644 |
11 |
index 0000000..640acf6 |
12 |
--- /dev/null |
13 |
+++ b/xml-test/singularity/metadata.xml |
14 |
@@ -0,0 +1,43 @@ |
15 |
+<?xml version="1.0" encoding="UTF-8"?> |
16 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
17 |
+<pkgmetadata> |
18 |
+ <longdescription> |
19 |
+ Tests for elements with at most one occurrence. |
20 |
+ |
21 |
+ Singularity doesn't check for uniqueness. We are only interested |
22 |
+ in elements that can't appear more than once. |
23 |
+ |
24 |
+ The tests are conservative: if we check <email> element |
25 |
+ singularity in downstream maintainer, we do not check it again |
26 |
+ in upstream maintainer. |
27 |
+ </longdescription> |
28 |
+ <maintainer type='person'> |
29 |
+ <email>gen-b0rk@g.o</email> |
30 |
+ <!-- multiple <email> elements are not allowed --> |
31 |
+ <email>at-most-one-violation@g.o</email> |
32 |
+ </maintainer> |
33 |
+ <slots> |
34 |
+ <subslots>Match SONAME of libsingularity.so</subslots> |
35 |
+ <!-- multiple <subslots> elements are not allowed --> |
36 |
+ <subslots>at-most-one violation</subslots> |
37 |
+ </slots> |
38 |
+ <upstream> |
39 |
+ <maintainer> |
40 |
+ <name>Gen B0rk</name> |
41 |
+ <!-- multiple <name> elements are not allowed --> |
42 |
+ <name>at-most-one violation</name> |
43 |
+ </maintainer> |
44 |
+ <changelog>https://gitweb.gentoo.org/repo/proj/gen-b0rk.git/</changelog> |
45 |
+ <!-- multiple <changelog> elements are not allowed --> |
46 |
+ <changelog>https://gentoo.org/at-most-one-violation.html</changelog> |
47 |
+ <bugs-to>http://www.example.com/issues.html</bugs-to> |
48 |
+ <!-- multiple <bugs-to> elements are not allowed --> |
49 |
+ <bugs-to>https://gentoo.org/at-most-one-violation</bugs-to> |
50 |
+ </upstream> |
51 |
+ <!-- multiple <upstream> elements are not allowed --> |
52 |
+ <upstream> |
53 |
+ <maintainer> |
54 |
+ <name>Gen B0rk</name> |
55 |
+ </maintainer> |
56 |
+ </upstream> |
57 |
+</pkgmetadata> |
58 |
diff --git a/xml-test/singularity/singularity-0.1.ebuild b/xml-test/singularity/singularity-0.1.ebuild |
59 |
new file mode 100644 |
60 |
index 0000000..6683aad |
61 |
--- /dev/null |
62 |
+++ b/xml-test/singularity/singularity-0.1.ebuild |
63 |
@@ -0,0 +1,11 @@ |
64 |
+# Copyright 1999-2016 Gentoo Foundation |
65 |
+# Distributed under the terms of the GNU General Public License v2 |
66 |
+# $Id$ |
67 |
+ |
68 |
+EAPI=6 |
69 |
+ |
70 |
+DESCRIPTION="Tests for element singularity" |
71 |
+HOMEPAGE="https://wiki.gentoo.org/wiki/GLEP:68" |
72 |
+LICENSE="HPND" |
73 |
+SLOT="0" |
74 |
+KEYWORDS="~amd64" |
75 |
-- |
76 |
2.7.3 |