aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2017-03-01 21:07:26 +0100
committerUlrich Müller <ulm@gentoo.org>2017-03-01 21:07:26 +0100
commit105b6807d50a7cb2fc1b984790529cbbcdbd7a24 (patch)
tree3024a2e26882b1c25d091d3c79476d43edcf573d
parentebuild-test/RDEPEND-slotop-any-of: new test (diff)
downloadgen-b0rk-105b6807d50a7cb2fc1b984790529cbbcdbd7a24.tar.gz
gen-b0rk-105b6807d50a7cb2fc1b984790529cbbcdbd7a24.tar.bz2
gen-b0rk-105b6807d50a7cb2fc1b984790529cbbcdbd7a24.zip
ebuild-test/badheader-id: New test for stale CVS keywords in ebuild header.
The "# $Id$" line has been abolished. This test corresponds to the following repoman commit: https://gitweb.gentoo.org/proj/portage.git/commit/?id=44d6f11f37970a60ac2e4d7252180d96793e02d3
-rw-r--r--ebuild-test/badheader-id/badheader-id-0.ebuild12
-rw-r--r--ebuild-test/badheader-id/metadata.xml26
2 files changed, 38 insertions, 0 deletions
diff --git a/ebuild-test/badheader-id/badheader-id-0.ebuild b/ebuild-test/badheader-id/badheader-id-0.ebuild
new file mode 100644
index 0000000..2b88d88
--- /dev/null
+++ b/ebuild-test/badheader-id/badheader-id-0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Stale $Id$ line in header"
+HOMEPAGE="http://example.com/"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
diff --git a/ebuild-test/badheader-id/metadata.xml b/ebuild-test/badheader-id/metadata.xml
new file mode 100644
index 0000000..da7c4a8
--- /dev/null
+++ b/ebuild-test/badheader-id/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>