diff options
author | Otavio Pontes <otaviobp@gmail.com> | 2010-06-22 12:56:40 +0000 |
---|---|---|
committer | Otavio Pontes <otaviobp@gmail.com> | 2010-06-22 12:56:40 +0000 |
commit | 20c52e0e96812e6a80a8d108b5cd40a8e1aa0b00 (patch) | |
tree | ed5c2504fc2d310736449c11cc000104a292b338 /pym/_emerge/Scheduler.py | |
parent | Adding myrepo param in findname and findname2 and using it in depgraph (diff) | |
download | portage-multirepo-20c52e0e96812e6a80a8d108b5cd40a8e1aa0b00.tar.gz portage-multirepo-20c52e0e96812e6a80a8d108b5cd40a8e1aa0b00.tar.bz2 portage-multirepo-20c52e0e96812e6a80a8d108b5cd40a8e1aa0b00.zip |
Using findname with new parameter myrepo, to find packages from specific packages.
Diffstat (limited to 'pym/_emerge/Scheduler.py')
-rw-r--r-- | pym/_emerge/Scheduler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index d22d104b..2b26f5b4 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -663,7 +663,7 @@ class Scheduler(PollScheduler): 'digest' not in pkgsettings.features: continue portdb = x.root_config.trees['porttree'].dbapi - ebuild_path = portdb.findname(x.cpv) + ebuild_path = portdb.findname(x.cpv, myrepo=x.metadata['repository']) if ebuild_path is None: raise AssertionError("ebuild not found for '%s'" % x.cpv) pkgsettings['O'] = os.path.dirname(ebuild_path) @@ -709,7 +709,7 @@ class Scheduler(PollScheduler): root_config = x.root_config portdb = root_config.trees["porttree"].dbapi quiet_config = quiet_settings[root_config.root] - ebuild_path = portdb.findname(x.cpv) + ebuild_path = portdb.findname(x.cpv, myrepo=x.metadata['repository']) if ebuild_path is None: raise AssertionError("ebuild not found for '%s'" % x.cpv) quiet_config["O"] = os.path.dirname(ebuild_path) @@ -905,7 +905,7 @@ class Scheduler(PollScheduler): else: tree = "porttree" portdb = root_config.trees["porttree"].dbapi - ebuild_path = portdb.findname(x.cpv) + ebuild_path = portdb.findname(x.cpv, myrepo=x.metadata['repository']) if ebuild_path is None: raise AssertionError("ebuild not found for '%s'" % x.cpv) |