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 ) id 1RNVZx-00040M-IH for garchives@archives.gentoo.org; Mon, 07 Nov 2011 20:14:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 502BC21C02A; Mon, 7 Nov 2011 20:13:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 215F721C02A for ; Mon, 7 Nov 2011 20:13:53 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 98CE91B4028 for ; Mon, 7 Nov 2011 20:13:52 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 0E9E980042 for ; Mon, 7 Nov 2011 20:13:52 +0000 (UTC) From: "Arfrever Frehtes Taifersar Arahesis" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arfrever Frehtes Taifersar Arahesis" Message-ID: <36bdacd2807d0ab6cfecc590426df52c7b1c29d8.arfrever@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/actions.py pym/_emerge/main.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: arfrever X-VCS-Committer-Name: Arfrever Frehtes Taifersar Arahesis X-VCS-Revision: 36bdacd2807d0ab6cfecc590426df52c7b1c29d8 Date: Mon, 7 Nov 2011 20:13:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 240c86ff-35d0-445a-a1c0-f987c793816a X-Archives-Hash: b5fcc9b98d814c44351e7c645589a6f2 commit: 36bdacd2807d0ab6cfecc590426df52c7b1c29d8 Author: Arfrever Frehtes Taifersar Arahesis Gentoo Org> AuthorDate: Mon Nov 7 20:11:31 2011 +0000 Commit: Arfrever Frehtes Taifersar Arahesis gentoo org> CommitDate: Mon Nov 7 20:11:31 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/portage.git;a= =3Dcommit;h=3D36bdacd2 Allow repository dependencies in command line arguments for --config and = --info actions. --- pym/_emerge/actions.py | 2 +- pym/_emerge/main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index af3780e..4a72ff4 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -461,7 +461,7 @@ def action_config(settings, trees, myopts, myfiles): if len(myfiles) !=3D 1: print(red("!!! config can only take a single package atom at this time= \n")) sys.exit(1) - if not is_valid_package_atom(myfiles[0]): + if not is_valid_package_atom(myfiles[0], allow_repo=3DTrue): portage.writemsg("!!! '%s' is not a valid package atom.\n" % myfiles[0= ], noiselevel=3D-1) portage.writemsg("!!! Please check ebuild(5) for full details.\n") diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index d4a6bd3..e2e12c6 100644 --- a/pym/_emerge/main.py +++ b/pym/_emerge/main.py @@ -1962,7 +1962,7 @@ def emerge_main(args=3DNone): bindb =3D trees[settings['EROOT']]["bintree"].dbapi valid_atoms =3D [] for x in myfiles: - if is_valid_package_atom(x): + if is_valid_package_atom(x, allow_repo=3DTrue): try: #look at the installed files first, if there is no match #look at the ebuilds, since EAPI 4 allows running pkg_info