Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 80440 Details for
Bug 123725
gentoolkit-0.2.2_pre2: bugs in equery deps parsing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gentoolkit-0.2.2_pre2--deps-parsing-fix.patch
gentoolkit-0.2.2_pre2--deps-parsing-fix.patch (text/plain), 800 bytes, created by
TGL
on 2006-02-22 10:29:06 UTC
(
hide
)
Description:
gentoolkit-0.2.2_pre2--deps-parsing-fix.patch
Filename:
MIME Type:
Creator:
TGL
Created:
2006-02-22 10:29:06 UTC
Size:
800 bytes
patch
obsolete
>--- pym/gentoolkit/package.py.orig 2006-02-22 18:57:45.000000000 +0100 >+++ pym/gentoolkit/package.py 2006-02-22 18:57:59.000000000 +0100 >@@ -86,7 +86,7 @@ > tok = deps[i] > if tok == ')': > return r,i >- if tok[-1] == "?" or tok[0] == "!": >+ if tok[-1] == "?": > tok = tok.replace("?","") > sr,l = self._parse_deps(deps[i+2:],curuse=curuse+[tok],level=level+1) > r += sr >@@ -97,6 +97,16 @@ > r += sr > i += l + 3 > continue >+ # conjonction, like in "|| ( ( foo bar ) baz )" => recurse >+ if tok == "(": >+ sr,l = self._parse_deps(deps[i+1:],curuse,level=level+1) >+ r += sr >+ i += l + 2 >+ continue >+ # pkg block "!foo/bar" => ignore it >+ if tok[0] == "!": >+ i += 1 >+ continue > # pick out comparator, if any > cmp = "" > for c in comparators:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 123725
: 80440