Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 155793 Details for
Bug 224271
[TRACKER] ebuilds with undefined IUSE variable.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
repoman check for undefined IUSE
iuse_not_defined.patch (text/plain), 752 bytes, created by
Zac Medico
on 2008-06-07 09:32:08 UTC
(
hide
)
Description:
repoman check for undefined IUSE
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2008-06-07 09:32:08 UTC
Size:
752 bytes
patch
obsolete
>Index: bin/repoman >=================================================================== >--- bin/repoman (revision 10589) >+++ bin/repoman (revision 10590) >@@ -1108,14 +1108,21 @@ > EbuildUselessCdS, EbuildNestedDie, > EbuildPatches, EbuildQuotedA))) > >+_iuse_def_re = re.compile(r'^IUSE=.*') >+ > def run_checks(contents): >+ iuse_def = None > for num, line in enumerate(contents): >+ if iuse_def is None: >+ iuse_def = _iuse_def_re.match(line) > for lc in _constant_checks: > ignore = lc.ignore_line > if not ignore or not ignore.match(line): > e = lc.check(num, line) > if e: > yield lc.repoman_check_name, e % (num + 1) >+ if iuse_def is None: >+ yield 'ebuild.minorsyn', 'IUSE is not defined' > > if mymode == "commit": > retval = ("","")
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 224271
: 155793