commit:     31c5744bd8be01bfcd448c13e3390d601127da77
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 21 07:45:18 2016 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Tue Jun 21 07:45:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/proj/gen-b0rk.git/commit/?id=31c5744b

profiles/categories: new 'not-broken' category for negative tests

Adds a package with 2 subslots. To be used in slot operator test.

Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org>

 not-broken/pkg1-subslot/metadata.xml          |  7 +++++++
 not-broken/pkg1-subslot/pkg1-subslot-0.ebuild | 12 ++++++++++++
 not-broken/pkg1-subslot/pkg1-subslot-1.ebuild | 12 ++++++++++++
 profiles/categories                           |  1 +
 4 files changed, 32 insertions(+)

diff --git a/not-broken/pkg1-subslot/metadata.xml 
b/not-broken/pkg1-subslot/metadata.xml
new file mode 100644
index 0000000..fb12b62
--- /dev/null
+++ b/not-broken/pkg1-subslot/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <longdescription>Negative test: repoman should not fire on these
+       ebuilds. Ebuilds can be used to test other ebuild problems.
+       </longdescription>
+</pkgmetadata>

diff --git a/not-broken/pkg1-subslot/pkg1-subslot-0.ebuild 
b/not-broken/pkg1-subslot/pkg1-subslot-0.ebuild
new file mode 100644
index 0000000..e42c852
--- /dev/null
+++ b/not-broken/pkg1-subslot/pkg1-subslot-0.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Package with subslots"
+HOMEPAGE="http://gentoo.org/";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"

diff --git a/not-broken/pkg1-subslot/pkg1-subslot-1.ebuild 
b/not-broken/pkg1-subslot/pkg1-subslot-1.ebuild
new file mode 100644
index 0000000..e42c852
--- /dev/null
+++ b/not-broken/pkg1-subslot/pkg1-subslot-1.ebuild
@@ -0,0 +1,12 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Package with subslots"
+HOMEPAGE="http://gentoo.org/";
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"

diff --git a/profiles/categories b/profiles/categories
index a88f091..78e3c9d 100644
--- a/profiles/categories
+++ b/profiles/categories
@@ -3,4 +3,5 @@ eapi-test
 ebuild-test
 eclass-test
 keywords-test
+not-broken
 xml-test

Reply via email to