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

(-)a/bin/repoman (+16 lines)
Lines 324-329 qahelp = { Link Here
324
	"LIVEVCS.unmasked": "This ebuild is a live checkout from a VCS but has keywords and is not masked in the global package.mask.",
324
	"LIVEVCS.unmasked": "This ebuild is a live checkout from a VCS but has keywords and is not masked in the global package.mask.",
325
	"IUSE.invalid": "This ebuild has a variable in IUSE that is not in the use.desc or its metadata.xml file",
325
	"IUSE.invalid": "This ebuild has a variable in IUSE that is not in the use.desc or its metadata.xml file",
326
	"IUSE.missing": "This ebuild has a USE conditional which references a flag that is not listed in IUSE",
326
	"IUSE.missing": "This ebuild has a USE conditional which references a flag that is not listed in IUSE",
327
	"IUSE.rubydeprecated": "The ebuild has set a ruby interpreter in USE_RUBY, that is not available as a ruby target anymore"
327
	"LICENSE.invalid": "This ebuild is listing a license that doesnt exist in portages license/ dir.",
328
	"LICENSE.invalid": "This ebuild is listing a license that doesnt exist in portages license/ dir.",
328
	"LICENSE.deprecated": "This ebuild is listing a deprecated license.",
329
	"LICENSE.deprecated": "This ebuild is listing a deprecated license.",
329
	"KEYWORDS.invalid": "This ebuild contains KEYWORDS that are not listed in profiles/arch.list or for which no valid profile was found",
330
	"KEYWORDS.invalid": "This ebuild contains KEYWORDS that are not listed in profiles/arch.list or for which no valid profile was found",
Lines 392-397 qawarnings = set(( Link Here
392
"upstream.workaround",
393
"upstream.workaround",
393
"LIVEVCS.stable",
394
"LIVEVCS.stable",
394
"LIVEVCS.unmasked",
395
"LIVEVCS.unmasked",
396
"IUSE.rubydeprecated",
395
))
397
))
396
398
397
if portage.const._ENABLE_INHERIT_CHECK:
399
if portage.const._ENABLE_INHERIT_CHECK:
Lines 476-481 suspect_virtual = { Link Here
476
	"dev-libs/libusb-compat":"virtual/libusb",
478
	"dev-libs/libusb-compat":"virtual/libusb",
477
}
479
}
478
480
481
ruby_deprecated = {
482
	"ruby_targets_rbx",
483
	"ruby_targets_ree18",
484
}
485
479
metadata_xml_encoding = 'UTF-8'
486
metadata_xml_encoding = 'UTF-8'
480
metadata_xml_declaration = '<?xml version="1.0" encoding="%s"?>' % \
487
metadata_xml_declaration = '<?xml version="1.0" encoding="%s"?>' % \
481
	(metadata_xml_encoding,)
488
	(metadata_xml_encoding,)
Lines 2105-2110 for x in effective_scanlist: Link Here
2105
		for mypos in range(len(myuse)):
2112
		for mypos in range(len(myuse)):
2106
			stats["IUSE.invalid"] += 1
2113
			stats["IUSE.invalid"] += 1
2107
			fails["IUSE.invalid"].append(x + "/" + y + ".ebuild: %s" % myuse[mypos])
2114
			fails["IUSE.invalid"].append(x + "/" + y + ".ebuild: %s" % myuse[mypos])
2115
		
2116
		# Check for outdated RUBY targets
2117
		if "ruby-ng" in inherited or "ruby-fakegem" in inherited or "ruby" in inherited:
2118
			ruby_intersection = set(myaux["IUSE"].split()).intersection(set(ruby_deprecated))
2119
			if ruby_intersection:
2120
				for myruby in ruby_intersection:
2121
					stats["IUSE.rubydeprecated"] += 1
2122
					fails["IUSE.rubydeprecated"].append(
2123
						(relative_path + ": Deprecated ruby target: %s") % myruby)
2108
2124
2109
		# license checks
2125
		# license checks
2110
		if not badlicsyntax:
2126
		if not badlicsyntax:
(-)a/man/repoman.1 (-1 / +3 lines)
Lines 347-352 metadata/layout.conf settings. Link Here
347
The ebuild uses an EAPI which is deprecated by the repository's
347
The ebuild uses an EAPI which is deprecated by the repository's
348
metadata/layout.conf settings.
348
metadata/layout.conf settings.
349
.TP
349
.TP
350
.B IUSE.rubydeprecated
351
The ebuild has set a ruby interpreter in USE_RUBY, that is not available as a ruby target anymore
352
.TP
350
.B portage.internal
353
.B portage.internal
351
The ebuild uses an internal Portage function or variable
354
The ebuild uses an internal Portage function or variable
352
.TP
355
.TP
353
- 

Return to bug 469616