Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 213629 | Differences between
and this patch

Collapse All | Expand All

(-)repoman (-2 / +6 lines)
Lines 261-266 Link Here
261
	"DESCRIPTION.missing":"Ebuilds that have a missing or empty DESCRIPTION variable",
261
	"DESCRIPTION.missing":"Ebuilds that have a missing or empty DESCRIPTION variable",
262
	"DESCRIPTION.toolong":"DESCRIPTION is over %d characters" % max_desc_len,
262
	"DESCRIPTION.toolong":"DESCRIPTION is over %d characters" % max_desc_len,
263
	"EAPI.unsupported":"Ebuilds that have an unsupported EAPI version (you must upgrade portage)",
263
	"EAPI.unsupported":"Ebuilds that have an unsupported EAPI version (you must upgrade portage)",
264
	"EAPI1_IN_EAPI1":"Ebuild uses EAPI1 features but does not declare an EAPI",
264
	"SLOT.missing":"Ebuilds that have a missing or empty SLOT variable",
265
	"SLOT.missing":"Ebuilds that have a missing or empty SLOT variable",
265
	"HOMEPAGE.missing":"Ebuilds that have a missing or empty HOMEPAGE variable",
266
	"HOMEPAGE.missing":"Ebuilds that have a missing or empty HOMEPAGE variable",
266
	"DEPEND.bad":"User-visible ebuilds with bad DEPEND settings (matched against *visible* ebuilds)",
267
	"DEPEND.bad":"User-visible ebuilds with bad DEPEND settings (matched against *visible* ebuilds)",
Lines 1166-1174 Link Here
1166
					if token in operator_tokens or \
1167
					if token in operator_tokens or \
1167
						token.endswith("?"):
1168
						token.endswith("?"):
1168
						continue
1169
						continue
1169
					if not portage.isvalidatom(token, allow_blockers=True) or \
1170
					if not portage.isvalidatom(token, allow_blockers=True):
1170
						":" in token and myaux["EAPI"] == "0":
1171
						badsyntax.append("'%s' not a valid atom" % token)
1171
						badsyntax.append("'%s' not a valid atom" % token)
1172
					if portage.dep.dep_getslot(token) and myaux['EAPI'] == '0':
1173
						stats['EAPI1_IN_EAPI0'] += 1
1174
						fails['EAPI1_IN_EAPI0'].append('%s is EAPI1 atom in EAPI0 ebuild %s' \
1175
							% (token, catpkt + '.ebuild'))
1172
1176
1173
			type_list.extend([mytype] * (len(badsyntax) - len(type_list)))
1177
			type_list.extend([mytype] * (len(badsyntax) - len(type_list)))
1174
1178

Return to bug 213629