aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2016-05-10 23:37:00 -0400
committerMike Gilbert <floppym@gentoo.org>2016-05-10 23:38:02 -0400
commit52cce2bf81f7b45a40cdb3a23908eae1bf449719 (patch)
tree38c947357ec6158587c6deba4b60ad4ac8d84854
parentebuild-test/nesteddie: test for die in a subshell (diff)
downloadgen-b0rk-52cce2bf81f7b45a40cdb3a23908eae1bf449719.tar.gz
gen-b0rk-52cce2bf81f7b45a40cdb3a23908eae1bf449719.tar.bz2
gen-b0rk-52cce2bf81f7b45a40cdb3a23908eae1bf449719.zip
ebuild-test/eapi-definition: test that EAPI is defined according to PMS
-rw-r--r--ebuild-test/eapi-definition/eapi-definition-0.ebuild13
-rw-r--r--ebuild-test/eapi-definition/metadata.xml26
2 files changed, 39 insertions, 0 deletions
diff --git a/ebuild-test/eapi-definition/eapi-definition-0.ebuild b/ebuild-test/eapi-definition/eapi-definition-0.ebuild
new file mode 100644
index 0000000..ce29552
--- /dev/null
+++ b/ebuild-test/eapi-definition/eapi-definition-0.ebuild
@@ -0,0 +1,13 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+: foo
+EAPI=6
+
+DESCRIPTION="EAPI assignment on first non-comment, non-blank line"
+HOMEPAGE="http://example.com/"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
diff --git a/ebuild-test/eapi-definition/metadata.xml b/ebuild-test/eapi-definition/metadata.xml
new file mode 100644
index 0000000..da7c4a8
--- /dev/null
+++ b/ebuild-test/eapi-definition/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<!--
+# $Id$
+
+This is the example metadata file.
+The root element of this file is <pkgmetadata>. Within this element a
+number of subelements are allowed, the most common being maintainer.
+
+For a full description look at:
+https://devmanual.gentoo.org/ebuild-writing/misc-files/metadata/
+
+Before committing, please remove the comments from this file. They are
+not relevant for general metadata.xml files.
+-->
+<pkgmetadata>
+<maintainer type="person">
+ <email>exampledev@gentoo.org</email>
+ <description>Primary maintainer</description>
+</maintainer>
+<maintainer type="project">
+ <email>exampleproject@gentoo.org</email>
+ <name>Gentoo Example Project</name>
+</maintainer>
+<longdescription>Test for ???</longdescription>
+</pkgmetadata>