Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 146372 Details for
Bug 213629
repoman should complain about eapi when trying to use slot deps in eapi=0
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Same thing with correct spelling ;P
repoman_eapi_patch (text/plain), 1.34 KB, created by
Alec Warner
on 2008-03-17 04:31:39 UTC
(
hide
)
Description:
Same thing with correct spelling ;P
Filename:
MIME Type:
Creator:
Alec Warner
Created:
2008-03-17 04:31:39 UTC
Size:
1.34 KB
patch
obsolete
>Index: repoman >=================================================================== >--- repoman (revision 9349) >+++ repoman (working copy) >@@ -261,6 +261,7 @@ > "DESCRIPTION.missing":"Ebuilds that have a missing or empty DESCRIPTION variable", > "DESCRIPTION.toolong":"DESCRIPTION is over %d characters" % max_desc_len, > "EAPI.unsupported":"Ebuilds that have an unsupported EAPI version (you must upgrade portage)", >+ "EAPI1_IN_EAPI0":"Ebuild uses EAPI1 features but does not declare an EAPI", > "SLOT.missing":"Ebuilds that have a missing or empty SLOT variable", > "HOMEPAGE.missing":"Ebuilds that have a missing or empty HOMEPAGE variable", > "DEPEND.bad":"User-visible ebuilds with bad DEPEND settings (matched against *visible* ebuilds)", >@@ -1166,9 +1167,12 @@ > if token in operator_tokens or \ > token.endswith("?"): > continue >- if not portage.isvalidatom(token, allow_blockers=True) or \ >- ":" in token and myaux["EAPI"] == "0": >+ if not portage.isvalidatom(token, allow_blockers=True): > badsyntax.append("'%s' not a valid atom" % token) >+ if portage.dep.dep_getslot(token) and myaux['EAPI'] == '0': >+ stats['EAPI1_IN_EAPI0'] += 1 >+ fails['EAPI1_IN_EAPI0'].append('%s is EAPI1 atom in EAPI0 ebuild %s' \ >+ % (token, catpkt + '.ebuild')) > > type_list.extend([mytype] * (len(badsyntax) - len(type_list))) >
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 213629
:
146370
| 146372