Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 305469
Collapse All | Expand All

(-)a/repoman (+11 lines)
Lines 291-296 qahelp={ Link Here
291
	"inherit.autotools":"Ebuild inherits autotools but does not call eautomake, eautoconf or eautoreconf",
291
	"inherit.autotools":"Ebuild inherits autotools but does not call eautomake, eautoconf or eautoreconf",
292
	"inherit.deprecated":"Ebuild inherits a deprecated eclass",
292
	"inherit.deprecated":"Ebuild inherits a deprecated eclass",
293
	"java.eclassesnotused":"With virtual/jdk in DEPEND you must inherit a java eclass",
293
	"java.eclassesnotused":"With virtual/jdk in DEPEND you must inherit a java eclass",
294
	"wxwidgets.eclassnotused":"Ebuild DEPENDs on x11-libs/wxGTK without inheriting wxwidgets.eclass",
294
	"KEYWORDS.dropped":"Ebuilds that appear to have dropped KEYWORDS for some arch",
295
	"KEYWORDS.dropped":"Ebuilds that appear to have dropped KEYWORDS for some arch",
295
	"KEYWORDS.missing":"Ebuilds that have a missing or empty KEYWORDS variable",
296
	"KEYWORDS.missing":"Ebuilds that have a missing or empty KEYWORDS variable",
296
	"KEYWORDS.stable":"Ebuilds that have been added directly with stable KEYWORDS",
297
	"KEYWORDS.stable":"Ebuilds that have been added directly with stable KEYWORDS",
Lines 404-409 qawarnings = set(( Link Here
404
"inherit.autotools",
405
"inherit.autotools",
405
"inherit.deprecated",
406
"inherit.deprecated",
406
"java.eclassesnotused",
407
"java.eclassesnotused",
408
"wxwidgets.eclassnotused",
407
"metadata.warning",
409
"metadata.warning",
408
"virtual.versioned",
410
"virtual.versioned",
409
"virtual.exists",
411
"virtual.exists",
Lines 1631-1636 for x in scanlist: Link Here
1631
1633
1632
		inherited_java_eclass = "java-pkg-2" in inherited or \
1634
		inherited_java_eclass = "java-pkg-2" in inherited or \
1633
			"java-pkg-opt-2" in inherited
1635
			"java-pkg-opt-2" in inherited
1636
		inherited_wxwidgets_eclass = "wxwidgets" in inherited
1634
		operator_tokens = set(["||", "(", ")"])
1637
		operator_tokens = set(["||", "(", ")"])
1635
		type_list, badsyntax = [], []
1638
		type_list, badsyntax = [], []
1636
		for mytype in ("DEPEND", "RDEPEND", "PDEPEND",
1639
		for mytype in ("DEPEND", "RDEPEND", "PDEPEND",
Lines 1667-1672 for x in scanlist: Link Here
1667
						atom.cp == "virtual/jdk":
1670
						atom.cp == "virtual/jdk":
1668
						stats['java.eclassesnotused'] += 1
1671
						stats['java.eclassesnotused'] += 1
1669
						fails['java.eclassesnotused'].append(relative_path)
1672
						fails['java.eclassesnotused'].append(relative_path)
1673
					elif mytype == "DEPEND" and \
1674
						not is_blocker and \
1675
						not inherited_wxwidgets_eclass and \
1676
						atom.cp == "x11-libs/wxGTK":
1677
						stats['wxwidgets.eclassnotused'] += 1
1678
						fails['wxwidgets.eclassnotused'].append(
1679
							relative_path + ": DEPENDs on x11-libs/wxGTK"
1680
							" without inheriting wxwidgets.eclass")
1670
					elif mytype in ("PDEPEND", "RDEPEND"):
1681
					elif mytype in ("PDEPEND", "RDEPEND"):
1671
						if not is_blocker and \
1682
						if not is_blocker and \
1672
							atom.cp in suspect_rdepend:
1683
							atom.cp in suspect_rdepend:

Return to bug 305469