diff options
Diffstat (limited to 'testdata/repos/standalone')
195 files changed, 233 insertions, 202 deletions
diff --git a/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild b/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild index 304308b5..cf444c78 100644 --- a/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild +++ b/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild @@ -2,8 +2,8 @@ EAPI=7 DESCRIPTION="Ebuild using banned EAPI command" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_install() { dohtml doc/* diff --git a/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-1.ebuild b/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-1.ebuild index ea4fb45b..fed7303c 100644 --- a/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-1.ebuild +++ b/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-1.ebuild @@ -2,8 +2,8 @@ EAPI=7 DESCRIPTION="Ebuild using banned has_version" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_install() { if has_version --host-root stub/stub1; then diff --git a/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-2.ebuild b/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-2.ebuild index 1282287f..fdffeb83 100644 --- a/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-2.ebuild +++ b/testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-2.ebuild @@ -2,8 +2,8 @@ EAPI=6 DESCRIPTION="Ebuild using banned commands" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" pkg_preinst() { usermod -s /bin/bash uucp || die diff --git a/testdata/repos/standalone/BadCommandsCheck/BannedPhaseCall/BannedPhaseCall-0.ebuild b/testdata/repos/standalone/BadCommandsCheck/BannedPhaseCall/BannedPhaseCall-0.ebuild index c7177c07..04b882b0 100644 --- a/testdata/repos/standalone/BadCommandsCheck/BannedPhaseCall/BannedPhaseCall-0.ebuild +++ b/testdata/repos/standalone/BadCommandsCheck/BannedPhaseCall/BannedPhaseCall-0.ebuild @@ -2,8 +2,8 @@ EAPI=8 DESCRIPTION="Ebuild calls phase function directly" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" pkg_postinst() { echo "something" diff --git a/testdata/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild b/testdata/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild index 1ef4813e..a0b58294 100644 --- a/testdata/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild +++ b/testdata/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild @@ -2,8 +2,8 @@ EAPI=6 DESCRIPTION="Ebuild using deprecated EAPI command" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_install() { dohtml doc/* diff --git a/testdata/repos/standalone/CatBadlyFormedXml/stub/stub-0.ebuild b/testdata/repos/standalone/CatBadlyFormedXml/stub/stub-0.ebuild index f0703588..b550809b 100644 --- a/testdata/repos/standalone/CatBadlyFormedXml/stub/stub-0.ebuild +++ b/testdata/repos/standalone/CatBadlyFormedXml/stub/stub-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Stub package to populate category" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/CatInvalidXml/stub/stub-0.ebuild b/testdata/repos/standalone/CatInvalidXml/stub/stub-0.ebuild index f0703588..b550809b 100644 --- a/testdata/repos/standalone/CatInvalidXml/stub/stub-0.ebuild +++ b/testdata/repos/standalone/CatInvalidXml/stub/stub-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Stub package to populate category" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/CatMetadataXmlEmptyElement/stub/stub-0.ebuild b/testdata/repos/standalone/CatMetadataXmlEmptyElement/stub/stub-0.ebuild index f0703588..b550809b 100644 --- a/testdata/repos/standalone/CatMetadataXmlEmptyElement/stub/stub-0.ebuild +++ b/testdata/repos/standalone/CatMetadataXmlEmptyElement/stub/stub-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Stub package to populate category" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/CatMetadataXmlIndentation/stub/stub-0.ebuild b/testdata/repos/standalone/CatMetadataXmlIndentation/stub/stub-0.ebuild index f0703588..b550809b 100644 --- a/testdata/repos/standalone/CatMetadataXmlIndentation/stub/stub-0.ebuild +++ b/testdata/repos/standalone/CatMetadataXmlIndentation/stub/stub-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Stub package to populate category" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/CatMetadataXmlInvalidCatRef/stub/stub-0.ebuild b/testdata/repos/standalone/CatMetadataXmlInvalidCatRef/stub/stub-0.ebuild index f0703588..b550809b 100644 --- a/testdata/repos/standalone/CatMetadataXmlInvalidCatRef/stub/stub-0.ebuild +++ b/testdata/repos/standalone/CatMetadataXmlInvalidCatRef/stub/stub-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Stub package to populate category" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/CatMetadataXmlInvalidPkgRef/stub/stub-0.ebuild b/testdata/repos/standalone/CatMetadataXmlInvalidPkgRef/stub/stub-0.ebuild index f0703588..b550809b 100644 --- a/testdata/repos/standalone/CatMetadataXmlInvalidPkgRef/stub/stub-0.ebuild +++ b/testdata/repos/standalone/CatMetadataXmlInvalidPkgRef/stub/stub-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Stub package to populate category" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/DeclarationShadowedCheck/DuplicateFunctionDefinition/DuplicateFunctionDefinition-0.ebuild b/testdata/repos/standalone/DeclarationShadowedCheck/DuplicateFunctionDefinition/DuplicateFunctionDefinition-0.ebuild index ad8ec8b7..461b6062 100644 --- a/testdata/repos/standalone/DeclarationShadowedCheck/DuplicateFunctionDefinition/DuplicateFunctionDefinition-0.ebuild +++ b/testdata/repos/standalone/DeclarationShadowedCheck/DuplicateFunctionDefinition/DuplicateFunctionDefinition-0.ebuild @@ -1,8 +1,8 @@ -HOMEPAGE="https://github.com/pkgcore/pkgcheck" DESCRIPTION="ebuild with shadowed variables" -SLOT="0" +HOMEPAGE="https://github.com/pkgcore/pkgcheck" LICENSE="BSD" +SLOT="0" pkg_preinst() { : diff --git a/testdata/repos/standalone/DeclarationShadowedCheck/VariableShadowed/VariableShadowed-0.ebuild b/testdata/repos/standalone/DeclarationShadowedCheck/VariableShadowed/VariableShadowed-0.ebuild index 11dd30ce..c39dad83 100644 --- a/testdata/repos/standalone/DeclarationShadowedCheck/VariableShadowed/VariableShadowed-0.ebuild +++ b/testdata/repos/standalone/DeclarationShadowedCheck/VariableShadowed/VariableShadowed-0.ebuild @@ -1,11 +1,11 @@ -HOMEPAGE="https://github.com/pkgcore/pkgcheck" DESCRIPTION="ebuild with shadowed variables" +HOMEPAGE="https://github.com/pkgcore/pkgcheck" S=${WORKDIR} VAL= -SLOT="0" LICENSE="BSD" +SLOT="0" RESTRICT="!test? ( test )" RDEPEND="dev-lang/ruby" diff --git a/testdata/repos/standalone/DependencyCheck/BadDependency/BadDependency-0.ebuild b/testdata/repos/standalone/DependencyCheck/BadDependency/BadDependency-0.ebuild index 4fcffaa8..f01aae44 100644 --- a/testdata/repos/standalone/DependencyCheck/BadDependency/BadDependency-0.ebuild +++ b/testdata/repos/standalone/DependencyCheck/BadDependency/BadDependency-0.ebuild @@ -2,8 +2,8 @@ EAPI=7 DESCRIPTION="Ebuild with bad dependencies" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" DEPEND=" !DependencyCheck/BadDependency || ( stub/stub1:= stub/stub2:= ) diff --git a/testdata/repos/standalone/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild b/testdata/repos/standalone/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild index 71cdda2d..4c840a4a 100644 --- a/testdata/repos/standalone/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild +++ b/testdata/repos/standalone/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild @@ -2,6 +2,6 @@ EAPI=7 DESCRIPTION="Ebuild with invalid BDEPEND" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" BDEPEND="stub1" diff --git a/testdata/repos/standalone/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild b/testdata/repos/standalone/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild index d25a1168..6f37907d 100644 --- a/testdata/repos/standalone/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild +++ b/testdata/repos/standalone/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild @@ -2,6 +2,6 @@ EAPI=7 DESCRIPTION="Ebuild with invalid DEPEND" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" DEPEND="stub1" diff --git a/testdata/repos/standalone/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild b/testdata/repos/standalone/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild index e9c51202..2da304c1 100644 --- a/testdata/repos/standalone/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild +++ b/testdata/repos/standalone/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild @@ -2,6 +2,6 @@ EAPI=7 DESCRIPTION="Ebuild with invalid PDEPEND" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" PDEPEND="stub1" diff --git a/testdata/repos/standalone/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild b/testdata/repos/standalone/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild index 4c876488..30e51aa3 100644 --- a/testdata/repos/standalone/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild +++ b/testdata/repos/standalone/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild @@ -2,6 +2,6 @@ EAPI=7 DESCRIPTION="Ebuild with invalid RDEPEND" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" RDEPEND="stub1" diff --git a/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-6.ebuild b/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-6.ebuild index 8c9b6863..4d0c0199 100644 --- a/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-6.ebuild +++ b/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-6.ebuild @@ -2,8 +2,8 @@ EAPI=6 DESCRIPTION="Ebuild with misplaced weak blocker" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" BDEPEND="!DependencyCheck/InvalidRdepend" DEPEND="!DependencyCheck/BadDependency" diff --git a/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-7.ebuild b/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-7.ebuild index cfe26354..07cc18be 100644 --- a/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-7.ebuild +++ b/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-7.ebuild @@ -2,8 +2,8 @@ EAPI=7 DESCRIPTION="Ebuild with invalid BDEPEND" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" BDEPEND="!DependencyCheck/InvalidRdepend" DEPEND="!DependencyCheck/InvalidRdepend" diff --git a/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-8.ebuild b/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-8.ebuild index 5ebda58f..3ae6b8da 100644 --- a/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-8.ebuild +++ b/testdata/repos/standalone/DependencyCheck/MisplacedWeakBlocker/MisplacedWeakBlocker-8.ebuild @@ -2,8 +2,8 @@ EAPI=8 DESCRIPTION="Ebuild with invalid BDEPEND" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" BDEPEND="!DependencyCheck/InvalidRdepend" DEPEND="!DependencyCheck/InvalidRdepend" diff --git a/testdata/repos/standalone/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild b/testdata/repos/standalone/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild index f8453106..ae4a12bd 100644 --- a/testdata/repos/standalone/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild +++ b/testdata/repos/standalone/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with missing package revision in dependency" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" RDEPEND="=stub/stub1-0" diff --git a/testdata/repos/standalone/DependencyCheck/MissingUseDepDefault/MissingUseDepDefault-0.ebuild b/testdata/repos/standalone/DependencyCheck/MissingUseDepDefault/MissingUseDepDefault-0.ebuild index f03b475b..5af96f3f 100644 --- a/testdata/repos/standalone/DependencyCheck/MissingUseDepDefault/MissingUseDepDefault-0.ebuild +++ b/testdata/repos/standalone/DependencyCheck/MissingUseDepDefault/MissingUseDepDefault-0.ebuild @@ -2,8 +2,8 @@ EAPI=7 DESCRIPTION="Ebuild missing USE dependency default" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="foo" DEPEND="stub/stub1[foo]" RDEPEND="|| ( stub/stub2[used] stub/stub2[-foo] )" diff --git a/testdata/repos/standalone/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/testdata/repos/standalone/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild index 1179764b..3898a813 100644 --- a/testdata/repos/standalone/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ b/testdata/repos/standalone/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild @@ -2,7 +2,7 @@ EAPI=7 DESCRIPTION="Ebuild with unstated IUSE in depsets" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" RDEPEND="used? ( stub/stub1 )" DEPEND="stub/stub4[used?]" diff --git a/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-0.ebuild b/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-0.ebuild index 7a509251..280cc836 100644 --- a/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-0.ebuild +++ b/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-0.ebuild @@ -1,3 +1,3 @@ HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-1.ebuild b/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-1.ebuild index 35df9be1..360b0c92 100644 --- a/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-1.ebuild +++ b/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-1.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-2.ebuild b/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-2.ebuild index 70308c38..2be9a43a 100644 --- a/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-2.ebuild +++ b/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-2.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="bad desc" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-3.ebuild b/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-3.ebuild index 8d08d7c7..0dae4487 100644 --- a/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-3.ebuild +++ b/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-3.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="BadDescription" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-4.ebuild b/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-4.ebuild index a8d1b727..f4d9a229 100644 --- a/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-4.ebuild +++ b/testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-4.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with DESCRIPTION that is far too long and will be flagged by the BadDescription result since the check triggers at greater than 150 characters long." HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/DoCompressedFilesCheck/InstallCompressedInfo/InstallCompressedInfo-0.ebuild b/testdata/repos/standalone/DoCompressedFilesCheck/InstallCompressedInfo/InstallCompressedInfo-0.ebuild index d82c952a..767c0e20 100644 --- a/testdata/repos/standalone/DoCompressedFilesCheck/InstallCompressedInfo/InstallCompressedInfo-0.ebuild +++ b/testdata/repos/standalone/DoCompressedFilesCheck/InstallCompressedInfo/InstallCompressedInfo-0.ebuild @@ -2,8 +2,8 @@ EAPI=7 DESCRIPTION="Ebuild installing compressed info" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_install() { doinfo 'test.gz' "${PN}.bz2" diff --git a/testdata/repos/standalone/DoCompressedFilesCheck/InstallCompressedManpage/InstallCompressedManpage-0.ebuild b/testdata/repos/standalone/DoCompressedFilesCheck/InstallCompressedManpage/InstallCompressedManpage-0.ebuild index 7248d16a..1c6d4a59 100644 --- a/testdata/repos/standalone/DoCompressedFilesCheck/InstallCompressedManpage/InstallCompressedManpage-0.ebuild +++ b/testdata/repos/standalone/DoCompressedFilesCheck/InstallCompressedManpage/InstallCompressedManpage-0.ebuild @@ -2,8 +2,8 @@ EAPI=7 DESCRIPTION="Ebuild installing compressed man pages" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_install() { doman 'test.gz' "${PN}.2.bz2" diff --git a/testdata/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild b/testdata/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild index 1b9d4a44..f472ed61 100644 --- a/testdata/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild +++ b/testdata/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with dropped keywords" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="~amd64 ~x86" diff --git a/testdata/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild b/testdata/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild index 8c87b7bb..1f818e6f 100644 --- a/testdata/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild +++ b/testdata/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with dropped keywords" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="~amd64" diff --git a/testdata/repos/standalone/EapiCheck/BannedEapi/BannedEapi-0.ebuild b/testdata/repos/standalone/EapiCheck/BannedEapi/BannedEapi-0.ebuild index 04dbdbd8..d5a2f3c4 100644 --- a/testdata/repos/standalone/EapiCheck/BannedEapi/BannedEapi-0.ebuild +++ b/testdata/repos/standalone/EapiCheck/BannedEapi/BannedEapi-0.ebuild @@ -2,5 +2,5 @@ EAPI=1 DESCRIPTION="Ebuild using banned EAPI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild b/testdata/repos/standalone/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild index c05b58ea..8e88138d 100644 --- a/testdata/repos/standalone/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild +++ b/testdata/repos/standalone/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild @@ -2,5 +2,5 @@ EAPI=5 DESCRIPTION="Ebuild using deprecated EAPI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/EbuildReservedCheck/EbuildReservedName/EbuildReservedName-0.ebuild b/testdata/repos/standalone/EbuildReservedCheck/EbuildReservedName/EbuildReservedName-0.ebuild index a0c8e201..dac02f2d 100644 --- a/testdata/repos/standalone/EbuildReservedCheck/EbuildReservedName/EbuildReservedName-0.ebuild +++ b/testdata/repos/standalone/EbuildReservedCheck/EbuildReservedName/EbuildReservedName-0.ebuild @@ -1,7 +1,7 @@ DESCRIPTION="Ebuild with reserved names" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" prepare_locale() { DYNAMIC_DEPS="2" diff --git a/testdata/repos/standalone/EbuildReservedCheck/EbuildSemiReservedName/EbuildSemiReservedName-0.ebuild b/testdata/repos/standalone/EbuildReservedCheck/EbuildSemiReservedName/EbuildSemiReservedName-0.ebuild index 846fbb03..a4321f5d 100644 --- a/testdata/repos/standalone/EbuildReservedCheck/EbuildSemiReservedName/EbuildSemiReservedName-0.ebuild +++ b/testdata/repos/standalone/EbuildReservedCheck/EbuildSemiReservedName/EbuildSemiReservedName-0.ebuild @@ -2,12 +2,14 @@ EAPI=8 DESCRIPTION="Ebuild with semi-reserved names" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" S=${WORKDIR} # ok B=${WORKDIR} # fail -BDEPEND="app-arch/unzip" # ok + +LICENSE="BSD" +SLOT="0" + CDEPEND="app-arch/unzip" # ok RDEPEND="${CDEPEND}" # ok +BDEPEND="app-arch/unzip" # ok TDEPEND="app-arch/unzip" # fail diff --git a/testdata/repos/standalone/EbuildUnquotedVariablesCheck/EbuildUnquotedVariable/EbuildUnquotedVariable-0.ebuild b/testdata/repos/standalone/EbuildUnquotedVariablesCheck/EbuildUnquotedVariable/EbuildUnquotedVariable-0.ebuild index 4a475d71..84f8ee58 100644 --- a/testdata/repos/standalone/EbuildUnquotedVariablesCheck/EbuildUnquotedVariable/EbuildUnquotedVariable-0.ebuild +++ b/testdata/repos/standalone/EbuildUnquotedVariablesCheck/EbuildUnquotedVariable/EbuildUnquotedVariable-0.ebuild @@ -2,10 +2,12 @@ EAPI=8 DESCRIPTION="Ebuild with variables that must be quoted" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" + S=${WORKDIR}/${PV} # ok +LICENSE="BSD" +SLOT="0" + PATCHES=( ${FILESDIR}/foo.patch # FAIL "${FILESDIR}"/foo.patch # ok diff --git a/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-0.ebuild b/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-0.ebuild index aaf1acd0..d0cb453f 100644 --- a/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-0.ebuild +++ b/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-0.ebuild @@ -6,7 +6,7 @@ inherit ruby-ng DESCRIPTION="Optional inherit with one dep" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IDEPEND="dev-lang/ruby" diff --git a/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-1.ebuild b/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-1.ebuild index aba69b0b..443e491d 100644 --- a/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-1.ebuild +++ b/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-1.ebuild @@ -4,5 +4,5 @@ inherit ruby-ng DESCRIPTION="Optional inherit without dep" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-2.ebuild b/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-2.ebuild index 04bab5d8..204c9f6a 100644 --- a/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-2.ebuild +++ b/testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-2.ebuild @@ -6,8 +6,8 @@ inherit ruby-ng DESCRIPTION="Optional inherit with category whitelist" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="test" RESTRICT="!test? ( test )" diff --git a/testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-0.ebuild b/testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-0.ebuild index 2b453030..8a2ddc74 100644 --- a/testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-0.ebuild +++ b/testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-0.ebuild @@ -2,5 +2,5 @@ inherit cargo DESCRIPTION="Normal non-optional inherit" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-1.ebuild b/testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-1.ebuild index b43ff1b4..f5a827cc 100644 --- a/testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-1.ebuild +++ b/testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-1.ebuild @@ -6,5 +6,5 @@ inherit cargo DESCRIPTION="Optional inherit without deps" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/EclassUsageCheck/DeprecatedEclassFunction/DeprecatedEclassFunction-0.ebuild b/testdata/repos/standalone/EclassUsageCheck/DeprecatedEclassFunction/DeprecatedEclassFunction-0.ebuild index ff16d9f0..77419765 100644 --- a/testdata/repos/standalone/EclassUsageCheck/DeprecatedEclassFunction/DeprecatedEclassFunction-0.ebuild +++ b/testdata/repos/standalone/EclassUsageCheck/DeprecatedEclassFunction/DeprecatedEclassFunction-0.ebuild @@ -4,8 +4,8 @@ inherit go-module DESCRIPTION="Ebuild with deprecated function calls" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" go-module_set_globals go-module_setup_proxy diff --git a/testdata/repos/standalone/EclassUsageCheck/DeprecatedEclassVariable/DeprecatedEclassVariable-0.ebuild b/testdata/repos/standalone/EclassUsageCheck/DeprecatedEclassVariable/DeprecatedEclassVariable-0.ebuild index af07da24..38ef8aaa 100644 --- a/testdata/repos/standalone/EclassUsageCheck/DeprecatedEclassVariable/DeprecatedEclassVariable-0.ebuild +++ b/testdata/repos/standalone/EclassUsageCheck/DeprecatedEclassVariable/DeprecatedEclassVariable-0.ebuild @@ -4,8 +4,8 @@ inherit go-module DESCRIPTION="Ebuild with deprecated variable usage" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" EGO_SUM="stub" _GOMODULE_GOPROXY_BASEURI="stub" diff --git a/testdata/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild b/testdata/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild index cc22637b..59a81a97 100644 --- a/testdata/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild +++ b/testdata/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild @@ -2,5 +2,5 @@ inherit stub vcs stub DESCRIPTION="Ebuild with duplicate eclass inherit" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-1.ebuild b/testdata/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-1.ebuild index 933f055c..6930f829 100644 --- a/testdata/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-1.ebuild +++ b/testdata/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-1.ebuild @@ -10,5 +10,5 @@ fi DESCRIPTION="Ebuild with conditional, duplicate eclass inherit" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild b/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild index 4496614d..16381467 100644 --- a/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild +++ b/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuilds that have equal versions" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild b/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild index 4496614d..16381467 100644 --- a/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild +++ b/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuilds that have equal versions" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r1.ebuild b/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r1.ebuild index 4496614d..16381467 100644 --- a/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r1.ebuild +++ b/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r1.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuilds that have equal versions" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0.ebuild b/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0.ebuild index 4496614d..16381467 100644 --- a/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0.ebuild +++ b/testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuilds that have equal versions" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/GlobCheck/GlobDistdir/GlobDistdir-0.ebuild b/testdata/repos/standalone/GlobCheck/GlobDistdir/GlobDistdir-0.ebuild index a0480fa7..f4293ee5 100644 --- a/testdata/repos/standalone/GlobCheck/GlobDistdir/GlobDistdir-0.ebuild +++ b/testdata/repos/standalone/GlobCheck/GlobDistdir/GlobDistdir-0.ebuild @@ -1,7 +1,7 @@ DESCRIPTION="Ebuild with unsafe glob around DISTDIR" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_install() { doins "${DISTDIR}"/foo-*.bar # bad diff --git a/testdata/repos/standalone/GlobalUseCheck/PotentialGlobalUse/PotentialGlobalUse-0.ebuild b/testdata/repos/standalone/GlobalUseCheck/PotentialGlobalUse/PotentialGlobalUse-0.ebuild index 5841da85..bc01487a 100644 --- a/testdata/repos/standalone/GlobalUseCheck/PotentialGlobalUse/PotentialGlobalUse-0.ebuild +++ b/testdata/repos/standalone/GlobalUseCheck/PotentialGlobalUse/PotentialGlobalUse-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with potential global USE flag" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -IUSE="potential-global" -SLOT="0" LICENSE="BSD" +SLOT="0" +IUSE="potential-global" diff --git a/testdata/repos/standalone/GlobalUseCheck/PotentialLocalUse/PotentialLocalUse-0.ebuild b/testdata/repos/standalone/GlobalUseCheck/PotentialLocalUse/PotentialLocalUse-0.ebuild index faa9ad1d..0700dc0d 100644 --- a/testdata/repos/standalone/GlobalUseCheck/PotentialLocalUse/PotentialLocalUse-0.ebuild +++ b/testdata/repos/standalone/GlobalUseCheck/PotentialLocalUse/PotentialLocalUse-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with potential local USE flag" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -IUSE="potential-local" -SLOT="0" LICENSE="BSD" +SLOT="0" +IUSE="potential-local" diff --git a/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-0.ebuild b/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-0.ebuild index 6f674c03..eeead316 100644 --- a/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-0.ebuild +++ b/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-0.ebuild @@ -1,3 +1,3 @@ DESCRIPTION="Ebuild with missing HOMEPAGE" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-1.ebuild b/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-1.ebuild index 6fe0323d..a1176fbb 100644 --- a/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-1.ebuild +++ b/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-1.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild HOMEPAGE with missing protocol" HOMEPAGE="github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-2.ebuild b/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-2.ebuild index 29778186..b45db9bc 100644 --- a/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-2.ebuild +++ b/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-2.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild HOMEPAGE with unsupported protocol" HOMEPAGE="gopher://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-3.ebuild b/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-3.ebuild index 1bed84a8..1e8365fc 100644 --- a/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-3.ebuild +++ b/testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-3.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild uses unspecific HOMEPAGE" HOMEPAGE="https://www.gentoo.org" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-0.ebuild b/testdata/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-0.ebuild index 9569c176..4321cb1e 100644 --- a/testdata/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-0.ebuild +++ b/testdata/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-0.ebuild @@ -1,7 +1,7 @@ DESCRIPTION="Ebuild with deprecated insinto usage" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_install() { insinto /etc/conf.d diff --git a/testdata/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-1.ebuild b/testdata/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-1.ebuild index 2967624d..43a6e0a9 100644 --- a/testdata/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-1.ebuild +++ b/testdata/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-1.ebuild @@ -2,8 +2,8 @@ EAPI=4 DESCRIPTION="Ebuild with deprecated insinto usage" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_install() { insinto /usr/share/doc/${PF} diff --git a/testdata/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild b/testdata/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild index 30c1ca31..d00387f3 100644 --- a/testdata/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild +++ b/testdata/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with invalid USE flags" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="used +flag1 -flag2 + -" diff --git a/testdata/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild b/testdata/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild index 4cda2928..6b3258f1 100644 --- a/testdata/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild +++ b/testdata/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild @@ -2,6 +2,6 @@ EAPI=4 DESCRIPTION="Ebuild with invalid USE flags" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="used +flag1 +flag2 + -" diff --git a/testdata/repos/standalone/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild b/testdata/repos/standalone/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild index 9fb834ca..ba0cb645 100644 --- a/testdata/repos/standalone/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild +++ b/testdata/repos/standalone/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild @@ -2,6 +2,6 @@ EAPI=4 DESCRIPTION="Ebuild with unknown USE flags" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="amd64 used flag1 +flag2 +flag3" diff --git a/testdata/repos/standalone/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild b/testdata/repos/standalone/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild index 771afb50..958a2a3c 100644 --- a/testdata/repos/standalone/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild +++ b/testdata/repos/standalone/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with bad KEYWORDS" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="-*" diff --git a/testdata/repos/standalone/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild b/testdata/repos/standalone/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild index 7a1f9d14..9fe14a6e 100644 --- a/testdata/repos/standalone/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild +++ b/testdata/repos/standalone/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with duplicate KEYWORDS" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="~amd64 ~amd64" diff --git a/testdata/repos/standalone/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild b/testdata/repos/standalone/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild index 2cd1aa78..2e2ca3c2 100644 --- a/testdata/repos/standalone/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild +++ b/testdata/repos/standalone/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with overlapping KEYWORDS" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="amd64 ~amd64" diff --git a/testdata/repos/standalone/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild b/testdata/repos/standalone/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild index ce0b28b5..d960e8f0 100644 --- a/testdata/repos/standalone/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild +++ b/testdata/repos/standalone/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with unknown KEYWORDS" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="amd64 unknown" diff --git a/testdata/repos/standalone/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild b/testdata/repos/standalone/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild index 275c6d58..6f88ac0a 100644 --- a/testdata/repos/standalone/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild +++ b/testdata/repos/standalone/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with unsorted KEYWORDS" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="~x86 ~amd64" diff --git a/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild b/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild index c53849c4..03299306 100644 --- a/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild +++ b/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with invalid LICENSE" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="( )" +SLOT="0" diff --git a/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild b/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild index b5dd3a6d..1a9442b4 100644 --- a/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild +++ b/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with invalid LICENSE" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="?" +SLOT="0" diff --git a/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild b/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild index f2cf3b76..0e417f77 100644 --- a/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild +++ b/testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with invalid LICENSE" HOMEPAGE="https://github.com/pkgcore/pkgcheck" +LICENSE="used?" SLOT="0" IUSE="used" -LICENSE="used?" diff --git a/testdata/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild b/testdata/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild index 035a9ef7..0b6a5727 100644 --- a/testdata/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild +++ b/testdata/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with missing license restricts" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="eula" +SLOT="0" diff --git a/testdata/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild b/testdata/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild index 85d3dc20..976febc2 100644 --- a/testdata/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild +++ b/testdata/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with missing license restricts" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" LICENSE="eula" +SLOT="0" diff --git a/testdata/repos/standalone/LicenseCheck/UnknownLicense/UnknownLicense-0.ebuild b/testdata/repos/standalone/LicenseCheck/UnknownLicense/UnknownLicense-0.ebuild index 7c05135a..290bfdfb 100644 --- a/testdata/repos/standalone/LicenseCheck/UnknownLicense/UnknownLicense-0.ebuild +++ b/testdata/repos/standalone/LicenseCheck/UnknownLicense/UnknownLicense-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with unknown license" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="unknown" +SLOT="0" diff --git a/testdata/repos/standalone/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/testdata/repos/standalone/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild index 009259ec..ecff9d50 100644 --- a/testdata/repos/standalone/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ b/testdata/repos/standalone/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with unstated USE flags in LICENSE" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="used? ( BSD )" +SLOT="0" diff --git a/testdata/repos/standalone/LocalUseCheck/MatchingGlobalUse/MatchingGlobalUse-0.ebuild b/testdata/repos/standalone/LocalUseCheck/MatchingGlobalUse/MatchingGlobalUse-0.ebuild index bc44c177..1781fd5e 100644 --- a/testdata/repos/standalone/LocalUseCheck/MatchingGlobalUse/MatchingGlobalUse-0.ebuild +++ b/testdata/repos/standalone/LocalUseCheck/MatchingGlobalUse/MatchingGlobalUse-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild has local USE flag matching a global" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="matching probable used" diff --git a/testdata/repos/standalone/LocalUseCheck/MissingLocalUseDesc/MissingLocalUseDesc-0.ebuild b/testdata/repos/standalone/LocalUseCheck/MissingLocalUseDesc/MissingLocalUseDesc-0.ebuild index fe92bd39..2e2f85ce 100644 --- a/testdata/repos/standalone/LocalUseCheck/MissingLocalUseDesc/MissingLocalUseDesc-0.ebuild +++ b/testdata/repos/standalone/LocalUseCheck/MissingLocalUseDesc/MissingLocalUseDesc-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with local USE flags missing descriptions in metadata.xml" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="empty whitespace" diff --git a/testdata/repos/standalone/LocalUseCheck/ProbableGlobalUse/ProbableGlobalUse-0.ebuild b/testdata/repos/standalone/LocalUseCheck/ProbableGlobalUse/ProbableGlobalUse-0.ebuild index afe854c6..ebf8ff93 100644 --- a/testdata/repos/standalone/LocalUseCheck/ProbableGlobalUse/ProbableGlobalUse-0.ebuild +++ b/testdata/repos/standalone/LocalUseCheck/ProbableGlobalUse/ProbableGlobalUse-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild has local USE flag closely matching a global" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="used matching probable" diff --git a/testdata/repos/standalone/LocalUseCheck/ProbableUseExpand/ProbableUseExpand-0.ebuild b/testdata/repos/standalone/LocalUseCheck/ProbableUseExpand/ProbableUseExpand-0.ebuild index 574ec454..f341f3aa 100644 --- a/testdata/repos/standalone/LocalUseCheck/ProbableUseExpand/ProbableUseExpand-0.ebuild +++ b/testdata/repos/standalone/LocalUseCheck/ProbableUseExpand/ProbableUseExpand-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild has local USE flag closely matching USE_EXPAND" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="local use_expand_probable" diff --git a/testdata/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild b/testdata/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild index 056c3c12..e4cfb932 100644 --- a/testdata/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild +++ b/testdata/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild has underscore in local USE flag" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="foo_bar" diff --git a/testdata/repos/standalone/LocalUseCheck/UnusedLocalUse/UnusedLocalUse-0.ebuild b/testdata/repos/standalone/LocalUseCheck/UnusedLocalUse/UnusedLocalUse-0.ebuild index 4151aae0..abe9258d 100644 --- a/testdata/repos/standalone/LocalUseCheck/UnusedLocalUse/UnusedLocalUse-0.ebuild +++ b/testdata/repos/standalone/LocalUseCheck/UnusedLocalUse/UnusedLocalUse-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild has unused local USE flag in metadata.xml" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/ManifestCheck/DeprecatedChksum/DeprecatedChksum-0.ebuild b/testdata/repos/standalone/ManifestCheck/DeprecatedChksum/DeprecatedChksum-0.ebuild index b19d90ad..86f1e8e3 100644 --- a/testdata/repos/standalone/ManifestCheck/DeprecatedChksum/DeprecatedChksum-0.ebuild +++ b/testdata/repos/standalone/ManifestCheck/DeprecatedChksum/DeprecatedChksum-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with manifest entry using deprecated checksums" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/ManifestCheck/InvalidManifest/InvalidManifest-0.ebuild b/testdata/repos/standalone/ManifestCheck/InvalidManifest/InvalidManifest-0.ebuild index d3a73e34..63d02788 100644 --- a/testdata/repos/standalone/ManifestCheck/InvalidManifest/InvalidManifest-0.ebuild +++ b/testdata/repos/standalone/ManifestCheck/InvalidManifest/InvalidManifest-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with invalid manifest" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/ManifestCheck/MissingChksum/MissingChksum-0.ebuild b/testdata/repos/standalone/ManifestCheck/MissingChksum/MissingChksum-0.ebuild index 9bf15fd1..5ebcfe0e 100644 --- a/testdata/repos/standalone/ManifestCheck/MissingChksum/MissingChksum-0.ebuild +++ b/testdata/repos/standalone/ManifestCheck/MissingChksum/MissingChksum-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with manifest entry using missing required checksums" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/ManifestCheck/MissingManifest/MissingManifest-0.ebuild b/testdata/repos/standalone/ManifestCheck/MissingManifest/MissingManifest-0.ebuild index 9786f4c3..64397ffc 100644 --- a/testdata/repos/standalone/ManifestCheck/MissingManifest/MissingManifest-0.ebuild +++ b/testdata/repos/standalone/ManifestCheck/MissingManifest/MissingManifest-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with missing manifest for a fetchable" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/ManifestCheck/UnknownManifest/UnknownManifest-0.ebuild b/testdata/repos/standalone/ManifestCheck/UnknownManifest/UnknownManifest-0.ebuild index 3686e7a1..f9d4e1c3 100644 --- a/testdata/repos/standalone/ManifestCheck/UnknownManifest/UnknownManifest-0.ebuild +++ b/testdata/repos/standalone/ManifestCheck/UnknownManifest/UnknownManifest-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with manifest entry for unknown fetchable" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/ManifestCheck/UnnecessaryManifest/UnnecessaryManifest-0.ebuild b/testdata/repos/standalone/ManifestCheck/UnnecessaryManifest/UnnecessaryManifest-0.ebuild index 100767c1..d51bbea0 100644 --- a/testdata/repos/standalone/ManifestCheck/UnnecessaryManifest/UnnecessaryManifest-0.ebuild +++ b/testdata/repos/standalone/ManifestCheck/UnnecessaryManifest/UnnecessaryManifest-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with unnecessary manifest entry" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild b/testdata/repos/standalone/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild index a0f4bd99..1d836e2f 100644 --- a/testdata/repos/standalone/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild +++ b/testdata/repos/standalone/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with manifest entry colliding with another package" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/ManifestCollisionCheck/MatchingChksums/MatchingChksums-0.ebuild b/testdata/repos/standalone/ManifestCollisionCheck/MatchingChksums/MatchingChksums-0.ebuild index 38971444..f7cc3fab 100644 --- a/testdata/repos/standalone/ManifestCollisionCheck/MatchingChksums/MatchingChksums-0.ebuild +++ b/testdata/repos/standalone/ManifestCollisionCheck/MatchingChksums/MatchingChksums-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with manifest entry colliding with another package" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/foo1.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/MetadataVarCheck/HomepageInSrcUri/HomepageInSrcUri-0.ebuild b/testdata/repos/standalone/MetadataVarCheck/HomepageInSrcUri/HomepageInSrcUri-0.ebuild index 436b6da2..f1359cbf 100644 --- a/testdata/repos/standalone/MetadataVarCheck/HomepageInSrcUri/HomepageInSrcUri-0.ebuild +++ b/testdata/repos/standalone/MetadataVarCheck/HomepageInSrcUri/HomepageInSrcUri-0.ebuild @@ -3,5 +3,5 @@ HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="${HOMEPAGE}/${P}.tar.gz" # commented lines that would otherwise be flagged are ignored #SRC_URI="${HOMEPAGE}/${PV}/${P}.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/MetadataVarCheck/MultipleKeywordsLines/MultipleKeywordsLines-0.ebuild b/testdata/repos/standalone/MetadataVarCheck/MultipleKeywordsLines/MultipleKeywordsLines-0.ebuild index 0d92481f..5e456b69 100644 --- a/testdata/repos/standalone/MetadataVarCheck/MultipleKeywordsLines/MultipleKeywordsLines-0.ebuild +++ b/testdata/repos/standalone/MetadataVarCheck/MultipleKeywordsLines/MultipleKeywordsLines-0.ebuild @@ -1,7 +1,7 @@ DESCRIPTION="Ebuild specifying KEYWORDS across multiple lines in global scope" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" if [[ ${PV} == "9999" ]] ; then inherit vcs diff --git a/testdata/repos/standalone/MetadataVarCheck/MultipleKeywordsLines/MultipleKeywordsLines-1.ebuild b/testdata/repos/standalone/MetadataVarCheck/MultipleKeywordsLines/MultipleKeywordsLines-1.ebuild index 9959070b..61a59ac5 100644 --- a/testdata/repos/standalone/MetadataVarCheck/MultipleKeywordsLines/MultipleKeywordsLines-1.ebuild +++ b/testdata/repos/standalone/MetadataVarCheck/MultipleKeywordsLines/MultipleKeywordsLines-1.ebuild @@ -1,7 +1,7 @@ DESCRIPTION="Ebuild specifying KEYWORDS across multiple lines in global scope" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS=" ~amd64 ~x86 diff --git a/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-0.ebuild b/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-0.ebuild index b117d858..9402ef7a 100644 --- a/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-0.ebuild +++ b/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-0.ebuild @@ -2,5 +2,5 @@ DESCRIPTION="Ebuild with variable in HOMEPAGE" HOMEPAGE="https://github.com/pkgcore/${PN}" # commented lines that would otherwise be flagged are ignored #HOMEPAGE="https://github.com/${P}" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-1.ebuild b/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-1.ebuild index 772df949..46f95f55 100644 --- a/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-1.ebuild +++ b/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-1.ebuild @@ -1,6 +1,6 @@ DESCRIPTION="Ebuild with variable in KEYWORDS" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" ARCH="~x86" KEYWORDS="~amd64 ${ARCH}" diff --git a/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-2.ebuild b/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-2.ebuild index dc3b4243..0e0119ba 100644 --- a/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-2.ebuild +++ b/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-2.ebuild @@ -1,7 +1,7 @@ DESCRIPTION="Ebuild with variable in LICENSE" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" MY_LICENSE="BSD" LICENSE="${MY_LICENSE}" LICENSE="${LICENSE} BSD" +SLOT="0" KEYWORDS="~amd64 ~x86" diff --git a/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-3.ebuild b/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-3.ebuild index ffe27b26..b5d7caf5 100644 --- a/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-3.ebuild +++ b/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-3.ebuild @@ -1,7 +1,7 @@ DESCRIPTION="Ebuild with variable in LICENSE" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" MY_LICENSE="BSD" LICENSE="" LICENSE+="${MY_LICENSE}" +SLOT="0" KEYWORDS="~amd64 ~x86" diff --git a/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-4.ebuild b/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-4.ebuild index 6f6724dd..e4cc7375 100644 --- a/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-4.ebuild +++ b/testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-4.ebuild @@ -1,6 +1,6 @@ DESCRIPTION="Ebuild with variable in LICENSE" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" LICENSE="${LICENSE} ${LICENSE/B/B}" +SLOT="0" KEYWORDS="~amd64 ~x86" diff --git a/testdata/repos/standalone/MetadataVarCheck/SelfAssignment/SelfAssignment-0.ebuild b/testdata/repos/standalone/MetadataVarCheck/SelfAssignment/SelfAssignment-0.ebuild index 1abcf8b0..2aabc13f 100644 --- a/testdata/repos/standalone/MetadataVarCheck/SelfAssignment/SelfAssignment-0.ebuild +++ b/testdata/repos/standalone/MetadataVarCheck/SelfAssignment/SelfAssignment-0.ebuild @@ -1,7 +1,7 @@ DESCRIPTION="Ebuild with various self assignments" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" RDEPEND="${RDEPEND}" # FAIL RDEPEND="$RDEPEND" # FAIL diff --git a/testdata/repos/standalone/MetadataVarCheck/StaticSrcUri/StaticSrcUri-0.ebuild b/testdata/repos/standalone/MetadataVarCheck/StaticSrcUri/StaticSrcUri-0.ebuild index 7b5eee59..5d10653a 100644 --- a/testdata/repos/standalone/MetadataVarCheck/StaticSrcUri/StaticSrcUri-0.ebuild +++ b/testdata/repos/standalone/MetadataVarCheck/StaticSrcUri/StaticSrcUri-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with static values of dynamica variables in SRC_URI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/StaticSrcUri-0.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild b/testdata/repos/standalone/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild index 4a4a4d40..9e55d36e 100644 --- a/testdata/repos/standalone/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild +++ b/testdata/repos/standalone/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild @@ -2,7 +2,7 @@ EAPI=7 DESCRIPTION="Ebuild with dependency missing a slot dep" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" RDEPEND="stub/slotted" DEPEND="${RDEPEND}" diff --git a/testdata/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild b/testdata/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild index c4785c15..5be0ebf5 100644 --- a/testdata/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild +++ b/testdata/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild missing unpacker dependency" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.zip" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/NonPosixCheck/NonPosixHeadTailUsage/NonPosixHeadTailUsage-0.ebuild b/testdata/repos/standalone/NonPosixCheck/NonPosixHeadTailUsage/NonPosixHeadTailUsage-0.ebuild index 6ee3b8fc..9f351225 100644 --- a/testdata/repos/standalone/NonPosixCheck/NonPosixHeadTailUsage/NonPosixHeadTailUsage-0.ebuild +++ b/testdata/repos/standalone/NonPosixCheck/NonPosixHeadTailUsage/NonPosixHeadTailUsage-0.ebuild @@ -1,7 +1,7 @@ DESCRIPTION="Ebuild with non posix head usage" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_prepare() { head -1 file > another || die diff --git a/testdata/repos/standalone/NonPosixCheck/NonPosixHeadTailUsage/NonPosixHeadTailUsage-1.ebuild b/testdata/repos/standalone/NonPosixCheck/NonPosixHeadTailUsage/NonPosixHeadTailUsage-1.ebuild index 6e926ae8..e3e335fe 100644 --- a/testdata/repos/standalone/NonPosixCheck/NonPosixHeadTailUsage/NonPosixHeadTailUsage-1.ebuild +++ b/testdata/repos/standalone/NonPosixCheck/NonPosixHeadTailUsage/NonPosixHeadTailUsage-1.ebuild @@ -1,7 +1,7 @@ DESCRIPTION="Ebuild with non posix head usage" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_prepare() { tail -1 file > another || die diff --git a/testdata/repos/standalone/PackageMetadataXmlCheck/InvalidRemoteID/InvalidRemoteID-0.ebuild b/testdata/repos/standalone/PackageMetadataXmlCheck/InvalidRemoteID/InvalidRemoteID-0.ebuild index 158a2e38..dbdf4ab2 100644 --- a/testdata/repos/standalone/PackageMetadataXmlCheck/InvalidRemoteID/InvalidRemoteID-0.ebuild +++ b/testdata/repos/standalone/PackageMetadataXmlCheck/InvalidRemoteID/InvalidRemoteID-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with metadata.xml failing remote-id validation" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/PkgBadlyFormedXml-0.ebuild b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/PkgBadlyFormedXml-0.ebuild index 9d649530..cc011c76 100644 --- a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/PkgBadlyFormedXml-0.ebuild +++ b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/PkgBadlyFormedXml-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with invalid XML in metadata.xml" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/PkgInvalidXml-0.ebuild b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/PkgInvalidXml-0.ebuild index 8898d139..d7efa329 100644 --- a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/PkgInvalidXml-0.ebuild +++ b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/PkgInvalidXml-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with metadata.xml failing schema validation" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/PkgMetadataXmlEmptyElement-0.ebuild b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/PkgMetadataXmlEmptyElement-0.ebuild index 578f1f5a..950e85c3 100644 --- a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/PkgMetadataXmlEmptyElement-0.ebuild +++ b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/PkgMetadataXmlEmptyElement-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with metadata.xml that has an empty element" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/PkgMetadataXmlIndentation-0.ebuild b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/PkgMetadataXmlIndentation-0.ebuild index 2b8f2370..db2f4b98 100644 --- a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/PkgMetadataXmlIndentation-0.ebuild +++ b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/PkgMetadataXmlIndentation-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild has with inconsistent indentation in metadata.xml" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/PkgMetadataXmlInvalidCatRef-0.ebuild b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/PkgMetadataXmlInvalidCatRef-0.ebuild index 67ab32dd..235ac2dd 100644 --- a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/PkgMetadataXmlInvalidCatRef-0.ebuild +++ b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/PkgMetadataXmlInvalidCatRef-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with metadata.xml using an invalid category reference" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/PkgMetadataXmlInvalidPkgRef-0.ebuild b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/PkgMetadataXmlInvalidPkgRef-0.ebuild index 00d3058a..d95ead0e 100644 --- a/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/PkgMetadataXmlInvalidPkgRef-0.ebuild +++ b/testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/PkgMetadataXmlInvalidPkgRef-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with metadata.xml using an invalid pkg reference" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/RedundantLongDescription-0.ebuild b/testdata/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/RedundantLongDescription-0.ebuild index fa48d8d3..18cbd71f 100644 --- a/testdata/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/RedundantLongDescription-0.ebuild +++ b/testdata/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/RedundantLongDescription-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with redundant metadata.xml longdescription" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PkgDirCheck/DuplicateFiles/DuplicateFiles-0.ebuild b/testdata/repos/standalone/PkgDirCheck/DuplicateFiles/DuplicateFiles-0.ebuild index 802afd9c..d40e9a01 100644 --- a/testdata/repos/standalone/PkgDirCheck/DuplicateFiles/DuplicateFiles-0.ebuild +++ b/testdata/repos/standalone/PkgDirCheck/DuplicateFiles/DuplicateFiles-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Two or more identical files in FILESDIR" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PkgDirCheck/EmptyFile/EmptyFile-0.ebuild b/testdata/repos/standalone/PkgDirCheck/EmptyFile/EmptyFile-0.ebuild index a042ae81..0816b34b 100644 --- a/testdata/repos/standalone/PkgDirCheck/EmptyFile/EmptyFile-0.ebuild +++ b/testdata/repos/standalone/PkgDirCheck/EmptyFile/EmptyFile-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="File in FILESDIR is empty" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PkgDirCheck/ExecutableFile/ExecutableFile-0.ebuild b/testdata/repos/standalone/PkgDirCheck/ExecutableFile/ExecutableFile-0.ebuild index 3be52a41..d9f3de71 100644 --- a/testdata/repos/standalone/PkgDirCheck/ExecutableFile/ExecutableFile-0.ebuild +++ b/testdata/repos/standalone/PkgDirCheck/ExecutableFile/ExecutableFile-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="File has executable bit, but doesn't need it" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PkgDirCheck/InvalidPN/InvalidPN.ebuild b/testdata/repos/standalone/PkgDirCheck/InvalidPN/InvalidPN.ebuild index 026b9fd9..b2f4cc13 100644 --- a/testdata/repos/standalone/PkgDirCheck/InvalidPN/InvalidPN.ebuild +++ b/testdata/repos/standalone/PkgDirCheck/InvalidPN/InvalidPN.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuilds that have invalid package names" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild b/testdata/repos/standalone/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild index f7a97635..99daf738 100644 --- a/testdata/repos/standalone/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild +++ b/testdata/repos/standalone/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuilds that have different names than their parent directory" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/UnknownPkgDirEntry-0.ebuild b/testdata/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/UnknownPkgDirEntry-0.ebuild index ee2cfac7..2e37e0a6 100644 --- a/testdata/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/UnknownPkgDirEntry-0.ebuild +++ b/testdata/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/UnknownPkgDirEntry-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Unknown file in package dir is ignored" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild b/testdata/repos/standalone/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild index 683c5c23..03f1785f 100644 --- a/testdata/repos/standalone/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild +++ b/testdata/repos/standalone/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild @@ -1,6 +1,6 @@ DESCRIPTION="Ebuild with invalid PROPERTIES" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="used" PROPERTIES="!used ( interactive )" diff --git a/testdata/repos/standalone/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild b/testdata/repos/standalone/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild index e6b7058b..82339115 100644 --- a/testdata/repos/standalone/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild +++ b/testdata/repos/standalone/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with unknown PROPERTIES" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" PROPERTIES="foo" diff --git a/testdata/repos/standalone/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/testdata/repos/standalone/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild index c92c2433..a4d8cc44 100644 --- a/testdata/repos/standalone/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ b/testdata/repos/standalone/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with unstated USE flags in PROPERTIES" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" PROPERTIES="used? ( interactive )" diff --git a/testdata/repos/standalone/ReadonlyVariableCheck/ReadonlyVariable/ReadonlyVariable-0.ebuild b/testdata/repos/standalone/ReadonlyVariableCheck/ReadonlyVariable/ReadonlyVariable-0.ebuild index 809752ce..f13806e2 100644 --- a/testdata/repos/standalone/ReadonlyVariableCheck/ReadonlyVariable/ReadonlyVariable-0.ebuild +++ b/testdata/repos/standalone/ReadonlyVariableCheck/ReadonlyVariable/ReadonlyVariable-0.ebuild @@ -3,8 +3,8 @@ EAPI=7 PV="5" DESCRIPTION="Ebuild that assigns read-only variable in global scope" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" pkg_pretend() { # assignments in function scope are ignored diff --git a/testdata/repos/standalone/RedundantDodirCheck/RedundantDodir/RedundantDodir-0.ebuild b/testdata/repos/standalone/RedundantDodirCheck/RedundantDodir/RedundantDodir-0.ebuild index bcf00a6b..8b4c33dd 100644 --- a/testdata/repos/standalone/RedundantDodirCheck/RedundantDodir/RedundantDodir-0.ebuild +++ b/testdata/repos/standalone/RedundantDodirCheck/RedundantDodir/RedundantDodir-0.ebuild @@ -2,8 +2,8 @@ EAPI=7 DESCRIPTION="Ebuild with redundant dodir calls" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_install() { touch blah diff --git a/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild b/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild index c25febd1..7cc5cfc0 100644 --- a/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild +++ b/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild @@ -1,6 +1,6 @@ EAPI=4 DESCRIPTION="Ebuild with invalid REQUIRED_USE" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" REQUIRED_USE="|| ( )" diff --git a/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild b/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild index 80636c5f..e2e3d719 100644 --- a/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild +++ b/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild @@ -1,6 +1,6 @@ EAPI=4 DESCRIPTION="Ebuild with invalid REQUIRED_USE" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" REQUIRED_USE="?" diff --git a/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild b/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild index 56867ef5..246f9330 100644 --- a/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild +++ b/testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild @@ -1,7 +1,7 @@ EAPI=4 DESCRIPTION="Ebuild with invalid REQUIRED_USE" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="required" REQUIRED_USE="required?" diff --git a/testdata/repos/standalone/RequiredUseCheck/RequiredUseDefaults/RequiredUseDefaults-0.ebuild b/testdata/repos/standalone/RequiredUseCheck/RequiredUseDefaults/RequiredUseDefaults-0.ebuild index 31494b50..a66f7e5d 100644 --- a/testdata/repos/standalone/RequiredUseCheck/RequiredUseDefaults/RequiredUseDefaults-0.ebuild +++ b/testdata/repos/standalone/RequiredUseCheck/RequiredUseDefaults/RequiredUseDefaults-0.ebuild @@ -2,8 +2,8 @@ EAPI=4 DESCRIPTION="Ebuild with REQUIRED_USE failing by default" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="~amd64" IUSE="required used" REQUIRED_USE="^^ ( required used )" diff --git a/testdata/repos/standalone/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/testdata/repos/standalone/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild index 2b407f8b..5edf7ae9 100644 --- a/testdata/repos/standalone/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ b/testdata/repos/standalone/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild @@ -2,7 +2,7 @@ EAPI=4 DESCRIPTION="Ebuild with unstated USE flag in REQUIRED_USE" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="required" REQUIRED_USE="|| ( required used )" diff --git a/testdata/repos/standalone/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild b/testdata/repos/standalone/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild index 0a46c2c9..664cd419 100644 --- a/testdata/repos/standalone/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild +++ b/testdata/repos/standalone/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild @@ -1,6 +1,6 @@ DESCRIPTION="Ebuild with invalid RESTRICT" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="used" RESTRICT="!used ( test )" diff --git a/testdata/repos/standalone/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild b/testdata/repos/standalone/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild index 8dc8a7d7..97f283a3 100644 --- a/testdata/repos/standalone/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild +++ b/testdata/repos/standalone/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with unknown RESTRICT" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" RESTRICT="foo" diff --git a/testdata/repos/standalone/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/testdata/repos/standalone/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild index 0caed4ac..d9abf8a3 100644 --- a/testdata/repos/standalone/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ b/testdata/repos/standalone/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with unstated USE flags in RESTRICT" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" RESTRICT="used? ( mirror )" diff --git a/testdata/repos/standalone/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild b/testdata/repos/standalone/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild index bac99c43..dd82340a 100644 --- a/testdata/repos/standalone/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild +++ b/testdata/repos/standalone/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with missing conditional test RESTRICT" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="test" diff --git a/testdata/repos/standalone/RustCheck/SuboptimalCratesSeparator/SuboptimalCratesSeparator-0.ebuild b/testdata/repos/standalone/RustCheck/SuboptimalCratesSeparator/SuboptimalCratesSeparator-0.ebuild index d1da3ecc..d8df1cf2 100644 --- a/testdata/repos/standalone/RustCheck/SuboptimalCratesSeparator/SuboptimalCratesSeparator-0.ebuild +++ b/testdata/repos/standalone/RustCheck/SuboptimalCratesSeparator/SuboptimalCratesSeparator-0.ebuild @@ -8,5 +8,5 @@ inherit cargo DESCRIPTION="Ebuild with suboptimal CRATES separator" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-0.ebuild b/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-0.ebuild index 8a8b79d0..cc777040 100644 --- a/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-0.ebuild +++ b/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-0.ebuild @@ -8,6 +8,6 @@ inherit cargo DESCRIPTION="Ebuild with suboptimal cargo_crate_uris" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" SRC_URI="$(cargo_crate_uris)" +LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-1.ebuild b/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-1.ebuild index 1aa95b8f..d6316bcc 100644 --- a/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-1.ebuild +++ b/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-1.ebuild @@ -8,6 +8,6 @@ inherit cargo DESCRIPTION="Ebuild with suboptimal cargo_crate_uris" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" SRC_URI="$(cargo_crate_uris ${CRATES})" +LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-2.ebuild b/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-2.ebuild index 72ef8a24..5d68aec9 100644 --- a/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-2.ebuild +++ b/testdata/repos/standalone/RustCheck/SuboptimalCratesURICall/SuboptimalCratesURICall-2.ebuild @@ -8,6 +8,6 @@ inherit cargo DESCRIPTION="Ebuild with suboptimal cargo_crate_uris" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" SRC_URI="$(cargo_crate_uris ${CRATES} something)" +LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SandboxCallCheck/InvalidSandboxCall/InvalidSandboxCall-0.ebuild b/testdata/repos/standalone/SandboxCallCheck/InvalidSandboxCall/InvalidSandboxCall-0.ebuild index 97062656..831841f3 100644 --- a/testdata/repos/standalone/SandboxCallCheck/InvalidSandboxCall/InvalidSandboxCall-0.ebuild +++ b/testdata/repos/standalone/SandboxCallCheck/InvalidSandboxCall/InvalidSandboxCall-0.ebuild @@ -1,7 +1,7 @@ DESCRIPTION="Ebuild with invalid sandbox calls" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_compile() { addpredict /etc/dfs:/dev/zfs diff --git a/testdata/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild b/testdata/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild index 496b3f04..97fcdf14 100644 --- a/testdata/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild +++ b/testdata/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild @@ -1,5 +1,5 @@ EAPI=9999 DESCRIPTION="Ebuild using unsupported EAPI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild b/testdata/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild index 00dd7a6a..af5321e4 100644 --- a/testdata/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild +++ b/testdata/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild @@ -1,5 +1,5 @@ EAPI="invalid!" DESCRIPTION="Ebuild using invalid EAPI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild b/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild index bf2a36ca..e8b41177 100644 --- a/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild +++ b/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with invalid SLOT" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="?" LICENSE="BSD" +SLOT="?" diff --git a/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild b/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild index 66a11b85..37344fae 100644 --- a/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild +++ b/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild with invalid SLOT" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0/1" LICENSE="BSD" +SLOT="0/1" diff --git a/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild b/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild index 55374b86..59077790 100644 --- a/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild +++ b/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild @@ -1,5 +1,5 @@ EAPI=7 DESCRIPTION="Ebuild with invalid SLOT" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0/-1" LICENSE="BSD" +SLOT="0/-1" diff --git a/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild b/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild index ce7c530c..a0ccb471 100644 --- a/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild +++ b/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild @@ -1,5 +1,5 @@ EAPI=7 DESCRIPTION="Ebuild with invalid SLOT" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0/foo?" LICENSE="BSD" +SLOT="0/foo?" diff --git a/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild b/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild index 15672c9d..534129ea 100644 --- a/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild +++ b/testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild @@ -1,5 +1,5 @@ EAPI=7 DESCRIPTION="Ebuild with empty SLOT" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="" LICENSE="BSD" +SLOT="" diff --git a/testdata/repos/standalone/SourcingCheck/SourcingError/SourcingError-0.ebuild b/testdata/repos/standalone/SourcingCheck/SourcingError/SourcingError-0.ebuild index 3fed4ab4..5200822b 100644 --- a/testdata/repos/standalone/SourcingCheck/SourcingError/SourcingError-0.ebuild +++ b/testdata/repos/standalone/SourcingCheck/SourcingError/SourcingError-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with bash sourcing error" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" foo diff --git a/testdata/repos/standalone/SrcUriCheck/BadFilename/BadFilename-0.ebuild b/testdata/repos/standalone/SrcUriCheck/BadFilename/BadFilename-0.ebuild index 648127a6..b849c644 100644 --- a/testdata/repos/standalone/SrcUriCheck/BadFilename/BadFilename-0.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/BadFilename/BadFilename-0.ebuild @@ -5,5 +5,5 @@ SRC_URI=" https://github.com/pkgcore/pkgcheck/${PV}.tar.gz https://github.com/pkgcore/pkgcheck/v${PV}.tar.gz " -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SrcUriCheck/BadProtocol/BadProtocol-0.ebuild b/testdata/repos/standalone/SrcUriCheck/BadProtocol/BadProtocol-0.ebuild index c6115493..ad245806 100644 --- a/testdata/repos/standalone/SrcUriCheck/BadProtocol/BadProtocol-0.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/BadProtocol/BadProtocol-0.ebuild @@ -4,5 +4,5 @@ SRC_URI=" htps://github.com/pkgcore/pkgcheck/${P}.tar.gz gopher://github.com/pkgcore/pkgcheck/${P}.tar.gz " -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild b/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild index cb909167..99652039 100644 --- a/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with invalid SRC_URI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="?" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild b/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild index 6d10b69d..0b79c1ae 100644 --- a/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with invalid SRC_URI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="( )" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild b/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild index 718aef6b..508a6e6d 100644 --- a/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with invalid SRC_URI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz/" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SrcUriCheck/MissingUri/MissingUri-0.ebuild b/testdata/repos/standalone/SrcUriCheck/MissingUri/MissingUri-0.ebuild index e6a36257..1b7634c4 100644 --- a/testdata/repos/standalone/SrcUriCheck/MissingUri/MissingUri-0.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/MissingUri/MissingUri-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild lacking full URI without RESTRICT=fetch set" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="${P}.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild b/testdata/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild index d0fce630..0fbca8cc 100644 --- a/testdata/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild @@ -3,5 +3,5 @@ EAPI=7 DESCRIPTION="Ebuild with reundant rename in SRC_URI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz -> ${P}.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild b/testdata/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild index 7ee2f8cd..9bc7cd56 100644 --- a/testdata/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild @@ -3,5 +3,5 @@ EAPI=7 DESCRIPTION="Ebuild with reundant rename in SRC_URI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="mirror://used/pkgcore/pkgcheck/${P}.tar.gz -> ${P}.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SrcUriCheck/SrcUriFilenameDotPrefix/SrcUriFilenameDotPrefix-0.ebuild b/testdata/repos/standalone/SrcUriCheck/SrcUriFilenameDotPrefix/SrcUriFilenameDotPrefix-0.ebuild index f961c3ad..52cdab19 100644 --- a/testdata/repos/standalone/SrcUriCheck/SrcUriFilenameDotPrefix/SrcUriFilenameDotPrefix-0.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/SrcUriFilenameDotPrefix/SrcUriFilenameDotPrefix-0.ebuild @@ -5,5 +5,5 @@ MY_P="${PN}-v${PV}" DESCRIPTION="Ebuild with empty var in SRC_URI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/${MY_P}.tar.gz -> ${MYP}.gh.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SrcUriCheck/TarballAvailable/TarballAvailable-0.ebuild b/testdata/repos/standalone/SrcUriCheck/TarballAvailable/TarballAvailable-0.ebuild index 93e37de2..c9ecee7a 100644 --- a/testdata/repos/standalone/SrcUriCheck/TarballAvailable/TarballAvailable-0.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/TarballAvailable/TarballAvailable-0.ebuild @@ -6,6 +6,6 @@ SRC_URI=" https://github.com/pkgcore/pkgcheck/archive/${PV}.zip -> ${P}.zip https://gitlab.com/pkgcore/pkgcheck/-/archive/${PV}.zip -> ${P}.zip " -SLOT="0" LICENSE="BSD" +SLOT="0" DEPEND="app-arch/unzip" diff --git a/testdata/repos/standalone/SrcUriCheck/UnknownMirror/UnknownMirror-0.ebuild b/testdata/repos/standalone/SrcUriCheck/UnknownMirror/UnknownMirror-0.ebuild index e8228ea2..54fe7e85 100644 --- a/testdata/repos/standalone/SrcUriCheck/UnknownMirror/UnknownMirror-0.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/UnknownMirror/UnknownMirror-0.ebuild @@ -4,5 +4,5 @@ SRC_URI=" mirror://used/pkgcore/pkgcheck/${P}.tar.gz mirror://unknown/pkgcore/pkgcheck/${P}.tar.gz " -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SrcUriCheck/UnstableSrcUri/UnstableSrcUri-0.ebuild b/testdata/repos/standalone/SrcUriCheck/UnstableSrcUri/UnstableSrcUri-0.ebuild index e62cc89c..fed18ce6 100644 --- a/testdata/repos/standalone/SrcUriCheck/UnstableSrcUri/UnstableSrcUri-0.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/UnstableSrcUri/UnstableSrcUri-0.ebuild @@ -4,5 +4,5 @@ SRC_URI=" https://patch-diff.githubusercontent.com/raw/pkgcore/pkgcheck/pull/599.patch https://github.com/pkgcore/pkgcheck/pull/1234.patch " -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/testdata/repos/standalone/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild index 2f40073b..80a20449 100644 --- a/testdata/repos/standalone/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ b/testdata/repos/standalone/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with unstated USE flags in SRC_URI" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="used? ( https://github.com/pkgcore/pkgcheck/${P}.tar.gz )" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-0.ebuild b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-0.ebuild index dd44344e..24cff527 100644 --- a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-0.ebuild +++ b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-0.ebuild @@ -2,5 +2,5 @@ EAPI=7 DESCRIPTION="SLOT 0 is release only" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-1.9999.ebuild b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-1.9999.ebuild index 4badbd0d..616dc994 100644 --- a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-1.9999.ebuild +++ b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-1.9999.ebuild @@ -2,6 +2,6 @@ EAPI=8 DESCRIPTION="SLOT 1 is fine" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="1" LICENSE="BSD" +SLOT="1" PROPERTIES="live" diff --git a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-1.ebuild b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-1.ebuild index 5b79a320..9861017c 100644 --- a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-1.ebuild +++ b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-1.ebuild @@ -2,5 +2,5 @@ EAPI=8 DESCRIPTION="SLOT 1 is fine" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="1" LICENSE="BSD" +SLOT="1" diff --git a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.1.ebuild b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.1.ebuild index 34aba958..5031f42f 100644 --- a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.1.ebuild +++ b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.1.ebuild @@ -2,5 +2,5 @@ EAPI=8 DESCRIPTION="SLOT 2 is not fine" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="2" LICENSE="BSD" +SLOT="2" diff --git a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.9999.ebuild b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.9999.ebuild index 55570296..3cc9e7fc 100644 --- a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.9999.ebuild +++ b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.9999.ebuild @@ -2,6 +2,6 @@ EAPI=7 DESCRIPTION="SLOT 2 is not fine" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="2" LICENSE="BSD" +SLOT="2" PROPERTIES="live" diff --git a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.ebuild b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.ebuild index 1f1fe229..d54ab4df 100644 --- a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.ebuild +++ b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.ebuild @@ -2,5 +2,5 @@ EAPI=7 DESCRIPTION="SLOT 2 is not fine" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="2" LICENSE="BSD" +SLOT="2" diff --git a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.1.ebuild b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.1.ebuild index ddb5f28e..d61677d0 100644 --- a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.1.ebuild +++ b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.1.ebuild @@ -2,5 +2,5 @@ EAPI=7 DESCRIPTION="SLOT 3 is not fine" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="3" LICENSE="BSD" +SLOT="3" diff --git a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.9999.ebuild b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.9999.ebuild index d4a646ba..8df5e8ce 100644 --- a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.9999.ebuild +++ b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.9999.ebuild @@ -2,6 +2,6 @@ EAPI=7 DESCRIPTION="SLOT 3 is not fine" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="3" LICENSE="BSD" +SLOT="3" PROPERTIES="live" diff --git a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.ebuild b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.ebuild index a9add003..9209f0c6 100644 --- a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.ebuild +++ b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.ebuild @@ -2,5 +2,5 @@ EAPI=8 DESCRIPTION="SLOT 3 is not fine" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="3" LICENSE="BSD" +SLOT="3" diff --git a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-4.9999.ebuild b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-4.9999.ebuild index 8c102d1a..238964e6 100644 --- a/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-4.9999.ebuild +++ b/testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-4.9999.ebuild @@ -2,6 +2,6 @@ EAPI=8 DESCRIPTION="SLOT 4 is live only" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="4" LICENSE="BSD" +SLOT="4" PROPERTIES="live" diff --git a/testdata/repos/standalone/VariableOrderCheck/VariableOrderWrong/VariableOrderWrong-0.ebuild b/testdata/repos/standalone/VariableOrderCheck/VariableOrderWrong/VariableOrderWrong-0.ebuild new file mode 100644 index 00000000..a0aab060 --- /dev/null +++ b/testdata/repos/standalone/VariableOrderCheck/VariableOrderWrong/VariableOrderWrong-0.ebuild @@ -0,0 +1,15 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PHP_EXT_S="${S}/extension" +PHP_EXT_ECONF_ARGS="" +USE_PHP="php8-0 php8-1" + +KEYWORDS="~amd64 ~x86" + +HOMEPAGE="https://github.com/pkgcore/pkgcheck" +DESCRIPTION="An Ebuild with variables defined in an uncommon order" +LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/VariableOrderCheck/VariableOrderWrong/metadata.xml b/testdata/repos/standalone/VariableOrderCheck/VariableOrderWrong/metadata.xml new file mode 100644 index 00000000..6c918773 --- /dev/null +++ b/testdata/repos/standalone/VariableOrderCheck/VariableOrderWrong/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>random.gentoo.dev@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/testdata/repos/standalone/VariableOrderCheck/metadata.xml b/testdata/repos/standalone/VariableOrderCheck/metadata.xml new file mode 100644 index 00000000..ef647294 --- /dev/null +++ b/testdata/repos/standalone/VariableOrderCheck/metadata.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<catmetadata> +</catmetadata> diff --git a/testdata/repos/standalone/VariableScopeCheck/EbuildVariableScope/EbuildVariableScope-0.ebuild b/testdata/repos/standalone/VariableScopeCheck/EbuildVariableScope/EbuildVariableScope-0.ebuild index a27c4122..50bc6d25 100644 --- a/testdata/repos/standalone/VariableScopeCheck/EbuildVariableScope/EbuildVariableScope-0.ebuild +++ b/testdata/repos/standalone/VariableScopeCheck/EbuildVariableScope/EbuildVariableScope-0.ebuild @@ -2,8 +2,8 @@ EAPI=7 DESCRIPTION="Ebuild using a variable outside its defined scope" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" DOC_CONTENTS="Hello ${ROOT}" diff --git a/testdata/repos/standalone/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild b/testdata/repos/standalone/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild index 2aa33d94..2d860e7c 100644 --- a/testdata/repos/standalone/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild +++ b/testdata/repos/standalone/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with nonexistent conditional dep" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" DEPEND="|| ( stub/stub1 stub/stub2 cat/nonexistent )" diff --git a/testdata/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild b/testdata/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild index ee737c90..40d52195 100644 --- a/testdata/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild +++ b/testdata/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild @@ -2,6 +2,6 @@ inherit vcs DESCRIPTION="VCS ebuild with keywords" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="amd64" diff --git a/testdata/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild b/testdata/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild index 9f0fb173..746110a9 100644 --- a/testdata/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild +++ b/testdata/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild @@ -2,6 +2,6 @@ inherit vcs DESCRIPTION="VCS ebuild with keywords" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" KEYWORDS="~x86" diff --git a/testdata/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/BadWhitespaceCharacter-0.ebuild b/testdata/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/BadWhitespaceCharacter-0.ebuild index d245eef2..60f22a38 100644 --- a/testdata/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/BadWhitespaceCharacter-0.ebuild +++ b/testdata/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/BadWhitespaceCharacter-0.ebuild @@ -2,8 +2,8 @@ EAPI=7 DESCRIPTION="Ebuild uses bad whitespace character" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" src_test() { # bad chars aren't ignored in comments diff --git a/testdata/repos/standalone/WhitespaceCheck/DoubleEmptyLine/DoubleEmptyLine-0.ebuild b/testdata/repos/standalone/WhitespaceCheck/DoubleEmptyLine/DoubleEmptyLine-0.ebuild index d072bdab..4a83a70b 100644 --- a/testdata/repos/standalone/WhitespaceCheck/DoubleEmptyLine/DoubleEmptyLine-0.ebuild +++ b/testdata/repos/standalone/WhitespaceCheck/DoubleEmptyLine/DoubleEmptyLine-0.ebuild @@ -2,5 +2,5 @@ DESCRIPTION="Ebuild has unneeded empty lines" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/WhitespaceCheck/NoFinalNewline/NoFinalNewline-0.ebuild b/testdata/repos/standalone/WhitespaceCheck/NoFinalNewline/NoFinalNewline-0.ebuild index ad429e28..1d8dcced 100644 --- a/testdata/repos/standalone/WhitespaceCheck/NoFinalNewline/NoFinalNewline-0.ebuild +++ b/testdata/repos/standalone/WhitespaceCheck/NoFinalNewline/NoFinalNewline-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Ebuild lacks an ending newline" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD"
\ No newline at end of file +LICENSE="BSD" +SLOT="0"
\ No newline at end of file diff --git a/testdata/repos/standalone/WhitespaceCheck/TrailingEmptyLine/TrailingEmptyLine-0.ebuild b/testdata/repos/standalone/WhitespaceCheck/TrailingEmptyLine/TrailingEmptyLine-0.ebuild index a61f2c34..e07398bf 100644 --- a/testdata/repos/standalone/WhitespaceCheck/TrailingEmptyLine/TrailingEmptyLine-0.ebuild +++ b/testdata/repos/standalone/WhitespaceCheck/TrailingEmptyLine/TrailingEmptyLine-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild has a trailing empty line" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/app-arch/unzip/unzip-0.ebuild b/testdata/repos/standalone/app-arch/unzip/unzip-0.ebuild index 0b7766f5..347f8371 100644 --- a/testdata/repos/standalone/app-arch/unzip/unzip-0.ebuild +++ b/testdata/repos/standalone/app-arch/unzip/unzip-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Stub unzip package to suppress NonexistentDeps results" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/dev-lang/ruby/ruby-0.ebuild b/testdata/repos/standalone/dev-lang/ruby/ruby-0.ebuild index ba6aebb4..c6d63e82 100644 --- a/testdata/repos/standalone/dev-lang/ruby/ruby-0.ebuild +++ b/testdata/repos/standalone/dev-lang/ruby/ruby-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Stub ebuild" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/dev-ruby/stub/stub-0.ebuild b/testdata/repos/standalone/dev-ruby/stub/stub-0.ebuild index ba6aebb4..c6d63e82 100644 --- a/testdata/repos/standalone/dev-ruby/stub/stub-0.ebuild +++ b/testdata/repos/standalone/dev-ruby/stub/stub-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Stub ebuild" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/profiles/categories b/testdata/repos/standalone/profiles/categories index 9a5bd29c..3466f4cc 100644 --- a/testdata/repos/standalone/profiles/categories +++ b/testdata/repos/standalone/profiles/categories @@ -49,6 +49,7 @@ SrcUriCheck StaleLiveCheck stub test +VariableOrderCheck VariableScopeCheck virtual VisibilityCheck diff --git a/testdata/repos/standalone/stub/potential-global1/potential-global1-0.ebuild b/testdata/repos/standalone/stub/potential-global1/potential-global1-0.ebuild index b0dddec2..6ea8e6e5 100644 --- a/testdata/repos/standalone/stub/potential-global1/potential-global1-0.ebuild +++ b/testdata/repos/standalone/stub/potential-global1/potential-global1-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="potential-global" diff --git a/testdata/repos/standalone/stub/potential-global2/potential-global2-0.ebuild b/testdata/repos/standalone/stub/potential-global2/potential-global2-0.ebuild index b0dddec2..6ea8e6e5 100644 --- a/testdata/repos/standalone/stub/potential-global2/potential-global2-0.ebuild +++ b/testdata/repos/standalone/stub/potential-global2/potential-global2-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="potential-global" diff --git a/testdata/repos/standalone/stub/potential-global3/potential-global3-0.ebuild b/testdata/repos/standalone/stub/potential-global3/potential-global3-0.ebuild index b0dddec2..6ea8e6e5 100644 --- a/testdata/repos/standalone/stub/potential-global3/potential-global3-0.ebuild +++ b/testdata/repos/standalone/stub/potential-global3/potential-global3-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="potential-global" diff --git a/testdata/repos/standalone/stub/potential-global4/potential-global4-0.ebuild b/testdata/repos/standalone/stub/potential-global4/potential-global4-0.ebuild index b0dddec2..6ea8e6e5 100644 --- a/testdata/repos/standalone/stub/potential-global4/potential-global4-0.ebuild +++ b/testdata/repos/standalone/stub/potential-global4/potential-global4-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="potential-global" diff --git a/testdata/repos/standalone/stub/slotted/slotted-0.ebuild b/testdata/repos/standalone/stub/slotted/slotted-0.ebuild index bfd02b4c..2abbd5e1 100644 --- a/testdata/repos/standalone/stub/slotted/slotted-0.ebuild +++ b/testdata/repos/standalone/stub/slotted/slotted-0.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Stub ebuild with different SLOTs" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/stub/slotted/slotted-1.ebuild b/testdata/repos/standalone/stub/slotted/slotted-1.ebuild index a2949e5d..c9b7c393 100644 --- a/testdata/repos/standalone/stub/slotted/slotted-1.ebuild +++ b/testdata/repos/standalone/stub/slotted/slotted-1.ebuild @@ -1,4 +1,4 @@ DESCRIPTION="Stub ebuild with different SLOTs" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="1" LICENSE="BSD" +SLOT="1" diff --git a/testdata/repos/standalone/stub/stub1/stub1-0.ebuild b/testdata/repos/standalone/stub/stub1/stub1-0.ebuild index 3babfb6d..1101fad8 100644 --- a/testdata/repos/standalone/stub/stub1/stub1-0.ebuild +++ b/testdata/repos/standalone/stub/stub1/stub1-0.ebuild @@ -1,6 +1,6 @@ DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="matching probable test used use_expand_used" RESTRICT="!test? ( test )" diff --git a/testdata/repos/standalone/stub/stub2/stub2-0.ebuild b/testdata/repos/standalone/stub/stub2/stub2-0.ebuild index 5c1de869..47f77cfd 100644 --- a/testdata/repos/standalone/stub/stub2/stub2-0.ebuild +++ b/testdata/repos/standalone/stub/stub2/stub2-0.ebuild @@ -1,6 +1,6 @@ DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="matching probable test used" RESTRICT="!test? ( test )" diff --git a/testdata/repos/standalone/stub/stub3/stub3-0.ebuild b/testdata/repos/standalone/stub/stub3/stub3-0.ebuild index 5c1de869..47f77cfd 100644 --- a/testdata/repos/standalone/stub/stub3/stub3-0.ebuild +++ b/testdata/repos/standalone/stub/stub3/stub3-0.ebuild @@ -1,6 +1,6 @@ DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="matching probable test used" RESTRICT="!test? ( test )" diff --git a/testdata/repos/standalone/stub/stub4/stub4-0.ebuild b/testdata/repos/standalone/stub/stub4/stub4-0.ebuild index 5c1de869..47f77cfd 100644 --- a/testdata/repos/standalone/stub/stub4/stub4-0.ebuild +++ b/testdata/repos/standalone/stub/stub4/stub4-0.ebuild @@ -1,6 +1,6 @@ DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" LICENSE="BSD" +SLOT="0" IUSE="matching probable test used" RESTRICT="!test? ( test )" diff --git a/testdata/repos/standalone/test/ConflictingChksums/ConflictingChksums-0.ebuild b/testdata/repos/standalone/test/ConflictingChksums/ConflictingChksums-0.ebuild index a0f4bd99..1d836e2f 100644 --- a/testdata/repos/standalone/test/ConflictingChksums/ConflictingChksums-0.ebuild +++ b/testdata/repos/standalone/test/ConflictingChksums/ConflictingChksums-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with manifest entry colliding with another package" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/test/MatchingChksums/MatchingChksums-0.ebuild b/testdata/repos/standalone/test/MatchingChksums/MatchingChksums-0.ebuild index e85191e2..f3645a52 100644 --- a/testdata/repos/standalone/test/MatchingChksums/MatchingChksums-0.ebuild +++ b/testdata/repos/standalone/test/MatchingChksums/MatchingChksums-0.ebuild @@ -1,5 +1,5 @@ DESCRIPTION="Ebuild with manifest entry colliding with another package" HOMEPAGE="https://github.com/pkgcore/pkgcheck" SRC_URI="https://github.com/pkgcore/pkgcheck/foo2.tar.gz" -SLOT="0" LICENSE="BSD" +SLOT="0" diff --git a/testdata/repos/standalone/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild b/testdata/repos/standalone/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild index d763be12..0b3a014b 100644 --- a/testdata/repos/standalone/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild +++ b/testdata/repos/standalone/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild @@ -1,3 +1,3 @@ DESCRIPTION="Ebuild with unnecessary LICENSE" -SLOT="0" LICENSE="BSD" +SLOT="0" |