projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0669607
)
Sync match_to_list >=, <=, etc.. code with the new = code.
author
Zac Medico
<zmedico@gentoo.org>
Wed, 6 Dec 2006 18:47:01 +0000
(18:47 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Wed, 6 Dec 2006 18:47:01 +0000
(18:47 -0000)
svn path=/main/trunk/; revision=5176
pym/portage_dep.py
patch
|
blob
|
history
diff --git
a/pym/portage_dep.py
b/pym/portage_dep.py
index 4669682f25cf99a688fa66b8fbc6249a2c95af0e..32562e4ca9a32531807ce29736b655dc36b8b5af 100644
(file)
--- a/
pym/portage_dep.py
+++ b/
pym/portage_dep.py
@@
-561,9
+561,10
@@
def match_from_list(mydep, candidate_list):
mylist.append(x)
elif operator in [">", ">=", "<", "<="]:
+ mysplit = ["%s/%s" % (cat, pkg), ver, rev]
for x in candidate_list:
try:
- result = pkgcmp(pkgsplit(x),
[cat + "/" + pkg, ver, rev]
)
+ result = pkgcmp(pkgsplit(x),
mysplit
)
except SystemExit:
raise
except: