From f461dd513967d322872b12b8ea059f941c0919f1 Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Sun, 1 May 2016 14:34:53 -0700 Subject: Ebuild invalid pkg This package tests for an invalid package "no version" --- ebuild-test/invalid/invalid.ebuild | 17 +++++++++++++++++ ebuild-test/invalid/metadata.xml | 26 ++++++++++++++++++++++++++ profiles/categories | 1 + 3 files changed, 44 insertions(+) create mode 100644 ebuild-test/invalid/invalid.ebuild create mode 100644 ebuild-test/invalid/metadata.xml diff --git a/ebuild-test/invalid/invalid.ebuild b/ebuild-test/invalid/invalid.ebuild new file mode 100644 index 0000000..6f9af55 --- /dev/null +++ b/ebuild-test/invalid/invalid.ebuild @@ -0,0 +1,17 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Invalid name... missing version" +HOMEPAGE="http://example.com" +SRC_URI="" + +LICENSE="HPND" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND}" diff --git a/ebuild-test/invalid/metadata.xml b/ebuild-test/invalid/metadata.xml new file mode 100644 index 0000000..a698fa7 --- /dev/null +++ b/ebuild-test/invalid/metadata.xml @@ -0,0 +1,26 @@ + + + + + + exampledev@gentoo.org + Primary maintainer + + + exampleproject@gentoo.org + Gentoo Example Project + +Test for an invalid or missing version + diff --git a/profiles/categories b/profiles/categories index 8365ef7..6b6f015 100644 --- a/profiles/categories +++ b/profiles/categories @@ -1,5 +1,6 @@ deps-test eapi-test +ebuild-test keywords-test live-vcs xml-test -- cgit v1.2.3-65-gdbad