Add some ebuild metadata for realism.
authorZac Medico <zmedico@gentoo.org>
Sun, 15 Aug 2010 08:39:40 +0000 (01:39 -0700)
committerZac Medico <zmedico@gentoo.org>
Sun, 15 Aug 2010 08:39:40 +0000 (01:39 -0700)
pym/portage/tests/ebuild/test_doebuild_spawn.py

index 9882f2a037ca18456a7766690b6996e4bc5eb9a9..f93fa8758b79b3a5f718529a2695a4cba3404d11 100644 (file)
@@ -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(