Gentoo Archives: gentoo-commits

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