Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 140222 Details for
Bug 204468
virtual x11 deprecation not needed any more
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
no-x11-check.patch
no-x11-check.patch (text/plain), 1.18 KB, created by
Markus Ullmann (RETIRED)
on 2008-01-05 20:08:52 UTC
(
hide
)
Description:
no-x11-check.patch
Filename:
MIME Type:
Creator:
Markus Ullmann (RETIRED)
Created:
2008-01-05 20:08:52 UTC
Size:
1.18 KB
patch
obsolete
>--- ./repoman.orig 2008-01-01 19:57:17.000000000 +0100 >+++ ./repoman 2008-01-05 21:06:13.274801465 +0100 >@@ -909,26 +909,6 @@ > xmllint_capable=True > > >-def x11_deprecation_check(depstr): >- if depstr.find("virtual/x11") == -1: >- return False >- depsplit = depstr.split() >- ok_stack = [] >- ok = False >- for token in depsplit: >- if token == "(": >- ok_stack.append(ok) >- ok = False >- elif token == ")": >- ok = ok_stack.pop() >- elif token == "||": >- ok = True >- else: >- ok = False >- if token.find("virtual/x11") != -1 and (not ok_stack or not ok_stack[-1]): >- return True >- return False >- > MISSING_QUOTES_ERROR = 'Unquoted Variable on line: %d' > NESTED_DIE_ERROR = 'Ebuild calls die in a subshell on line: %d' > REDUNDANT_CD_S_ERROR = 'Ebuild has redundant cd ${S} statement on line: %d' >@@ -1605,11 +1585,6 @@ > badlicsyntax = badlicsyntax > 0 > badprovsyntax = badprovsyntax > 0 > >- if not baddepsyntax: >- if x11_deprecation_check(" ".join([myaux["DEPEND"], myaux["RDEPEND"], myaux["PDEPEND"]])): >- stats["usage.obsolete"] += 1 >- fails["usage.obsolete"].append("%s/%s.ebuild: not migrated to modular X" % (x, y)) >- > # uselist checks - global > myuse = [] > default_use = []
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 204468
: 140222