From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from <gentoo-commits+bounces-380177-garchives=archives.gentoo.org@lists.gentoo.org>) id 1R0iFw-0007cO-6y for garchives@archives.gentoo.org; Mon, 05 Sep 2011 23:07:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 11D8E21C041; Mon, 5 Sep 2011 23:06:59 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id D9A4D21C041 for <gentoo-commits@lists.gentoo.org>; Mon, 5 Sep 2011 23:06:59 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1F541B4013 for <gentoo-commits@lists.gentoo.org>; Mon, 5 Sep 2011 23:06:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 999DC80042 for <gentoo-commits@lists.gentoo.org>; Mon, 5 Sep 2011 23:06:57 +0000 (UTC) From: "Zac Medico" <zmedico@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" <zmedico@gentoo.org> Message-ID: <b2607fa29ce49e08b4957babce1fb1204ca5a1ad.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/tests/emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/tests/emerge/test_simple.py X-VCS-Directories: pym/portage/tests/emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: b2607fa29ce49e08b4957babce1fb1204ca5a1ad Date: Mon, 5 Sep 2011 23:06:57 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 22ac5a43be67dcc832eab60a2e7e86b7 commit: b2607fa29ce49e08b4957babce1fb1204ca5a1ad Author: Zac Medico <zmedico <AT> gentoo <DOT> org> AuthorDate: Mon Sep 5 23:06:44 2011 +0000 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> CommitDate: Mon Sep 5 23:06:44 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3Db2607fa2 tests/emerge: test portageq --- pym/portage/tests/emerge/test_simple.py | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/pym/portage/tests/emerge/test_simple.py b/pym/portage/tests/= emerge/test_simple.py index 3f7a3be..62cb46c 100644 --- a/pym/portage/tests/emerge/test_simple.py +++ b/pym/portage/tests/emerge/test_simple.py @@ -118,6 +118,12 @@ src_install() { ), ) =20 + playground =3D ResolverPlayground( + ebuilds=3Debuilds, installed=3Dinstalled, debug=3Ddebug) + settings =3D playground.settings + eprefix =3D settings["EPREFIX"] + eroot =3D settings["EROOT"] + portage_python =3D portage._python_interpreter egencache_cmd =3D (portage_python, "-Wd", os.path.join(PORTAGE_BIN_PATH, "egencache")) @@ -125,6 +131,8 @@ src_install() { os.path.join(PORTAGE_BIN_PATH, "emerge")) emaint_cmd =3D (portage_python, "-Wd", os.path.join(PORTAGE_BIN_PATH, "emaint")) + portageq_cmd =3D (portage_python, "-Wd", + os.path.join(PORTAGE_BIN_PATH, "portageq")) quickpkg_cmd =3D (portage_python, "-Wd", os.path.join(PORTAGE_BIN_PATH, "quickpkg")) =20 @@ -151,13 +159,18 @@ src_install() { emerge_cmd + ("--usepkgonly", "dev-libs/A"), emaint_cmd + ("--check", "all"), emaint_cmd + ("--fix", "all"), + portageq_cmd + ("match", "/", "dev-libs/A"), + portageq_cmd + ("best_visible", "/", "dev-libs/A"), + portageq_cmd + ("best_visible", "/", "binary", "dev-libs/A"), + portageq_cmd + ("contents", "/", "dev-libs/A-1"), + portageq_cmd + ("metadata", "/", "ebuild", "dev-libs/A-1", "EAPI", "I= USE", "RDEPEND"), + portageq_cmd + ("metadata", "/", "binary", "dev-libs/A-1", "EAPI", "U= SE", "RDEPEND"), + portageq_cmd + ("metadata", "/", "installed", "dev-libs/A-1", "EAPI",= "USE", "RDEPEND"), + portageq_cmd + ("owners", "/", eroot + "usr"), emerge_cmd + ("--unmerge", "--quiet", "dev-libs/A"), emerge_cmd + ("-C", "--quiet", "dev-libs/B"), ) =20 - playground =3D ResolverPlayground(ebuilds=3Debuilds, installed=3Dinsta= lled) - settings =3D playground.settings - eprefix =3D settings["EPREFIX"] distdir =3D os.path.join(eprefix, "distdir") pkgdir =3D os.path.join(eprefix, "pkgdir") fake_bin =3D os.path.join(eprefix, "bin")