From 529f813023df5cb709aa7e9d344393f767d2d821 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 15 Aug 2010 01:39:40 -0700 Subject: [PATCH] Add some ebuild metadata for realism. --- pym/portage/tests/ebuild/test_doebuild_spawn.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pym/portage/tests/ebuild/test_doebuild_spawn.py b/pym/portage/tests/ebuild/test_doebuild_spawn.py index 9882f2a03..f93fa8758 100644 --- a/pym/portage/tests/ebuild/test_doebuild_spawn.py +++ b/pym/portage/tests/ebuild/test_doebuild_spawn.py @@ -23,7 +23,15 @@ class DoebuildSpawnTestCase(TestCase): try: settings = config(clone=playground.settings) cpv = 'sys-apps/portage-2.1' - metadata = {} + metadata = { + 'EAPI' : '2', + 'INHERITED' : 'python eutils', + 'IUSE' : 'build doc epydoc python3 selinux', + 'LICENSE' : 'GPL-2', + 'PROVIDE' : 'virtual/portage', + 'RDEPEND' : '>=app-shells/bash-3.2_p17 >=dev-lang/python-2.6', + 'SLOT' : '0', + } settings.setcpv(cpv, mydb=metadata) settings['PORTAGE_PYTHON'] = sys.executable settings['PORTAGE_BUILDDIR'] = os.path.join( -- 2.26.2