├── .coveragerc ├── .git-blame-ignore-revs ├── .github ├── ISSUE_TEMPLATE │ ├── blank-issue.md │ ├── bug-commits.yml │ ├── bug.yml │ ├── config.yml │ ├── feature-request.md │ └── new-check.yml └── workflows │ ├── doc.yml │ ├── release.yml │ └── test.yml ├── .gitignore ├── .pylintrc ├── Dockerfile ├── LICENSE ├── Makefile ├── NEWS.rst ├── README.rst ├── RELEASE.rst ├── contrib └── emacs │ └── flycheck-pkgcheck.el ├── data └── share │ ├── bash-completion │ └── completions │ │ └── pkgcheck │ ├── pkgcheck │ ├── ci.py │ ├── perl-version.pl │ └── pkgcheck.conf │ └── zsh │ └── site-functions │ └── _pkgcheck ├── doc ├── api.rst ├── conf.py ├── generate │ └── pkgcheck │ │ ├── checks.py │ │ ├── keywords.py │ │ └── reporters.py ├── index.rst ├── man │ ├── config.rst │ └── pkgcheck.rst └── news.rst ├── py_build.py ├── pyproject.toml ├── src └── pkgcheck │ ├── __init__.py │ ├── __main__.py │ ├── addons │ ├── __init__.py │ ├── caches.py │ ├── eclass.py │ ├── git.py │ ├── net.py │ └── profiles.py │ ├── api.py │ ├── base.py │ ├── bash │ └── __init__.py │ ├── checks │ ├── __init__.py │ ├── acct.py │ ├── cleanup.py │ ├── codingstyle.py │ ├── dropped_keywords.py │ ├── eclass.py │ ├── git.py │ ├── glsa.py │ ├── header.py │ ├── imlate.py │ ├── metadata.py │ ├── metadata_xml.py │ ├── network.py │ ├── overlays.py │ ├── perl.py │ ├── pkgdir.py │ ├── profiles.py │ ├── python.py │ ├── repo.py │ ├── repo_metadata.py │ ├── reserved.py │ ├── ruby.py │ ├── rust.py │ ├── stablereq.py │ ├── unstable_only.py │ ├── visibility.py │ └── whitespace.py │ ├── cli.py │ ├── const.py │ ├── feeds.py │ ├── log.py │ ├── objects.py │ ├── packages.py │ ├── pipeline.py │ ├── reporters.py │ ├── results.py │ ├── runners.py │ ├── scripts │ ├── __init__.py │ ├── argparse_actions.py │ ├── argparsers.py │ ├── pkgcheck.py │ ├── pkgcheck_cache.py │ ├── pkgcheck_ci.py │ ├── pkgcheck_replay.py │ ├── pkgcheck_scan.py │ └── pkgcheck_show.py │ ├── sources.py │ └── utils.py ├── testdata ├── data │ └── repos │ │ ├── compatibility │ │ └── RepositoryCategories │ │ │ └── CategoryIsNotDirectory │ │ │ ├── expected.json │ │ │ └── fix.sh │ │ ├── eapis-testing │ │ ├── EapiCheck │ │ │ └── StableKeywordsOnTestingEapi │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ └── MissingRemoteIdCheck │ │ │ └── MissingRemoteId │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ ├── eclass │ │ ├── EapiCheck │ │ │ └── UnsupportedEclassEapi │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EclassCheck │ │ │ ├── EclassBashSyntaxError │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── EclassDocError │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── EclassDocMissingFunc │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── EclassDocMissingVar │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EclassParseCheck │ │ │ └── EclassExportFuncsBeforeInherit │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EclassReservedCheck │ │ │ └── EclassReservedName │ │ │ │ └── expected.json │ │ ├── EclassUnquotedVariablesCheck │ │ │ └── EclassUnquotedVariable │ │ │ │ └── expected.json │ │ ├── EclassUsageCheck │ │ │ ├── DeprecatedEclass │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── EclassUserVariableUsage │ │ │ │ └── expected.json │ │ │ ├── MisplacedEclassVar │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── ProvidedEclassInherit │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ └── InheritsCheck │ │ │ ├── IndirectInherits │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ │ ├── InternalEclassUsage │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ │ ├── MissingInherits │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ │ └── UnusedInherits │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ ├── gentoo │ │ ├── CategoryMetadataXmlCheck │ │ │ └── CatMissingMetadataXml │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EbuildHeaderCheck │ │ │ ├── EbuildInvalidCopyright │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── EbuildInvalidLicenseHeader │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── EbuildNonGentooAuthorsCopyright │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── EbuildOldGentooCopyright │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EclassHeaderCheck │ │ │ ├── EclassInvalidCopyright │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── EclassInvalidLicenseHeader │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── EclassNonGentooAuthorsCopyright │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── EclassOldGentooCopyright │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EmptyDirsCheck │ │ │ ├── EmptyCategoryDir │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── EmptyPackageDir │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── PackageMetadataXmlCheck │ │ │ ├── InvalidMetadataRestrict │ │ │ │ └── expected.json │ │ │ ├── MaintainerNeeded │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── MaintainerWithoutProxy │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── NonexistentProjectMaintainer │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PkgMissingMetadataXml │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── ProxyWithoutProxied │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── RedundantLongDescription │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── WrongMaintainerType │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── PkgDirCheck │ │ │ └── UnknownPkgDirEntry │ │ │ │ ├── expected.json │ │ │ │ └── fix.sh │ │ ├── RepoDirCheck │ │ │ └── BinaryFile │ │ │ │ ├── expected.json │ │ │ │ ├── fix.sh │ │ │ │ └── trigger.sh │ │ ├── RepoProfilesCheck │ │ │ ├── LaggingProfileEapi │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── NonexistentCategories │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── ProfileWarning │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── UnknownCategoryDirs │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── UnstableOnlyCheck │ │ │ └── UnstableOnly │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ └── UseFlagsWithoutEffectsCheck │ │ │ └── UseFlagWithoutDeps │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ ├── network │ │ ├── FetchablesUrlCheck │ │ │ ├── DeadUrl │ │ │ │ └── expected.json │ │ │ ├── HttpsUrlAvailable │ │ │ │ └── expected.json │ │ │ ├── RedirectedUrl │ │ │ │ └── expected.json │ │ │ └── SSLCertificateError │ │ │ │ └── expected.json │ │ ├── HomepageUrlCheck │ │ │ ├── DeadUrl-connection-error │ │ │ │ └── expected.json │ │ │ ├── DeadUrl │ │ │ │ └── expected.json │ │ │ ├── HttpsUrlAvailable │ │ │ │ └── expected.json │ │ │ ├── RedirectedUrl │ │ │ │ └── expected.json │ │ │ └── SSLCertificateError │ │ │ │ └── expected.json │ │ └── MetadataUrlCheck │ │ │ ├── DeadUrl-bitbucket │ │ │ └── expected.json │ │ │ ├── DeadUrl-cpan │ │ │ └── expected.json │ │ │ ├── DeadUrl-cran │ │ │ └── expected.json │ │ │ ├── DeadUrl-ctan │ │ │ └── expected.json │ │ │ ├── DeadUrl-freedesktop-gitlab │ │ │ └── expected.json │ │ │ ├── DeadUrl-gentoo │ │ │ └── expected.json │ │ │ ├── DeadUrl-gnome-gitlab │ │ │ └── expected.json │ │ │ ├── DeadUrl-hackage │ │ │ └── expected.json │ │ │ ├── DeadUrl-kde-invent │ │ │ └── expected.json │ │ │ ├── DeadUrl-launchpad │ │ │ └── expected.json │ │ │ ├── DeadUrl-osdn │ │ │ └── expected.json │ │ │ ├── DeadUrl-pecl │ │ │ └── expected.json │ │ │ ├── DeadUrl-pypi │ │ │ └── expected.json │ │ │ ├── DeadUrl-rubygems │ │ │ └── expected.json │ │ │ ├── DeadUrl-savannah-nongnu │ │ │ └── expected.json │ │ │ ├── DeadUrl-savannah │ │ │ └── expected.json │ │ │ ├── DeadUrl-sourceforge │ │ │ └── expected.json │ │ │ ├── DeadUrl-sourcehut │ │ │ └── expected.json │ │ │ ├── DeadUrl-vim │ │ │ └── expected.json │ │ │ ├── DeadUrl │ │ │ └── expected.json │ │ │ ├── HttpsUrlAvailable │ │ │ └── expected.json │ │ │ ├── RedirectedUrl │ │ │ └── expected.json │ │ │ └── SSLCertificateError │ │ │ └── expected.json │ │ ├── overlay │ │ └── UnusedInMastersCheck │ │ │ ├── UnusedInMastersEclasses │ │ │ └── expected.json │ │ │ ├── UnusedInMastersGlobalUse │ │ │ └── expected.json │ │ │ ├── UnusedInMastersLicenses │ │ │ └── expected.json │ │ │ └── UnusedInMastersMirrors │ │ │ └── expected.json │ │ ├── profiledir │ │ ├── ProfilesCheck │ │ │ ├── ProfileError │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── ProfileMissingImplicitExpandValues │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownProfileArch │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownProfilePackage │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownProfilePackageKeywords │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownProfilePackageUse │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownProfileUse │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownProfileUseExpand │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownProfileUseExpandValue │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── UnmatchedProfilePackageUnmask │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── RedundantVersionCheck │ │ │ └── RedundantVersion │ │ │ │ └── expected.json │ │ └── RepoProfilesCheck │ │ │ ├── ArchesOutOfSync │ │ │ ├── expected.json │ │ │ └── fix.sh │ │ │ ├── ArchesWithoutProfiles │ │ │ ├── expected.json │ │ │ └── fix.sh │ │ │ ├── BannedProfileEapi │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ │ ├── DeprecatedProfileEapi │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ │ ├── NonexistentProfilePath │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ │ ├── ProfileError │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ │ └── UnusedProfileDirs │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ ├── python │ │ ├── PythonCheck │ │ │ ├── DistutilsNonPEP517Build │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PythonAnyMismatchedDepHasVersionCheck │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PythonAnyMismatchedUseHasVersionCheck │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PythonHasVersionMissingPythonUseDep │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PythonHasVersionUsage │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PythonMissingDeps │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── PythonMissingSCMDependency │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── PythonCompatCheck │ │ │ └── PythonCompatUpdate │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── PythonFetchableCheck │ │ │ ├── PythonGHDistfileSuffix │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── PythonInlinePyPIURI │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── PythonPackageNameCheck │ │ │ └── PythonMismatchedPackageName │ │ │ │ └── expected.json │ │ └── RubyCompatCheck │ │ │ └── RubyCompatUpdate │ │ │ └── expected.json │ │ ├── standalone │ │ ├── BadCommandsCheck │ │ │ ├── BannedEapiCommand │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── BannedPhaseCall │ │ │ │ └── expected.json │ │ │ └── DeprecatedEapiCommand │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── CategoryMetadataXmlCheck │ │ │ ├── CatBadlyFormedXml │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── CatInvalidXml │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── CatMetadataXmlEmptyElement │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── CatMetadataXmlIndentation │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── CatMetadataXmlInvalidCatRef │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── CatMetadataXmlInvalidPkgRef │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── DeclarationShadowedCheck │ │ │ ├── DuplicateFunctionDefinition │ │ │ │ └── expected.json │ │ │ └── VariableShadowed │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── DependencyCheck │ │ │ ├── BadDependency │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── InvalidBdepend │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── InvalidDepend │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── InvalidPdepend │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── InvalidRdepend │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── MisplacedWeakBlocker │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── MissingPackageRevision │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── MissingUseDepDefault │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── UnstatedIuse │ │ │ │ ├── expected-verbose.json │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── DescriptionCheck │ │ │ └── BadDescription │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── DoCompressedFilesCheck │ │ │ ├── InstallCompressedInfo │ │ │ │ └── expected.json │ │ │ └── InstallCompressedManpage │ │ │ │ └── expected.json │ │ ├── DroppedKeywordsCheck │ │ │ └── DroppedKeywords │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EapiCheck │ │ │ ├── BannedEapi │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── DeprecatedEapi │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EbuildReservedCheck │ │ │ ├── EbuildReservedName │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── EbuildSemiReservedName │ │ │ │ └── expected.json │ │ ├── EbuildUnquotedVariablesCheck │ │ │ └── EbuildUnquotedVariable │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EclassManualDepsCheck │ │ │ ├── GoMissingDeps │ │ │ │ └── expected.json │ │ │ ├── RubyMissingDeps │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── RustMissingDeps │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EclassUsageCheck │ │ │ ├── DeprecatedEclassFunction │ │ │ │ └── expected.json │ │ │ ├── DeprecatedEclassVariable │ │ │ │ └── expected.json │ │ │ └── DuplicateEclassInherit │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EendMissingArgCheck │ │ │ └── EendMissingArg │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── EqualVersionsCheck │ │ │ └── EqualVersions │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── GlobCheck │ │ │ └── GlobDistdir │ │ │ │ └── expected.json │ │ ├── GlobalUseCheck │ │ │ ├── PotentialGlobalUse │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PotentialLocalUse │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnusedGlobalUse │ │ │ │ ├── expected.json │ │ │ │ └── fix.sh │ │ │ └── UnusedGlobalUseExpand │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── HomepageCheck │ │ │ └── BadHomepage │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── InsintoCheck │ │ │ └── DeprecatedInsinto │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── IuseCheck │ │ │ ├── InvalidUseFlags │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── UnknownUseFlags │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── KeywordsCheck │ │ │ ├── BadKeywords │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── DuplicateKeywords │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── OverlappingKeywords │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownKeywords │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── UnsortedKeywords │ │ │ │ ├── expected-verbose.json │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── LicenseCheck │ │ │ ├── InvalidLicense │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── MissingLicense │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── MissingLicenseRestricts │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownLicense │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnnecessaryLicense │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── UnstatedIuse │ │ │ │ ├── expected-verbose.json │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── LicenseGroupsCheck │ │ │ └── UnknownLicenses │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── LocalUseCheck │ │ │ ├── MatchingGlobalUse │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── MissingLocalUseDesc │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── ProbableGlobalUse │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── ProbableUseExpand │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnderscoreInUseFlag │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── UnusedLocalUse │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── ManifestCheck │ │ │ ├── DeprecatedChksum │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── DeprecatedManifestHash │ │ │ │ └── expected.json │ │ │ ├── InvalidManifest │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── MissingChksum │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── MissingManifest │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownManifest │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── UnnecessaryManifest │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── ManifestCollisionCheck │ │ │ ├── ConflictingChksums │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── MatchingChksums │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── MetadataVarCheck │ │ │ ├── EmptyGlobalAssignment │ │ │ │ └── expected.json │ │ │ ├── HomepageInSrcUri │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── MultipleKeywordsLines │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── ReferenceInMetadataVar │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── SelfAssignment │ │ │ │ └── expected.json │ │ │ └── StaticSrcUri │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── MissingSlotDepCheck │ │ │ └── MissingSlotDep │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── MissingUnpackerDepCheck │ │ │ └── MissingUnpackerDep │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── NonPosixCheck │ │ │ ├── NonConsistentTarUsage │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── NonPosixHeadTailUsage │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── PackageMetadataXmlCheck │ │ │ ├── InvalidRemoteID │ │ │ │ └── expected.json │ │ │ ├── PkgBadlyFormedXml │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PkgInvalidXml │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PkgMetadataXmlEmptyElement │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PkgMetadataXmlIndentation │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PkgMetadataXmlInvalidCatRef │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── PkgMetadataXmlInvalidPkgRef │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── RedundantLongDescription │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── PkgDirCheck │ │ │ ├── DuplicateFiles │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── EmptyFile │ │ │ │ ├── expected.json │ │ │ │ └── fix.sh │ │ │ ├── ExecutableFile │ │ │ │ ├── expected.json │ │ │ │ └── fix.sh │ │ │ ├── InvalidPN │ │ │ │ ├── expected.json │ │ │ │ └── fix.sh │ │ │ └── MismatchedPN │ │ │ │ ├── expected.json │ │ │ │ └── fix.sh │ │ ├── ProjectMetadataCheck │ │ │ └── EmptyProject │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── PropertiesCheck │ │ │ ├── InvalidProperties │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownProperties │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── UnstatedIuse │ │ │ │ ├── expected-verbose.json │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── ReadonlyVariableCheck │ │ │ └── ReadonlyVariable │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── RedundantDodirCheck │ │ │ └── RedundantDodir │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── RepoManifestHashCheck │ │ │ └── DeprecatedRepoHash │ │ │ │ └── expected.json │ │ ├── RequiredUseCheck │ │ │ ├── InvalidRequiredUse │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── RequiredUseDefaults │ │ │ │ ├── expected-verbose.json │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── UnstatedIuse │ │ │ │ ├── expected-verbose.json │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── RestrictCheck │ │ │ ├── InvalidRestrict │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownRestrict │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── UnstatedIuse │ │ │ │ ├── expected-verbose.json │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── RestrictTestCheck │ │ │ └── MissingTestRestrict │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── RustCheck │ │ │ ├── SuboptimalCratesSeparator │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── SuboptimalCratesURICall │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── SandboxCallCheck │ │ │ └── InvalidSandboxCall │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── SourcingCheck │ │ │ ├── InvalidEapi │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── InvalidSlot │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── SourcingError │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── SrcUriCheck │ │ │ ├── BadFilename │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── BadProtocol │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── InvalidSrcUri │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── MissingUri │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── RedundantUriRename │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── SrcUriFilenameDotPrefix │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── TarballAvailable │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnknownMirror │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ ├── UnstableSrcUri │ │ │ │ └── expected.json │ │ │ └── UnstatedIuse │ │ │ │ ├── expected-verbose.json │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── StaleLiveCheck │ │ │ └── StaleLiveEAPI │ │ │ │ └── expected.json │ │ ├── UnusedEclassesCheck │ │ │ └── UnusedEclasses │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── UnusedLicensesCheck │ │ │ └── UnusedLicenses │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── UnusedMirrorsCheck │ │ │ └── UnusedMirrors │ │ │ │ ├── expected.json │ │ │ │ └── fix.sh │ │ ├── VariableOrderCheck │ │ │ └── VariableOrderWrong │ │ │ │ └── expected.json │ │ ├── VariableScopeCheck │ │ │ └── EbuildVariableScope │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ ├── VirtualProvidersCheck │ │ │ ├── VirtualWithBdepend │ │ │ │ └── expected.json │ │ │ ├── VirtualWithDepend │ │ │ │ └── expected.json │ │ │ └── VirtualWithSingleProvider │ │ │ │ └── expected.json │ │ ├── VisibilityCheck │ │ │ ├── NonexistentDeps │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ │ └── VisibleVcsPkg │ │ │ │ ├── expected-verbose.json │ │ │ │ ├── expected.json │ │ │ │ └── fix.patch │ │ └── WhitespaceCheck │ │ │ ├── BadWhitespaceCharacter │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ │ ├── DoubleEmptyLine │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ │ ├── NoFinalNewline │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ │ └── TrailingEmptyLine │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ └── visibility │ │ ├── DependencyCheck │ │ └── DeprecatedDep │ │ │ ├── expected.json │ │ │ └── fix.patch │ │ ├── PackageUpdatesCheck │ │ ├── BadPackageUpdate │ │ │ └── expected.json │ │ └── OldPackageUpdate │ │ │ └── expected.json │ │ └── VisibilityCheck │ │ ├── DependencyMoved │ │ └── expected.json │ │ ├── NonsolvableDepsInDev │ │ ├── expected-verbose.json │ │ ├── expected.json │ │ └── fix.patch │ │ ├── NonsolvableDepsInExp │ │ ├── expected-verbose.json │ │ ├── expected.json │ │ └── fix.patch │ │ ├── NonsolvableDepsInStable │ │ ├── expected-verbose.json │ │ ├── expected.json │ │ └── fix.patch │ │ ├── OldPackageName │ │ └── expected.json │ │ ├── OldPackageNameDep │ │ └── expected.json │ │ └── UncheckableDep │ │ ├── expected.json │ │ └── fix.patch ├── pkgcheck └── repos │ ├── compatibility │ ├── CategoryIsNotDirectory │ └── profiles │ │ └── categories │ ├── eapis-testing │ ├── EapiCheck │ │ └── StableKeywordsOnTestingEapi │ │ │ ├── StableKeywordsOnTestingEapi-0.ebuild │ │ │ └── StableKeywordsOnTestingEapi-1.ebuild │ ├── MissingRemoteIdCheck │ │ └── MissingRemoteId │ │ │ ├── Manifest │ │ │ ├── MissingRemoteId-0.ebuild │ │ │ ├── MissingRemoteId-1.ebuild │ │ │ ├── MissingRemoteId-2.ebuild │ │ │ ├── MissingRemoteId-3.ebuild │ │ │ ├── MissingRemoteId-4.ebuild │ │ │ └── metadata.xml │ ├── licenses │ │ └── BSD │ ├── metadata │ │ └── layout.conf │ └── profiles │ │ ├── arch.list │ │ ├── arches.desc │ │ ├── categories │ │ ├── default │ │ └── eapi │ │ ├── profiles.desc │ │ ├── repo_name │ │ └── thirdpartymirrors │ ├── eclass │ ├── EapiCheck │ │ └── UnsupportedEclassEapi │ │ │ └── UnsupportedEclassEapi-0.ebuild │ ├── EclassParseCheck │ │ └── EclassExportFuncsBeforeInherit │ │ │ └── EclassExportFuncsBeforeInherit-1.ebuild │ ├── EclassUsageCheck │ │ ├── DeprecatedEclass │ │ │ ├── DeprecatedEclass-0.ebuild │ │ │ └── DeprecatedEclass-1.ebuild │ │ ├── EclassUserVariableUsage │ │ │ └── EclassUserVariableUsage-0.ebuild │ │ ├── MisplacedEclassVar │ │ │ ├── MisplacedEclassVar-0.ebuild │ │ │ └── MisplacedEclassVar-9999.ebuild │ │ └── ProvidedEclassInherit │ │ │ └── ProvidedEclassInherit-0.ebuild │ ├── InheritsCheck │ │ ├── IndirectInherits │ │ │ ├── IndirectInherits-0.ebuild │ │ │ └── IndirectInherits-1.ebuild │ │ ├── InternalEclassUsage │ │ │ └── InternalEclassUsage-0.ebuild │ │ ├── MissingInherits │ │ │ ├── MissingInherits-0.ebuild │ │ │ ├── MissingInherits-1.ebuild │ │ │ └── MissingInherits-2.ebuild │ │ └── UnusedInherits │ │ │ ├── UnusedInherits-0.ebuild │ │ │ ├── UnusedInherits-1.ebuild │ │ │ └── UnusedInherits-2.ebuild │ ├── eclass │ │ ├── another-src_prepare.eclass │ │ ├── bad.eclass │ │ ├── deep-provided-inherit.eclass │ │ ├── deprecated.eclass │ │ ├── deprecated2.eclass │ │ ├── elisp.eclass │ │ ├── export-funcs-before-inherit.eclass │ │ ├── indirect-inherit.eclass │ │ ├── inherit.eclass │ │ ├── missing-docs.eclass │ │ ├── no-maintainer.eclass │ │ ├── pre-inherit.eclass │ │ ├── provided-inherit.eclass │ │ ├── readme.gentoo-r1.eclass │ │ ├── replacement.eclass │ │ ├── reserved.eclass │ │ ├── stub.eclass │ │ ├── unquotedvariable.eclass │ │ ├── unused.eclass │ │ └── vcs.eclass │ ├── licenses │ │ └── BSD │ ├── metadata │ │ └── layout.conf │ ├── profiles │ │ ├── categories │ │ └── repo_name │ └── stub │ │ └── stub1 │ │ └── stub1-0.ebuild │ ├── gentoo │ ├── CatMissingMetadataXml │ │ ├── stub1 │ │ │ ├── metadata.xml │ │ │ └── stub1-0.ebuild │ │ └── stub2 │ │ │ ├── metadata.xml │ │ │ └── stub2-0.ebuild │ ├── EbuildHeaderCheck │ │ ├── EbuildInvalidCopyright │ │ │ ├── EbuildInvalidCopyright-0.ebuild │ │ │ └── metadata.xml │ │ ├── EbuildInvalidLicenseHeader │ │ │ ├── EbuildInvalidLicenseHeader-0.ebuild │ │ │ ├── EbuildInvalidLicenseHeader-1.ebuild │ │ │ └── metadata.xml │ │ ├── EbuildNonGentooAuthorsCopyright │ │ │ ├── EbuildNonGentooAuthorsCopyright-0.ebuild │ │ │ └── metadata.xml │ │ ├── EbuildOldGentooCopyright │ │ │ ├── EbuildOldGentooCopyright-0.ebuild │ │ │ └── metadata.xml │ │ └── metadata.xml │ ├── EmptyCategoryDir │ │ └── metadata.xml │ ├── EmptyDirsCheck │ │ ├── EmptyPackageDir │ │ │ └── metadata.xml │ │ └── metadata.xml │ ├── PackageMetadataXmlCheck │ │ ├── InvalidMetadataRestrict │ │ │ ├── InvalidMetadataRestrict-0.ebuild │ │ │ └── metadata.xml │ │ ├── MaintainerNeeded │ │ │ ├── MaintainerNeeded-0.ebuild │ │ │ └── metadata.xml │ │ ├── MaintainerNeeded2 │ │ │ ├── MaintainerNeeded2-0.ebuild │ │ │ └── metadata.xml │ │ ├── MaintainerWithoutProxy │ │ │ ├── MaintainerWithoutProxy-0.ebuild │ │ │ └── metadata.xml │ │ ├── MaintainerWithoutProxy2 │ │ │ ├── MaintainerWithoutProxy2-0.ebuild │ │ │ └── metadata.xml │ │ ├── NonexistentProjectMaintainer │ │ │ ├── NonexistentProjectMaintainer-0.ebuild │ │ │ └── metadata.xml │ │ ├── PkgMissingMetadataXml │ │ │ └── PkgMissingMetadataXml-0.ebuild │ │ ├── ProxyWithoutProxied │ │ │ ├── ProxyWithoutProxied-0.ebuild │ │ │ └── metadata.xml │ │ ├── ProxyWithoutProxied2 │ │ │ ├── ProxyWithoutProxied2-0.ebuild │ │ │ └── metadata.xml │ │ ├── ProxyWithoutProxied3 │ │ │ ├── ProxyWithoutProxied3-0.ebuild │ │ │ └── metadata.xml │ │ ├── RedundantLongDescription │ │ │ ├── RedundantLongDescription-0.ebuild │ │ │ └── metadata.xml │ │ ├── WrongMaintainerType │ │ │ ├── WrongMaintainerType-0.ebuild │ │ │ └── metadata.xml │ │ └── metadata.xml │ ├── PkgDirCheck │ │ ├── UnknownPkgDirEntry │ │ │ ├── UnknownPkgDirEntry-0.ebuild │ │ │ ├── bar │ │ │ │ └── .stub │ │ │ ├── foo │ │ │ └── metadata.xml │ │ └── metadata.xml │ ├── UnstableOnlyCheck │ │ ├── UnstableOnly │ │ │ ├── UnstableOnly-0.ebuild │ │ │ └── metadata.xml │ │ └── metadata.xml │ ├── UseFlagsWithoutEffectsCheck │ │ ├── UseFlagWithoutDeps │ │ │ ├── UseFlagWithoutDeps-0.ebuild │ │ │ ├── UseFlagWithoutDeps-1.ebuild │ │ │ ├── UseFlagWithoutDeps-2.ebuild │ │ │ ├── UseFlagWithoutDeps-3.ebuild │ │ │ ├── UseFlagWithoutDeps-4.ebuild │ │ │ └── metadata.xml │ │ └── metadata.xml │ ├── eclass │ │ ├── invalid-copyright.eclass │ │ ├── invalid-license-header.eclass │ │ ├── missing-license-header.eclass │ │ ├── non-gentoo-copyright.eclass │ │ └── old-gentoo-copyright.eclass │ ├── licenses │ │ └── BSD │ ├── metadata │ │ ├── glsa │ │ │ └── glsa-000000-00.xml │ │ ├── layout.conf │ │ └── projects.xml │ ├── profiles │ │ ├── arch.list │ │ ├── arches.desc │ │ ├── categories │ │ ├── default │ │ │ ├── eapi │ │ │ ├── linux │ │ │ │ ├── eapi │ │ │ │ ├── lagging │ │ │ │ │ └── parent │ │ │ │ ├── make.defaults │ │ │ │ └── parent │ │ │ └── make.defaults │ │ ├── eapi │ │ ├── profiles.desc │ │ ├── repo_name │ │ └── use.desc │ └── unknown │ │ └── metadata.xml │ ├── network │ ├── FetchablesUrlCheck │ │ ├── DeadUrl │ │ │ ├── DeadUrl-0.ebuild │ │ │ ├── Manifest │ │ │ └── responses.py │ │ ├── HttpsUrlAvailable │ │ │ ├── HttpsUrlAvailable-0.ebuild │ │ │ ├── Manifest │ │ │ └── responses.py │ │ ├── RedirectedUrl │ │ │ ├── Manifest │ │ │ ├── RedirectedUrl-0.ebuild │ │ │ └── responses.py │ │ ├── SSLCertificateError │ │ │ ├── Manifest │ │ │ ├── SSLCertificateError-0.ebuild │ │ │ └── responses.py │ │ └── ftp-DeadUrl │ │ │ ├── Manifest │ │ │ └── ftp-DeadUrl-0.ebuild │ ├── HomepageUrlCheck │ │ ├── DeadUrl-connection-error │ │ │ ├── DeadUrl-connection-error-0.ebuild │ │ │ └── responses.py │ │ ├── DeadUrl │ │ │ ├── DeadUrl-0.ebuild │ │ │ └── responses.py │ │ ├── HttpsUrlAvailable │ │ │ ├── HttpsUrlAvailable-0.ebuild │ │ │ └── responses.py │ │ ├── RedirectedUrl │ │ │ ├── RedirectedUrl-0.ebuild │ │ │ └── responses.py │ │ ├── SSLCertificateError │ │ │ ├── SSLCertificateError-0.ebuild │ │ │ └── responses.py │ │ └── ftp-DeadUrl │ │ │ └── ftp-DeadUrl-0.ebuild │ ├── MetadataUrlCheck │ │ ├── DeadUrl-bitbucket │ │ │ ├── DeadUrl-bitbucket-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-cpan │ │ │ ├── DeadUrl-cpan-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-cran │ │ │ ├── DeadUrl-cran-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-ctan │ │ │ ├── DeadUrl-ctan-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-freedesktop-gitlab │ │ │ ├── DeadUrl-freedesktop-gitlab-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-gentoo │ │ │ ├── DeadUrl-gentoo-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-gnome-gitlab │ │ │ ├── DeadUrl-gnome-gitlab-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-hackage │ │ │ ├── DeadUrl-hackage-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-kde-invent │ │ │ ├── DeadUrl-kde-invent-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-launchpad │ │ │ ├── DeadUrl-launchpad-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-missingfile │ │ │ ├── DeadUrl-missingfile-0.ebuild │ │ │ └── responses.py │ │ ├── DeadUrl-osdn │ │ │ ├── DeadUrl-osdn-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-pecl │ │ │ ├── DeadUrl-pecl-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-pypi │ │ │ ├── DeadUrl-pypi-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-rubygems │ │ │ ├── DeadUrl-rubygems-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-savannah-nongnu │ │ │ ├── DeadUrl-savannah-nongnu-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-savannah │ │ │ ├── DeadUrl-savannah-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-sourceforge │ │ │ ├── DeadUrl-sourceforge-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-sourcehut │ │ │ ├── DeadUrl-sourcehut-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl-vim │ │ │ ├── DeadUrl-vim-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── DeadUrl │ │ │ ├── DeadUrl-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── HttpsUrlAvailable │ │ │ ├── HttpsUrlAvailable-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ ├── RedirectedUrl │ │ │ ├── RedirectedUrl-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ │ └── SSLCertificateError │ │ │ ├── SSLCertificateError-0.ebuild │ │ │ ├── metadata.xml │ │ │ └── responses.py │ ├── licenses │ │ └── BSD │ ├── metadata │ │ └── layout.conf │ └── profiles │ │ ├── categories │ │ └── repo_name │ ├── overlay │ ├── UnusedInMastersCheck │ │ ├── UnusedInMastersEclasses │ │ │ └── UnusedInMastersEclasses-0.ebuild │ │ ├── UnusedInMastersGlobalUse │ │ │ └── UnusedInMastersGlobalUse-0.ebuild │ │ ├── UnusedInMastersLicenses │ │ │ └── UnusedInMastersLicenses-0.ebuild │ │ └── UnusedInMastersMirrors │ │ │ ├── Manifest │ │ │ └── UnusedInMastersMirrors-0.ebuild │ ├── metadata │ │ └── layout.conf │ └── profiles │ │ ├── categories │ │ └── repo_name │ ├── overlayed │ ├── eclass │ │ └── unused.eclass │ ├── licenses │ │ ├── BSD │ │ └── unused │ ├── metadata │ │ └── layout.conf │ ├── profiles │ │ ├── arch.list │ │ ├── categories │ │ ├── default │ │ │ └── make.defaults │ │ ├── profiles.desc │ │ ├── repo_name │ │ ├── thirdpartymirrors │ │ └── use.desc │ └── stub │ │ └── stub1 │ │ └── stub1-0.ebuild │ ├── profiledir │ ├── RedundantVersionCheck │ │ └── RedundantVersion │ │ │ ├── RedundantVersion-1.ebuild │ │ │ ├── RedundantVersion-2.ebuild │ │ │ ├── RedundantVersion-3.ebuild │ │ │ ├── RedundantVersion-4.ebuild │ │ │ ├── RedundantVersion-5.ebuild │ │ │ └── RedundantVersion-6.ebuild │ ├── cat │ │ ├── pkg1 │ │ │ └── pkg1-0.ebuild │ │ ├── pkg2 │ │ │ └── pkg2-0.ebuild │ │ ├── pkg3 │ │ │ └── pkg3-0.ebuild │ │ └── pkg4 │ │ │ └── pkg4-0.ebuild │ ├── licenses │ │ └── BSD │ ├── metadata │ │ └── layout.conf │ └── profiles │ │ ├── arch.list │ │ ├── arches.desc │ │ ├── banned-eapi │ │ └── make.defaults │ │ ├── categories │ │ ├── default │ │ ├── bad_parent │ │ │ ├── eapi │ │ │ └── parent │ │ ├── eapi │ │ ├── forgotten │ │ │ └── eapi │ │ ├── make.defaults │ │ └── package.use │ │ ├── deprecated-eapi │ │ └── eapi │ │ ├── deprecated │ │ ├── eapi │ │ └── nonexistent │ │ │ ├── deprecated │ │ │ └── eapi │ │ ├── desc │ │ └── python_targets.desc │ │ ├── profiles.desc │ │ ├── redundant │ │ ├── amd64 │ │ │ ├── eapi │ │ │ ├── musl │ │ │ │ ├── eapi │ │ │ │ ├── package.mask │ │ │ │ └── parent │ │ │ ├── package.mask │ │ │ └── parent │ │ ├── eapi │ │ ├── package.mask │ │ └── x86 │ │ │ ├── eapi │ │ │ ├── package.mask │ │ │ └── parent │ │ ├── repo_name │ │ ├── unknown_arch │ │ ├── eapi │ │ └── make.defaults │ │ ├── unknown_kwds │ │ ├── eapi │ │ ├── package.accept_keywords │ │ └── package.keywords │ │ ├── unknown_pkgs │ │ ├── eapi │ │ ├── package.mask │ │ ├── package.unmask │ │ ├── package.use │ │ └── packages │ │ ├── unknown_use │ │ ├── eapi │ │ ├── make.defaults │ │ ├── unknown_stable_use │ │ │ ├── eapi │ │ │ ├── use.force │ │ │ └── use.stable.force │ │ ├── unknown_stable_use_mask │ │ │ ├── eapi │ │ │ ├── use.mask │ │ │ └── use.stable.mask │ │ ├── use.force │ │ ├── use.mask │ │ ├── use.stable.force │ │ └── use.stable.mask │ │ ├── unmatched_unmasks │ │ ├── eapi │ │ ├── package.mask │ │ └── parent │ │ └── use.desc │ ├── python │ ├── PythonCheck │ │ ├── DistutilsNonPEP517Build │ │ │ └── DistutilsNonPEP517Build-0.ebuild │ │ ├── PythonAnyMismatchedDepHasVersionCheck │ │ │ ├── PythonAnyMismatchedDepHasVersionCheck-0.ebuild │ │ │ └── PythonAnyMismatchedDepHasVersionCheck-1.ebuild │ │ ├── PythonAnyMismatchedUseHasVersionCheck │ │ │ ├── PythonAnyMismatchedUseHasVersionCheck-0.ebuild │ │ │ ├── PythonAnyMismatchedUseHasVersionCheck-1.ebuild │ │ │ └── PythonAnyMismatchedUseHasVersionCheck-2.ebuild │ │ ├── PythonHasVersionMissingPythonUseDep │ │ │ └── PythonHasVersionMissingPythonUseDep-0.ebuild │ │ ├── PythonHasVersionUsage │ │ │ ├── PythonHasVersionUsage-0.ebuild │ │ │ └── PythonHasVersionUsage-1.ebuild │ │ ├── PythonMissingDeps │ │ │ ├── PythonMissingDeps-0.ebuild │ │ │ ├── PythonMissingDeps-1.ebuild │ │ │ ├── PythonMissingDeps-2.ebuild │ │ │ └── metadata.xml │ │ └── PythonMissingSCMDependency │ │ │ ├── PythonMissingSCMDependency-0.ebuild │ │ │ └── metadata.xml │ ├── PythonCompatCheck │ │ └── PythonCompatUpdate │ │ │ ├── PythonCompatUpdate-0.ebuild │ │ │ ├── PythonCompatUpdate-1.ebuild │ │ │ ├── PythonCompatUpdate-2.ebuild │ │ │ ├── PythonCompatUpdate-3.ebuild │ │ │ ├── PythonCompatUpdate-4.ebuild │ │ │ └── metadata.xml │ ├── PythonFetchableCheck │ │ ├── PythonGHDistfileSuffix │ │ │ ├── Manifest │ │ │ ├── PythonGHDistfileSuffix-0.ebuild │ │ │ ├── PythonGHDistfileSuffix-1.ebuild │ │ │ ├── PythonGHDistfileSuffix-1_p20220601.ebuild │ │ │ ├── PythonGHDistfileSuffix-2.ebuild │ │ │ └── metadata.xml │ │ ├── PythonGHDistfileSuffixNoPyPI │ │ │ ├── Manifest │ │ │ ├── PythonGHDistfileSuffixNoPyPI-1.ebuild │ │ │ └── metadata.xml │ │ ├── PythonInlinePyPIURL │ │ │ ├── Manifest │ │ │ ├── PythonInlinePyPIURL-0.ebuild │ │ │ ├── PythonInlinePyPIURL-1_alpha1-r1.ebuild │ │ │ ├── PythonInlinePyPIURL-1_alpha1.ebuild │ │ │ ├── PythonInlinePyPIURL-2_p4-r1.ebuild │ │ │ ├── PythonInlinePyPIURL-2_p4-r2.ebuild │ │ │ ├── PythonInlinePyPIURL-2_p4.ebuild │ │ │ ├── PythonInlinePyPIURL-3-r1.ebuild │ │ │ ├── PythonInlinePyPIURL-3.ebuild │ │ │ ├── PythonInlinePyPIURL-4.ebuild │ │ │ └── metadata.xml │ │ └── python-inline-pypi-url │ │ │ ├── Manifest │ │ │ ├── metadata.xml │ │ │ ├── python-inline-pypi-url-0.ebuild │ │ │ ├── python-inline-pypi-url-1.ebuild │ │ │ ├── python-inline-pypi-url-100.ebuild │ │ │ ├── python-inline-pypi-url-1000-r1.ebuild │ │ │ ├── python-inline-pypi-url-1000-r100.ebuild │ │ │ ├── python-inline-pypi-url-1000-r101.ebuild │ │ │ ├── python-inline-pypi-url-1000-r200.ebuild │ │ │ ├── python-inline-pypi-url-1000.ebuild │ │ │ ├── python-inline-pypi-url-200.ebuild │ │ │ └── python-inline-pypi-url-2000.ebuild │ ├── RubyCompatCheck │ │ └── RubyCompatUpdate │ │ │ ├── RubyCompatUpdate-0.ebuild │ │ │ ├── RubyCompatUpdate-1.ebuild │ │ │ └── RubyCompatUpdate-2.ebuild │ ├── app-arch │ │ └── unzip │ │ │ └── unzip-0.ebuild │ ├── dev-lang │ │ ├── pypy │ │ │ ├── pypy-2.7.7.3.17.ebuild │ │ │ ├── pypy-3.10.7.3.17.ebuild │ │ │ └── pypy-3.11.7.3.18.ebuild │ │ ├── python │ │ │ ├── python-2.7.ebuild │ │ │ ├── python-3.10.ebuild │ │ │ ├── python-3.7.ebuild │ │ │ ├── python-3.8.ebuild │ │ │ └── python-3.9.ebuild │ │ └── ruby │ │ │ ├── ruby-2.7.ebuild │ │ │ ├── ruby-3.0.ebuild │ │ │ ├── ruby-3.1.ebuild │ │ │ └── ruby-3.2.ebuild │ ├── dev-python │ │ ├── PythonMismatchedPackageName0 │ │ │ ├── PythonMismatchedPackageName0-0.ebuild │ │ │ └── metadata.xml │ │ ├── PythonMismatchedPackageName1 │ │ │ ├── PythonMismatchedPackageName1-0.ebuild │ │ │ └── metadata.xml │ │ ├── PythonMismatchedPackageName3 │ │ │ ├── PythonMismatchedPackageName3-0.ebuild │ │ │ └── metadata.xml │ │ └── python-mismatched-package-name │ │ │ ├── metadata.xml │ │ │ └── python-mismatched-package-name-0.ebuild │ ├── eclass │ │ ├── distutils-r1.eclass │ │ ├── pypi.eclass │ │ ├── python-any-r1.eclass │ │ ├── python-r1.eclass │ │ ├── python-single-r1.eclass │ │ └── ruby-ng.eclass │ ├── licenses │ │ └── BSD │ ├── metadata │ │ ├── layout.conf │ │ └── stubs │ ├── profiles │ │ ├── categories │ │ ├── desc │ │ │ ├── python_single_target.desc │ │ │ ├── python_targets.desc │ │ │ └── ruby_targets.desc │ │ ├── repo_name │ │ └── thirdpartymirrors │ └── stub │ │ ├── python-dep-old1 │ │ └── python-dep-old1-0.ebuild │ │ ├── python-dep-old2 │ │ └── python-dep-old2-0.ebuild │ │ ├── python-dep1 │ │ └── python-dep1-0.ebuild │ │ ├── python-dep2 │ │ └── python-dep2-0.ebuild │ │ ├── ruby-dep-old │ │ └── ruby-dep-old-0.ebuild │ │ ├── ruby-dep │ │ └── ruby-dep-0.ebuild │ │ ├── stub1 │ │ └── stub1-0.ebuild │ │ └── stub2 │ │ ├── metadata.xml │ │ └── stub2-0.ebuild │ ├── standalone │ ├── BadCommandsCheck │ │ ├── BannedEapiCommand │ │ │ ├── BannedEapiCommand-0.ebuild │ │ │ ├── BannedEapiCommand-1.ebuild │ │ │ └── BannedEapiCommand-2.ebuild │ │ ├── BannedPhaseCall │ │ │ └── BannedPhaseCall-0.ebuild │ │ └── DeprecatedEapiCommand │ │ │ └── DeprecatedEapiCommand-0.ebuild │ ├── CatBadlyFormedXml │ │ ├── metadata.xml │ │ └── stub │ │ │ └── stub-0.ebuild │ ├── CatInvalidXml │ │ ├── metadata.xml │ │ └── stub │ │ │ └── stub-0.ebuild │ ├── CatMetadataXmlEmptyElement │ │ ├── metadata.xml │ │ └── stub │ │ │ └── stub-0.ebuild │ ├── CatMetadataXmlIndentation │ │ ├── metadata.xml │ │ └── stub │ │ │ └── stub-0.ebuild │ ├── CatMetadataXmlInvalidCatRef │ │ ├── metadata.xml │ │ └── stub │ │ │ └── stub-0.ebuild │ ├── CatMetadataXmlInvalidPkgRef │ │ ├── metadata.xml │ │ └── stub │ │ │ └── stub-0.ebuild │ ├── DeclarationShadowedCheck │ │ ├── DuplicateFunctionDefinition │ │ │ └── DuplicateFunctionDefinition-0.ebuild │ │ └── VariableShadowed │ │ │ └── VariableShadowed-0.ebuild │ ├── DependencyCheck │ │ ├── BadDependency │ │ │ └── BadDependency-0.ebuild │ │ ├── InvalidBdepend │ │ │ └── InvalidBdepend-0.ebuild │ │ ├── InvalidDepend │ │ │ └── InvalidDepend-0.ebuild │ │ ├── InvalidPdepend │ │ │ └── InvalidPdepend-0.ebuild │ │ ├── InvalidRdepend │ │ │ └── InvalidRdepend-0.ebuild │ │ ├── MisplacedWeakBlocker │ │ │ ├── MisplacedWeakBlocker-6.ebuild │ │ │ ├── MisplacedWeakBlocker-7.ebuild │ │ │ └── MisplacedWeakBlocker-8.ebuild │ │ ├── MissingPackageRevision │ │ │ └── MissingPackageRevision-0.ebuild │ │ ├── MissingUseDepDefault │ │ │ ├── MissingUseDepDefault-0.ebuild │ │ │ └── metadata.xml │ │ └── UnstatedIuse │ │ │ └── UnstatedIuse-0.ebuild │ ├── DescriptionCheck │ │ └── BadDescription │ │ │ ├── BadDescription-0.ebuild │ │ │ ├── BadDescription-1.ebuild │ │ │ ├── BadDescription-2.ebuild │ │ │ ├── BadDescription-3.ebuild │ │ │ └── BadDescription-4.ebuild │ ├── DoCompressedFilesCheck │ │ ├── InstallCompressedInfo │ │ │ └── InstallCompressedInfo-0.ebuild │ │ └── InstallCompressedManpage │ │ │ └── InstallCompressedManpage-0.ebuild │ ├── DroppedKeywordsCheck │ │ └── DroppedKeywords │ │ │ ├── DroppedKeywords-0.ebuild │ │ │ └── DroppedKeywords-1.ebuild │ ├── EapiCheck │ │ ├── BannedEapi │ │ │ └── BannedEapi-0.ebuild │ │ └── DeprecatedEapi │ │ │ └── DeprecatedEapi-0.ebuild │ ├── EbuildReservedCheck │ │ ├── EbuildReservedName │ │ │ └── EbuildReservedName-0.ebuild │ │ └── EbuildSemiReservedName │ │ │ └── EbuildSemiReservedName-0.ebuild │ ├── EbuildUnquotedVariablesCheck │ │ └── EbuildUnquotedVariable │ │ │ └── EbuildUnquotedVariable-0.ebuild │ ├── EclassManualDepsCheck │ │ ├── RubyMissingDeps │ │ │ ├── RubyMissingDeps-0.ebuild │ │ │ ├── RubyMissingDeps-1.ebuild │ │ │ └── RubyMissingDeps-2.ebuild │ │ └── RustMissingDeps │ │ │ ├── RustMissingDeps-0.ebuild │ │ │ ├── RustMissingDeps-1.ebuild │ │ │ ├── RustMissingDeps-2.ebuild │ │ │ ├── RustMissingDeps-3.ebuild │ │ │ └── RustMissingDeps-4.ebuild │ ├── EclassUsageCheck │ │ ├── DeprecatedEclassFunction │ │ │ └── DeprecatedEclassFunction-0.ebuild │ │ ├── DeprecatedEclassVariable │ │ │ └── DeprecatedEclassVariable-0.ebuild │ │ └── DuplicateEclassInherit │ │ │ ├── DuplicateEclassInherit-0.ebuild │ │ │ └── DuplicateEclassInherit-1.ebuild │ ├── EendMissingArgCheck │ │ └── EendMissingArg │ │ │ └── EendMissingArg-0.ebuild │ ├── EqualVersionsCheck │ │ └── EqualVersions │ │ │ ├── EqualVersions-0-r0.ebuild │ │ │ ├── EqualVersions-0-r01.ebuild │ │ │ ├── EqualVersions-0-r1.ebuild │ │ │ └── EqualVersions-0.ebuild │ ├── GlobCheck │ │ └── GlobDistdir │ │ │ └── GlobDistdir-0.ebuild │ ├── GlobalUseCheck │ │ ├── PotentialGlobalUse │ │ │ ├── PotentialGlobalUse-0.ebuild │ │ │ └── metadata.xml │ │ └── PotentialLocalUse │ │ │ └── PotentialLocalUse-0.ebuild │ ├── HomepageCheck │ │ └── BadHomepage │ │ │ ├── BadHomepage-0.ebuild │ │ │ ├── BadHomepage-1.ebuild │ │ │ ├── BadHomepage-2.ebuild │ │ │ └── BadHomepage-3.ebuild │ ├── InsintoCheck │ │ └── DeprecatedInsinto │ │ │ ├── DeprecatedInsinto-0.ebuild │ │ │ └── DeprecatedInsinto-1.ebuild │ ├── IuseCheck │ │ ├── InvalidUseFlags │ │ │ ├── InvalidUseFlags-0.ebuild │ │ │ ├── InvalidUseFlags-4.ebuild │ │ │ └── metadata.xml │ │ └── UnknownUseFlags │ │ │ ├── UnknownUseFlags-0.ebuild │ │ │ └── metadata.xml │ ├── KeywordsCheck │ │ ├── BadKeywords │ │ │ └── BadKeywords-0.ebuild │ │ ├── DuplicateKeywords │ │ │ └── DuplicateKeywords-0.ebuild │ │ ├── OverlappingKeywords │ │ │ └── OverlappingKeywords-0.ebuild │ │ ├── UnknownKeywords │ │ │ └── UnknownKeywords-0.ebuild │ │ └── UnsortedKeywords │ │ │ └── UnsortedKeywords-0.ebuild │ ├── LicenseCheck │ │ ├── InvalidLicense │ │ │ ├── InvalidLicense-0.ebuild │ │ │ ├── InvalidLicense-1.ebuild │ │ │ └── InvalidLicense-2.ebuild │ │ ├── MissingLicense │ │ │ └── MissingLicense-0.ebuild │ │ ├── MissingLicenseRestricts │ │ │ ├── Manifest │ │ │ ├── MissingLicenseRestricts-0.ebuild │ │ │ └── MissingLicenseRestricts-1.ebuild │ │ ├── UnknownLicense │ │ │ └── UnknownLicense-0.ebuild │ │ └── UnstatedIuse │ │ │ └── UnstatedIuse-0.ebuild │ ├── LocalUseCheck │ │ ├── MatchingGlobalUse │ │ │ ├── MatchingGlobalUse-0.ebuild │ │ │ └── metadata.xml │ │ ├── MissingLocalUseDesc │ │ │ ├── MissingLocalUseDesc-0.ebuild │ │ │ └── metadata.xml │ │ ├── ProbableGlobalUse │ │ │ ├── ProbableGlobalUse-0.ebuild │ │ │ └── metadata.xml │ │ ├── ProbableUseExpand │ │ │ ├── ProbableUseExpand-0.ebuild │ │ │ └── metadata.xml │ │ ├── UnderscoreInUseFlag │ │ │ ├── UnderscoreInUseFlag-0.ebuild │ │ │ └── metadata.xml │ │ └── UnusedLocalUse │ │ │ ├── UnusedLocalUse-0.ebuild │ │ │ └── metadata.xml │ ├── ManifestCheck │ │ ├── DeprecatedChksum │ │ │ ├── DeprecatedChksum-0.ebuild │ │ │ └── Manifest │ │ ├── InvalidManifest │ │ │ ├── InvalidManifest-0.ebuild │ │ │ └── Manifest │ │ ├── MissingChksum │ │ │ ├── Manifest │ │ │ └── MissingChksum-0.ebuild │ │ ├── MissingManifest │ │ │ └── MissingManifest-0.ebuild │ │ ├── UnknownManifest │ │ │ ├── Manifest │ │ │ └── UnknownManifest-0.ebuild │ │ └── UnnecessaryManifest │ │ │ ├── Manifest │ │ │ └── UnnecessaryManifest-0.ebuild │ ├── ManifestCollisionCheck │ │ ├── ConflictingChksums │ │ │ ├── ConflictingChksums-0.ebuild │ │ │ └── Manifest │ │ └── MatchingChksums │ │ │ ├── Manifest │ │ │ └── MatchingChksums-0.ebuild │ ├── MetadataVarCheck │ │ ├── HomepageInSrcUri │ │ │ ├── HomepageInSrcUri-0.ebuild │ │ │ └── Manifest │ │ ├── MultipleKeywordsLines │ │ │ ├── MultipleKeywordsLines-0.ebuild │ │ │ └── MultipleKeywordsLines-1.ebuild │ │ ├── ReferenceInMetadataVar │ │ │ ├── ReferenceInMetadataVar-0.ebuild │ │ │ ├── ReferenceInMetadataVar-1.ebuild │ │ │ ├── ReferenceInMetadataVar-2.ebuild │ │ │ ├── ReferenceInMetadataVar-3.ebuild │ │ │ └── ReferenceInMetadataVar-4.ebuild │ │ ├── SelfAssignment │ │ │ └── SelfAssignment-0.ebuild │ │ └── StaticSrcUri │ │ │ ├── Manifest │ │ │ └── StaticSrcUri-0.ebuild │ ├── MissingSlotDepCheck │ │ └── MissingSlotDep │ │ │ └── MissingSlotDep-0.ebuild │ ├── MissingUnpackerDepCheck │ │ └── MissingUnpackerDep │ │ │ ├── Manifest │ │ │ └── MissingUnpackerDep-0.ebuild │ ├── NonPosixCheck │ │ ├── NonConsistentTarUsage │ │ │ └── NonConsistentTarUsage-0.ebuild │ │ └── NonPosixHeadTailUsage │ │ │ ├── NonPosixHeadTailUsage-0.ebuild │ │ │ └── NonPosixHeadTailUsage-1.ebuild │ ├── PackageMetadataXmlCheck │ │ ├── InvalidRemoteID │ │ │ ├── InvalidRemoteID-0.ebuild │ │ │ └── metadata.xml │ │ ├── PkgBadlyFormedXml │ │ │ ├── PkgBadlyFormedXml-0.ebuild │ │ │ └── metadata.xml │ │ ├── PkgInvalidXml │ │ │ ├── PkgInvalidXml-0.ebuild │ │ │ └── metadata.xml │ │ ├── PkgMetadataXmlEmptyElement │ │ │ ├── PkgMetadataXmlEmptyElement-0.ebuild │ │ │ └── metadata.xml │ │ ├── PkgMetadataXmlIndentation │ │ │ ├── PkgMetadataXmlIndentation-0.ebuild │ │ │ └── metadata.xml │ │ ├── PkgMetadataXmlInvalidCatRef │ │ │ ├── PkgMetadataXmlInvalidCatRef-0.ebuild │ │ │ └── metadata.xml │ │ ├── PkgMetadataXmlInvalidPkgRef │ │ │ ├── PkgMetadataXmlInvalidPkgRef-0.ebuild │ │ │ └── metadata.xml │ │ └── RedundantLongDescription │ │ │ ├── RedundantLongDescription-0.ebuild │ │ │ └── metadata.xml │ ├── PkgDirCheck │ │ ├── DuplicateFiles │ │ │ ├── DuplicateFiles-0.ebuild │ │ │ └── files │ │ │ │ ├── 1 │ │ │ │ └── 2 │ │ ├── EmptyFile │ │ │ ├── EmptyFile-0.ebuild │ │ │ └── files │ │ │ │ └── empty │ │ ├── ExecutableFile │ │ │ ├── ExecutableFile-0.ebuild │ │ │ └── files │ │ │ │ └── executable │ │ ├── InvalidPN │ │ │ └── InvalidPN.ebuild │ │ ├── MismatchedPN │ │ │ └── Mismatched-1.ebuild │ │ └── UnknownPkgDirEntry │ │ │ ├── UnknownPkgDirEntry-0.ebuild │ │ │ └── foo │ ├── PropertiesCheck │ │ ├── InvalidProperties │ │ │ └── InvalidProperties-0.ebuild │ │ ├── UnknownProperties │ │ │ └── UnknownProperties-0.ebuild │ │ └── UnstatedIuse │ │ │ └── UnstatedIuse-0.ebuild │ ├── ReadonlyVariableCheck │ │ └── ReadonlyVariable │ │ │ └── ReadonlyVariable-0.ebuild │ ├── RedundantDodirCheck │ │ └── RedundantDodir │ │ │ └── RedundantDodir-0.ebuild │ ├── RequiredUseCheck │ │ ├── InvalidRequiredUse │ │ │ ├── InvalidRequiredUse-0.ebuild │ │ │ ├── InvalidRequiredUse-1.ebuild │ │ │ ├── InvalidRequiredUse-2.ebuild │ │ │ └── metadata.xml │ │ ├── RequiredUseDefaults │ │ │ ├── RequiredUseDefaults-0.ebuild │ │ │ └── metadata.xml │ │ └── UnstatedIuse │ │ │ ├── UnstatedIuse-0.ebuild │ │ │ └── metadata.xml │ ├── RestrictCheck │ │ ├── InvalidRestrict │ │ │ └── InvalidRestrict-0.ebuild │ │ ├── UnknownRestrict │ │ │ └── UnknownRestrict-0.ebuild │ │ └── UnstatedIuse │ │ │ └── UnstatedIuse-0.ebuild │ ├── RestrictTestCheck │ │ └── MissingTestRestrict │ │ │ └── MissingTestRestrict-0.ebuild │ ├── RustCheck │ │ ├── SuboptimalCratesSeparator │ │ │ └── SuboptimalCratesSeparator-0.ebuild │ │ └── SuboptimalCratesURICall │ │ │ ├── SuboptimalCratesURICall-0.ebuild │ │ │ ├── SuboptimalCratesURICall-1.ebuild │ │ │ └── SuboptimalCratesURICall-2.ebuild │ ├── SandboxCallCheck │ │ └── InvalidSandboxCall │ │ │ └── InvalidSandboxCall-0.ebuild │ ├── SourcingCheck │ │ ├── InvalidEapi │ │ │ ├── InvalidEapi-0.ebuild │ │ │ └── InvalidEapi-1.ebuild │ │ ├── InvalidSlot │ │ │ ├── InvalidSlot-0.ebuild │ │ │ ├── InvalidSlot-1.ebuild │ │ │ ├── InvalidSlot-2.ebuild │ │ │ ├── InvalidSlot-3.ebuild │ │ │ ├── InvalidSlot-4.ebuild │ │ │ └── InvalidSlot-5.ebuild │ │ └── SourcingError │ │ │ └── SourcingError-0.ebuild │ ├── SrcUriCheck │ │ ├── BadFilename │ │ │ ├── BadFilename-0.ebuild │ │ │ └── Manifest │ │ ├── BadProtocol │ │ │ ├── BadProtocol-0.ebuild │ │ │ └── Manifest │ │ ├── InvalidSrcUri │ │ │ ├── InvalidSrcUri-0.ebuild │ │ │ ├── InvalidSrcUri-1.ebuild │ │ │ └── InvalidSrcUri-2.ebuild │ │ ├── MissingUri │ │ │ ├── Manifest │ │ │ └── MissingUri-0.ebuild │ │ ├── RedundantUriRename │ │ │ ├── Manifest │ │ │ ├── RedundantUriRename-0.ebuild │ │ │ └── RedundantUriRename-1.ebuild │ │ ├── SrcUriFilenameDotPrefix │ │ │ ├── Manifest │ │ │ └── SrcUriFilenameDotPrefix-0.ebuild │ │ ├── TarballAvailable │ │ │ ├── Manifest │ │ │ └── TarballAvailable-0.ebuild │ │ ├── UnknownMirror │ │ │ ├── Manifest │ │ │ └── UnknownMirror-0.ebuild │ │ ├── UnstableSrcUri │ │ │ ├── Manifest │ │ │ └── UnstableSrcUri-0.ebuild │ │ └── UnstatedIuse │ │ │ ├── Manifest │ │ │ └── UnstatedIuse-0.ebuild │ ├── StaleLiveCheck │ │ └── StaleLiveEAPI │ │ │ ├── StaleLiveEAPI-0.ebuild │ │ │ ├── StaleLiveEAPI-1.9999.ebuild │ │ │ ├── StaleLiveEAPI-1.ebuild │ │ │ ├── StaleLiveEAPI-2.1.ebuild │ │ │ ├── StaleLiveEAPI-2.9999.ebuild │ │ │ ├── StaleLiveEAPI-2.ebuild │ │ │ ├── StaleLiveEAPI-3.1.ebuild │ │ │ ├── StaleLiveEAPI-3.9999.ebuild │ │ │ ├── StaleLiveEAPI-3.ebuild │ │ │ └── StaleLiveEAPI-4.9999.ebuild │ ├── VariableOrderCheck │ │ ├── VariableOrderWrong │ │ │ ├── VariableOrderWrong-0.ebuild │ │ │ └── metadata.xml │ │ └── metadata.xml │ ├── VariableScopeCheck │ │ └── EbuildVariableScope │ │ │ └── EbuildVariableScope-0.ebuild │ ├── VisibilityCheck │ │ ├── NonexistentDeps │ │ │ └── NonexistentDeps-0.ebuild │ │ └── VisibleVcsPkg │ │ │ ├── VisibleVcsPkg-0.ebuild │ │ │ └── VisibleVcsPkg-1.ebuild │ ├── WhitespaceCheck │ │ ├── BadWhitespaceCharacter │ │ │ └── BadWhitespaceCharacter-0.ebuild │ │ ├── DoubleEmptyLine │ │ │ └── DoubleEmptyLine-0.ebuild │ │ ├── NoFinalNewline │ │ │ └── NoFinalNewline-0.ebuild │ │ └── TrailingEmptyLine │ │ │ └── TrailingEmptyLine-0.ebuild │ ├── app-arch │ │ └── unzip │ │ │ └── unzip-0.ebuild │ ├── dev-lang │ │ ├── ruby │ │ │ └── ruby-0.ebuild │ │ ├── rust-bin │ │ │ ├── rust-bin-1.81.0.ebuild │ │ │ └── rust-bin-1.82.0.ebuild │ │ └── rust │ │ │ ├── rust-1.81.0.ebuild │ │ │ └── rust-1.82.0.ebuild │ ├── dev-ruby │ │ └── stub │ │ │ └── stub-0.ebuild │ ├── eclass │ │ ├── cargo.eclass │ │ ├── go-module.eclass │ │ ├── ruby-ng.eclass │ │ ├── rust.eclass │ │ ├── stub.eclass │ │ ├── unused.eclass │ │ └── vcs.eclass │ ├── licenses │ │ ├── BSD │ │ ├── eula │ │ └── unused │ ├── metadata │ │ ├── layout.conf │ │ ├── projects.xml │ │ └── stubs │ ├── profiles │ │ ├── arch.list │ │ ├── categories │ │ ├── default │ │ │ ├── amd64 │ │ │ │ └── make.defaults │ │ │ └── x86 │ │ │ │ └── make.defaults │ │ ├── desc │ │ │ ├── elibc.desc │ │ │ └── use_expand.desc │ │ ├── license_groups │ │ ├── package.deprecated │ │ ├── profiles.desc │ │ ├── repo_name │ │ ├── thirdpartymirrors │ │ ├── use.desc │ │ └── use.local.desc │ ├── stub │ │ ├── potential-global1 │ │ │ ├── metadata.xml │ │ │ └── potential-global1-0.ebuild │ │ ├── potential-global2 │ │ │ ├── metadata.xml │ │ │ └── potential-global2-0.ebuild │ │ ├── potential-global3 │ │ │ ├── metadata.xml │ │ │ └── potential-global3-0.ebuild │ │ ├── potential-global4 │ │ │ ├── metadata.xml │ │ │ └── potential-global4-0.ebuild │ │ ├── slotted │ │ │ ├── slotted-0.ebuild │ │ │ └── slotted-1.ebuild │ │ ├── stub1 │ │ │ └── stub1-0.ebuild │ │ ├── stub2 │ │ │ └── stub2-0.ebuild │ │ ├── stub3 │ │ │ └── stub3-0.ebuild │ │ └── stub4 │ │ │ └── stub4-0.ebuild │ ├── test │ │ ├── ConflictingChksums │ │ │ ├── ConflictingChksums-0.ebuild │ │ │ └── Manifest │ │ └── MatchingChksums │ │ │ ├── Manifest │ │ │ └── MatchingChksums-0.ebuild │ └── virtual │ │ ├── UnnecessaryLicense │ │ └── UnnecessaryLicense-0.ebuild │ │ ├── VirtualWithBdepend │ │ ├── VirtualWithBdepend-0.ebuild │ │ └── VirtualWithBdepend-1.ebuild │ │ ├── VirtualWithDepend │ │ ├── VirtualWithDepend-0.ebuild │ │ └── VirtualWithDepend-1.ebuild │ │ ├── VirtualWithSingleProvider1 │ │ └── VirtualWithSingleProvider1-0.ebuild │ │ ├── VirtualWithSingleProvider2 │ │ └── VirtualWithSingleProvider2-0.ebuild │ │ ├── VirtualWithSingleProvider3 │ │ ├── VirtualWithSingleProvider3-0.ebuild │ │ └── VirtualWithSingleProvider3-1.ebuild │ │ ├── VirtualWithSingleProvider4 │ │ ├── VirtualWithSingleProvider4-0.ebuild │ │ └── VirtualWithSingleProvider4-1.ebuild │ │ ├── VirtualWithSingleProvider5 │ │ └── VirtualWithSingleProvider5-0.ebuild │ │ ├── VirtualWithSingleProvider6 │ │ └── VirtualWithSingleProvider6-0.ebuild │ │ └── rubygems │ │ └── rubygems-0.ebuild │ └── visibility │ ├── DependencyMoved │ └── DependencyMoved │ │ └── DependencyMoved-0.ebuild │ ├── DeprecatedDep │ ├── nonoptional │ │ └── nonoptional-0.ebuild │ └── optional │ │ └── optional-0.ebuild │ ├── NonsolvableDepsInDev │ └── masked │ │ └── masked-0.ebuild │ ├── NonsolvableDepsInExp │ └── masked │ │ └── masked-0.ebuild │ ├── NonsolvableDepsInStable │ ├── masked │ │ └── masked-0.ebuild │ └── unstable │ │ └── unstable-0.ebuild │ ├── UncheckableDep │ └── UncheckableDep │ │ └── UncheckableDep-0.ebuild │ ├── VisibilityCheck │ ├── OldPackageName │ │ └── OldPackageName-0.ebuild │ └── OldPackageNameDep │ │ └── OldPackageNameDep-0.ebuild │ ├── licenses │ └── BSD │ ├── metadata │ ├── layout.conf │ └── pkgcheck-args │ ├── profiles │ ├── arch.list │ ├── arch │ │ ├── amd64 │ │ │ └── make.defaults │ │ └── x86 │ │ │ └── make.defaults │ ├── categories │ ├── eapi │ ├── package.deprecated │ ├── package.mask │ ├── profiles.desc │ ├── repo_name │ ├── updates │ │ └── 1Q-2024 │ └── visibility │ │ ├── amd64 │ │ ├── dev │ │ │ ├── package.mask │ │ │ └── parent │ │ ├── exp │ │ │ ├── package.mask │ │ │ └── parent │ │ ├── parent │ │ └── stable │ │ │ ├── package.mask │ │ │ └── parent │ │ └── x86 │ │ ├── dev │ │ ├── package.mask │ │ └── parent │ │ ├── exp │ │ ├── package.mask │ │ └── parent │ │ ├── parent │ │ └── stable │ │ ├── package.mask │ │ └── parent │ └── stub │ ├── deprecated │ └── deprecated-0.ebuild │ ├── masked │ └── masked-0.ebuild │ ├── stable │ └── stable-0.ebuild │ └── unstable │ └── unstable-0.ebuild ├── tests ├── __init__.py ├── addons │ ├── __init__.py │ ├── test_addons.py │ ├── test_eclass.py │ └── test_git.py ├── checks │ ├── __init__.py │ ├── test_acct.py │ ├── test_all.py │ ├── test_cleanup.py │ ├── test_codingstyle.py │ ├── test_dropped_keywords.py │ ├── test_git.py │ ├── test_glsa.py │ ├── test_header.py │ ├── test_imlate.py │ ├── test_metadata.py │ ├── test_network.py │ ├── test_perl.py │ ├── test_pkgdir.py │ ├── test_python.py │ ├── test_repo.py │ ├── test_repo_metadata.py │ ├── test_stablereq.py │ └── test_whitespace.py ├── conftest.py ├── misc.py ├── scripts │ ├── __init__.py │ ├── test_argparse_actions.py │ ├── test_pkgcheck.py │ ├── test_pkgcheck_cache.py │ ├── test_pkgcheck_ci.py │ ├── test_pkgcheck_replay.py │ ├── test_pkgcheck_scan.py │ └── test_pkgcheck_show.py ├── test_api.py ├── test_base.py ├── test_cli.py ├── test_feeds.py └── test_reporters.py └── tox.ini /.github/ISSUE_TEMPLATE/blank-issue.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Blank Issue 3 | about: Create an issue with a blank template. 4 | --- 5 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- 1 | blank_issues_enabled: true 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature-request.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Feature Request 3 | about: Request a feature for pkgcheck 4 | labels: enhancement 5 | --- 6 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | src/pkgcheck/plugins/plugincache 2 | _trial_temp 3 | *.pyc 4 | *.pyo 5 | *.so 6 | .tox 7 | /cache 8 | /build 9 | /dist 10 | /.coverage 11 | /*.egg-info 12 | 13 | # docs 14 | /doc/_build 15 | /doc/api 16 | /doc/generated 17 | /doc/man/pkgcheck 18 | -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- 1 | FROM python:3-slim 2 | ARG PKGCHECK_VERSION 3 | 4 | RUN apt-get update && apt-get install -y git && \ 5 | rm -rf /var/lib/apt/lists/ /var/cache/apt /var/cache/dpkg && \ 6 | pip install pkgcheck==${PKGCHECK_VERSION} setuptools requests && \ 7 | pip cache purge 8 | -------------------------------------------------------------------------------- /doc/news.rst: -------------------------------------------------------------------------------- 1 | ../NEWS.rst -------------------------------------------------------------------------------- /src/pkgcheck/__main__.py: -------------------------------------------------------------------------------- 1 | from .scripts import run 2 | 3 | if __name__ == "__main__": 4 | run("pkgcheck") 5 | -------------------------------------------------------------------------------- /testdata/data/repos/compatibility/RepositoryCategories/CategoryIsNotDirectory/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "CategoryIsNotDirectory", "category": "CategoryIsNotDirectory"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/compatibility/RepositoryCategories/CategoryIsNotDirectory/fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm CategoryIsNotDirectory 3 | -------------------------------------------------------------------------------- /testdata/data/repos/eapis-testing/EapiCheck/StableKeywordsOnTestingEapi/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "StableKeywordsOnTestingEapi", "category": "EapiCheck", "package": "StableKeywordsOnTestingEapi", "version": "1", "eapi": "8", "keywords": ["amd64", "x86"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/EapiCheck/UnsupportedEclassEapi/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnsupportedEclassEapi", "category": "EapiCheck", "package": "UnsupportedEclassEapi", "version": "0", "eapi": "5", "eclass": "stub"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/EclassCheck/EclassBashSyntaxError/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EclassBashSyntaxError", "eclass": "bad", "lineno": "12", "error": "syntax error: unexpected end of file"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/EclassCheck/EclassDocError/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EclassDocError", "eclass": "no-maintainer", "error": "'@ECLASS: no-maintainer.eclass': missing tag: '@MAINTAINER:'"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/EclassCheck/EclassDocMissingFunc/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EclassDocMissingFunc", "eclass": "missing-docs", "functions": ["missing-docs_public_func"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/EclassCheck/EclassDocMissingVar/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EclassDocMissingVar", "eclass": "missing-docs", "variables": ["MISSING_DOCS_PUBLIC_VAR"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/EclassParseCheck/EclassExportFuncsBeforeInherit/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EclassExportFuncsBeforeInherit", "eclass": "export-funcs-before-inherit", "export_line": 7, "inherit_line": 9} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/EclassUnquotedVariablesCheck/EclassUnquotedVariable/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EclassUnquotedVariable", "eclass": "unquotedvariable", "variable": "D", "lines": [26]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/EclassUsageCheck/EclassUserVariableUsage/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EclassUserVariableUsage", "category": "EclassUsageCheck", "package": "EclassUserVariableUsage", "version": "0", "line": "EBZR_STORE_DIR", "lineno": 8, "eclass": "unquotedvariable"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/EclassUsageCheck/MisplacedEclassVar/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MisplacedEclassVar", "category": "EclassUsageCheck", "package": "MisplacedEclassVar", "version": "0", "line": "PRE_INHERIT_VAR=\"foo\"", "lineno": 8, "variable": "PRE_INHERIT_VAR"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/EclassUsageCheck/ProvidedEclassInherit/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "ProvidedEclassInherit", "category": "EclassUsageCheck", "package": "ProvidedEclassInherit", "version": "0", "line": "inherit", "lineno": 2, "provider": "deep-provided-inherit"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/InheritsCheck/IndirectInherits/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "IndirectInherits", "category": "InheritsCheck", "package": "IndirectInherits", "version": "0", "eclass": "inherit", "lineno": 11, "usage": "inherit_public_func"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/InheritsCheck/InternalEclassUsage/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "InternalEclassUsage", "category": "InheritsCheck", "package": "InternalEclassUsage", "version": "0", "eclass": "inherit", "lineno": 12, "usage": "_inherit_internal_func"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/InheritsCheck/MissingInherits/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MissingInherits", "category": "InheritsCheck", "package": "MissingInherits", "version": "0", "eclass": "inherit", "lineno": 9, "usage": "inherit_public_func"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/eclass/InheritsCheck/UnusedInherits/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedInherits", "category": "InheritsCheck", "package": "UnusedInherits", "version": "0", "eclasses": ["unused"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/CategoryMetadataXmlCheck/CatMissingMetadataXml/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "CatMissingMetadataXml", "category": "CatMissingMetadataXml", "filename": "metadata.xml"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EbuildInvalidCopyright", "category": "EbuildHeaderCheck", "package": "EbuildInvalidCopyright", "version": "0", "line": "# Invalid copyright"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EbuildNonGentooAuthorsCopyright", "category": "EbuildHeaderCheck", "package": "EbuildNonGentooAuthorsCopyright", "version": "0", "line": "# Copyright 1999-2019 Random Person"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EbuildOldGentooCopyright", "category": "EbuildHeaderCheck", "package": "EbuildOldGentooCopyright", "version": "0", "line": "# Copyright 1999-2019 Gentoo Foundation"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/EclassHeaderCheck/EclassInvalidCopyright/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EclassInvalidCopyright", "eclass": "invalid-copyright", "line": "# Invalid copyright"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/EclassHeaderCheck/EclassNonGentooAuthorsCopyright/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EclassNonGentooAuthorsCopyright", "eclass": "non-gentoo-copyright", "line": "# Copyright 1999-2020 Random Person"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/EclassHeaderCheck/EclassOldGentooCopyright/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EclassOldGentooCopyright", "eclass": "old-gentoo-copyright", "line": "# Copyright 1999-2019 Gentoo Foundation"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/EmptyDirsCheck/EmptyCategoryDir/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EmptyCategoryDir", "category": "EmptyCategoryDir"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/EmptyDirsCheck/EmptyPackageDir/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EmptyPackageDir", "category": "EmptyDirsCheck", "package": "EmptyPackageDir"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/PackageMetadataXmlCheck/InvalidMetadataRestrict/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "InvalidMetadataRestrict", "category": "PackageMetadataXmlCheck", "package": "InvalidMetadataRestrict", "restrict": "<=PackageMetadataXmlCheck2/InvalidMetadataRestrict-5", "msg": "references another package"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "NonexistentProjectMaintainer", "category": "PackageMetadataXmlCheck", "package": "NonexistentProjectMaintainer", "filename": "metadata.xml", "emails": ["random.gentoo.dev@gentoo.org"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "PkgMissingMetadataXml", "category": "PackageMetadataXmlCheck", "package": "PkgMissingMetadataXml", "filename": "metadata.xml"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "RedundantLongDescription", "category": "PackageMetadataXmlCheck", "package": "RedundantLongDescription", "msg": "metadata.xml longdescription is too short"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "WrongMaintainerType", "category": "PackageMetadataXmlCheck", "package": "WrongMaintainerType", "filename": "metadata.xml", "emails": ["stub.project@gentoo.org"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownPkgDirEntry", "category": "PkgDirCheck", "package": "UnknownPkgDirEntry", "filenames": ["bar", "foo"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm -rf PkgDirCheck/UnknownPkgDirEntry/{bar,foo} 3 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/RepoDirCheck/BinaryFile/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "BinaryFile", "path": "bash"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/RepoDirCheck/BinaryFile/fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/RepoDirCheck/BinaryFile/trigger.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | cp $(type -P bash) ./ 4 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/RepoProfilesCheck/LaggingProfileEapi/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "LaggingProfileEapi", "profile": "default/linux/lagging", "eapi": "0", "parent": "default/linux", "parent_eapi": "5"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/RepoProfilesCheck/NonexistentCategories/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "NonexistentCategories", "categories": ["nonexistent"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/RepoProfilesCheck/ProfileWarning/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "ProfileWarning", "msg": "gentoo::profiles/profiles.desc, line 1: unknown profile status: 'unknown'"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/RepoProfilesCheck/UnknownCategoryDirs/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownCategoryDirs", "dirs": ["unknown"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/UnstableOnlyCheck/UnstableOnly/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnstableOnly", "category": "UnstableOnlyCheck", "package": "UnstableOnly", "versions": ["0"], "arches": ["amd64"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/gentoo/UseFlagsWithoutEffectsCheck/UseFlagWithoutDeps/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UseFlagWithoutDeps", "category": "UseFlagsWithoutEffectsCheck", "package": "UseFlagWithoutDeps", "version": "2", "flags": ["bash-completion"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/network/HomepageUrlCheck/DeadUrl-connection-error/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DeadUrl", "category": "HomepageUrlCheck", "package": "DeadUrl-connection-error", "version": "0", "attr": "HOMEPAGE", "url": "https://github.com/pkgcore/pkgcheck", "message": "connection failed"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/network/HomepageUrlCheck/DeadUrl/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DeadUrl", "category": "HomepageUrlCheck", "package": "DeadUrl", "version": "0", "attr": "HOMEPAGE", "url": "https://github.com/pkgcore/pkgcheck", "message": "404 Client Error: Not Found for url: https://github.com/pkgcore/pkgcheck"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/network/HomepageUrlCheck/HttpsUrlAvailable/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "HttpsUrlAvailable", "category": "HomepageUrlCheck", "package": "HttpsUrlAvailable", "version": "0", "attr": "HOMEPAGE", "url": "http://github.com/pkgcore/pkgcheck", "new_url": "https://github.com/pkgcore/pkgcheck"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/network/HomepageUrlCheck/RedirectedUrl/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "RedirectedUrl", "category": "HomepageUrlCheck", "package": "RedirectedUrl", "version": "0", "attr": "HOMEPAGE", "url": "https://github.com/pkgcore/pkgcheck", "new_url": "https://github.com/pkgcore/pkgcheck-moved"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/network/HomepageUrlCheck/SSLCertificateError/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "SSLCertificateError", "category": "HomepageUrlCheck", "package": "SSLCertificateError", "version": "0", "attr": "HOMEPAGE", "url": "https://github.com/pkgcore/pkgcheck", "message": "Certificate verification failed"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/network/MetadataUrlCheck/SSLCertificateError/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "SSLCertificateError", "category": "MetadataUrlCheck", "package": "SSLCertificateError", "version": "0", "attr": "metadata.xml: doc", "url": "https://pkgcore.github.io/pkgcheck/", "message": "Certificate verification failed"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersEclasses/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedInMastersEclasses", "category": "UnusedInMastersCheck", "package": "UnusedInMastersEclasses", "version": "0", "eclasses": ["unused"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersGlobalUse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedInMastersGlobalUse", "category": "UnusedInMastersCheck", "package": "UnusedInMastersGlobalUse", "version": "0", "flags": ["unused"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersLicenses/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedInMastersLicenses", "category": "UnusedInMastersCheck", "package": "UnusedInMastersLicenses", "version": "0", "licenses": ["unused"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersMirrors/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedInMastersMirrors", "category": "UnusedInMastersCheck", "package": "UnusedInMastersMirrors", "version": "0", "mirrors": ["overlayed"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/ProfilesCheck/ProfileMissingImplicitExpandValues/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "ProfileMissingImplicitExpandValues", "path": "unknown_use/make.defaults", "groups": ["ELIBC"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/ProfilesCheck/UnknownProfileArch/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownProfileArch", "path": "unknown_arch/make.defaults", "arch": "unknown"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageUse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownProfilePackageUse", "path": "default/package.use", "atom": "cat/pkg2", "flags": ["unknown"]} 2 | {"__class__": "UnknownProfilePackageUse", "path": "default/package.use", "atom": "cat/pkg3", "flags": ["-unknown"]} 3 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/ProfilesCheck/UnmatchedProfilePackageUnmask/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnmatchedProfilePackageUnmask", "path": "unmatched_unmasks/package.mask", "atom": "cat/pkg4"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/RepoProfilesCheck/ArchesOutOfSync/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "ArchesOutOfSync", "arches": ["unknown_arch"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/RepoProfilesCheck/ArchesOutOfSync/fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | sed -i '/^unknown_arch/d' profiles/arch.list 3 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/RepoProfilesCheck/ArchesWithoutProfiles/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "ArchesWithoutProfiles", "arches": ["unknown_arch"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/RepoProfilesCheck/ArchesWithoutProfiles/fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | sed -i '/^unknown_arch/d' profiles/arch.list 3 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/RepoProfilesCheck/BannedProfileEapi/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "BannedProfileEapi", "profile": "banned-eapi", "eapi": "0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/RepoProfilesCheck/DeprecatedProfileEapi/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DeprecatedProfileEapi", "profile": "deprecated-eapi", "eapi": "1"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/RepoProfilesCheck/NonexistentProfilePath/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "NonexistentProfilePath", "path": "nonexistent"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/RepoProfilesCheck/ProfileError/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "ProfileError", "msg": "profiledir::profiles/profiles.desc, line 1: invalid profile line format: should be 'arch profile status'"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/profiledir/RepoProfilesCheck/UnusedProfileDirs/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedProfileDirs", "dirs": ["default/forgotten"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/python/PythonCheck/DistutilsNonPEP517Build/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DistutilsNonPEP517Build", "category": "PythonCheck", "package": "DistutilsNonPEP517Build", "version": "0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/python/PythonCheck/PythonMissingSCMDependency/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "PythonMissingSCMDependency", "category": "PythonCheck", "package": "PythonMissingSCMDependency", "version": "0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/BadCommandsCheck/BannedPhaseCall/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "BannedPhaseCall", "category": "BadCommandsCheck", "package": "BannedPhaseCall", "version": "0", "line": "pkg_postinst", "lineno": 13} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DeprecatedEapiCommand", "category": "BadCommandsCheck", "package": "DeprecatedEapiCommand", "version": "0", "line": "dohtml doc/*", "lineno": 9, "command": "dohtml", "eapi": "6"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/CategoryMetadataXmlCheck/CatBadlyFormedXml/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "CatBadlyFormedXml", "category": "CatBadlyFormedXml", "filename": "metadata.xml", "error": "xmlParseEntityRef: no name, line 4, column 34 (metadata.xml, line 4)"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/CategoryMetadataXmlCheck/CatInvalidXml/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "CatInvalidXml", "category": "CatInvalidXml", "filename": "metadata.xml", "message": "line 4, col 0: (SCHEMAV_ELEMENT_CONTENT) Element 'description': This element is not expected. Expected is ( longdescription )."} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlEmptyElement/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "CatMetadataXmlEmptyElement", "category": "CatMetadataXmlEmptyElement", "filename": "metadata.xml", "element": "longdescription", "line": 4} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlIndentation/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "CatMetadataXmlIndentation", "category": "CatMetadataXmlIndentation", "filename": "metadata.xml", "lines": ["5"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidCatRef/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "CatMetadataXmlInvalidCatRef", "category": "CatMetadataXmlInvalidCatRef", "filename": "metadata.xml", "cattext": "virtul"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidPkgRef/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "CatMetadataXmlInvalidPkgRef", "category": "CatMetadataXmlInvalidPkgRef", "filename": "metadata.xml", "pkgtext": "nonexistent/pkg"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/DependencyCheck/InvalidBdepend/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "InvalidBdepend", "category": "DependencyCheck", "package": "InvalidBdepend", "version": "0", "attr": "bdepend", "msg": "failed parsing BDEPEND: 'stub1' is unparseable: flagged token- invalid package atom: 'stub1'"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/DependencyCheck/InvalidDepend/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "InvalidDepend", "category": "DependencyCheck", "package": "InvalidDepend", "version": "0", "attr": "depend", "msg": "failed parsing DEPEND: 'stub1' is unparseable: flagged token- invalid package atom: 'stub1'"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/DependencyCheck/InvalidPdepend/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "InvalidPdepend", "category": "DependencyCheck", "package": "InvalidPdepend", "version": "0", "attr": "pdepend", "msg": "failed parsing PDEPEND: 'stub1' is unparseable: flagged token- invalid package atom: 'stub1'"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/DependencyCheck/InvalidRdepend/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "InvalidRdepend", "category": "DependencyCheck", "package": "InvalidRdepend", "version": "0", "attr": "rdepend", "msg": "failed parsing RDEPEND: 'stub1' is unparseable: flagged token- invalid package atom: 'stub1'"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/DependencyCheck/MissingPackageRevision/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MissingPackageRevision", "category": "DependencyCheck", "package": "MissingPackageRevision", "version": "0", "dep": "RDEPEND", "atom": "=stub/stub1-0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DroppedKeywords", "category": "DroppedKeywordsCheck", "package": "DroppedKeywords", "version": "1", "arches": ["x86"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/EapiCheck/BannedEapi/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "BannedEapi", "category": "EapiCheck", "package": "BannedEapi", "version": "0", "eapi": "1"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/EapiCheck/DeprecatedEapi/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DeprecatedEapi", "category": "EapiCheck", "package": "DeprecatedEapi", "version": "0", "eapi": "5"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/EclassManualDepsCheck/GoMissingDeps/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "GoMissingDeps", "category": "EclassUsageCheck", "package": "DeprecatedEclassVariable", "version": "0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "RubyMissingDeps", "category": "EclassManualDepsCheck", "package": "RubyMissingDeps", "version": "1"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/EendMissingArgCheck/EendMissingArg/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EendMissingArg", "category": "EendMissingArgCheck", "package": "EendMissingArg", "version": "0", "line": "eend", "lineno": 10} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/GlobalUseCheck/PotentialGlobalUse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "PotentialGlobalUse", "flag": "potential-global", "pkgs": ["GlobalUseCheck/PotentialGlobalUse", "stub/potential-global1", "stub/potential-global2", "stub/potential-global3", "stub/potential-global4"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/GlobalUseCheck/PotentialLocalUse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "PotentialLocalUse", "flag": "potential-local", "pkgs": ["GlobalUseCheck/PotentialLocalUse"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/GlobalUseCheck/UnusedGlobalUse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedGlobalUse", "flags": ["unused"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/GlobalUseCheck/UnusedGlobalUse/fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | sed -i '/^unused -/d' profiles/use.desc 3 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/GlobalUseCheck/UnusedGlobalUseExpand/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedGlobalUseExpand", "flags": ["use_expand_unused"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/IuseCheck/UnknownUseFlags/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownUseFlags", "category": "IuseCheck", "package": "UnknownUseFlags", "version": "0", "flags": ["amd64", "flag3"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/KeywordsCheck/BadKeywords/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "BadKeywords", "category": "KeywordsCheck", "package": "BadKeywords", "version": "0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/KeywordsCheck/DuplicateKeywords/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DuplicateKeywords", "category": "KeywordsCheck", "package": "DuplicateKeywords", "version": "0", "keywords": ["~amd64"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/KeywordsCheck/OverlappingKeywords/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "OverlappingKeywords", "category": "KeywordsCheck", "package": "OverlappingKeywords", "version": "0", "keywords": "('amd64', '~amd64')"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/KeywordsCheck/UnknownKeywords/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownKeywords", "category": "KeywordsCheck", "package": "UnknownKeywords", "version": "0", "keywords": ["unknown"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/KeywordsCheck/UnsortedKeywords/expected-verbose.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnsortedKeywords", "category": "KeywordsCheck", "package": "UnsortedKeywords", "version": "0", "keywords": ["~x86", "~amd64"], "sorted_keywords": ["~amd64", "~x86"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/KeywordsCheck/UnsortedKeywords/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnsortedKeywords", "category": "KeywordsCheck", "package": "UnsortedKeywords", "version": "0", "keywords": ["~x86", "~amd64"], "sorted_keywords": []} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LicenseCheck/MissingLicense/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MissingLicense", "category": "LicenseCheck", "package": "MissingLicense", "version": "0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LicenseCheck/UnknownLicense/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownLicense", "category": "LicenseCheck", "package": "UnknownLicense", "version": "0", "licenses": ["unknown"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LicenseCheck/UnknownLicense/fix.patch: -------------------------------------------------------------------------------- 1 | diff -Naur standalone/licenses/unknown fixed/licenses/unknown 2 | --- standalone/licenses/unknown 1969-12-31 17:00:00.000000000 -0700 3 | +++ fixed/licenses/unknown 2021-05-24 05:01:42.051343452 -0600 4 | @@ -0,0 +1 @@ 5 | +added missing license 6 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LicenseCheck/UnnecessaryLicense/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnnecessaryLicense", "category": "virtual", "package": "UnnecessaryLicense", "version": "0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LicenseCheck/UnstatedIuse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnstatedIuse", "category": "LicenseCheck", "package": "UnstatedIuse", "version": "0", "attr": "license", "flags": ["used"], "profile": "default/amd64", "num_profiles": 2} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LicenseGroupsCheck/UnknownLicenses/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownLicenses", "group": "GROUP", "licenses": ["unknown"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LocalUseCheck/MatchingGlobalUse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MatchingGlobalUse", "category": "LocalUseCheck", "package": "MatchingGlobalUse", "flag": "matching"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LocalUseCheck/MissingLocalUseDesc/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MissingLocalUseDesc", "category": "LocalUseCheck", "package": "MissingLocalUseDesc", "flags": ["empty", "whitespace"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LocalUseCheck/ProbableGlobalUse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "ProbableGlobalUse", "category": "LocalUseCheck", "package": "ProbableGlobalUse", "flag": "probable"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LocalUseCheck/ProbableUseExpand/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "ProbableUseExpand", "category": "LocalUseCheck", "package": "ProbableUseExpand", "flag": "use_expand_probable", "group": "USE_EXPAND"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnderscoreInUseFlag", "category": "LocalUseCheck", "package": "UnderscoreInUseFlag", "flag": "foo_bar"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/LocalUseCheck/UnusedLocalUse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedLocalUse", "category": "LocalUseCheck", "package": "UnusedLocalUse", "flags": ["local"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/ManifestCheck/DeprecatedChksum/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DeprecatedChksum", "category": "ManifestCheck", "package": "DeprecatedChksum", "version": "0", "filename": "DeprecatedChksum-0.tar.gz", "deprecated": ["sha256"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/ManifestCheck/DeprecatedManifestHash/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DeprecatedManifestHash", "category": "ManifestCheck", "package": "MissingChksum", "hashes": ["rmd160", "sha1"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/ManifestCheck/InvalidManifest/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "InvalidManifest", "category": "ManifestCheck", "package": "InvalidManifest", "attr": "manifest", "msg": "failed parsing 'ManifestCheck/InvalidManifest/Manifest': invalid data format"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/ManifestCheck/MissingChksum/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MissingChksum", "category": "ManifestCheck", "package": "MissingChksum", "version": "0", "filename": "MissingChksum-0.tar.gz", "missing": ["blake2b"], "existing": ["rmd160", "sha1", "sha256", "size"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/ManifestCheck/MissingManifest/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MissingManifest", "category": "ManifestCheck", "package": "MissingManifest", "version": "0", "files": ["MissingManifest-0.tar.gz"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/ManifestCheck/UnknownManifest/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownManifest", "category": "ManifestCheck", "package": "UnknownManifest", "files": ["UnknownManifest-1.tar.gz"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/ManifestCheck/UnnecessaryManifest/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnnecessaryManifest", "category": "ManifestCheck", "package": "UnnecessaryManifest", "files": ["UnnecessaryManifest-0.ebuild"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/ManifestCollisionCheck/ConflictingChksums/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "ConflictingChksums", "category": "test", "package": "ConflictingChksums", "version": "0", "filename": "foo.tar.gz", "chksums": ["blake2b"], "pkgs": ["ManifestCollisionCheck/ConflictingChksums"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/ManifestCollisionCheck/MatchingChksums/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MatchingChksums", "category": "test", "package": "MatchingChksums", "version": "0", "filename": "foo2.tar.gz", "orig_file": "foo1.tar.gz", "orig_pkg": "ManifestCollisionCheck/MatchingChksums"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/MetadataVarCheck/HomepageInSrcUri/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "HomepageInSrcUri", "category": "MetadataVarCheck", "package": "HomepageInSrcUri", "version": "0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/MetadataVarCheck/StaticSrcUri/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "StaticSrcUri", "category": "MetadataVarCheck", "package": "StaticSrcUri", "version": "0", "static_str": "StaticSrcUri-0", "replacement": "${P}"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/MissingSlotDepCheck/MissingSlotDep/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MissingSlotDep", "category": "MissingSlotDepCheck", "package": "MissingSlotDep", "version": "0", "dep": "stub/slotted", "dep_slots": ["0", "1"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MissingUnpackerDep", "category": "MissingUnpackerDepCheck", "package": "MissingUnpackerDep", "version": "0", "eapi": "0", "filenames": ["MissingUnpackerDep-0.zip"], "unpackers": ["app-arch/unzip"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "PkgBadlyFormedXml", "category": "PackageMetadataXmlCheck", "package": "PkgBadlyFormedXml", "filename": "metadata.xml", "error": "xmlParseEntityRef: no name, line 7, column 34 (metadata.xml, line 7)"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "PkgInvalidXml", "category": "PackageMetadataXmlCheck", "package": "PkgInvalidXml", "filename": "metadata.xml", "message": "line 7, col 0: (SCHEMAV_ELEMENT_CONTENT) Element 'description': This element is not expected."} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "PkgMetadataXmlIndentation", "category": "PackageMetadataXmlCheck", "package": "PkgMetadataXmlIndentation", "filename": "metadata.xml", "lines": ["5"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "PkgMetadataXmlInvalidCatRef", "category": "PackageMetadataXmlCheck", "package": "PkgMetadataXmlInvalidCatRef", "filename": "metadata.xml", "cattext": "virtul"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "PkgMetadataXmlInvalidPkgRef", "category": "PackageMetadataXmlCheck", "package": "PkgMetadataXmlInvalidPkgRef", "filename": "metadata.xml", "pkgtext": "nonexistent/pkg"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "RedundantLongDescription", "category": "PackageMetadataXmlCheck", "package": "RedundantLongDescription", "msg": "metadata.xml longdescription closely matches DESCRIPTION"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PkgDirCheck/DuplicateFiles/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DuplicateFiles", "category": "PkgDirCheck", "package": "DuplicateFiles", "files": ["files/1", "files/2"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PkgDirCheck/EmptyFile/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EmptyFile", "category": "PkgDirCheck", "package": "EmptyFile", "filename": "files/empty"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PkgDirCheck/EmptyFile/fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | rm PkgDirCheck/EmptyFile/files/empty 3 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PkgDirCheck/ExecutableFile/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "ExecutableFile", "category": "PkgDirCheck", "package": "ExecutableFile", "filename": "files/executable"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PkgDirCheck/ExecutableFile/fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | chmod -x PkgDirCheck/ExecutableFile/files/executable 3 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PkgDirCheck/InvalidPN/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "InvalidPN", "category": "PkgDirCheck", "package": "InvalidPN", "ebuilds": ["InvalidPN"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PkgDirCheck/InvalidPN/fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mv PkgDirCheck/InvalidPN/InvalidPN.ebuild PkgDirCheck/InvalidPN/InvalidPN-0.ebuild 3 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PkgDirCheck/MismatchedPN/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MismatchedPN", "category": "PkgDirCheck", "package": "MismatchedPN", "ebuilds": ["Mismatched-1"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PkgDirCheck/MismatchedPN/fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | mv PkgDirCheck/MismatchedPN/Mismatched-1.ebuild PkgDirCheck/MismatchedPN/MismatchedPN-1.ebuild 3 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/ProjectMetadataCheck/EmptyProject/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "EmptyProject", "project": "Empty project (https://example.com/empty-project)"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PropertiesCheck/UnknownProperties/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownProperties", "category": "PropertiesCheck", "package": "UnknownProperties", "version": "0", "properties": ["foo"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/PropertiesCheck/UnstatedIuse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnstatedIuse", "category": "PropertiesCheck", "package": "UnstatedIuse", "version": "0", "attr": "properties", "flags": ["used"], "profile": "default/amd64", "num_profiles": 2} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/ReadonlyVariableCheck/ReadonlyVariable/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "ReadonlyVariable", "category": "ReadonlyVariableCheck", "package": "ReadonlyVariable", "version": "0", "line": "PV=\"5\"", "lineno": 3, "variable": "PV"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/RepoManifestHashCheck/DeprecatedRepoHash/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DeprecatedRepoHash", "hashes": ["sha1", "whirlpool"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/RequiredUseCheck/UnstatedIuse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnstatedIuse", "category": "RequiredUseCheck", "package": "UnstatedIuse", "version": "0", "attr": "required_use", "flags": ["used"], "profile": "default/amd64", "num_profiles": 2} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/RestrictCheck/InvalidRestrict/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "InvalidRestrict", "category": "RestrictCheck", "package": "InvalidRestrict", "version": "0", "attr": "restrict", "msg": "failed parsing RESTRICT: '!used ( test )' is unparseable: flagged token- string index out of range"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/RestrictCheck/UnknownRestrict/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownRestrict", "category": "RestrictCheck", "package": "UnknownRestrict", "version": "0", "restricts": ["foo"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/RestrictCheck/UnstatedIuse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnstatedIuse", "category": "RestrictCheck", "package": "UnstatedIuse", "version": "0", "attr": "restrict", "flags": ["used"], "profile": "default/amd64", "num_profiles": 2} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/RestrictTestCheck/MissingTestRestrict/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MissingTestRestrict", "category": "RestrictTestCheck", "package": "MissingTestRestrict", "version": "0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/RustCheck/SuboptimalCratesSeparator/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "SuboptimalCratesSeparator", "category": "RustCheck", "package": "SuboptimalCratesSeparator", "version": "0", "line": "snakeoil-0.10.0", "lineno": 2} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/SourcingCheck/SourcingError/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "SourcingError", "category": "SourcingCheck", "package": "SourcingError", "version": "0", "attr": "data", "msg": "failed sourcing ebuild: external commands disallowed during metadata regen: 'foo'"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/SrcUriCheck/BadFilename/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "BadFilename", "category": "SrcUriCheck", "package": "BadFilename", "version": "0", "filenames": ["0.tar.gz", "BadFilename.tar.gz", "v0.tar.gz"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/SrcUriCheck/MissingUri/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "MissingUri", "category": "SrcUriCheck", "package": "MissingUri", "version": "0", "filenames": ["MissingUri-0.tar.gz"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/SrcUriCheck/SrcUriFilenameDotPrefix/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "SrcUriFilenameDotPrefix", "category": "SrcUriCheck", "package": "SrcUriFilenameDotPrefix", "version": "0", "filename": ".gh.tar.gz"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/SrcUriCheck/TarballAvailable/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "TarballAvailable", "category": "SrcUriCheck", "package": "TarballAvailable", "version": "0", "uris": ["https://github.com/pkgcore/pkgcheck/archive/0.zip", "https://gitlab.com/pkgcore/pkgcheck/-/archive/0.zip"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/SrcUriCheck/UnknownMirror/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnknownMirror", "category": "SrcUriCheck", "package": "UnknownMirror", "version": "0", "mirror": "unknown", "uri": "mirror://unknown/pkgcore/pkgcheck/UnknownMirror-0.tar.gz"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/SrcUriCheck/UnstatedIuse/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnstatedIuse", "category": "SrcUriCheck", "package": "UnstatedIuse", "version": "0", "attr": "fetchables", "flags": ["used"], "profile": "default/amd64", "num_profiles": 2} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/UnusedEclassesCheck/UnusedEclasses/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedEclasses", "eclasses": ["unused"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/UnusedLicensesCheck/UnusedLicenses/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedLicenses", "licenses": ["unused"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/UnusedLicensesCheck/UnusedLicenses/fix.patch: -------------------------------------------------------------------------------- 1 | diff -Naur standalone/licenses/unused fixed/licenses/unused 2 | --- standalone/licenses/unused 2021-03-17 13:12:14.648665280 -0600 3 | +++ fixed/licenses/unused 1969-12-31 17:00:00.000000000 -0700 4 | @@ -1 +0,0 @@ 5 | -# stub unused license 6 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/UnusedMirrorsCheck/UnusedMirrors/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UnusedMirrors", "mirrors": ["unused"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/UnusedMirrorsCheck/UnusedMirrors/fix.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | sed -i '/^unused/d' profiles/thirdpartymirrors 3 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/VirtualProvidersCheck/VirtualWithBdepend/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "VirtualWithBdepend", "category": "virtual", "package": "VirtualWithBdepend", "version": "0"} 2 | {"__class__": "VirtualWithBdepend", "category": "virtual", "package": "VirtualWithBdepend", "version": "1"} 3 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/VirtualProvidersCheck/VirtualWithDepend/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "VirtualWithDepend", "category": "virtual", "package": "VirtualWithDepend", "version": "0"} 2 | {"__class__": "VirtualWithDepend", "category": "virtual", "package": "VirtualWithDepend", "version": "1"} 3 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/VirtualProvidersCheck/VirtualWithSingleProvider/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "VirtualWithSingleProvider", "category": "virtual", "package": "VirtualWithSingleProvider4", "provider": "stub/slotted"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/WhitespaceCheck/DoubleEmptyLine/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "DoubleEmptyLine", "category": "WhitespaceCheck", "package": "DoubleEmptyLine", "version": "0", "lines": [4]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/WhitespaceCheck/NoFinalNewline/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "NoFinalNewline", "category": "WhitespaceCheck", "package": "NoFinalNewline", "version": "0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/standalone/WhitespaceCheck/TrailingEmptyLine/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "TrailingEmptyLine", "category": "WhitespaceCheck", "package": "TrailingEmptyLine", "version": "0"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/visibility/PackageUpdatesCheck/BadPackageUpdate/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "BadPackageUpdate", "msg": "file '1Q-2024': 'move <=stub/old-name-1.2.3.4 stub/stable' on line 3: atom <=stub/old-name-1.2.3.4 must be versionless"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/visibility/PackageUpdatesCheck/OldPackageUpdate/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "OldPackageUpdate", "pkg": "stub/random-pkgname", "updates": ["move", "VisibilityCheck/OldPackageName", "stub/random-pkgname"]} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/visibility/VisibilityCheck/OldPackageName/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "OldPackageName", "category": "VisibilityCheck", "package": "OldPackageName", "new_name": "stub/random-pkgname"} 2 | -------------------------------------------------------------------------------- /testdata/data/repos/visibility/VisibilityCheck/UncheckableDep/expected.json: -------------------------------------------------------------------------------- 1 | {"__class__": "UncheckableDep", "category": "UncheckableDep", "package": "UncheckableDep", "version": "0", "attr": "rdepend"} 2 | -------------------------------------------------------------------------------- /testdata/repos/compatibility/CategoryIsNotDirectory: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgcore/pkgcheck/f942207e55dcca60b156638e0f516b58d0fd5f00/testdata/repos/compatibility/CategoryIsNotDirectory -------------------------------------------------------------------------------- /testdata/repos/compatibility/profiles/categories: -------------------------------------------------------------------------------- 1 | CategoryIsNotDirectory 2 | -------------------------------------------------------------------------------- /testdata/repos/eapis-testing/MissingRemoteIdCheck/MissingRemoteId/MissingRemoteId-2.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Check homepage" 4 | HOMEPAGE="https://pkgcore.github.io/pkgcheck/" 5 | SRC_URI="mirror://sourceforge/pkgcheck/${P}.tar.gz" 6 | LICENSE="BSD" 7 | SLOT="0" 8 | -------------------------------------------------------------------------------- /testdata/repos/eapis-testing/licenses/BSD: -------------------------------------------------------------------------------- 1 | ../../../../LICENSE -------------------------------------------------------------------------------- /testdata/repos/eapis-testing/metadata/layout.conf: -------------------------------------------------------------------------------- 1 | masters = 2 | cache-formats = 3 | thin-manifests = true 4 | eapis-testing = 8 5 | -------------------------------------------------------------------------------- /testdata/repos/eapis-testing/profiles/arch.list: -------------------------------------------------------------------------------- 1 | alpha 2 | amd64 3 | x86 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/eapis-testing/profiles/arches.desc: -------------------------------------------------------------------------------- 1 | alpha testing 2 | amd64 stable 3 | x86 stable 4 | -------------------------------------------------------------------------------- /testdata/repos/eapis-testing/profiles/categories: -------------------------------------------------------------------------------- 1 | EapiCheck 2 | MissingRemoteIdCheck 3 | -------------------------------------------------------------------------------- /testdata/repos/eapis-testing/profiles/default/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/eapis-testing/profiles/profiles.desc: -------------------------------------------------------------------------------- 1 | alpha default stable 2 | amd64 default stable 3 | x86 default stable 4 | -------------------------------------------------------------------------------- /testdata/repos/eapis-testing/profiles/repo_name: -------------------------------------------------------------------------------- 1 | eapis-testing 2 | -------------------------------------------------------------------------------- /testdata/repos/eapis-testing/profiles/thirdpartymirrors: -------------------------------------------------------------------------------- 1 | pypi https://files.pythonhosted.org/packages/source 2 | sourceforge https://downloads.sourceforge.net 3 | -------------------------------------------------------------------------------- /testdata/repos/eclass/EapiCheck/UnsupportedEclassEapi/UnsupportedEclassEapi-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=5 2 | 3 | inherit stub 4 | 5 | DESCRIPTION="Ebuild using an unsupported eclass" 6 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 7 | LICENSE="BSD" 8 | SLOT="0" 9 | -------------------------------------------------------------------------------- /testdata/repos/eclass/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | inherit deprecated 3 | DESCRIPTION="Ebuild with deprecated eclass usage" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | 8 | src_prepare() { 9 | deprecated_public_func 10 | } 11 | -------------------------------------------------------------------------------- /testdata/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild missing an eclass inherit" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | 8 | src_prepare() { 9 | inherit_public_func 10 | unset EBUILD_TEST 11 | } 12 | -------------------------------------------------------------------------------- /testdata/repos/eclass/InheritsCheck/UnusedInherits/UnusedInherits-2.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=8 2 | 3 | inherit elisp readme.gentoo-r1 4 | 5 | DESCRIPTION="Ebuild with weak usage inheritance" 6 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 7 | LICENSE="BSD" 8 | SLOT="0" 9 | -------------------------------------------------------------------------------- /testdata/repos/eclass/eclass/no-maintainer.eclass: -------------------------------------------------------------------------------- 1 | # @ECLASS: no-maintainer.eclass 2 | # @SUPPORTED_EAPIS: 6 7 3 | # @BLURB: Stub eclass with no maintainer for testing the EclassDocError result. 4 | -------------------------------------------------------------------------------- /testdata/repos/eclass/eclass/provided-inherit.eclass: -------------------------------------------------------------------------------- 1 | # @ECLASS: provided-inherit.eclass 2 | # @MAINTAINER: 3 | # Random Person 4 | # @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 5 | # @PROVIDES: inherit 6 | # @BLURB: Stub eclass for testing InheritsCheck. 7 | 8 | inherit inherit 9 | -------------------------------------------------------------------------------- /testdata/repos/eclass/licenses/BSD: -------------------------------------------------------------------------------- 1 | ../../../../LICENSE -------------------------------------------------------------------------------- /testdata/repos/eclass/metadata/layout.conf: -------------------------------------------------------------------------------- 1 | masters = 2 | cache-formats = 3 | thin-manifests = true 4 | -------------------------------------------------------------------------------- /testdata/repos/eclass/profiles/categories: -------------------------------------------------------------------------------- 1 | EapiCheck 2 | EclassParseCheck 3 | EclassUsageCheck 4 | InheritsCheck 5 | stub 6 | -------------------------------------------------------------------------------- /testdata/repos/eclass/profiles/repo_name: -------------------------------------------------------------------------------- 1 | eclass 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/CatMissingMetadataXml/stub1/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | random.gentoo.dev@gentoo.org 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/CatMissingMetadataXml/stub1/stub1-0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2019 Gentoo Authors 2 | # Distributed under the terms of the GNU General Public License v2 3 | 4 | DESCRIPTION="Stub package to populate category" 5 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 6 | LICENSE="BSD" 7 | SLOT="0" 8 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/CatMissingMetadataXml/stub2/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | random.gentoo.dev@gentoo.org 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/CatMissingMetadataXml/stub2/stub2-0.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2019 Gentoo Authors 2 | # Distributed under the terms of the GNU General Public License v2 3 | 4 | DESCRIPTION="Stub package to populate category" 5 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 6 | LICENSE="BSD" 7 | SLOT="0" 8 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-1.ebuild: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2019 Gentoo Authors 2 | 3 | DESCRIPTION="Ebuild with invalid license header" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/EbuildHeaderCheck/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/EmptyCategoryDir/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/EmptyDirsCheck/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/PackageMetadataXmlCheck/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/bar/.stub: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgcore/pkgcheck/f942207e55dcca60b156638e0f516b58d0fd5f00/testdata/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/bar/.stub -------------------------------------------------------------------------------- /testdata/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/foo: -------------------------------------------------------------------------------- 1 | foo 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/PkgDirCheck/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/UnstableOnlyCheck/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/UseFlagsWithoutEffectsCheck/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/eclass/missing-license-header.eclass: -------------------------------------------------------------------------------- 1 | # Copyright 1999-2020 Gentoo Authors 2 | 3 | # @ECLASS: missing-license-header.eclass 4 | # @MAINTAINER: 5 | # Random Dev 6 | # @AUTHOR: 7 | # Random Dev 8 | # @BLURB: Stub eclass. 9 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/licenses/BSD: -------------------------------------------------------------------------------- 1 | ../../../../LICENSE -------------------------------------------------------------------------------- /testdata/repos/gentoo/metadata/glsa/glsa-000000-00.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/metadata/layout.conf: -------------------------------------------------------------------------------- 1 | masters = 2 | cache-formats = 3 | thin-manifests = true 4 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/arch.list: -------------------------------------------------------------------------------- 1 | amd64 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/arches.desc: -------------------------------------------------------------------------------- 1 | amd64 stable 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/categories: -------------------------------------------------------------------------------- 1 | CatMissingMetadataXml 2 | EbuildHeaderCheck 3 | EmptyCategoryDir 4 | EmptyDirsCheck 5 | PackageMetadataXmlCheck 6 | PkgDirCheck 7 | UnstableOnlyCheck 8 | UseFlagsWithoutEffectsCheck 9 | nonexistent 10 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/default/eapi: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/default/linux/eapi: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/default/linux/lagging/parent: -------------------------------------------------------------------------------- 1 | .. 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/default/linux/make.defaults: -------------------------------------------------------------------------------- 1 | ARCH="amd64" 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/default/linux/parent: -------------------------------------------------------------------------------- 1 | .. 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/default/make.defaults: -------------------------------------------------------------------------------- 1 | ARCH="amd64" 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/eapi: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/profiles.desc: -------------------------------------------------------------------------------- 1 | amd64 default unknown 2 | amd64 default/linux stable 3 | amd64 default/linux/lagging stable 4 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/repo_name: -------------------------------------------------------------------------------- 1 | gentoo 2 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/profiles/use.desc: -------------------------------------------------------------------------------- 1 | bash-completion - Enable bash-completion support 2 | ipv6 - Add support for IP version 6 3 | used - used global flag 4 | -------------------------------------------------------------------------------- /testdata/repos/gentoo/unknown/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/network/FetchablesUrlCheck/DeadUrl/DeadUrl-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead SRC_URI" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI=" 4 | https://github.com/pkgcore/pkgcheck/foo.tar.gz 5 | ttps://github.com/pkgcore/pkgcheck/foo.tar.gz 6 | " 7 | LICENSE="BSD" 8 | SLOT="0" 9 | -------------------------------------------------------------------------------- /testdata/repos/network/FetchablesUrlCheck/DeadUrl/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://github.com/pkgcore/pkgcheck/foo.tar.gz" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead SRC_URI" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="http://github.com/pkgcore/pkgcheck/foo.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/network/FetchablesUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead SRC_URI" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/network/FetchablesUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead SRC_URI" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/network/FetchablesUrlCheck/SSLCertificateError/responses.py: -------------------------------------------------------------------------------- 1 | from requests.exceptions import SSLError 2 | 3 | responses = [SSLError("Certificate verification failed")] 4 | -------------------------------------------------------------------------------- /testdata/repos/network/FetchablesUrlCheck/ftp-DeadUrl/ftp-DeadUrl-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead ftp SRC_URI" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="ftp://pkgcheck.net/pkgcheck/foo.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/network/HomepageUrlCheck/DeadUrl-connection-error/DeadUrl-connection-error-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with connection error for HOMEPAGE" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/HomepageUrlCheck/DeadUrl-connection-error/responses.py: -------------------------------------------------------------------------------- 1 | from requests.exceptions import ConnectionError 2 | 3 | responses = [ConnectionError("connection failed")] 4 | -------------------------------------------------------------------------------- /testdata/repos/network/HomepageUrlCheck/DeadUrl/DeadUrl-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead HOMEPAGE" 2 | HOMEPAGE=" 3 | https://github.com/pkgcore/pkgcheck 4 | ttps://github.com/pkgcore/pkgcheck 5 | " 6 | LICENSE="BSD" 7 | SLOT="0" 8 | -------------------------------------------------------------------------------- /testdata/repos/network/HomepageUrlCheck/DeadUrl/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://github.com/pkgcore/pkgcheck" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/HomepageUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with https:// HOMEPAGE available without a redirect" 2 | HOMEPAGE="http://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/HomepageUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with HOMEPAGE that redirects somewhere else" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/HomepageUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with HOMEPAGE that has a bad SSL cert" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/HomepageUrlCheck/SSLCertificateError/responses.py: -------------------------------------------------------------------------------- 1 | from requests.exceptions import SSLError 2 | 3 | responses = [SSLError("Certificate verification failed")] 4 | -------------------------------------------------------------------------------- /testdata/repos/network/HomepageUrlCheck/ftp-DeadUrl/ftp-DeadUrl-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead ftp HOMEPAGE" 2 | HOMEPAGE="ftp://pkgcheck.net/pkgcheck/" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-bitbucket/DeadUrl-bitbucket-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-bitbucket/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://bitbucket.org/pkgcore/pkgcheck" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-cpan/DeadUrl-cpan-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-cpan/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PkgCore-PkgCheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-cpan/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://metacpan.org/dist/PkgCore-PkgCheck" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-cran/DeadUrl-cran-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-cran/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PkgCheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-ctan/DeadUrl-ctan-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-ctan/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | pkgcheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-ctan/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://ctan.org/pkg/pkgcheck" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-freedesktop-gitlab/DeadUrl-freedesktop-gitlab-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://gitlab.freedesktop.org/pkgcore/pkgcheck.git/" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-gentoo/DeadUrl-gentoo-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-gentoo/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | proj/pkgcheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-gentoo/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://gitweb.gentoo.org/proj/pkgcheck.git/" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-gnome-gitlab/DeadUrl-gnome-gitlab-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://gitlab.gnome.org/pkgcore/pkgcheck.git/" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-hackage/DeadUrl-hackage-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://hackage.haskell.org/package/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-hackage/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | pkgcheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-kde-invent/DeadUrl-kde-invent-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://invent.kde.org/pkgcore/pkgcheck.git/" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-kde-invent/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://invent.kde.org/pkgcore/pkgcheck" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-launchpad/DeadUrl-launchpad-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-launchpad/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | pkgcheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-launchpad/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://launchpad.net/pkgcheck" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-missingfile/DeadUrl-missingfile-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with missing metadata.xml file" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-missingfile/responses.py: -------------------------------------------------------------------------------- 1 | responses = [] 2 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-osdn/DeadUrl-osdn-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-osdn/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | pkgcore/pkgcheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-osdn/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://osdn.net/projects/pkgcore/pkgcheck/" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-pecl/DeadUrl-pecl-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-pecl/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | pkgcheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-pecl/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://pecl.php.net/package/pkgcheck" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-pypi/DeadUrl-pypi-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-pypi/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | pkgcheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-pypi/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://pypi.org/project/pkgcheck/" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-rubygems/DeadUrl-rubygems-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-rubygems/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | pkgcheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-rubygems/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://rubygems.org/gems/pkgcheck" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-savannah-nongnu/DeadUrl-savannah-nongnu-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://savannah.nongnu.org/projects/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-savannah/DeadUrl-savannah-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://savannah.gnu.org/projects/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-savannah/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | pkgcheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-savannah/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://savannah.gnu.org/projects/pkgcheck" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-sourceforge/DeadUrl-sourceforge-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-sourceforge/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | pkgcheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-sourcehut/DeadUrl-sourcehut-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://sr.ht/~pkgcore/pkgcheck/" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-sourcehut/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://sr.ht/~pkgcore/pkgcheck/" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-vim/DeadUrl-vim-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl-vim/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 12345 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl/DeadUrl-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with a dead metadata.xml URL" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | pkgcore/pkgcheck 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/DeadUrl/responses.py: -------------------------------------------------------------------------------- 1 | import io 2 | 3 | from requests.models import Response 4 | 5 | r = Response() 6 | r.status_code = 404 7 | r.reason = "Not Found" 8 | r.url = "https://github.com/pkgcore/pkgcheck" 9 | r.raw = io.StringIO() 10 | responses = [r] 11 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with https:// metadata.xml URL available without a redirect" 2 | HOMEPAGE="http://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with metadata.xml URL that redirects somewhere else" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with metadata.xml URL that has a bad SSL cert" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/SSLCertificateError/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | https://pkgcore.github.io/pkgcheck/ 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/network/MetadataUrlCheck/SSLCertificateError/responses.py: -------------------------------------------------------------------------------- 1 | from requests.exceptions import SSLError 2 | 3 | responses = [SSLError("Certificate verification failed")] 4 | -------------------------------------------------------------------------------- /testdata/repos/network/licenses/BSD: -------------------------------------------------------------------------------- 1 | ../../../../LICENSE -------------------------------------------------------------------------------- /testdata/repos/network/metadata/layout.conf: -------------------------------------------------------------------------------- 1 | masters = 2 | cache-formats = 3 | thin-manifests = true 4 | -------------------------------------------------------------------------------- /testdata/repos/network/profiles/categories: -------------------------------------------------------------------------------- 1 | FetchablesUrlCheck 2 | HomepageUrlCheck 3 | MetadataUrlCheck 4 | -------------------------------------------------------------------------------- /testdata/repos/network/profiles/repo_name: -------------------------------------------------------------------------------- 1 | network 2 | -------------------------------------------------------------------------------- /testdata/repos/overlay/UnusedInMastersCheck/UnusedInMastersEclasses/UnusedInMastersEclasses-0.ebuild: -------------------------------------------------------------------------------- 1 | inherit unused 2 | 3 | DESCRIPTION="Ebuild using eclass from master repo" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | -------------------------------------------------------------------------------- /testdata/repos/overlay/UnusedInMastersCheck/UnusedInMastersGlobalUse/UnusedInMastersGlobalUse-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild using global USE flag from master repo" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="unused" 6 | -------------------------------------------------------------------------------- /testdata/repos/overlay/UnusedInMastersCheck/UnusedInMastersLicenses/UnusedInMastersLicenses-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild using LICENSE from master repo" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="unused" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/overlay/UnusedInMastersCheck/UnusedInMastersMirrors/UnusedInMastersMirrors-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild using mirror from master repo" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="mirror://overlayed/${P}.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/overlay/metadata/layout.conf: -------------------------------------------------------------------------------- 1 | masters = overlayed 2 | cache-formats = 3 | thin-manifests = true 4 | -------------------------------------------------------------------------------- /testdata/repos/overlay/profiles/categories: -------------------------------------------------------------------------------- 1 | UnusedInMastersCheck 2 | -------------------------------------------------------------------------------- /testdata/repos/overlay/profiles/repo_name: -------------------------------------------------------------------------------- 1 | overlay 2 | -------------------------------------------------------------------------------- /testdata/repos/overlayed/eclass/unused.eclass: -------------------------------------------------------------------------------- 1 | # unused 2 | -------------------------------------------------------------------------------- /testdata/repos/overlayed/licenses/BSD: -------------------------------------------------------------------------------- 1 | ../../../../LICENSE -------------------------------------------------------------------------------- /testdata/repos/overlayed/licenses/unused: -------------------------------------------------------------------------------- 1 | ../../../../LICENSE -------------------------------------------------------------------------------- /testdata/repos/overlayed/metadata/layout.conf: -------------------------------------------------------------------------------- 1 | masters = 2 | cache-formats = 3 | thin-manifests = true 4 | -------------------------------------------------------------------------------- /testdata/repos/overlayed/profiles/arch.list: -------------------------------------------------------------------------------- 1 | amd64 2 | -------------------------------------------------------------------------------- /testdata/repos/overlayed/profiles/categories: -------------------------------------------------------------------------------- 1 | stub 2 | -------------------------------------------------------------------------------- /testdata/repos/overlayed/profiles/default/make.defaults: -------------------------------------------------------------------------------- 1 | ARCH="amd64" 2 | -------------------------------------------------------------------------------- /testdata/repos/overlayed/profiles/profiles.desc: -------------------------------------------------------------------------------- 1 | amd64 default stable 2 | -------------------------------------------------------------------------------- /testdata/repos/overlayed/profiles/repo_name: -------------------------------------------------------------------------------- 1 | overlayed 2 | -------------------------------------------------------------------------------- /testdata/repos/overlayed/profiles/thirdpartymirrors: -------------------------------------------------------------------------------- 1 | overlayed https://overlayed.mirror 2 | -------------------------------------------------------------------------------- /testdata/repos/overlayed/profiles/use.desc: -------------------------------------------------------------------------------- 1 | unused - unused global flag 2 | -------------------------------------------------------------------------------- /testdata/repos/overlayed/stub/stub1/stub1-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/RedundantVersionCheck/RedundantVersion/RedundantVersion-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for RedundantVersion checks" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="amd64 x86" 6 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/RedundantVersionCheck/RedundantVersion/RedundantVersion-2.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for RedundantVersion checks" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="amd64 x86" 6 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/RedundantVersionCheck/RedundantVersion/RedundantVersion-3.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for RedundantVersion checks" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="~amd64 ~x86" 6 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/RedundantVersionCheck/RedundantVersion/RedundantVersion-4.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for RedundantVersion checks" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="~amd64 ~x86" 6 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/RedundantVersionCheck/RedundantVersion/RedundantVersion-5.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for RedundantVersion checks" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="~amd64 ~x86" 6 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/RedundantVersionCheck/RedundantVersion/RedundantVersion-6.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for RedundantVersion checks" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="~amd64 ~x86" 6 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/cat/pkg1/pkg1-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for various profile pkg entries" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="used" 6 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/cat/pkg2/pkg2-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for various profile pkg entries" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="used" 6 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/cat/pkg3/pkg3-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for various profile pkg entries" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/cat/pkg4/pkg4-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for various profile pkg entries" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/licenses/BSD: -------------------------------------------------------------------------------- 1 | ../../../../LICENSE -------------------------------------------------------------------------------- /testdata/repos/profiledir/metadata/layout.conf: -------------------------------------------------------------------------------- 1 | masters = 2 | cache-formats = 3 | thin-manifests = true 4 | profile-eapis-banned = 0 5 | profile-eapis-deprecated = 1 2 3 6 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/arch.list: -------------------------------------------------------------------------------- 1 | amd64 2 | unknown_arch 3 | x86 4 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/arches.desc: -------------------------------------------------------------------------------- 1 | amd64 stable 2 | x86 testing 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/banned-eapi/make.defaults: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/categories: -------------------------------------------------------------------------------- 1 | cat 2 | RedundantVersionCheck 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/default/bad_parent/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/default/bad_parent/parent: -------------------------------------------------------------------------------- 1 | ../nonexistent 2 | .. 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/default/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/default/forgotten/eapi: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/default/make.defaults: -------------------------------------------------------------------------------- 1 | ARCH="amd64" 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/default/package.use: -------------------------------------------------------------------------------- 1 | cat/pkg1 used 2 | cat/pkg2 used unknown 3 | cat/pkg3 -unknown 4 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/deprecated-eapi/eapi: -------------------------------------------------------------------------------- 1 | 1 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/deprecated/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/deprecated/nonexistent/deprecated: -------------------------------------------------------------------------------- 1 | default/nonexistent 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/deprecated/nonexistent/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/desc/python_targets.desc: -------------------------------------------------------------------------------- 1 | python3_10 - Build with Python 3.10 2 | python3_11 - Build with Python 3.11 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/redundant/amd64/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/redundant/amd64/musl/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/redundant/amd64/musl/package.mask: -------------------------------------------------------------------------------- 1 | -=RedundantVersionCheck/RedundantVersion-4 2 | =RedundantVersionCheck/RedundantVersion-5 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/redundant/amd64/musl/parent: -------------------------------------------------------------------------------- 1 | .. 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/redundant/amd64/package.mask: -------------------------------------------------------------------------------- 1 | =RedundantVersionCheck/RedundantVersion-2 2 | =RedundantVersionCheck/RedundantVersion-4 3 | -=RedundantVersionCheck/RedundantVersion-6 4 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/redundant/amd64/parent: -------------------------------------------------------------------------------- 1 | .. 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/redundant/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/redundant/package.mask: -------------------------------------------------------------------------------- 1 | =RedundantVersionCheck/RedundantVersion-6 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/redundant/x86/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/redundant/x86/package.mask: -------------------------------------------------------------------------------- 1 | =RedundantVersionCheck/RedundantVersion-2 2 | -=RedundantVersionCheck/RedundantVersion-6 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/redundant/x86/parent: -------------------------------------------------------------------------------- 1 | .. 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/repo_name: -------------------------------------------------------------------------------- 1 | profiledir 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_arch/eapi: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_arch/make.defaults: -------------------------------------------------------------------------------- 1 | ARCH="unknown" 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_kwds/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_kwds/package.accept_keywords: -------------------------------------------------------------------------------- 1 | cat/pkg3 amd64 2 | cat/pkg4 unknown 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_kwds/package.keywords: -------------------------------------------------------------------------------- 1 | cat/pkg1 -amd64 -~amd64 2 | cat/pkg2 -unknown 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_pkgs/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_pkgs/package.mask: -------------------------------------------------------------------------------- 1 | cat/pkg3 2 | unknown/pkg_mask 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_pkgs/package.unmask: -------------------------------------------------------------------------------- 1 | cat/pkg4 2 | unknown/pkg_unmask 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_pkgs/package.use: -------------------------------------------------------------------------------- 1 | cat/pkg1 used 2 | unknown/pkg_use used 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_pkgs/packages: -------------------------------------------------------------------------------- 1 | *cat/pkg1 2 | *unknown/pkg 3 | -*cat/pkg2 4 | -*unknown/disabled_pkg 5 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_use/eapi: -------------------------------------------------------------------------------- 1 | 4 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_use/unknown_stable_use/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_use/unknown_stable_use/use.force: -------------------------------------------------------------------------------- 1 | -use_force 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_use/unknown_stable_use/use.stable.force: -------------------------------------------------------------------------------- 1 | use_stable_force 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/use.mask: -------------------------------------------------------------------------------- 1 | -use_mask 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/use.stable.mask: -------------------------------------------------------------------------------- 1 | use_stable_mask 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_use/use.force: -------------------------------------------------------------------------------- 1 | use_force 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_use/use.mask: -------------------------------------------------------------------------------- 1 | use_mask 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_use/use.stable.force: -------------------------------------------------------------------------------- 1 | # ignored due to profile EAPI 2 | use_stable_force 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unknown_use/use.stable.mask: -------------------------------------------------------------------------------- 1 | # ignored due to profile EAPI 2 | use_stable_mask 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unmatched_unmasks/eapi: -------------------------------------------------------------------------------- 1 | 7 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unmatched_unmasks/package.mask: -------------------------------------------------------------------------------- 1 | -cat/pkg4 2 | -cat/pkg3 3 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/unmatched_unmasks/parent: -------------------------------------------------------------------------------- 1 | ../unknown_pkgs 2 | -------------------------------------------------------------------------------- /testdata/repos/profiledir/profiles/use.desc: -------------------------------------------------------------------------------- 1 | used - used global flag 2 | -------------------------------------------------------------------------------- /testdata/repos/python/PythonCheck/PythonMissingSCMDependency/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/python/PythonCompatCheck/PythonCompatUpdate/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | enable Python support 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/python/PythonFetchableCheck/PythonGHDistfileSuffixNoPyPI/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/python/PythonFetchableCheck/PythonInlinePyPIURL/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | frobnicate 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/python/app-arch/unzip/unzip-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub unzip package to suppress NonexistentDeps results" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/pypy/pypy-2.7.7.3.17.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=8 2 | 3 | DESCRIPTION="Stub ebuild for pypy interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="2.7/1234" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/pypy/pypy-3.10.7.3.17.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=8 2 | 3 | DESCRIPTION="Stub ebuild for pypy3 interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3.10/pypy310-1234" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/pypy/pypy-3.11.7.3.18.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=8 2 | 3 | DESCRIPTION="Stub ebuild for pypy3.11 interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3.11/pypy311-pp73-400" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/python/python-2.7.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Stub ebuild for python interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="2.7" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/python/python-3.10.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=8 2 | 3 | DESCRIPTION="Stub ebuild for python interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3.10" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/python/python-3.7.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Stub ebuild for python interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3.7" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/python/python-3.8.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Stub ebuild for python interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3.8" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/python/python-3.9.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Stub ebuild for python interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3.9" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/ruby/ruby-2.7.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Stub ebuild for ruby interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="2.7" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/ruby/ruby-3.0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Stub ebuild for ruby interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3.0" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/ruby/ruby-3.1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Stub ebuild for ruby interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3.1" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/dev-lang/ruby/ruby-3.2.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Stub ebuild for ruby interpreter" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3.2" 7 | -------------------------------------------------------------------------------- /testdata/repos/python/licenses/BSD: -------------------------------------------------------------------------------- 1 | ../../../../LICENSE -------------------------------------------------------------------------------- /testdata/repos/python/metadata/layout.conf: -------------------------------------------------------------------------------- 1 | masters = 2 | cache-formats = 3 | thin-manifests = true 4 | -------------------------------------------------------------------------------- /testdata/repos/python/metadata/stubs: -------------------------------------------------------------------------------- 1 | app-arch/unzip 2 | dev-lang/python 3 | -------------------------------------------------------------------------------- /testdata/repos/python/profiles/categories: -------------------------------------------------------------------------------- 1 | app-arch 2 | dev-lang 3 | dev-python 4 | PythonCheck 5 | PythonCompatCheck 6 | PythonFetchableCheck 7 | RubyCompatCheck 8 | stub 9 | -------------------------------------------------------------------------------- /testdata/repos/python/profiles/desc/ruby_targets.desc: -------------------------------------------------------------------------------- 1 | # available RUBY_TARGETS USE_EXPAND flags 2 | ruby27 - Build with MRI Ruby 2.7.x 3 | ruby30 - Build with MRI Ruby 3.0.x 4 | ruby31 - Build with MRI Ruby 3.1.x 5 | ruby32 - Build with MRI Ruby 3.2.x 6 | -------------------------------------------------------------------------------- /testdata/repos/python/profiles/repo_name: -------------------------------------------------------------------------------- 1 | python 2 | -------------------------------------------------------------------------------- /testdata/repos/python/profiles/thirdpartymirrors: -------------------------------------------------------------------------------- 1 | pypi https://files.pythonhosted.org/packages/source 2 | -------------------------------------------------------------------------------- /testdata/repos/python/stub/stub1/stub1-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for various ebuild deps" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/python/stub/stub2/stub2-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used for various ebuild deps" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="disabled exists" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild using banned EAPI command" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | 8 | src_install() { 9 | dohtml doc/* 10 | } 11 | -------------------------------------------------------------------------------- /testdata/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=6 2 | 3 | DESCRIPTION="Ebuild using deprecated EAPI command" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | 8 | src_install() { 9 | dohtml doc/* 10 | } 11 | -------------------------------------------------------------------------------- /testdata/repos/standalone/CatBadlyFormedXml/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | Don't use raw & in XML. 5 | 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/CatBadlyFormedXml/stub/stub-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub package to populate category" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/CatInvalidXml/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | Category with invalid XML field failing schema validation. 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/CatInvalidXml/stub/stub-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub package to populate category" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/CatMetadataXmlEmptyElement/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/CatMetadataXmlEmptyElement/stub/stub-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub package to populate category" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/CatMetadataXmlIndentation/stub/stub-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub package to populate category" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/CatMetadataXmlInvalidCatRef/stub/stub-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub package to populate category" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/CatMetadataXmlInvalidPkgRef/stub/stub-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub package to populate category" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with invalid BDEPEND" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | BDEPEND="stub1" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with invalid DEPEND" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | DEPEND="stub1" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with invalid PDEPEND" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | PDEPEND="stub1" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with invalid RDEPEND" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | RDEPEND="stub1" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with missing package revision in dependency" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | RDEPEND="=stub/stub1-0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DependencyCheck/MissingUseDepDefault/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | stub 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with unstated IUSE in depsets" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | RDEPEND="used? ( stub/stub1 )" 8 | DEPEND="stub/stub4[used?]" 9 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-0.ebuild: -------------------------------------------------------------------------------- 1 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 2 | LICENSE="BSD" 3 | SLOT="0" 4 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-2.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="bad desc" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DescriptionCheck/BadDescription/BadDescription-3.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="BadDescription" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with dropped keywords" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="~amd64 ~x86" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with dropped keywords" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="~amd64" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EapiCheck/BannedEapi/BannedEapi-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=1 2 | 3 | DESCRIPTION="Ebuild using banned EAPI" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=5 2 | 3 | DESCRIPTION="Ebuild using deprecated EAPI" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EclassManualDepsCheck/RubyMissingDeps/RubyMissingDeps-1.ebuild: -------------------------------------------------------------------------------- 1 | RUBY_OPTIONAL=1 2 | 3 | inherit ruby-ng 4 | 5 | DESCRIPTION="Optional inherit without dep" 6 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 7 | LICENSE="BSD" 8 | SLOT="0" 9 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-0.ebuild: -------------------------------------------------------------------------------- 1 | inherit cargo 2 | 3 | DESCRIPTION="Normal non-optional inherit" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | CARGO_OPTIONAL=1 4 | 5 | inherit cargo 6 | 7 | DESCRIPTION="Optional inherit without deps" 8 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 9 | LICENSE="BSD" 10 | SLOT="0" 11 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-2.ebuild: -------------------------------------------------------------------------------- 1 | inherit rust 2 | 3 | DESCRIPTION="Normal non-optional inherit" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-3.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | RUST_OPTIONAL=1 4 | 5 | inherit rust 6 | 7 | DESCRIPTION="Optional inherit without deps" 8 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 9 | LICENSE="BSD" 10 | SLOT="0" 11 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EclassManualDepsCheck/RustMissingDeps/RustMissingDeps-4.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | RUST_OPTIONAL=1 4 | 5 | inherit cargo 6 | 7 | DESCRIPTION="Optional inherit without deps" 8 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 9 | LICENSE="BSD" 10 | SLOT="0" 11 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild: -------------------------------------------------------------------------------- 1 | inherit stub vcs stub 2 | 3 | DESCRIPTION="Ebuild with duplicate eclass inherit" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EendMissingArgCheck/EendMissingArg/EendMissingArg-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=8 2 | 3 | DESCRIPTION="Ebuild calling eend without an argument" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | 8 | src_install() { 9 | ebegin "installing" 10 | eend 11 | } 12 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuilds that have equal versions" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuilds that have equal versions" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuilds that have equal versions" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuilds that have equal versions" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/GlobalUseCheck/PotentialGlobalUse/PotentialGlobalUse-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with potential global USE flag" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="potential-global" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/GlobalUseCheck/PotentialGlobalUse/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | potential global flag 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/GlobalUseCheck/PotentialLocalUse/PotentialLocalUse-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with potential local USE flag" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="potential-local" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with missing HOMEPAGE" 2 | LICENSE="BSD" 3 | SLOT="0" 4 | -------------------------------------------------------------------------------- /testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild HOMEPAGE with missing protocol" 2 | HOMEPAGE="github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-2.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild HOMEPAGE with unsupported protocol" 2 | HOMEPAGE="gopher://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-3.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild uses unspecific HOMEPAGE" 2 | HOMEPAGE="https://www.gentoo.org" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid USE flags" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="used +flag1 -flag2 + -" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=4 2 | 3 | DESCRIPTION="Ebuild with invalid USE flags" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | IUSE="used +flag1 +flag2 + -" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=4 2 | 3 | DESCRIPTION="Ebuild with unknown USE flags" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | IUSE="amd64 used flag1 +flag2 +flag3" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with bad KEYWORDS" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="-*" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with duplicate KEYWORDS" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="~amd64 ~amd64" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with overlapping KEYWORDS" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="amd64 ~amd64" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with unknown KEYWORDS" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="amd64 unknown" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with unsorted KEYWORDS" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="~x86 ~amd64" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid LICENSE" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="( )" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid LICENSE" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="?" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid LICENSE" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="used?" 4 | SLOT="0" 5 | IUSE="used" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LicenseCheck/MissingLicense/MissingLicense-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild missing LICENSE" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SLOT="0" 4 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with missing license restricts" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="eula" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with missing license restricts" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" 4 | LICENSE="eula" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LicenseCheck/UnknownLicense/UnknownLicense-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with unknown license" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="unknown" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with unstated USE flags in LICENSE" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="used? ( BSD )" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LocalUseCheck/MatchingGlobalUse/MatchingGlobalUse-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild has local USE flag matching a global" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="matching probable used" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LocalUseCheck/MissingLocalUseDesc/MissingLocalUseDesc-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with local USE flags missing descriptions in metadata.xml" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="empty whitespace" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LocalUseCheck/ProbableGlobalUse/ProbableGlobalUse-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild has local USE flag closely matching a global" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="used matching probable" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LocalUseCheck/ProbableUseExpand/ProbableUseExpand-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild has local USE flag closely matching USE_EXPAND" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="local use_expand_probable" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild has underscore in local USE flag" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="foo_bar" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/LocalUseCheck/UnusedLocalUse/UnusedLocalUse-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild has unused local USE flag in metadata.xml" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/ManifestCheck/DeprecatedChksum/DeprecatedChksum-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with manifest entry using deprecated checksums" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/ManifestCheck/InvalidManifest/InvalidManifest-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid manifest" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/ManifestCheck/InvalidManifest/Manifest: -------------------------------------------------------------------------------- 1 | DIST InvalidManifest-0.tar.gz foobar 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/ManifestCheck/MissingChksum/Manifest: -------------------------------------------------------------------------------- 1 | DIST MissingChksum-0.tar.gz 1598683 RMD160 14ad37420733f950b8f7640c2e7f0b3fe593af89 SHA1 cc0a48d81d090ec90e134afba4b9e700a5843f09 SHA256 9673c23d09783a526d09d54327f2ea32dfff053629411939cfca223fe690d36d 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/ManifestCheck/MissingChksum/MissingChksum-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with manifest entry using missing required checksums" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/ManifestCheck/MissingManifest/MissingManifest-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with missing manifest for a fetchable" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/ManifestCheck/UnknownManifest/UnknownManifest-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with manifest entry for unknown fetchable" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/ManifestCheck/UnnecessaryManifest/UnnecessaryManifest-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with unnecessary manifest entry" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with manifest entry colliding with another package" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/ManifestCollisionCheck/MatchingChksums/MatchingChksums-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with manifest entry colliding with another package" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/foo1.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/MetadataVarCheck/MultipleKeywordsLines/MultipleKeywordsLines-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild specifying KEYWORDS across multiple lines in global scope" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS=" 6 | ~amd64 7 | ~x86 8 | " 9 | -------------------------------------------------------------------------------- /testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with variable in KEYWORDS" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | ARCH="~x86" 6 | KEYWORDS="~amd64 ${ARCH}" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-2.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with variable in LICENSE" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | MY_LICENSE="BSD" 4 | LICENSE="${MY_LICENSE}" 5 | LICENSE="${LICENSE} BSD" 6 | SLOT="0" 7 | KEYWORDS="~amd64 ~x86" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-3.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with variable in LICENSE" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | MY_LICENSE="BSD" 4 | LICENSE="" 5 | LICENSE+="${MY_LICENSE}" 6 | SLOT="0" 7 | KEYWORDS="~amd64 ~x86" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/MetadataVarCheck/ReferenceInMetadataVar/ReferenceInMetadataVar-4.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with variable in LICENSE" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | LICENSE="${LICENSE} ${LICENSE/B/B}" 5 | SLOT="0" 6 | KEYWORDS="~amd64 ~x86" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/MetadataVarCheck/StaticSrcUri/StaticSrcUri-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with static values of dynamica variables in SRC_URI" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/StaticSrcUri-0.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with dependency missing a slot dep" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | RDEPEND="stub/slotted" 8 | DEPEND="${RDEPEND}" 9 | -------------------------------------------------------------------------------- /testdata/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild missing unpacker dependency" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.zip" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PackageMetadataXmlCheck/InvalidRemoteID/InvalidRemoteID-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with metadata.xml failing remote-id validation" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/PkgBadlyFormedXml-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid XML in metadata.xml" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/PkgInvalidXml-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with metadata.xml failing schema validation" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/PkgMetadataXmlEmptyElement-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with metadata.xml that has an empty element" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/PkgMetadataXmlIndentation-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild has with inconsistent indentation in metadata.xml" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/PkgMetadataXmlInvalidCatRef-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with metadata.xml using an invalid category reference" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/PkgMetadataXmlInvalidPkgRef-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with metadata.xml using an invalid pkg reference" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/RedundantLongDescription-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with redundant metadata.xml longdescription" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PkgDirCheck/DuplicateFiles/DuplicateFiles-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Two or more identical files in FILESDIR" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PkgDirCheck/DuplicateFiles/files/1: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PkgDirCheck/DuplicateFiles/files/2: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PkgDirCheck/EmptyFile/EmptyFile-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="File in FILESDIR is empty" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PkgDirCheck/EmptyFile/files/empty: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgcore/pkgcheck/f942207e55dcca60b156638e0f516b58d0fd5f00/testdata/repos/standalone/PkgDirCheck/EmptyFile/files/empty -------------------------------------------------------------------------------- /testdata/repos/standalone/PkgDirCheck/ExecutableFile/ExecutableFile-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="File has executable bit, but doesn't need it" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PkgDirCheck/ExecutableFile/files/executable: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PkgDirCheck/InvalidPN/InvalidPN.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuilds that have invalid package names" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuilds that have different names than their parent directory" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/UnknownPkgDirEntry-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Unknown file in package dir is ignored" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/foo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgcore/pkgcheck/f942207e55dcca60b156638e0f516b58d0fd5f00/testdata/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/foo -------------------------------------------------------------------------------- /testdata/repos/standalone/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid PROPERTIES" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="used" 6 | PROPERTIES="!used ( interactive )" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with unknown PROPERTIES" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | PROPERTIES="foo" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with unstated USE flags in PROPERTIES" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | PROPERTIES="used? ( interactive )" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=4 2 | DESCRIPTION="Ebuild with invalid REQUIRED_USE" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | REQUIRED_USE="|| ( )" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=4 2 | DESCRIPTION="Ebuild with invalid REQUIRED_USE" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | REQUIRED_USE="?" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=4 2 | DESCRIPTION="Ebuild with invalid REQUIRED_USE" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | IUSE="required" 7 | REQUIRED_USE="required?" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=4 2 | 3 | DESCRIPTION="Ebuild with unstated USE flag in REQUIRED_USE" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | IUSE="required" 8 | REQUIRED_USE="|| ( required used )" 9 | -------------------------------------------------------------------------------- /testdata/repos/standalone/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid RESTRICT" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="used" 6 | RESTRICT="!used ( test )" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with unknown RESTRICT" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | RESTRICT="foo" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with unstated USE flags in RESTRICT" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | RESTRICT="used? ( mirror )" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with missing conditional test RESTRICT" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="test" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=9999 2 | DESCRIPTION="Ebuild using unsupported EAPI" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI="invalid!" 2 | DESCRIPTION="Ebuild using invalid EAPI" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid SLOT" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="?" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid SLOT" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0/1" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | DESCRIPTION="Ebuild with invalid SLOT" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0/-1" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | DESCRIPTION="Ebuild with invalid SLOT" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0/foo?" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | DESCRIPTION="Ebuild with empty SLOT" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-5.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | DESCRIPTION="Ebuild with missing SLOT" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SourcingCheck/SourcingError/SourcingError-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with bash sourcing error" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | foo 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid SRC_URI" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="?" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid SRC_URI" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="( )" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with invalid SRC_URI" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz/" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SrcUriCheck/MissingUri/MissingUri-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild lacking full URI without RESTRICT=fetch set" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="${P}.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with reundant rename in SRC_URI" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz -> ${P}.tar.gz" 6 | LICENSE="BSD" 7 | SLOT="0" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with reundant rename in SRC_URI" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | SRC_URI="mirror://used/pkgcore/pkgcheck/${P}.tar.gz -> ${P}.tar.gz" 6 | LICENSE="BSD" 7 | SLOT="0" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with unstated USE flags in SRC_URI" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="used? ( https://github.com/pkgcore/pkgcheck/${P}.tar.gz )" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="SLOT 0 is release only" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-1.9999.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=8 2 | 3 | DESCRIPTION="SLOT 1 is fine" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="1" 7 | PROPERTIES="live" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=8 2 | 3 | DESCRIPTION="SLOT 1 is fine" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="1" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=8 2 | 3 | DESCRIPTION="SLOT 2 is not fine" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="2" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.9999.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="SLOT 2 is not fine" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="2" 7 | PROPERTIES="live" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-2.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="SLOT 2 is not fine" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="2" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="SLOT 3 is not fine" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.9999.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="SLOT 3 is not fine" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3" 7 | PROPERTIES="live" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-3.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=8 2 | 3 | DESCRIPTION="SLOT 3 is not fine" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="3" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/StaleLiveCheck/StaleLiveEAPI/StaleLiveEAPI-4.9999.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=8 2 | 3 | DESCRIPTION="SLOT 4 is live only" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="4" 7 | PROPERTIES="live" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/VariableOrderCheck/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with nonexistent conditional dep" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | DEPEND="|| ( stub/stub1 stub/stub2 cat/nonexistent )" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild: -------------------------------------------------------------------------------- 1 | inherit vcs 2 | 3 | DESCRIPTION="VCS ebuild with keywords" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | KEYWORDS="amd64" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild: -------------------------------------------------------------------------------- 1 | inherit vcs 2 | 3 | DESCRIPTION="VCS ebuild with keywords" 4 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 5 | LICENSE="BSD" 6 | SLOT="0" 7 | KEYWORDS="~x86" 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/WhitespaceCheck/DoubleEmptyLine/DoubleEmptyLine-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild has unneeded empty lines" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | 4 | 5 | LICENSE="BSD" 6 | SLOT="0" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/WhitespaceCheck/NoFinalNewline/NoFinalNewline-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild lacks an ending newline" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" -------------------------------------------------------------------------------- /testdata/repos/standalone/WhitespaceCheck/TrailingEmptyLine/TrailingEmptyLine-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild has a trailing empty line" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/app-arch/unzip/unzip-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub unzip package to suppress NonexistentDeps results" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/dev-lang/ruby/ruby-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/dev-lang/rust-bin/rust-bin-1.81.0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="${PV}" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/dev-lang/rust-bin/rust-bin-1.82.0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="${PV}" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/dev-lang/rust/rust-1.81.0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="${PV}" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/dev-lang/rust/rust-1.82.0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="${PV}" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/dev-ruby/stub/stub-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/eclass/cargo.eclass: -------------------------------------------------------------------------------- 1 | # cargo eclass 2 | 3 | if [[ -n ${CARGO_OPTIONAL} ]]; then 4 | RUST_OPTIONAL=1 5 | fi 6 | 7 | inherit rust 8 | 9 | CARGO_CRATE_URIS=${CRATES} 10 | 11 | cargo_crate_uris() { :; } 12 | -------------------------------------------------------------------------------- /testdata/repos/standalone/eclass/ruby-ng.eclass: -------------------------------------------------------------------------------- 1 | # ruby-ng eclass 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/eclass/rust.eclass: -------------------------------------------------------------------------------- 1 | # rust eclass 2 | 3 | RUST_DEPEND=" 4 | || ( 5 | dev-lang/rust-bin:1.82.0 6 | dev-lang/rust:1.82.0 7 | dev-lang/rust-bin:1.81.0 8 | dev-lang/rust:1.81.0 9 | ) 10 | " 11 | -------------------------------------------------------------------------------- /testdata/repos/standalone/eclass/stub.eclass: -------------------------------------------------------------------------------- 1 | # stub eclass 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/eclass/unused.eclass: -------------------------------------------------------------------------------- 1 | # unused 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/eclass/vcs.eclass: -------------------------------------------------------------------------------- 1 | PROPERTIES+=" live" 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/licenses/BSD: -------------------------------------------------------------------------------- 1 | ../../../../LICENSE -------------------------------------------------------------------------------- /testdata/repos/standalone/licenses/eula: -------------------------------------------------------------------------------- 1 | # stub EULA license 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/licenses/unused: -------------------------------------------------------------------------------- 1 | # stub unused license 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/metadata/layout.conf: -------------------------------------------------------------------------------- 1 | masters = 2 | cache-formats = 3 | thin-manifests = true 4 | eapis-banned = 1 5 | eapis-deprecated = 5 6 | properties-allowed = interactive live 7 | restrict-allowed = bindist fetch mirror test 8 | manifest-hashes = BLAKE2B SHA1 SHA512 WHIRLPOOL 9 | -------------------------------------------------------------------------------- /testdata/repos/standalone/metadata/stubs: -------------------------------------------------------------------------------- 1 | app-arch/unzip 2 | test/ConflictingChksums 3 | test/MatchingChksums 4 | virtual/UnnecessaryLicense 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/profiles/arch.list: -------------------------------------------------------------------------------- 1 | amd64 2 | x86 3 | -------------------------------------------------------------------------------- /testdata/repos/standalone/profiles/default/amd64/make.defaults: -------------------------------------------------------------------------------- 1 | ARCH="amd64" 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/profiles/default/x86/make.defaults: -------------------------------------------------------------------------------- 1 | ARCH="x86" 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/profiles/desc/elibc.desc: -------------------------------------------------------------------------------- 1 | glibc - ELIBC setting for systems that use the GNU C library 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/profiles/desc/use_expand.desc: -------------------------------------------------------------------------------- 1 | unused - unused USE_EXPAND stub flag 2 | used - used USE_EXPAND stub flag 3 | -------------------------------------------------------------------------------- /testdata/repos/standalone/profiles/license_groups: -------------------------------------------------------------------------------- 1 | GROUP BSD unknown 2 | EULA eula 3 | -------------------------------------------------------------------------------- /testdata/repos/standalone/profiles/package.deprecated: -------------------------------------------------------------------------------- 1 | virtual/VirtualWithSingleProvider5 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/profiles/profiles.desc: -------------------------------------------------------------------------------- 1 | amd64 default/amd64 stable 2 | x86 default/x86 stable 3 | -------------------------------------------------------------------------------- /testdata/repos/standalone/profiles/repo_name: -------------------------------------------------------------------------------- 1 | standalone 2 | -------------------------------------------------------------------------------- /testdata/repos/standalone/profiles/thirdpartymirrors: -------------------------------------------------------------------------------- 1 | used https://used.mirror 2 | unused https://unused.mirror 3 | -------------------------------------------------------------------------------- /testdata/repos/standalone/profiles/use.desc: -------------------------------------------------------------------------------- 1 | used - used global flag 2 | unused - unused global flag 3 | matching - matching global flag 4 | potential-local - potential local use flag 5 | probable - probable global flag 6 | test - enable tests 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/potential-global1/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | potential global flag 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/potential-global1/potential-global1-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="potential-global" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/potential-global2/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | potential global flag 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/potential-global2/potential-global2-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="potential-global" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/potential-global3/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | potential global flag 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/potential-global3/potential-global3-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="potential-global" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/potential-global4/metadata.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | potential global flag 6 | 7 | 8 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/potential-global4/potential-global4-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="potential-global" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/slotted/slotted-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild with different SLOTs" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/slotted/slotted-1.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild with different SLOTs" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="1" 5 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/stub1/stub1-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="matching probable test used use_expand_used" 6 | RESTRICT="!test? ( test )" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/stub2/stub2-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="matching probable test used" 6 | RESTRICT="!test? ( test )" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/stub3/stub3-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="matching probable test used" 6 | RESTRICT="!test? ( test )" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/stub/stub4/stub4-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | IUSE="matching probable test used" 6 | RESTRICT="!test? ( test )" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/test/ConflictingChksums/ConflictingChksums-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with manifest entry colliding with another package" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/test/MatchingChksums/MatchingChksums-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with manifest entry colliding with another package" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | SRC_URI="https://github.com/pkgcore/pkgcheck/foo2.tar.gz" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Ebuild with unnecessary LICENSE" 2 | LICENSE="BSD" 3 | SLOT="0" 4 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithBdepend/VirtualWithBdepend-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with unnecessary DEPEND" 4 | SLOT="0" 5 | 6 | BDEPEND="stub/stub1" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithBdepend/VirtualWithBdepend-1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with unnecessary DEPEND" 4 | SLOT="0" 5 | 6 | RDEPEND="|| ( 7 | stub/stub1 8 | stub/stub2 9 | ) 10 | " 11 | BDEPEND="${RDEPEND}" 12 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithDepend/VirtualWithDepend-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with unnecessary DEPEND" 4 | SLOT="0" 5 | 6 | DEPEND="stub/stub1" 7 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithDepend/VirtualWithDepend-1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Ebuild with unnecessary DEPEND" 4 | SLOT="0" 5 | 6 | RDEPEND="|| ( 7 | stub/stub1 8 | stub/stub2 9 | ) 10 | " 11 | DEPEND="${RDEPEND}" 12 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithSingleProvider1/VirtualWithSingleProvider1-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Good virtual with 2 providers" 4 | SLOT="0" 5 | 6 | RDEPEND="|| ( 7 | stub/stub1 8 | stub/stub2 9 | ) 10 | " 11 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithSingleProvider2/VirtualWithSingleProvider2-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Good virtual with 1 provider but different use combinations" 4 | SLOT="0" 5 | 6 | RDEPEND="|| ( 7 | stub/stub1[matching] 8 | stub/stub1[probable] 9 | ) 10 | " 11 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithSingleProvider3/VirtualWithSingleProvider3-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Good virtual with 1 different provider across versions" 4 | SLOT="0" 5 | 6 | RDEPEND=" 7 | stub/stub1 8 | " 9 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithSingleProvider3/VirtualWithSingleProvider3-1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Good virtual with 1 different provider across versions" 4 | SLOT="0" 5 | 6 | RDEPEND=" 7 | stub/stub2 8 | " 9 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithSingleProvider4/VirtualWithSingleProvider4-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Redundant virtual with 1 provider" 4 | SLOT="1" 5 | 6 | RDEPEND=" 7 | stub/slotted:${SLOT} 8 | " 9 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithSingleProvider4/VirtualWithSingleProvider4-1.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Redundant virtual with 1 provider" 4 | SLOT="1" 5 | 6 | RDEPEND=" 7 | stub/slotted:${SLOT} 8 | " 9 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithSingleProvider5/VirtualWithSingleProvider5-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="Good virtual with 2 providers" 4 | SLOT="0" 5 | 6 | RDEPEND=" 7 | stub/stub1 8 | " 9 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/VirtualWithSingleProvider6/VirtualWithSingleProvider6-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | 3 | DESCRIPTION="virtual with 1 provider, but behind special use flags" 4 | SLOT="0" 5 | IUSE="elibc_glibc" 6 | 7 | RDEPEND=" 8 | !elibc_glibc? ( stub/stub1 ) 9 | " 10 | -------------------------------------------------------------------------------- /testdata/repos/standalone/virtual/rubygems/rubygems-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild" 2 | SLOT="0" 3 | -------------------------------------------------------------------------------- /testdata/repos/visibility/DeprecatedDep/nonoptional/nonoptional-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | DESCRIPTION="Ebuild with deprecated dep" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | KEYWORDS="~amd64" 7 | RDEPEND="stub/deprecated:0" 8 | -------------------------------------------------------------------------------- /testdata/repos/visibility/NonsolvableDepsInDev/masked/masked-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | DESCRIPTION="Ebuild with masked nonsolvable dep" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | KEYWORDS="~amd64" 7 | DEPEND="stub/masked" 8 | -------------------------------------------------------------------------------- /testdata/repos/visibility/NonsolvableDepsInExp/masked/masked-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | DESCRIPTION="Ebuild with masked nonsolvable dep" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | KEYWORDS="~amd64" 7 | DEPEND="stub/masked" 8 | -------------------------------------------------------------------------------- /testdata/repos/visibility/NonsolvableDepsInStable/masked/masked-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | DESCRIPTION="Ebuild with masked nonsolvable dep" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | KEYWORDS="amd64" 7 | DEPEND="stub/masked" 8 | -------------------------------------------------------------------------------- /testdata/repos/visibility/NonsolvableDepsInStable/unstable/unstable-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | DESCRIPTION="Ebuild with unstable nonsolvable dep" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | LICENSE="BSD" 5 | SLOT="0" 6 | KEYWORDS="amd64" 7 | DEPEND="stub/unstable" 8 | -------------------------------------------------------------------------------- /testdata/repos/visibility/VisibilityCheck/OldPackageName/OldPackageName-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | DESCRIPTION="Ebuild with pkgmoved name" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | SLOT="0" 5 | LICENSE="BSD" 6 | KEYWORDS="~amd64" 7 | -------------------------------------------------------------------------------- /testdata/repos/visibility/VisibilityCheck/OldPackageNameDep/OldPackageNameDep-0.ebuild: -------------------------------------------------------------------------------- 1 | EAPI=7 2 | DESCRIPTION="Ebuild with pkgmoved dep" 3 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 4 | SLOT="0" 5 | LICENSE="BSD" 6 | KEYWORDS="~amd64" 7 | 8 | RDEPEND="!VisibilityCheck/OldPackageName" 9 | -------------------------------------------------------------------------------- /testdata/repos/visibility/licenses/BSD: -------------------------------------------------------------------------------- 1 | ../../../../LICENSE -------------------------------------------------------------------------------- /testdata/repos/visibility/metadata/layout.conf: -------------------------------------------------------------------------------- 1 | masters = 2 | cache-formats = 3 | thin-manifests = true 4 | -------------------------------------------------------------------------------- /testdata/repos/visibility/metadata/pkgcheck-args: -------------------------------------------------------------------------------- 1 | -p all 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/arch.list: -------------------------------------------------------------------------------- 1 | amd64 2 | x86 3 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/arch/amd64/make.defaults: -------------------------------------------------------------------------------- 1 | ARCH="amd64" 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/arch/x86/make.defaults: -------------------------------------------------------------------------------- 1 | ARCH="x86" 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/categories: -------------------------------------------------------------------------------- 1 | DependencyMoved 2 | DeprecatedDep 3 | NonsolvableDepsInDev 4 | NonsolvableDepsInExp 5 | NonsolvableDepsInStable 6 | stub 7 | UncheckableDep 8 | VisibilityCheck 9 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/eapi: -------------------------------------------------------------------------------- 1 | 5 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/package.deprecated: -------------------------------------------------------------------------------- 1 | stub/deprecated:0 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/package.mask: -------------------------------------------------------------------------------- 1 | stub/masked 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/profiles.desc: -------------------------------------------------------------------------------- 1 | amd64 visibility/amd64/stable stable 2 | amd64 visibility/amd64/dev dev 3 | amd64 visibility/amd64/exp exp 4 | x86 visibility/x86/stable stable 5 | x86 visibility/x86/dev dev 6 | x86 visibility/x86/exp exp 7 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/repo_name: -------------------------------------------------------------------------------- 1 | visibility 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/updates/1Q-2024: -------------------------------------------------------------------------------- 1 | move stub/old-name stub/stable 2 | move VisibilityCheck/OldPackageName stub/random-pkgname 3 | move <=stub/old-name-1.2.3.4 stub/stable 4 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/amd64/dev/package.mask: -------------------------------------------------------------------------------- 1 | NonsolvableDepsInExp/masked 2 | NonsolvableDepsInStable/masked 3 | NonsolvableDepsInStable/unstable 4 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/amd64/dev/parent: -------------------------------------------------------------------------------- 1 | .. 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/amd64/exp/package.mask: -------------------------------------------------------------------------------- 1 | NonsolvableDepsInDev/masked 2 | NonsolvableDepsInStable/masked 3 | NonsolvableDepsInStable/unstable 4 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/amd64/exp/parent: -------------------------------------------------------------------------------- 1 | .. 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/amd64/parent: -------------------------------------------------------------------------------- 1 | ../../arch/amd64 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/amd64/stable/package.mask: -------------------------------------------------------------------------------- 1 | NonsolvableDepsInDev/masked 2 | NonsolvableDepsInExp/masked 3 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/amd64/stable/parent: -------------------------------------------------------------------------------- 1 | .. 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/x86/dev/package.mask: -------------------------------------------------------------------------------- 1 | NonsolvableDepsInExp/masked 2 | NonsolvableDepsInStable/masked 3 | NonsolvableDepsInStable/unstable 4 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/x86/dev/parent: -------------------------------------------------------------------------------- 1 | .. 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/x86/exp/package.mask: -------------------------------------------------------------------------------- 1 | NonsolvableDepsInDev/masked 2 | NonsolvableDepsInStable/masked 3 | NonsolvableDepsInStable/unstable 4 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/x86/exp/parent: -------------------------------------------------------------------------------- 1 | .. 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/x86/parent: -------------------------------------------------------------------------------- 1 | ../../arch/x86 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/x86/stable/package.mask: -------------------------------------------------------------------------------- 1 | NonsolvableDepsInDev/masked 2 | NonsolvableDepsInExp/masked 3 | -------------------------------------------------------------------------------- /testdata/repos/visibility/profiles/visibility/x86/stable/parent: -------------------------------------------------------------------------------- 1 | .. 2 | -------------------------------------------------------------------------------- /testdata/repos/visibility/stub/deprecated/deprecated-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild that is deprecated" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="amd64 x86" 6 | -------------------------------------------------------------------------------- /testdata/repos/visibility/stub/masked/masked-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild that is package.mask-ed" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="amd64 x86" 6 | -------------------------------------------------------------------------------- /testdata/repos/visibility/stub/stable/stable-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild that is stable" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="amd64 x86" 6 | -------------------------------------------------------------------------------- /testdata/repos/visibility/stub/unstable/unstable-0.ebuild: -------------------------------------------------------------------------------- 1 | DESCRIPTION="Stub ebuild that is unstable" 2 | HOMEPAGE="https://github.com/pkgcore/pkgcheck" 3 | LICENSE="BSD" 4 | SLOT="0" 5 | KEYWORDS="~amd64 ~x86" 6 | -------------------------------------------------------------------------------- /tests/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgcore/pkgcheck/f942207e55dcca60b156638e0f516b58d0fd5f00/tests/__init__.py -------------------------------------------------------------------------------- /tests/addons/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgcore/pkgcheck/f942207e55dcca60b156638e0f516b58d0fd5f00/tests/addons/__init__.py -------------------------------------------------------------------------------- /tests/checks/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgcore/pkgcheck/f942207e55dcca60b156638e0f516b58d0fd5f00/tests/checks/__init__.py -------------------------------------------------------------------------------- /tests/scripts/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/pkgcore/pkgcheck/f942207e55dcca60b156638e0f516b58d0fd5f00/tests/scripts/__init__.py --------------------------------------------------------------------------------