aboutsummaryrefslogtreecommitdiff
blob: 99cbc5e1a7575c2185260ea2ed73f90149f21d21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#	vim:fileencoding=utf-8
# (c) 2011 Michał Górny <mgorny@gentoo.org>
# Released under the terms of the 2-clause BSD license.

import os.path

eclass_contents = """# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

HOMEPAGE="http://www.gentoo.org/proj/en/qa/pms/pms-test-suite.xml"
SRC_URI=""

LICENSE="as-is"
SLOT=${PV}
IUSE=""

RESTRICT="mirror"
S=${WORKDIR}
"""

def get_common_eclass_files():
	"""
	Return a file-dict for the eclass.

	@return: file-dict with the eclass contents
	@rtype: dict(string -> stringifiable)
	"""
	return {
		os.path.join('eclass', 'pms-test.eclass'): eclass_contents
	}