commit: 21391fe9f0c38c21661580d5005979ad96562004 Author: Göktürk Yüksek <gokturk <AT> binghamton <DOT> edu> AuthorDate: Thu May 5 23:24:47 2016 +0000 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org> CommitDate: Fri May 6 06:05:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/proj/gen-b0rk.git/commit/?id=21391fe9
xml-test/missing-elements: test for missing mandatory elements Signed-off-by: Göktürk Yüksek <gokturk <AT> binghamton.edu> xml-test/missing-elements/metadata.xml | 17 +++++++++++++++++ xml-test/missing-elements/missing-elements-0.1.ebuild | 11 +++++++++++ 2 files changed, 28 insertions(+) diff --git a/xml-test/missing-elements/metadata.xml b/xml-test/missing-elements/metadata.xml new file mode 100644 index 0000000..b46a340 --- /dev/null +++ b/xml-test/missing-elements/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <longdescription> + Tests for mandatory elements + </longdescription> + <!-- Missing element <email> --> + <maintainer type='person'> + <name>Gen B0rk</name> + </maintainer> + <upstream> + <!-- Missing element <name> --> + <maintainer> + <email>gen-b...@gentoo.org</email> + </maintainer> + </upstream> +</pkgmetadata> diff --git a/xml-test/missing-elements/missing-elements-0.1.ebuild b/xml-test/missing-elements/missing-elements-0.1.ebuild new file mode 100644 index 0000000..93648c3 --- /dev/null +++ b/xml-test/missing-elements/missing-elements-0.1.ebuild @@ -0,0 +1,11 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Missing various mandatory elements in the metadata" +HOMEPAGE="https://wiki.gentoo.org/wiki/GLEP:68" +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64"