diff options
author | Tim Harder <radhermit@gmail.com> | 2021-03-04 00:00:25 -0700 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2021-03-04 00:29:33 -0700 |
commit | 1d3dda7932900725c3174974e78b3bc10c5088b5 (patch) | |
tree | ed0c564b6e558c044f56bdf95a59178e76e71537 /tests | |
parent | various tox and github workflow updates from pkgdev (diff) | |
download | pkgcheck-1d3dda7932900725c3174974e78b3bc10c5088b5.tar.gz pkgcheck-1d3dda7932900725c3174974e78b3bc10c5088b5.tar.bz2 pkgcheck-1d3dda7932900725c3174974e78b3bc10c5088b5.zip |
move test data to a separate repo root dir
To make pytest happier when running on it's own since it prefers tests
in a root-level dir.
Diffstat (limited to 'tests')
830 files changed, 12 insertions, 4814 deletions
diff --git a/tests/module/__init__.py b/tests/__init__.py index e69de29b..e69de29b 100644 --- a/tests/module/__init__.py +++ b/tests/__init__.py diff --git a/tests/module/addons/__init__.py b/tests/addons/__init__.py index e69de29b..e69de29b 100644 --- a/tests/module/addons/__init__.py +++ b/tests/addons/__init__.py diff --git a/tests/module/addons/test_addons.py b/tests/addons/test_addons.py index 6defe1dd..6defe1dd 100644 --- a/tests/module/addons/test_addons.py +++ b/tests/addons/test_addons.py diff --git a/tests/module/addons/test_eclass.py b/tests/addons/test_eclass.py index 890c2e00..890c2e00 100644 --- a/tests/module/addons/test_eclass.py +++ b/tests/addons/test_eclass.py diff --git a/tests/module/addons/test_git.py b/tests/addons/test_git.py index 5a3b3bd0..5a3b3bd0 100644 --- a/tests/module/addons/test_git.py +++ b/tests/addons/test_git.py diff --git a/tests/module/checks/__init__.py b/tests/checks/__init__.py index e69de29b..e69de29b 100644 --- a/tests/module/checks/__init__.py +++ b/tests/checks/__init__.py diff --git a/tests/module/checks/test_acct.py b/tests/checks/test_acct.py index 1f52b564..1f52b564 100644 --- a/tests/module/checks/test_acct.py +++ b/tests/checks/test_acct.py diff --git a/tests/module/checks/test_all.py b/tests/checks/test_all.py index be828bfd..be828bfd 100644 --- a/tests/module/checks/test_all.py +++ b/tests/checks/test_all.py diff --git a/tests/module/checks/test_cleanup.py b/tests/checks/test_cleanup.py index b5ff075d..b5ff075d 100644 --- a/tests/module/checks/test_cleanup.py +++ b/tests/checks/test_cleanup.py diff --git a/tests/module/checks/test_codingstyle.py b/tests/checks/test_codingstyle.py index 958976d3..958976d3 100644 --- a/tests/module/checks/test_codingstyle.py +++ b/tests/checks/test_codingstyle.py diff --git a/tests/module/checks/test_dropped_keywords.py b/tests/checks/test_dropped_keywords.py index 6b070919..6b070919 100644 --- a/tests/module/checks/test_dropped_keywords.py +++ b/tests/checks/test_dropped_keywords.py diff --git a/tests/module/checks/test_git.py b/tests/checks/test_git.py index 728c84e2..728c84e2 100644 --- a/tests/module/checks/test_git.py +++ b/tests/checks/test_git.py diff --git a/tests/module/checks/test_glsa.py b/tests/checks/test_glsa.py index c3182be1..c3182be1 100644 --- a/tests/module/checks/test_glsa.py +++ b/tests/checks/test_glsa.py diff --git a/tests/module/checks/test_header.py b/tests/checks/test_header.py index 492c3d8c..492c3d8c 100644 --- a/tests/module/checks/test_header.py +++ b/tests/checks/test_header.py diff --git a/tests/module/checks/test_imlate.py b/tests/checks/test_imlate.py index 3c0f44f8..3c0f44f8 100644 --- a/tests/module/checks/test_imlate.py +++ b/tests/checks/test_imlate.py diff --git a/tests/module/checks/test_metadata.py b/tests/checks/test_metadata.py index 03084289..03084289 100644 --- a/tests/module/checks/test_metadata.py +++ b/tests/checks/test_metadata.py diff --git a/tests/module/checks/test_network.py b/tests/checks/test_network.py index f82e994a..eb184522 100644 --- a/tests/module/checks/test_network.py +++ b/tests/checks/test_network.py @@ -23,9 +23,8 @@ requests = pytest.importorskip('requests') class TestNetworkChecks: - testdir = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) - repos_data = pjoin(testdir, 'data', 'repos') - repos_dir = pjoin(testdir, 'repos') + repos_data = pjoin(pytest.REPO_ROOT, 'testdata', 'data', 'repos') + repos_dir = pjoin(pytest.REPO_ROOT, 'testdata', 'repos') @pytest.fixture(autouse=True) def _setup(self, testconfig, tmp_path): diff --git a/tests/module/checks/test_perl.py b/tests/checks/test_perl.py index b9c25578..b9c25578 100644 --- a/tests/module/checks/test_perl.py +++ b/tests/checks/test_perl.py diff --git a/tests/module/checks/test_pkgdir.py b/tests/checks/test_pkgdir.py index 7297527f..7297527f 100644 --- a/tests/module/checks/test_pkgdir.py +++ b/tests/checks/test_pkgdir.py diff --git a/tests/module/checks/test_python.py b/tests/checks/test_python.py index 411fff7f..411fff7f 100644 --- a/tests/module/checks/test_python.py +++ b/tests/checks/test_python.py diff --git a/tests/module/checks/test_repo.py b/tests/checks/test_repo.py index cd685a52..cd685a52 100644 --- a/tests/module/checks/test_repo.py +++ b/tests/checks/test_repo.py diff --git a/tests/module/checks/test_repo_metadata.py b/tests/checks/test_repo_metadata.py index 2221e283..2221e283 100644 --- a/tests/module/checks/test_repo_metadata.py +++ b/tests/checks/test_repo_metadata.py diff --git a/tests/module/checks/test_stablereq.py b/tests/checks/test_stablereq.py index bf52ba60..bf52ba60 100644 --- a/tests/module/checks/test_stablereq.py +++ b/tests/checks/test_stablereq.py diff --git a/tests/module/checks/test_whitespace.py b/tests/checks/test_whitespace.py index bc61998c..bc61998c 100644 --- a/tests/module/checks/test_whitespace.py +++ b/tests/checks/test_whitespace.py diff --git a/tests/module/conftest.py b/tests/conftest.py index c4e43e71..0a1838cd 100644 --- a/tests/module/conftest.py +++ b/tests/conftest.py @@ -14,6 +14,12 @@ from snakeoil.formatters import PlainTextFormatter from snakeoil.osutils import pjoin pytest_plugins = ['pkgcore'] +REPO_ROOT = os.path.dirname(os.path.dirname(__file__)) + + +def pytest_configure(): + # export repo root for test modules to use + pytest.REPO_ROOT = REPO_ROOT def pytest_assertrepr_compare(op, left, right): @@ -56,7 +62,7 @@ def testconfig(tmp_path_factory): config = tmp_path_factory.mktemp('testconfig') repos_conf = config / 'repos.conf' stubrepo = pjoin(pkgcore_const.DATA_PATH, 'stubrepo') - testdir = pjoin(os.path.dirname(os.path.dirname(__file__)), 'repos') + testdir = pjoin(REPO_ROOT, 'testdata', 'repos') with open(repos_conf, 'w') as f: f.write(textwrap.dedent(f"""\ [DEFAULT] diff --git a/tests/data/repos/eclass/EapiCheck/UnsupportedEclassEapi/expected.json b/tests/data/repos/eclass/EapiCheck/UnsupportedEclassEapi/expected.json deleted file mode 100644 index fb8fd51f..00000000 --- a/tests/data/repos/eclass/EapiCheck/UnsupportedEclassEapi/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnsupportedEclassEapi", "category": "EapiCheck", "package": "UnsupportedEclassEapi", "version": "0", "eapi": "5", "eclass": "stub"} diff --git a/tests/data/repos/eclass/EapiCheck/UnsupportedEclassEapi/fix.patch b/tests/data/repos/eclass/EapiCheck/UnsupportedEclassEapi/fix.patch deleted file mode 100644 index d90d3c18..00000000 --- a/tests/data/repos/eclass/EapiCheck/UnsupportedEclassEapi/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur eclass/EapiCheck/UnsupportedEclassEapi/UnsupportedEclassEapi-0.ebuild fixed/EapiCheck/UnsupportedEclassEapi/UnsupportedEclassEapi-0.ebuild ---- eclass/EapiCheck/UnsupportedEclassEapi/UnsupportedEclassEapi-0.ebuild 2020-11-23 14:46:17.796410079 -0700 -+++ fixed/EapiCheck/UnsupportedEclassEapi/UnsupportedEclassEapi-0.ebuild 2020-11-23 14:48:31.215334207 -0700 -@@ -1,4 +1,4 @@ --EAPI=5 -+EAPI=7 - - inherit stub - diff --git a/tests/data/repos/eclass/EclassCheck/EclassBashSyntaxError/expected.json b/tests/data/repos/eclass/EclassCheck/EclassBashSyntaxError/expected.json deleted file mode 100644 index 526338b9..00000000 --- a/tests/data/repos/eclass/EclassCheck/EclassBashSyntaxError/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EclassBashSyntaxError", "eclass": "bad", "lineno": "12", "error": "syntax error: unexpected end of file"} diff --git a/tests/data/repos/eclass/EclassCheck/EclassBashSyntaxError/fix.patch b/tests/data/repos/eclass/EclassCheck/EclassBashSyntaxError/fix.patch deleted file mode 100644 index 7f7655e1..00000000 --- a/tests/data/repos/eclass/EclassCheck/EclassBashSyntaxError/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur eclass/eclass/bad.eclass fixed/eclass/bad.eclass ---- eclass/eclass/bad.eclass 2020-11-23 20:18:19.820785272 -0700 -+++ fixed/eclass/bad.eclass 2020-11-23 20:18:47.337385963 -0700 -@@ -8,4 +8,4 @@ - # @USAGE: - # @DESCRIPTION: - # Public stub function. --bad_public_function() { : } -+bad_public_function() { :; } diff --git a/tests/data/repos/eclass/EclassCheck/EclassDocError/expected.json b/tests/data/repos/eclass/EclassCheck/EclassDocError/expected.json deleted file mode 100644 index 586e4996..00000000 --- a/tests/data/repos/eclass/EclassCheck/EclassDocError/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EclassDocError", "eclass": "no-maintainer", "error": "'@ECLASS: no-maintainer.eclass': missing tag: '@MAINTAINER:'"} diff --git a/tests/data/repos/eclass/EclassCheck/EclassDocError/fix.patch b/tests/data/repos/eclass/EclassCheck/EclassDocError/fix.patch deleted file mode 100644 index e2281fe8..00000000 --- a/tests/data/repos/eclass/EclassCheck/EclassDocError/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur eclass/eclass/no-maintainer.eclass fixed/eclass/no-maintainer.eclass ---- eclass/eclass/no-maintainer.eclass 2020-11-24 02:13:39.405830997 -0700 -+++ fixed/eclass/no-maintainer.eclass 2020-11-24 02:15:16.000937293 -0700 -@@ -1,3 +1,5 @@ - # @ECLASS: no-maintainer.eclass -+# @MAINTAINER: -+# Random Person <maintainer@random.email> - # @SUPPORTED_EAPIS: 6 7 - # @BLURB: Stub eclass with no maintainer for testing the EclassDocError result. diff --git a/tests/data/repos/eclass/EclassCheck/EclassDocMissingFunc/expected.json b/tests/data/repos/eclass/EclassCheck/EclassDocMissingFunc/expected.json deleted file mode 100644 index b0b5c781..00000000 --- a/tests/data/repos/eclass/EclassCheck/EclassDocMissingFunc/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EclassDocMissingFunc", "eclass": "missing-docs", "functions": ["missing-docs_public_func"]} diff --git a/tests/data/repos/eclass/EclassCheck/EclassDocMissingFunc/fix.patch b/tests/data/repos/eclass/EclassCheck/EclassDocMissingFunc/fix.patch deleted file mode 100644 index a20982ef..00000000 --- a/tests/data/repos/eclass/EclassCheck/EclassDocMissingFunc/fix.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -Naur eclass/eclass/missing-docs.eclass fixed/eclass/missing-docs.eclass ---- eclass/eclass/missing-docs.eclass 2020-11-24 02:09:50.259835420 -0700 -+++ fixed/eclass/missing-docs.eclass 2020-11-24 02:12:01.756701701 -0700 -@@ -10,6 +10,10 @@ - # Public documented stub function. - missing-docs_documented_func() { :; } - -+# @FUNCTION: missing-docs_public_func -+# @USAGE: -+# @DESCRIPTION: -+# Public stub function. - missing-docs_public_func() { :; } - - MISSING_DOCS_PUBLIC_VAR="" diff --git a/tests/data/repos/eclass/EclassCheck/EclassDocMissingVar/expected.json b/tests/data/repos/eclass/EclassCheck/EclassDocMissingVar/expected.json deleted file mode 100644 index 1d5f6cba..00000000 --- a/tests/data/repos/eclass/EclassCheck/EclassDocMissingVar/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EclassDocMissingVar", "eclass": "missing-docs", "variables": ["MISSING_DOCS_PUBLIC_VAR"]} diff --git a/tests/data/repos/eclass/EclassCheck/EclassDocMissingVar/fix.patch b/tests/data/repos/eclass/EclassCheck/EclassDocMissingVar/fix.patch deleted file mode 100644 index dccf1178..00000000 --- a/tests/data/repos/eclass/EclassCheck/EclassDocMissingVar/fix.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Naur eclass/eclass/missing-docs.eclass fixed/eclass/missing-docs.eclass ---- eclass/eclass/missing-docs.eclass 2020-11-24 02:09:50.259835420 -0700 -+++ fixed/eclass/missing-docs.eclass 2020-11-24 02:13:08.172149921 -0700 -@@ -12,4 +12,7 @@ - - missing-docs_public_func() { :; } - -+# @ECLASS-VARIABLE: MISSING_DOCS_PUBLIC_VAR -+# @DESCRIPTION: -+# Public stub variable. - MISSING_DOCS_PUBLIC_VAR="" -diff -Naur eclass/eclass/missing-docs.eclass.orig fixed/eclass/missing-docs.eclass.orig ---- eclass/eclass/missing-docs.eclass.orig 1969-12-31 17:00:00.000000000 -0700 -+++ fixed/eclass/missing-docs.eclass.orig 2020-11-24 02:09:50.259835420 -0700 -@@ -0,0 +1,15 @@ -+# @ECLASS: missing-docs.eclass -+# @MAINTAINER: -+# Random Person <maintainer@random.email> -+# @SUPPORTED_EAPIS: 6 7 -+# @BLURB: Stub eclass with missing function and variable documentation. -+ -+# @FUNCTION: missing-docs_documented_func -+# @USAGE: -+# @DESCRIPTION: -+# Public documented stub function. -+missing-docs_documented_func() { :; } -+ -+missing-docs_public_func() { :; } -+ -+MISSING_DOCS_PUBLIC_VAR="" diff --git a/tests/data/repos/eclass/EclassUsageCheck/DeprecatedEclass/expected.json b/tests/data/repos/eclass/EclassUsageCheck/DeprecatedEclass/expected.json deleted file mode 100644 index 325bf67d..00000000 --- a/tests/data/repos/eclass/EclassUsageCheck/DeprecatedEclass/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "DeprecatedEclass", "category": "EclassUsageCheck", "package": "DeprecatedEclass", "version": "0", "eclass": "deprecated", "replacement": null} -{"__class__": "DeprecatedEclass", "category": "EclassUsageCheck", "package": "DeprecatedEclass", "version": "1", "eclass": "deprecated2", "replacement": "replacement"} diff --git a/tests/data/repos/eclass/EclassUsageCheck/DeprecatedEclass/fix.patch b/tests/data/repos/eclass/EclassUsageCheck/DeprecatedEclass/fix.patch deleted file mode 100644 index 8ec4ec4d..00000000 --- a/tests/data/repos/eclass/EclassUsageCheck/DeprecatedEclass/fix.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Naur eclass/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-0.ebuild fixed/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-0.ebuild ---- eclass/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-0.ebuild 2020-12-13 14:24:10.527824478 -0700 -+++ fixed/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-0.ebuild 2020-12-13 14:26:04.809323123 -0700 -@@ -1,10 +1,5 @@ - EAPI=7 --inherit deprecated - DESCRIPTION="Ebuild with deprecated eclass usage" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -- --src_prepare() { -- deprecated_public_func --} -diff -Naur eclass/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-1.ebuild fixed/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-1.ebuild ---- eclass/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-1.ebuild 2020-12-13 14:24:10.527824478 -0700 -+++ fixed/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-1.ebuild 2020-12-13 14:26:18.767628307 -0700 -@@ -1,10 +1,10 @@ - EAPI=7 --inherit deprecated2 -+inherit replacement - DESCRIPTION="Ebuild with deprecated eclass usage" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" - - src_prepare() { -- deprecated2_public_func -+ replacement_public_func - } diff --git a/tests/data/repos/eclass/EclassUsageCheck/MisplacedEclassVar/expected.json b/tests/data/repos/eclass/EclassUsageCheck/MisplacedEclassVar/expected.json deleted file mode 100644 index e58bd7e5..00000000 --- a/tests/data/repos/eclass/EclassUsageCheck/MisplacedEclassVar/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MisplacedEclassVar", "category": "EclassUsageCheck", "package": "MisplacedEclassVar", "version": "0", "line": "PRE_INHERIT_VAR=\"foo\"", "lineno": 10, "variable": "PRE_INHERIT_VAR"} diff --git a/tests/data/repos/eclass/EclassUsageCheck/MisplacedEclassVar/fix.patch b/tests/data/repos/eclass/EclassUsageCheck/MisplacedEclassVar/fix.patch deleted file mode 100644 index 765db87a..00000000 --- a/tests/data/repos/eclass/EclassUsageCheck/MisplacedEclassVar/fix.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Naur eclass/EclassUsageCheck/MisplacedEclassVar/MisplacedEclassVar-0.ebuild fixed/EclassUsageCheck/MisplacedEclassVar/MisplacedEclassVar-0.ebuild ---- eclass/EclassUsageCheck/MisplacedEclassVar/MisplacedEclassVar-0.ebuild 2020-12-13 13:49:51.919809557 -0700 -+++ fixed/EclassUsageCheck/MisplacedEclassVar/MisplacedEclassVar-0.ebuild 2020-12-13 13:56:39.659723346 -0700 -@@ -1,10 +1,9 @@ - EAPI=7 - -+PRE_INHERIT_VAR="foo" - inherit pre-inherit - - DESCRIPTION="Ebuild with misplaced pre-inherit eclass variable" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -- --PRE_INHERIT_VAR="foo" diff --git a/tests/data/repos/eclass/InheritsCheck/InternalEclassUsage/expected.json b/tests/data/repos/eclass/InheritsCheck/InternalEclassUsage/expected.json deleted file mode 100644 index 7169e3cd..00000000 --- a/tests/data/repos/eclass/InheritsCheck/InternalEclassUsage/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "InternalEclassUsage", "category": "InheritsCheck", "package": "InternalEclassUsage", "version": "0", "eclass": "inherit", "lineno": 12, "usage": "_inherit_internal_func"} diff --git a/tests/data/repos/eclass/InheritsCheck/InternalEclassUsage/fix.patch b/tests/data/repos/eclass/InheritsCheck/InternalEclassUsage/fix.patch deleted file mode 100644 index 3aa20add..00000000 --- a/tests/data/repos/eclass/InheritsCheck/InternalEclassUsage/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur eclass/InheritsCheck/InternalEclassUsage/InternalEclassUsage-0.ebuild fixed/InheritsCheck/InternalEclassUsage/InternalEclassUsage-0.ebuild ---- eclass/InheritsCheck/InternalEclassUsage/InternalEclassUsage-0.ebuild 2020-11-23 19:13:14.699563473 -0700 -+++ fixed/InheritsCheck/InternalEclassUsage/InternalEclassUsage-0.ebuild 2020-11-23 19:13:52.534388878 -0700 -@@ -9,5 +9,4 @@ - - src_prepare() { - inherit_public_func -- _inherit_internal_func - } diff --git a/tests/data/repos/eclass/InheritsCheck/MissingInherits/expected.json b/tests/data/repos/eclass/InheritsCheck/MissingInherits/expected.json deleted file mode 100644 index 775eff69..00000000 --- a/tests/data/repos/eclass/InheritsCheck/MissingInherits/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MissingInherits", "category": "InheritsCheck", "package": "MissingInherits", "version": "0", "eclass": "inherit", "lineno": 9, "usage": "inherit_public_func"} diff --git a/tests/data/repos/eclass/InheritsCheck/MissingInherits/fix.patch b/tests/data/repos/eclass/InheritsCheck/MissingInherits/fix.patch deleted file mode 100644 index 58324bee..00000000 --- a/tests/data/repos/eclass/InheritsCheck/MissingInherits/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur eclass/InheritsCheck/MissingInherits/MissingInherits-0.ebuild fixed/InheritsCheck/MissingInherits/MissingInherits-0.ebuild ---- eclass/InheritsCheck/MissingInherits/MissingInherits-0.ebuild 2020-11-23 19:52:15.485639639 -0700 -+++ fixed/InheritsCheck/MissingInherits/MissingInherits-0.ebuild 2020-11-23 20:00:27.389375988 -0700 -@@ -1,5 +1,7 @@ - EAPI=7 - -+inherit inherit -+ - DESCRIPTION="Ebuild missing an eclass inherit" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" diff --git a/tests/data/repos/eclass/InheritsCheck/UnusedInherits/expected.json b/tests/data/repos/eclass/InheritsCheck/UnusedInherits/expected.json deleted file mode 100644 index 8eb18059..00000000 --- a/tests/data/repos/eclass/InheritsCheck/UnusedInherits/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedInherits", "category": "InheritsCheck", "package": "UnusedInherits", "version": "0", "eclasses": ["unused"]} diff --git a/tests/data/repos/eclass/InheritsCheck/UnusedInherits/fix.patch b/tests/data/repos/eclass/InheritsCheck/UnusedInherits/fix.patch deleted file mode 100644 index f30bd02c..00000000 --- a/tests/data/repos/eclass/InheritsCheck/UnusedInherits/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur eclass/InheritsCheck/UnusedInherits/UnusedInherits-0.ebuild fixed/InheritsCheck/UnusedInherits/UnusedInherits-0.ebuild ---- eclass/InheritsCheck/UnusedInherits/UnusedInherits-0.ebuild 2020-11-23 19:33:59.985731662 -0700 -+++ fixed/InheritsCheck/UnusedInherits/UnusedInherits-0.ebuild 2020-11-23 19:35:32.489750140 -0700 -@@ -1,6 +1,6 @@ - EAPI=7 - --inherit inherit unused -+inherit inherit - - DESCRIPTION="Ebuild inheriting an unused eclass" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" diff --git a/tests/data/repos/gentoo/CategoryMetadataXmlCheck/CatMissingMetadataXml/expected.json b/tests/data/repos/gentoo/CategoryMetadataXmlCheck/CatMissingMetadataXml/expected.json deleted file mode 100644 index d8ee903d..00000000 --- a/tests/data/repos/gentoo/CategoryMetadataXmlCheck/CatMissingMetadataXml/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "CatMissingMetadataXml", "category": "CatMissingMetadataXml", "filename": "metadata.xml"} diff --git a/tests/data/repos/gentoo/CategoryMetadataXmlCheck/CatMissingMetadataXml/fix.patch b/tests/data/repos/gentoo/CategoryMetadataXmlCheck/CatMissingMetadataXml/fix.patch deleted file mode 100644 index 3de2991d..00000000 --- a/tests/data/repos/gentoo/CategoryMetadataXmlCheck/CatMissingMetadataXml/fix.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur gentoo/CatMissingMetadataXml/metadata.xml fixed/CatMissingMetadataXml/metadata.xml ---- gentoo/CatMissingMetadataXml/metadata.xml 1969-12-31 17:00:00.000000000 -0700 -+++ fixed/CatMissingMetadataXml/metadata.xml 2019-08-26 10:27:28.164725014 -0600 -@@ -0,0 +1,4 @@ -+<?xml version="1.0" encoding="UTF-8"?> -+<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -+<catmetadata> -+</catmetadata> diff --git a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/expected.json b/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/expected.json deleted file mode 100644 index 4d635a36..00000000 --- a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EbuildInvalidCopyright", "category": "EbuildHeaderCheck", "package": "EbuildInvalidCopyright", "version": "0", "line": "# Invalid copyright"} diff --git a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/fix.patch b/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/fix.patch deleted file mode 100644 index 67ff97ae..00000000 --- a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/EbuildInvalidCopyright-0.ebuild fixed/EbuildHeaderCheck/EbuildInvalidCopyright/EbuildInvalidCopyright-0.ebuild ---- gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/EbuildInvalidCopyright-0.ebuild 2019-09-14 16:07:50.141255904 -0600 -+++ fixed/EbuildHeaderCheck/EbuildInvalidCopyright/EbuildInvalidCopyright-0.ebuild 2019-09-14 16:16:05.713160938 -0600 -@@ -1,4 +1,4 @@ --# Invalid copyright -+# Copyright 1999-2019 Gentoo Authors - # Distributed under the terms of the GNU General Public License v2 - - DESCRIPTION="Ebuild with an invalid copyright header" diff --git a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/expected.json b/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/expected.json deleted file mode 100644 index 088347be..00000000 --- a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "EbuildInvalidLicenseHeader", "category": "EbuildHeaderCheck", "package": "EbuildInvalidLicenseHeader", "version": "0", "line": "# Distributed under the terms of the GNU General Public License v3"} -{"__class__": "EbuildInvalidLicenseHeader", "category": "EbuildHeaderCheck", "package": "EbuildInvalidLicenseHeader", "version": "1", "line": ""} diff --git a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/fix.patch b/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/fix.patch deleted file mode 100644 index a010c6b5..00000000 --- a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -Naur gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-0.ebuild fixed/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-0.ebuild ---- gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-0.ebuild 2020-07-04 04:01:46.890309842 -0600 -+++ fixed/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-0.ebuild 2020-11-29 02:06:10.431299658 -0700 -@@ -1,5 +1,5 @@ - # Copyright 1999-2019 Gentoo Authors --# Distributed under the terms of the GNU General Public License v3 -+# Distributed under the terms of the GNU General Public License v2 - - DESCRIPTION="Ebuild with invalid license header" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" -diff -Naur gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-1.ebuild fixed/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-1.ebuild ---- gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-1.ebuild 2020-11-29 02:00:07.646501695 -0700 -+++ fixed/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-1.ebuild 2020-11-29 02:06:25.867631454 -0700 -@@ -1,4 +1,5 @@ - # Copyright 1999-2019 Gentoo Authors -+# Distributed under the terms of the GNU General Public License v2 - - DESCRIPTION="Ebuild with invalid license header" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" diff --git a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/expected.json b/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/expected.json deleted file mode 100644 index 7470b117..00000000 --- a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EbuildNonGentooAuthorsCopyright", "category": "EbuildHeaderCheck", "package": "EbuildNonGentooAuthorsCopyright", "version": "0", "line": "# Copyright 1999-2019 Random Person"} diff --git a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/fix.patch b/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/fix.patch deleted file mode 100644 index 1e83b7a4..00000000 --- a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/EbuildNonGentooAuthorsCopyright-0.ebuild fixed/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/EbuildNonGentooAuthorsCopyright-0.ebuild ---- gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/EbuildNonGentooAuthorsCopyright-0.ebuild 2019-09-14 16:12:03.488229816 -0600 -+++ fixed/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/EbuildNonGentooAuthorsCopyright-0.ebuild 2019-09-14 16:17:37.351513204 -0600 -@@ -1,4 +1,4 @@ --# Copyright 1999-2019 Random Person -+# Copyright 1999-2019 Gentoo Authors - # Distributed under the terms of the GNU General Public License v2 - - DESCRIPTION="Ebuild with non-Gentoo copyright header" diff --git a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/expected.json b/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/expected.json deleted file mode 100644 index f8908244..00000000 --- a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EbuildOldGentooCopyright", "category": "EbuildHeaderCheck", "package": "EbuildOldGentooCopyright", "version": "0", "line": "# Copyright 1999-2019 Gentoo Foundation"} diff --git a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/fix.patch b/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/fix.patch deleted file mode 100644 index 4c34fa7a..00000000 --- a/tests/data/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/EbuildOldGentooCopyright-0.ebuild fixed/EbuildHeaderCheck/EbuildOldGentooCopyright/EbuildOldGentooCopyright-0.ebuild ---- gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/EbuildOldGentooCopyright-0.ebuild 2019-09-14 16:10:32.585880396 -0600 -+++ fixed/EbuildHeaderCheck/EbuildOldGentooCopyright/EbuildOldGentooCopyright-0.ebuild 2019-09-14 16:18:07.890630610 -0600 -@@ -1,4 +1,4 @@ --# Copyright 1999-2019 Gentoo Foundation -+# Copyright 1999-2019 Gentoo Authors - # Distributed under the terms of the GNU General Public License v2 - - DESCRIPTION="Ebuild with old copyright header" diff --git a/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidCopyright/expected.json b/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidCopyright/expected.json deleted file mode 100644 index e9781ea8..00000000 --- a/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidCopyright/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EclassInvalidCopyright", "eclass": "invalid-copyright", "line": "# Invalid copyright"} diff --git a/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidCopyright/fix.patch b/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidCopyright/fix.patch deleted file mode 100644 index fd6a0b4d..00000000 --- a/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidCopyright/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur gentoo/eclass/invalid-copyright.eclass fixed/eclass/invalid-copyright.eclass ---- gentoo/eclass/invalid-copyright.eclass 2020-11-29 02:12:59.543093386 -0700 -+++ fixed/eclass/invalid-copyright.eclass 2020-11-29 02:23:04.196234125 -0700 -@@ -1,4 +1,4 @@ --# Invalid copyright -+# Copyright 1999-2020 Gentoo Authors - # Distributed under the terms of the GNU General Public License v2 - - # @ECLASS: invalid-copyright.eclass diff --git a/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidLicenseHeader/expected.json b/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidLicenseHeader/expected.json deleted file mode 100644 index 90d16cc3..00000000 --- a/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidLicenseHeader/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "EclassInvalidLicenseHeader", "eclass": "invalid-license-header", "line": "# Distributed under the terms of the GNU General Public License v3"} -{"__class__": "EclassInvalidLicenseHeader", "eclass": "missing-license-header", "line": ""} diff --git a/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidLicenseHeader/fix.patch b/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidLicenseHeader/fix.patch deleted file mode 100644 index 1799e25e..00000000 --- a/tests/data/repos/gentoo/EclassHeaderCheck/EclassInvalidLicenseHeader/fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -Naur gentoo/eclass/invalid-license-header.eclass fixed/eclass/invalid-license-header.eclass ---- gentoo/eclass/invalid-license-header.eclass 2020-11-29 02:26:25.548623382 -0700 -+++ fixed/eclass/invalid-license-header.eclass 2020-11-29 02:29:34.161734957 -0700 -@@ -1,5 +1,5 @@ - # Copyright 1999-2020 Gentoo Authors --# Distributed under the terms of the GNU General Public License v3 -+# Distributed under the terms of the GNU General Public License v2 - - # @ECLASS: invalid-license-header1.eclass - # @MAINTAINER: -diff -Naur gentoo/eclass/missing-license-header.eclass fixed/eclass/missing-license-header.eclass ---- gentoo/eclass/missing-license-header.eclass 2020-11-29 02:21:40.779415717 -0700 -+++ fixed/eclass/missing-license-header.eclass 2020-11-29 02:29:27.204583288 -0700 -@@ -1,4 +1,5 @@ - # Copyright 1999-2020 Gentoo Authors -+# Distributed under the terms of the GNU General Public License v2 - - # @ECLASS: missing-license-header.eclass - # @MAINTAINER: diff --git a/tests/data/repos/gentoo/EclassHeaderCheck/EclassNonGentooAuthorsCopyright/expected.json b/tests/data/repos/gentoo/EclassHeaderCheck/EclassNonGentooAuthorsCopyright/expected.json deleted file mode 100644 index 91cffbe4..00000000 --- a/tests/data/repos/gentoo/EclassHeaderCheck/EclassNonGentooAuthorsCopyright/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EclassNonGentooAuthorsCopyright", "eclass": "non-gentoo-copyright", "line": "# Copyright 1999-2020 Random Person"} diff --git a/tests/data/repos/gentoo/EclassHeaderCheck/EclassNonGentooAuthorsCopyright/fix.patch b/tests/data/repos/gentoo/EclassHeaderCheck/EclassNonGentooAuthorsCopyright/fix.patch deleted file mode 100644 index cd1ca36b..00000000 --- a/tests/data/repos/gentoo/EclassHeaderCheck/EclassNonGentooAuthorsCopyright/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur gentoo/eclass/non-gentoo-copyright.eclass fixed/eclass/non-gentoo-copyright.eclass ---- gentoo/eclass/non-gentoo-copyright.eclass 2020-11-29 02:19:02.210959109 -0700 -+++ fixed/eclass/non-gentoo-copyright.eclass 2020-11-29 02:24:13.912753879 -0700 -@@ -1,4 +1,4 @@ --# Copyright 1999-2020 Random Person -+# Copyright 1999-2020 Gentoo Authors - # Distributed under the terms of the GNU General Public License v2 - - # @ECLASS: non-gentoo-copyright.eclass diff --git a/tests/data/repos/gentoo/EclassHeaderCheck/EclassOldGentooCopyright/expected.json b/tests/data/repos/gentoo/EclassHeaderCheck/EclassOldGentooCopyright/expected.json deleted file mode 100644 index 420e0f8e..00000000 --- a/tests/data/repos/gentoo/EclassHeaderCheck/EclassOldGentooCopyright/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EclassOldGentooCopyright", "eclass": "old-gentoo-copyright", "line": "# Copyright 1999-2019 Gentoo Foundation"} diff --git a/tests/data/repos/gentoo/EclassHeaderCheck/EclassOldGentooCopyright/fix.patch b/tests/data/repos/gentoo/EclassHeaderCheck/EclassOldGentooCopyright/fix.patch deleted file mode 100644 index 6f273208..00000000 --- a/tests/data/repos/gentoo/EclassHeaderCheck/EclassOldGentooCopyright/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur gentoo/eclass/old-gentoo-copyright.eclass fixed/eclass/old-gentoo-copyright.eclass ---- gentoo/eclass/old-gentoo-copyright.eclass 2020-11-29 02:14:25.032930964 -0700 -+++ fixed/eclass/old-gentoo-copyright.eclass 2020-11-29 02:30:13.094583641 -0700 -@@ -1,4 +1,4 @@ --# Copyright 1999-2019 Gentoo Foundation -+# Copyright 1999-2019 Gentoo Authors - # Distributed under the terms of the GNU General Public License v2 - - # @ECLASS: old-gentoo-copyright.eclass diff --git a/tests/data/repos/gentoo/EmptyDirsCheck/EmptyCategoryDir/expected.json b/tests/data/repos/gentoo/EmptyDirsCheck/EmptyCategoryDir/expected.json deleted file mode 100644 index e56bf2c5..00000000 --- a/tests/data/repos/gentoo/EmptyDirsCheck/EmptyCategoryDir/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EmptyCategoryDir", "category": "EmptyCategoryDir"} diff --git a/tests/data/repos/gentoo/EmptyDirsCheck/EmptyCategoryDir/fix.patch b/tests/data/repos/gentoo/EmptyDirsCheck/EmptyCategoryDir/fix.patch deleted file mode 100644 index 413d2758..00000000 --- a/tests/data/repos/gentoo/EmptyDirsCheck/EmptyCategoryDir/fix.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naur gentoo/EmptyCategoryDir/metadata.xml fixed/EmptyCategoryDir/metadata.xml ---- gentoo/EmptyCategoryDir/metadata.xml 2019-09-28 17:30:51.177331471 -0600 -+++ fixed/EmptyCategoryDir/metadata.xml 1969-12-31 17:00:00.000000000 -0700 -@@ -1,4 +0,0 @@ --<?xml version="1.0" encoding="UTF-8"?> --<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> --<catmetadata> --</catmetadata> -diff -Naur gentoo/profiles/categories fixed/profiles/categories ---- gentoo/profiles/categories 2019-09-28 17:33:51.571072362 -0600 -+++ fixed/profiles/categories 2019-09-28 17:51:54.423489257 -0600 -@@ -1,6 +1,5 @@ - CatMissingMetadataXml - EbuildHeaderCheck --EmptyCategoryDir - EmptyDirsCheck - PackageMetadataXmlCheck - PkgDirCheck diff --git a/tests/data/repos/gentoo/EmptyDirsCheck/EmptyPackageDir/expected.json b/tests/data/repos/gentoo/EmptyDirsCheck/EmptyPackageDir/expected.json deleted file mode 100644 index 923cac19..00000000 --- a/tests/data/repos/gentoo/EmptyDirsCheck/EmptyPackageDir/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EmptyPackageDir", "category": "EmptyDirsCheck", "package": "EmptyPackageDir"} diff --git a/tests/data/repos/gentoo/EmptyDirsCheck/EmptyPackageDir/fix.patch b/tests/data/repos/gentoo/EmptyDirsCheck/EmptyPackageDir/fix.patch deleted file mode 100644 index 87c31b27..00000000 --- a/tests/data/repos/gentoo/EmptyDirsCheck/EmptyPackageDir/fix.patch +++ /dev/null @@ -1,29 +0,0 @@ -diff -Naur gentoo/EmptyDirsCheck/EmptyPackageDir/metadata.xml fixed/EmptyDirsCheck/EmptyPackageDir/metadata.xml ---- gentoo/EmptyDirsCheck/EmptyPackageDir/metadata.xml 2019-09-28 17:33:17.325931691 -0600 -+++ fixed/EmptyDirsCheck/EmptyPackageDir/metadata.xml 1969-12-31 17:00:00.000000000 -0700 -@@ -1,7 +0,0 @@ --<?xml version="1.0" encoding="UTF-8"?> --<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> --<pkgmetadata> -- <maintainer type="person"> -- <email>random.gentoo.dev@gentoo.org</email> -- </maintainer> --</pkgmetadata> -diff -Naur gentoo/EmptyDirsCheck/metadata.xml fixed/EmptyDirsCheck/metadata.xml ---- gentoo/EmptyDirsCheck/metadata.xml 2019-09-28 17:53:35.702892876 -0600 -+++ fixed/EmptyDirsCheck/metadata.xml 1969-12-31 17:00:00.000000000 -0700 -@@ -1,4 +0,0 @@ --<?xml version="1.0" encoding="UTF-8"?> --<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> --<catmetadata> --</catmetadata> -diff -Naur gentoo/profiles/categories fixed/profiles/categories ---- gentoo/profiles/categories 2019-09-28 17:33:51.571072362 -0600 -+++ fixed/profiles/categories 2019-09-28 17:53:56.403975375 -0600 -@@ -1,6 +1,5 @@ - CatMissingMetadataXml - EbuildHeaderCheck - EmptyCategoryDir --EmptyDirsCheck - PackageMetadataXmlCheck - PkgDirCheck diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/expected.json b/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/expected.json deleted file mode 100644 index d2bde67e..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "MaintainerNeeded", "category": "PackageMetadataXmlCheck", "package": "MaintainerNeeded", "filename": "metadata.xml", "needed": false} -{"__class__": "MaintainerNeeded", "category": "PackageMetadataXmlCheck", "package": "MaintainerNeeded2", "filename": "metadata.xml", "needed": true} diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/fix.patch b/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/fix.patch deleted file mode 100644 index 0343448f..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/fix.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -Naur gentoo/PackageMetadataXmlCheck/MaintainerNeeded/metadata.xml fixed/PackageMetadataXmlCheck/MaintainerNeeded/metadata.xml ---- gentoo/PackageMetadataXmlCheck/MaintainerNeeded/metadata.xml 2020-11-23 13:28:14.835791197 -0700 -+++ fixed/PackageMetadataXmlCheck/MaintainerNeeded/metadata.xml 2020-11-23 20:41:43.677447289 -0700 -@@ -1,4 +1,5 @@ - <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <pkgmetadata> -+<!-- maintainer-needed --> - </pkgmetadata> -diff -Naur gentoo/PackageMetadataXmlCheck/MaintainerNeeded2/metadata.xml fixed/PackageMetadataXmlCheck/MaintainerNeeded2/metadata.xml ---- gentoo/PackageMetadataXmlCheck/MaintainerNeeded2/metadata.xml 2020-11-23 20:39:13.513166614 -0700 -+++ fixed/PackageMetadataXmlCheck/MaintainerNeeded2/metadata.xml 2020-11-23 20:41:54.541684647 -0700 -@@ -1,7 +1,6 @@ - <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <pkgmetadata> -- <!-- maintainer-needed --> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/expected.json b/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/expected.json deleted file mode 100644 index 9bf43621..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MaintainerWithoutProxy", "category": "PackageMetadataXmlCheck", "package": "MaintainerWithoutProxy", "filename": "metadata.xml", "maintainers": ["non-gentoo-dev@email.com"]} diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/fix.patch b/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/fix.patch deleted file mode 100644 index 929e85dc..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/metadata.xml fixed/PackageMetadataXmlCheck/MaintainerWithoutProxy/metadata.xml ---- gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/metadata.xml 2019-08-24 11:05:24.707340529 -0600 -+++ fixed/PackageMetadataXmlCheck/MaintainerWithoutProxy/metadata.xml 2019-08-24 11:09:27.902970771 -0600 -@@ -4,4 +4,7 @@ - <maintainer type="person"> - <email>non-gentoo-dev@email.com</email> - </maintainer> -+ <maintainer type="person"> -+ <email>random-dev@gentoo.org</email> -+ </maintainer> - </pkgmetadata> diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/expected.json b/tests/data/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/expected.json deleted file mode 100644 index be0dda46..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "NonexistentProjectMaintainer", "category": "PackageMetadataXmlCheck", "package": "NonexistentProjectMaintainer", "filename": "metadata.xml", "emails": ["random.gentoo.dev@gentoo.org"]} diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/fix.patch b/tests/data/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/fix.patch deleted file mode 100644 index f303244e..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/metadata.xml fixed/PackageMetadataXmlCheck/NonexistentProjectMaintainer/metadata.xml ---- gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/metadata.xml 2020-11-23 20:56:52.455276615 -0700 -+++ fixed/PackageMetadataXmlCheck/NonexistentProjectMaintainer/metadata.xml 2020-11-23 20:58:32.783465361 -0700 -@@ -2,6 +2,6 @@ - <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <pkgmetadata> - <maintainer type="project"> -- <email>random.gentoo.dev@gentoo.org</email> -+ <email>stub.project@gentoo.org</email> - </maintainer> - </pkgmetadata> diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/expected.json b/tests/data/repos/gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/expected.json deleted file mode 100644 index 63e12a3e..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "PkgMissingMetadataXml", "category": "PackageMetadataXmlCheck", "package": "PkgMissingMetadataXml", "filename": "metadata.xml"} diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/fix.patch b/tests/data/repos/gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/fix.patch deleted file mode 100644 index 388c0d5e..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/metadata.xml fixed/PackageMetadataXmlCheck/PkgMissingMetadataXml/metadata.xml ---- gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/metadata.xml 1969-12-31 17:00:00.000000000 -0700 -+++ fixed/PackageMetadataXmlCheck/PkgMissingMetadataXml/metadata.xml 2019-08-26 10:24:32.698564815 -0600 -@@ -0,0 +1,7 @@ -+<?xml version="1.0" encoding="UTF-8"?> -+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -+<pkgmetadata> -+ <maintainer type="person"> -+ <email>random.gentoo.dev@gentoo.org</email> -+ </maintainer> -+</pkgmetadata> diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/expected.json b/tests/data/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/expected.json deleted file mode 100644 index e480751e..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "RedundantLongDescription", "category": "PackageMetadataXmlCheck", "package": "RedundantLongDescription", "msg": "metadata.xml longdescription is too short"} diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/fix.patch b/tests/data/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/fix.patch deleted file mode 100644 index cc391f7b..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur gentoo/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml fixed/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml ---- gentoo/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml 2020-01-25 20:15:23.263971596 -0700 -+++ fixed/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml 2020-01-25 20:15:55.499091459 -0700 -@@ -4,7 +4,4 @@ - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -- <longdescription> -- Long description that is too short. -- </longdescription> - </pkgmetadata> diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/expected.json b/tests/data/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/expected.json deleted file mode 100644 index 9a84bdf7..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "StaleProxyMaintProject", "category": "PackageMetadataXmlCheck", "package": "StaleProxyMaintProject", "filename": "metadata.xml"} diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/fix.patch b/tests/data/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/fix.patch deleted file mode 100644 index 5e1ee708..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/metadata.xml fixed/PackageMetadataXmlCheck/StaleProxyMaintProject/metadata.xml ---- gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/metadata.xml 2019-08-24 11:11:54.227951648 -0600 -+++ fixed/PackageMetadataXmlCheck/StaleProxyMaintProject/metadata.xml 2019-08-24 11:14:49.806128606 -0600 -@@ -1,7 +1,5 @@ - <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <pkgmetadata> -- <maintainer type="person"> -- <email>proxy-maint@gentoo.org</email> -- </maintainer> -+<!-- maintainer-needed --> - </pkgmetadata> diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/expected.json b/tests/data/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/expected.json deleted file mode 100644 index 466d2150..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "WrongMaintainerType", "category": "PackageMetadataXmlCheck", "package": "WrongMaintainerType", "filename": "metadata.xml", "emails": ["stub.project@gentoo.org"]} diff --git a/tests/data/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/fix.patch b/tests/data/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/fix.patch deleted file mode 100644 index 0c35d5a6..00000000 --- a/tests/data/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur gentoo/PackageMetadataXmlCheck/WrongMaintainerType/metadata.xml fixed/PackageMetadataXmlCheck/WrongMaintainerType/metadata.xml ---- gentoo/PackageMetadataXmlCheck/WrongMaintainerType/metadata.xml 2020-11-23 21:00:13.731667641 -0700 -+++ fixed/PackageMetadataXmlCheck/WrongMaintainerType/metadata.xml 2020-11-23 21:01:08.300856936 -0700 -@@ -1,7 +1,7 @@ - <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <pkgmetadata> -- <maintainer type="person"> -+ <maintainer type="project"> - <email>stub.project@gentoo.org</email> - </maintainer> - </pkgmetadata> diff --git a/tests/data/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/expected.json b/tests/data/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/expected.json deleted file mode 100644 index ff0513f3..00000000 --- a/tests/data/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnknownPkgDirEntry", "category": "PkgDirCheck", "package": "UnknownPkgDirEntry", "filenames": ["bar", "foo"]} diff --git a/tests/data/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/fix.sh b/tests/data/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/fix.sh deleted file mode 100755 index 1188c864..00000000 --- a/tests/data/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/fix.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -rm -rf PkgDirCheck/UnknownPkgDirEntry/{bar,foo} diff --git a/tests/data/repos/gentoo/RepoDirCheck/BinaryFile/expected.json b/tests/data/repos/gentoo/RepoDirCheck/BinaryFile/expected.json deleted file mode 100644 index 3b8a4e7b..00000000 --- a/tests/data/repos/gentoo/RepoDirCheck/BinaryFile/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "BinaryFile", "path": "bash"} diff --git a/tests/data/repos/gentoo/RepoDirCheck/BinaryFile/fix.sh b/tests/data/repos/gentoo/RepoDirCheck/BinaryFile/fix.sh deleted file mode 100755 index a9bf588e..00000000 --- a/tests/data/repos/gentoo/RepoDirCheck/BinaryFile/fix.sh +++ /dev/null @@ -1 +0,0 @@ -#!/bin/bash diff --git a/tests/data/repos/gentoo/RepoDirCheck/BinaryFile/trigger.sh b/tests/data/repos/gentoo/RepoDirCheck/BinaryFile/trigger.sh deleted file mode 100755 index 03dfa665..00000000 --- a/tests/data/repos/gentoo/RepoDirCheck/BinaryFile/trigger.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/bash - -cp $(type -P bash) ./ diff --git a/tests/data/repos/gentoo/RepoProfilesCheck/LaggingProfileEapi/expected.json b/tests/data/repos/gentoo/RepoProfilesCheck/LaggingProfileEapi/expected.json deleted file mode 100644 index 393dc9c4..00000000 --- a/tests/data/repos/gentoo/RepoProfilesCheck/LaggingProfileEapi/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "LaggingProfileEapi", "profile": "default/linux/lagging", "eapi": "0", "parent": "default/linux", "parent_eapi": "5"} diff --git a/tests/data/repos/gentoo/RepoProfilesCheck/LaggingProfileEapi/fix.patch b/tests/data/repos/gentoo/RepoProfilesCheck/LaggingProfileEapi/fix.patch deleted file mode 100644 index 29aaf9b9..00000000 --- a/tests/data/repos/gentoo/RepoProfilesCheck/LaggingProfileEapi/fix.patch +++ /dev/null @@ -1,5 +0,0 @@ -diff -Naur gentoo/profiles/default/linux/lagging/eapi fixed/profiles/default/linux/lagging/eapi ---- gentoo/profiles/default/linux/lagging/eapi 1969-12-31 17:00:00.000000000 -0700 -+++ fixed/profiles/default/linux/lagging/eapi 2019-11-11 14:49:10.641250918 -0700 -@@ -0,0 +1 @@ -+5 diff --git a/tests/data/repos/gentoo/RepoProfilesCheck/NonexistentCategories/expected.json b/tests/data/repos/gentoo/RepoProfilesCheck/NonexistentCategories/expected.json deleted file mode 100644 index 33220bc1..00000000 --- a/tests/data/repos/gentoo/RepoProfilesCheck/NonexistentCategories/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "NonexistentCategories", "categories": ["nonexistent"]} diff --git a/tests/data/repos/gentoo/RepoProfilesCheck/NonexistentCategories/fix.patch b/tests/data/repos/gentoo/RepoProfilesCheck/NonexistentCategories/fix.patch deleted file mode 100644 index debc5da7..00000000 --- a/tests/data/repos/gentoo/RepoProfilesCheck/NonexistentCategories/fix.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur gentoo/profiles/categories fixed/profiles/categories ---- gentoo/profiles/categories 2020-11-20 18:26:25.802515680 -0700 -+++ fixed/profiles/categories 2020-11-20 18:28:23.102064311 -0700 -@@ -6,4 +6,3 @@ - PackageMetadataXmlCheck - PkgDirCheck - UnstableOnlyCheck --nonexistent diff --git a/tests/data/repos/gentoo/RepoProfilesCheck/ProfileWarning/expected.json b/tests/data/repos/gentoo/RepoProfilesCheck/ProfileWarning/expected.json deleted file mode 100644 index 4b2a6330..00000000 --- a/tests/data/repos/gentoo/RepoProfilesCheck/ProfileWarning/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "ProfileWarning", "msg": "gentoo::profiles/profiles.desc, line 1: unknown profile status: 'unknown'"} diff --git a/tests/data/repos/gentoo/RepoProfilesCheck/ProfileWarning/fix.patch b/tests/data/repos/gentoo/RepoProfilesCheck/ProfileWarning/fix.patch deleted file mode 100644 index 09148ebf..00000000 --- a/tests/data/repos/gentoo/RepoProfilesCheck/ProfileWarning/fix.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff -Naur gentoo/profiles/profiles.desc fixed/profiles/profiles.desc ---- gentoo/profiles/profiles.desc 2019-08-25 03:46:25.164658101 -0600 -+++ fixed/profiles/profiles.desc 2019-08-25 03:50:43.467344966 -0600 -@@ -1 +1 @@ --amd64 default unknown -+amd64 default dev diff --git a/tests/data/repos/gentoo/RepoProfilesCheck/UnknownCategoryDirs/expected.json b/tests/data/repos/gentoo/RepoProfilesCheck/UnknownCategoryDirs/expected.json deleted file mode 100644 index d4c4bdf1..00000000 --- a/tests/data/repos/gentoo/RepoProfilesCheck/UnknownCategoryDirs/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnknownCategoryDirs", "dirs": ["unknown"]} diff --git a/tests/data/repos/gentoo/RepoProfilesCheck/UnknownCategoryDirs/fix.patch b/tests/data/repos/gentoo/RepoProfilesCheck/UnknownCategoryDirs/fix.patch deleted file mode 100644 index db124175..00000000 --- a/tests/data/repos/gentoo/RepoProfilesCheck/UnknownCategoryDirs/fix.patch +++ /dev/null @@ -1,7 +0,0 @@ -diff -Naur gentoo/profiles/categories fixed/profiles/categories ---- gentoo/profiles/categories 2019-08-26 11:54:09.183232467 -0600 -+++ fixed/profiles/categories 2019-08-26 11:55:49.101884403 -0600 -@@ -1,2 +1,3 @@ - CatMissingMetadataXml - PackageMetadataXmlCheck -+unknown diff --git a/tests/data/repos/gentoo/UnstableOnlyCheck/UnstableOnly/expected.json b/tests/data/repos/gentoo/UnstableOnlyCheck/UnstableOnly/expected.json deleted file mode 100644 index fa7e452d..00000000 --- a/tests/data/repos/gentoo/UnstableOnlyCheck/UnstableOnly/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnstableOnly", "category": "UnstableOnlyCheck", "package": "UnstableOnly", "versions": ["0"], "arches": ["amd64"]} diff --git a/tests/data/repos/gentoo/UnstableOnlyCheck/UnstableOnly/fix.patch b/tests/data/repos/gentoo/UnstableOnlyCheck/UnstableOnly/fix.patch deleted file mode 100644 index 3fb192ea..00000000 --- a/tests/data/repos/gentoo/UnstableOnlyCheck/UnstableOnly/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur gentoo/UnstableOnlyCheck/UnstableOnly/UnstableOnly-0.ebuild fixed/UnstableOnlyCheck/UnstableOnly/UnstableOnly-0.ebuild ---- gentoo/UnstableOnlyCheck/UnstableOnly/UnstableOnly-0.ebuild 2019-11-27 14:12:20.822822725 -0700 -+++ fixed/UnstableOnlyCheck/UnstableOnly/UnstableOnly-0.ebuild 2019-11-27 14:14:14.889324176 -0700 -@@ -5,4 +5,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --KEYWORDS="~amd64" -+KEYWORDS="amd64" diff --git a/tests/data/repos/network/FetchablesUrlCheck/DeadUrl/expected.json b/tests/data/repos/network/FetchablesUrlCheck/DeadUrl/expected.json deleted file mode 100644 index 4e582f41..00000000 --- a/tests/data/repos/network/FetchablesUrlCheck/DeadUrl/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "DeadUrl", "category": "FetchablesUrlCheck", "package": "DeadUrl", "version": "0", "attr": "SRC_URI", "url": "https://github.com/pkgcore/pkgcheck/foo.tar.gz", "message": "404 Client Error: Not Found for url: https://github.com/pkgcore/pkgcheck/foo.tar.gz"} diff --git a/tests/data/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/expected.json b/tests/data/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/expected.json deleted file mode 100644 index c3a0d1e2..00000000 --- a/tests/data/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "HttpsUrlAvailable", "category": "FetchablesUrlCheck", "package": "HttpsUrlAvailable", "version": "0", "attr": "SRC_URI", "url": "http://github.com/pkgcore/pkgcheck/foo.tar.gz", "new_url": "https://github.com/pkgcore/pkgcheck/foo.tar.gz"} diff --git a/tests/data/repos/network/FetchablesUrlCheck/RedirectedUrl/expected.json b/tests/data/repos/network/FetchablesUrlCheck/RedirectedUrl/expected.json deleted file mode 100644 index 3f3b0bc1..00000000 --- a/tests/data/repos/network/FetchablesUrlCheck/RedirectedUrl/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "RedirectedUrl", "category": "FetchablesUrlCheck", "package": "RedirectedUrl", "version": "0", "attr": "SRC_URI", "url": "https://github.com/pkgcore/pkgcheck/foo.tar.gz", "new_url": "https://github.com/pkgcore/pkgcheck/foo-moved.tar.gz"} diff --git a/tests/data/repos/network/FetchablesUrlCheck/SSLCertificateError/expected.json b/tests/data/repos/network/FetchablesUrlCheck/SSLCertificateError/expected.json deleted file mode 100644 index ef382f63..00000000 --- a/tests/data/repos/network/FetchablesUrlCheck/SSLCertificateError/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "SSLCertificateError", "category": "FetchablesUrlCheck", "package": "SSLCertificateError", "version": "0", "attr": "SRC_URI", "url": "https://github.com/pkgcore/pkgcheck/foo.tar.gz", "message": "Certificate verification failed"} diff --git a/tests/data/repos/network/HomepageUrlCheck/DeadUrl-connection-error/expected.json b/tests/data/repos/network/HomepageUrlCheck/DeadUrl-connection-error/expected.json deleted file mode 100644 index 17391f87..00000000 --- a/tests/data/repos/network/HomepageUrlCheck/DeadUrl-connection-error/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "DeadUrl", "category": "HomepageUrlCheck", "package": "DeadUrl-connection-error", "version": "0", "attr": "HOMEPAGE", "url": "https://github.com/pkgcore/pkgcheck", "message": "connection failed"} diff --git a/tests/data/repos/network/HomepageUrlCheck/DeadUrl/expected.json b/tests/data/repos/network/HomepageUrlCheck/DeadUrl/expected.json deleted file mode 100644 index b97a41b2..00000000 --- a/tests/data/repos/network/HomepageUrlCheck/DeadUrl/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__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"} diff --git a/tests/data/repos/network/HomepageUrlCheck/HttpsUrlAvailable/expected.json b/tests/data/repos/network/HomepageUrlCheck/HttpsUrlAvailable/expected.json deleted file mode 100644 index c911cb9f..00000000 --- a/tests/data/repos/network/HomepageUrlCheck/HttpsUrlAvailable/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "HttpsUrlAvailable", "category": "HomepageUrlCheck", "package": "HttpsUrlAvailable", "version": "0", "attr": "HOMEPAGE", "url": "http://github.com/pkgcore/pkgcheck", "new_url": "https://github.com/pkgcore/pkgcheck"} diff --git a/tests/data/repos/network/HomepageUrlCheck/RedirectedUrl/expected.json b/tests/data/repos/network/HomepageUrlCheck/RedirectedUrl/expected.json deleted file mode 100644 index 7d550095..00000000 --- a/tests/data/repos/network/HomepageUrlCheck/RedirectedUrl/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "RedirectedUrl", "category": "HomepageUrlCheck", "package": "RedirectedUrl", "version": "0", "attr": "HOMEPAGE", "url": "https://github.com/pkgcore/pkgcheck", "new_url": "https://github.com/pkgcore/pkgcheck-moved"} diff --git a/tests/data/repos/network/HomepageUrlCheck/SSLCertificateError/expected.json b/tests/data/repos/network/HomepageUrlCheck/SSLCertificateError/expected.json deleted file mode 100644 index 61bb1c58..00000000 --- a/tests/data/repos/network/HomepageUrlCheck/SSLCertificateError/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "SSLCertificateError", "category": "HomepageUrlCheck", "package": "SSLCertificateError", "version": "0", "attr": "HOMEPAGE", "url": "https://github.com/pkgcore/pkgcheck", "message": "Certificate verification failed"} diff --git a/tests/data/repos/network/MetadataUrlCheck/DeadUrl/expected.json b/tests/data/repos/network/MetadataUrlCheck/DeadUrl/expected.json deleted file mode 100644 index c49b1387..00000000 --- a/tests/data/repos/network/MetadataUrlCheck/DeadUrl/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "DeadUrl", "category": "MetadataUrlCheck", "package": "DeadUrl", "version": "0", "attr": "metadata.xml: remote-id", "url": "https://github.com/pkgcore/pkgcheck", "message": "404 Client Error: Not Found for url: https://github.com/pkgcore/pkgcheck"} diff --git a/tests/data/repos/network/MetadataUrlCheck/HttpsUrlAvailable/expected.json b/tests/data/repos/network/MetadataUrlCheck/HttpsUrlAvailable/expected.json deleted file mode 100644 index 05154574..00000000 --- a/tests/data/repos/network/MetadataUrlCheck/HttpsUrlAvailable/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "HttpsUrlAvailable", "category": "MetadataUrlCheck", "package": "HttpsUrlAvailable", "version": "0", "attr": "metadata.xml: bugs-to", "url": "http://github.com/pkgcore/pkgcheck/issues/", "new_url": "https://github.com/pkgcore/pkgcheck/issues/"} diff --git a/tests/data/repos/network/MetadataUrlCheck/RedirectedUrl/expected.json b/tests/data/repos/network/MetadataUrlCheck/RedirectedUrl/expected.json deleted file mode 100644 index 789b87d2..00000000 --- a/tests/data/repos/network/MetadataUrlCheck/RedirectedUrl/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "RedirectedUrl", "category": "MetadataUrlCheck", "package": "RedirectedUrl", "version": "0", "attr": "metadata.xml: changelog", "url": "https://github.com/pkgcore/pkgcheck/changelog", "new_url": "https://github.com/pkgcore/pkgcheck/news"} diff --git a/tests/data/repos/network/MetadataUrlCheck/SSLCertificateError/expected.json b/tests/data/repos/network/MetadataUrlCheck/SSLCertificateError/expected.json deleted file mode 100644 index 70252929..00000000 --- a/tests/data/repos/network/MetadataUrlCheck/SSLCertificateError/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "SSLCertificateError", "category": "MetadataUrlCheck", "package": "SSLCertificateError", "version": "0", "attr": "metadata.xml: doc", "url": "https://pkgcore.github.io/pkgcheck/", "message": "Certificate verification failed"} diff --git a/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersEclasses/expected.json b/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersEclasses/expected.json deleted file mode 100644 index e6c55b25..00000000 --- a/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersEclasses/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedInMastersEclasses", "category": "UnusedInMastersCheck", "package": "UnusedInMastersEclasses", "version": "0", "eclasses": ["unused"]} diff --git a/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersGlobalUse/expected.json b/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersGlobalUse/expected.json deleted file mode 100644 index 171dc3bb..00000000 --- a/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersGlobalUse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedInMastersGlobalUse", "category": "UnusedInMastersCheck", "package": "UnusedInMastersGlobalUse", "version": "0", "flags": ["unused"]} diff --git a/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersLicenses/expected.json b/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersLicenses/expected.json deleted file mode 100644 index d9d7b1b6..00000000 --- a/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersLicenses/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedInMastersLicenses", "category": "UnusedInMastersCheck", "package": "UnusedInMastersLicenses", "version": "0", "licenses": ["unused"]} diff --git a/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersMirrors/expected.json b/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersMirrors/expected.json deleted file mode 100644 index 518f0b2b..00000000 --- a/tests/data/repos/overlay/UnusedInMastersCheck/UnusedInMastersMirrors/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedInMastersMirrors", "category": "UnusedInMastersCheck", "package": "UnusedInMastersMirrors", "version": "0", "mirrors": ["overlayed"]} diff --git a/tests/data/repos/profiledir/ProfilesCheck/ProfileError/expected.json b/tests/data/repos/profiledir/ProfilesCheck/ProfileError/expected.json deleted file mode 100644 index 8a1d5a01..00000000 --- a/tests/data/repos/profiledir/ProfilesCheck/ProfileError/expected.json +++ /dev/null @@ -1,3 +0,0 @@ -{"__class__": "ProfileError", "msg": "deprecated profile missing replacement: 'deprecated/empty/deprecated'"} -{"__class__": "ProfileError", "msg": "nonexistent replacement 'default/nonexistent' for deprecated profile: 'deprecated/nonexistent'"} -{"__class__": "ProfileError", "msg": "repo 'profiledir': 'default/bad_parent/parent' (line 1), bad profile parent '../nonexistent': nonexistent profile directory"} diff --git a/tests/data/repos/profiledir/ProfilesCheck/ProfileError/fix.patch b/tests/data/repos/profiledir/ProfilesCheck/ProfileError/fix.patch deleted file mode 100644 index c5034b2a..00000000 --- a/tests/data/repos/profiledir/ProfilesCheck/ProfileError/fix.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -Naur profiledir/profiles/default/bad_parent/parent fixed/profiles/default/bad_parent/parent ---- profiledir/profiles/default/bad_parent/parent 2019-11-11 18:59:21.638234845 -0700 -+++ fixed/profiles/default/bad_parent/parent 2019-11-12 20:45:01.973797244 -0700 -@@ -1,2 +1 @@ --../nonexistent - .. -diff -Naur profiledir/profiles/deprecated/empty/deprecated fixed/profiles/deprecated/empty/deprecated ---- profiledir/profiles/deprecated/empty/deprecated 2019-11-12 20:43:59.284579293 -0700 -+++ fixed/profiles/deprecated/empty/deprecated 2019-11-12 20:45:09.600823760 -0700 -@@ -0,0 +1 @@ -+default -diff -Naur profiledir/profiles/deprecated/nonexistent/deprecated fixed/profiles/deprecated/nonexistent/deprecated ---- profiledir/profiles/deprecated/nonexistent/deprecated 2019-11-12 20:35:43.195830784 -0700 -+++ fixed/profiles/deprecated/nonexistent/deprecated 2019-11-12 20:45:16.582848028 -0700 -@@ -1 +1 @@ --default/nonexistent -+default diff --git a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackage/expected.json b/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackage/expected.json deleted file mode 100644 index db7808e9..00000000 --- a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackage/expected.json +++ /dev/null @@ -1,5 +0,0 @@ -{"__class__": "UnknownProfilePackage", "path": "unknown_pkgs/package.mask", "atom": "unknown/pkg_mask"} -{"__class__": "UnknownProfilePackage", "path": "unknown_pkgs/package.unmask", "atom": "unknown/pkg_unmask"} -{"__class__": "UnknownProfilePackage", "path": "unknown_pkgs/package.use", "atom": "unknown/pkg_use"} -{"__class__": "UnknownProfilePackage", "path": "unknown_pkgs/packages", "atom": "unknown/disabled_pkg"} -{"__class__": "UnknownProfilePackage", "path": "unknown_pkgs/packages", "atom": "unknown/pkg"} diff --git a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackage/fix.patch b/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackage/fix.patch deleted file mode 100644 index 88fb4e89..00000000 --- a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackage/fix.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naur profiledir/profiles/unknown_pkgs/package.mask fixed/profiles/unknown_pkgs/package.mask ---- profiledir/profiles/unknown_pkgs/package.mask 2020-07-04 04:01:46.893309905 -0600 -+++ fixed/profiles/unknown_pkgs/package.mask 2020-11-23 11:06:47.945186157 -0700 -@@ -1,2 +1 @@ - cat/pkg3 --unknown/pkg_mask -diff -Naur profiledir/profiles/unknown_pkgs/packages fixed/profiles/unknown_pkgs/packages ---- profiledir/profiles/unknown_pkgs/packages 2020-07-04 04:01:46.893309905 -0600 -+++ fixed/profiles/unknown_pkgs/packages 2020-11-23 11:06:47.945186157 -0700 -@@ -1,4 +1,2 @@ - *cat/pkg1 --*unknown/pkg - -*cat/pkg2 ---*unknown/disabled_pkg -diff -Naur profiledir/profiles/unknown_pkgs/package.unmask fixed/profiles/unknown_pkgs/package.unmask ---- profiledir/profiles/unknown_pkgs/package.unmask 2020-07-04 04:01:46.893309905 -0600 -+++ fixed/profiles/unknown_pkgs/package.unmask 2020-11-23 11:06:47.945186157 -0700 -@@ -1,2 +1 @@ - cat/pkg4 --unknown/pkg_unmask -diff -Naur profiledir/profiles/unknown_pkgs/package.use fixed/profiles/unknown_pkgs/package.use ---- profiledir/profiles/unknown_pkgs/package.use 2020-11-23 11:06:37.942968132 -0700 -+++ fixed/profiles/unknown_pkgs/package.use 2020-11-23 11:06:57.803401042 -0700 -@@ -1,2 +1 @@ - cat/pkg1 used --unknown/pkg_use used diff --git a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageKeywords/expected.json b/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageKeywords/expected.json deleted file mode 100644 index 2d084c42..00000000 --- a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageKeywords/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "UnknownProfilePackageKeywords", "path": "unknown_kwds/package.accept_keywords", "atom": "cat/pkg4", "keywords": ["unknown"]} -{"__class__": "UnknownProfilePackageKeywords", "path": "unknown_kwds/package.keywords", "atom": "cat/pkg2", "keywords": ["-unknown"]} diff --git a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageKeywords/fix.patch b/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageKeywords/fix.patch deleted file mode 100644 index 248c68cd..00000000 --- a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageKeywords/fix.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -Naur profiledir/profiles/unknown_kwds/package.accept_keywords fixed/profiles/unknown_kwds/package.accept_keywords ---- profiledir/profiles/unknown_kwds/package.accept_keywords 2020-11-23 12:31:02.428598313 -0700 -+++ fixed/profiles/unknown_kwds/package.accept_keywords 2020-11-23 12:35:00.012798840 -0700 -@@ -1,2 +1 @@ - cat/pkg3 amd64 --cat/pkg4 unknown -diff -Naur profiledir/profiles/unknown_kwds/package.keywords fixed/profiles/unknown_kwds/package.keywords ---- profiledir/profiles/unknown_kwds/package.keywords 2020-11-23 12:34:02.655543272 -0700 -+++ fixed/profiles/unknown_kwds/package.keywords 2020-11-23 12:34:54.034667942 -0700 -@@ -1,2 +1 @@ - cat/pkg1 -amd64 -~amd64 --cat/pkg2 -unknown diff --git a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageUse/expected.json b/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageUse/expected.json deleted file mode 100644 index b70267ae..00000000 --- a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageUse/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "UnknownProfilePackageUse", "path": "default/package.use", "atom": "cat/pkg2", "flags": ["unknown"]} -{"__class__": "UnknownProfilePackageUse", "path": "default/package.use", "atom": "cat/pkg3", "flags": ["-unknown"]} diff --git a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageUse/fix.patch b/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageUse/fix.patch deleted file mode 100644 index 9036c91f..00000000 --- a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfilePackageUse/fix.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur profiledir/profiles/default/package.use fixed/profiles/default/package.use ---- profiledir/profiles/default/package.use 2020-11-23 11:42:07.424441114 -0700 -+++ fixed/profiles/default/package.use 2020-11-23 11:49:09.150650654 -0700 -@@ -1,3 +1,2 @@ - cat/pkg1 used --cat/pkg2 used unknown --cat/pkg3 -unknown -+cat/pkg2 used diff --git a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfileUse/expected.json b/tests/data/repos/profiledir/ProfilesCheck/UnknownProfileUse/expected.json deleted file mode 100644 index 36f7f55c..00000000 --- a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfileUse/expected.json +++ /dev/null @@ -1,6 +0,0 @@ -{"__class__": "UnknownProfileUse", "path": "unknown_use/unknown_stable_use/use.force", "flags": ["-use_force"]} -{"__class__": "UnknownProfileUse", "path": "unknown_use/unknown_stable_use/use.stable.force", "flags": ["use_stable_force"]} -{"__class__": "UnknownProfileUse", "path": "unknown_use/unknown_stable_use_mask/use.mask", "flags": ["-use_mask"]} -{"__class__": "UnknownProfileUse", "path": "unknown_use/unknown_stable_use_mask/use.stable.mask", "flags": ["use_stable_mask"]} -{"__class__": "UnknownProfileUse", "path": "unknown_use/use.force", "flags": ["use_force"]} -{"__class__": "UnknownProfileUse", "path": "unknown_use/use.mask", "flags": ["use_mask"]} diff --git a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfileUse/fix.patch b/tests/data/repos/profiledir/ProfilesCheck/UnknownProfileUse/fix.patch deleted file mode 100644 index 1541f627..00000000 --- a/tests/data/repos/profiledir/ProfilesCheck/UnknownProfileUse/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur profiledir/profiles/use.desc fixed/profiles/use.desc ---- profiledir/profiles/use.desc 2020-11-23 10:54:01.018477444 -0700 -+++ fixed/profiles/use.desc 2020-11-23 11:54:08.071178614 -0700 -@@ -1 +1,5 @@ - used - used global flag -+use_force - use.force -+use_mask - use.mask -+use_stable_force - use.stable.force -+use_stable_mask - use.stable.mask diff --git a/tests/data/repos/profiledir/RepoProfilesCheck/ArchesWithoutProfiles/expected.json b/tests/data/repos/profiledir/RepoProfilesCheck/ArchesWithoutProfiles/expected.json deleted file mode 100644 index 32ac7eb1..00000000 --- a/tests/data/repos/profiledir/RepoProfilesCheck/ArchesWithoutProfiles/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "ArchesWithoutProfiles", "arches": ["unknown_arch"]} diff --git a/tests/data/repos/profiledir/RepoProfilesCheck/ArchesWithoutProfiles/fix.sh b/tests/data/repos/profiledir/RepoProfilesCheck/ArchesWithoutProfiles/fix.sh deleted file mode 100755 index d7c5432e..00000000 --- a/tests/data/repos/profiledir/RepoProfilesCheck/ArchesWithoutProfiles/fix.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -sed -i '/^unknown_arch/d' profiles/arch.list diff --git a/tests/data/repos/profiledir/RepoProfilesCheck/NonexistentProfilePath/expected.json b/tests/data/repos/profiledir/RepoProfilesCheck/NonexistentProfilePath/expected.json deleted file mode 100644 index 8b17c44c..00000000 --- a/tests/data/repos/profiledir/RepoProfilesCheck/NonexistentProfilePath/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "NonexistentProfilePath", "path": "nonexistent"} diff --git a/tests/data/repos/profiledir/RepoProfilesCheck/NonexistentProfilePath/fix.patch b/tests/data/repos/profiledir/RepoProfilesCheck/NonexistentProfilePath/fix.patch deleted file mode 100644 index 18f1453b..00000000 --- a/tests/data/repos/profiledir/RepoProfilesCheck/NonexistentProfilePath/fix.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff -Naur standalone/profiles/profiles.desc fixed/profiles/profiles.desc ---- standalone/profiles/profiles.desc 2019-08-25 03:26:34.234884197 -0600 -+++ fixed/profiles/profiles.desc 2019-08-25 03:29:07.492884120 -0600 -@@ -1,2 +1 @@ - amd64 default stable --amd64 nonexistent exp diff --git a/tests/data/repos/profiledir/RepoProfilesCheck/ProfileError/expected.json b/tests/data/repos/profiledir/RepoProfilesCheck/ProfileError/expected.json deleted file mode 100644 index 3920b9bb..00000000 --- a/tests/data/repos/profiledir/RepoProfilesCheck/ProfileError/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "ProfileError", "msg": "profiledir::profiles/profiles.desc, line 1: invalid profile line format: should be 'arch profile status'"} diff --git a/tests/data/repos/profiledir/RepoProfilesCheck/ProfileError/fix.patch b/tests/data/repos/profiledir/RepoProfilesCheck/ProfileError/fix.patch deleted file mode 100644 index 519da762..00000000 --- a/tests/data/repos/profiledir/RepoProfilesCheck/ProfileError/fix.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur profiledir/profiles/profiles.desc fixed/profiles/profiles.desc ---- profiledir/profiles/profiles.desc 2019-11-11 18:57:00.459703482 -0700 -+++ fixed/profiles/profiles.desc 2019-11-11 18:58:41.293082335 -0700 -@@ -1,4 +1,3 @@ --amd64 default - amd64 default stable - amd64 default/bad_parent dev - amd64 nonexistent exp diff --git a/tests/data/repos/profiledir/RepoProfilesCheck/UnusedProfileDirs/expected.json b/tests/data/repos/profiledir/RepoProfilesCheck/UnusedProfileDirs/expected.json deleted file mode 100644 index 90f78065..00000000 --- a/tests/data/repos/profiledir/RepoProfilesCheck/UnusedProfileDirs/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedProfileDirs", "dirs": ["default/forgotten"]} diff --git a/tests/data/repos/profiledir/RepoProfilesCheck/UnusedProfileDirs/fix.patch b/tests/data/repos/profiledir/RepoProfilesCheck/UnusedProfileDirs/fix.patch deleted file mode 100644 index 0ebade26..00000000 --- a/tests/data/repos/profiledir/RepoProfilesCheck/UnusedProfileDirs/fix.patch +++ /dev/null @@ -1,7 +0,0 @@ -diff -Naur profiledir/profiles/profiles.desc fixed/profiles/profiles.desc ---- profiledir/profiles/profiles.desc 2019-08-25 03:31:07.833669284 -0600 -+++ fixed/profiles/profiles.desc 2019-08-25 03:40:37.386386898 -0600 -@@ -1,2 +1,3 @@ - amd64 default stable -+amd64 default/forgotten dev - amd64 nonexistent exp diff --git a/tests/data/repos/python/PythonCheck/PythonMissingDeps/expected.json b/tests/data/repos/python/PythonCheck/PythonMissingDeps/expected.json deleted file mode 100644 index 2bdf8b48..00000000 --- a/tests/data/repos/python/PythonCheck/PythonMissingDeps/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "PythonMissingDeps", "category": "PythonCheck", "package": "PythonMissingDeps", "version": "0", "dep_type": "RDEPEND"} diff --git a/tests/data/repos/python/PythonCheck/PythonMissingDeps/fix.patch b/tests/data/repos/python/PythonCheck/PythonMissingDeps/fix.patch deleted file mode 100644 index 47c0b217..00000000 --- a/tests/data/repos/python/PythonCheck/PythonMissingDeps/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur python/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild fixed/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild ---- python/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild 2020-12-01 12:19:27.856851956 -0700 -+++ fixed/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild 2020-12-01 12:20:13.815852958 -0700 -@@ -8,3 +8,5 @@ - LICENSE="BSD" - SLOT="0" - REQUIRED_USE="${PYTHON_REQUIRED_USE}" -+ -+RDEPEND="${PYTHON_DEPS}" diff --git a/tests/data/repos/python/PythonCompatCheck/PythonCompatUpdate/expected.json b/tests/data/repos/python/PythonCompatCheck/PythonCompatUpdate/expected.json deleted file mode 100644 index ab7d9b01..00000000 --- a/tests/data/repos/python/PythonCompatCheck/PythonCompatUpdate/expected.json +++ /dev/null @@ -1,3 +0,0 @@ -{"__class__": "PythonCompatUpdate", "category": "PythonCompatCheck", "package": "PythonCompatUpdate", "version": "0", "updates": ["python3_8", "python3_9"]} -{"__class__": "PythonCompatUpdate", "category": "PythonCompatCheck", "package": "PythonCompatUpdate", "version": "1", "updates": ["python3_9"]} -{"__class__": "PythonCompatUpdate", "category": "PythonCompatCheck", "package": "PythonCompatUpdate", "version": "2", "updates": ["python3_9"]} diff --git a/tests/data/repos/python/PythonCompatCheck/PythonCompatUpdate/fix.patch b/tests/data/repos/python/PythonCompatCheck/PythonCompatUpdate/fix.patch deleted file mode 100644 index c63184e9..00000000 --- a/tests/data/repos/python/PythonCompatCheck/PythonCompatUpdate/fix.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Naur python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-0.ebuild fixed/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-0.ebuild ---- python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-0.ebuild 2020-11-21 15:47:48.863638819 -0700 -+++ fixed/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-0.ebuild 2020-11-21 16:07:10.141152848 -0700 -@@ -1,5 +1,5 @@ - EAPI=7 --PYTHON_COMPAT=( python3_7 ) -+PYTHON_COMPAT=( python3_{7..9} ) - - inherit python-r1 - -diff -Naur python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-1.ebuild fixed/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-1.ebuild ---- python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-1.ebuild 2020-11-21 16:01:09.313228270 -0700 -+++ fixed/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-1.ebuild 2020-11-21 16:07:24.796474707 -0700 -@@ -1,5 +1,5 @@ - EAPI=7 --PYTHON_COMPAT=( python3_{7,8} ) -+PYTHON_COMPAT=( python3_{7..9} ) - - inherit python-single-r1 - -diff -Naur python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-2.ebuild fixed/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-2.ebuild ---- python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-2.ebuild 2020-11-21 15:48:45.729888922 -0700 -+++ fixed/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-2.ebuild 2020-11-21 16:07:30.224593936 -0700 -@@ -1,5 +1,5 @@ - EAPI=7 --PYTHON_COMPAT=( python3_{7,8} ) -+PYTHON_COMPAT=( python3_{7..9} ) - - inherit python-any-r1 - diff --git a/tests/data/repos/standalone/BadCommandsCheck/BannedEapiCommand/expected.json b/tests/data/repos/standalone/BadCommandsCheck/BannedEapiCommand/expected.json deleted file mode 100644 index ea79dfac..00000000 --- a/tests/data/repos/standalone/BadCommandsCheck/BannedEapiCommand/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "BannedEapiCommand", "category": "BadCommandsCheck", "package": "BannedEapiCommand", "version": "0", "line": "dohtml doc/*", "lineno": 8, "command": "dohtml", "eapi": "7"} diff --git a/tests/data/repos/standalone/BadCommandsCheck/BannedEapiCommand/fix.patch b/tests/data/repos/standalone/BadCommandsCheck/BannedEapiCommand/fix.patch deleted file mode 100644 index 5cce0057..00000000 --- a/tests/data/repos/standalone/BadCommandsCheck/BannedEapiCommand/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild fixed/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild ---- standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild 2019-10-01 15:48:21.121467232 -0600 -+++ fixed/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild 2019-10-01 15:50:51.970090195 -0600 -@@ -5,5 +5,6 @@ - LICENSE="BSD" - - src_install() { -- dohtml doc/* -+ docinto html -+ dodoc doc/* - } diff --git a/tests/data/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/expected.json b/tests/data/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/expected.json deleted file mode 100644 index 4e71be0a..00000000 --- a/tests/data/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "DeprecatedEapiCommand", "category": "BadCommandsCheck", "package": "DeprecatedEapiCommand", "version": "0", "line": "dohtml doc/*", "lineno": 8, "command": "dohtml", "eapi": "6"} diff --git a/tests/data/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/fix.patch b/tests/data/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/fix.patch deleted file mode 100644 index eafea12c..00000000 --- a/tests/data/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur standalone/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild fixed/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild ---- standalone/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild 2019-10-01 15:50:01.517881845 -0600 -+++ fixed/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild 2019-10-01 15:51:40.877292175 -0600 -@@ -5,5 +5,6 @@ - LICENSE="BSD" - - src_install() { -- dohtml doc/* -+ docinto html -+ dodoc doc/* - } diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatBadlyFormedXml/expected.json b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatBadlyFormedXml/expected.json deleted file mode 100644 index 87c2d6ff..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatBadlyFormedXml/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "CatBadlyFormedXml", "category": "CatBadlyFormedXml", "filename": "metadata.xml", "error": "xmlParseEntityRef: no name, line 4, column 34 (metadata.xml, line 4)"} diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatBadlyFormedXml/fix.patch b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatBadlyFormedXml/fix.patch deleted file mode 100644 index 2871c6f4..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatBadlyFormedXml/fix.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -Naur standalone/CatBadlyFormedXml/metadata.xml fixed/CatBadlyFormedXml/metadata.xml ---- standalone/CatBadlyFormedXml/metadata.xml 2019-08-24 04:51:41.055750228 -0600 -+++ fixed/CatBadlyFormedXml/metadata.xml 2019-08-24 04:54:25.445826600 -0600 -@@ -1,5 +1,5 @@ - <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <catmetadata> -- <longdescription>Don't use raw & in XML.</longdescription> -+ <longdescription>Don't use raw & in XML.</longdescription> - </catmetadata> diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatInvalidXml/expected.json b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatInvalidXml/expected.json deleted file mode 100644 index 5218acb4..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatInvalidXml/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__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 )."} diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatInvalidXml/fix.patch b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatInvalidXml/fix.patch deleted file mode 100644 index 85d911c6..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatInvalidXml/fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur standalone/CatInvalidXml/metadata.xml fixed/CatInvalidXml/metadata.xml ---- standalone/CatInvalidXml/metadata.xml 2019-08-24 04:52:14.291967847 -0600 -+++ fixed/CatInvalidXml/metadata.xml 2019-08-24 04:54:52.023000616 -0600 -@@ -1,7 +1,7 @@ - <?xml version="1.0" encoding="UTF-8"?> - <!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <catmetadata> -- <description> -+ <longdescription> - Category with invalid XML field failing schema validation. -- </description> -+ </longdescription> - </catmetadata> diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlEmptyElement/expected.json b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlEmptyElement/expected.json deleted file mode 100644 index 1c9cf900..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlEmptyElement/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "CatMetadataXmlEmptyElement", "category": "CatMetadataXmlEmptyElement", "filename": "metadata.xml", "element": "longdescription", "line": 4} diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlEmptyElement/fix.patch b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlEmptyElement/fix.patch deleted file mode 100644 index 3d8cfd88..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlEmptyElement/fix.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -Naur standalone/CatMetadataXmlEmptyElement/metadata.xml fixed/CatMetadataXmlEmptyElement/metadata.xml ---- standalone/CatMetadataXmlEmptyElement/metadata.xml 2019-08-26 10:35:27.974897717 -0600 -+++ fixed/CatMetadataXmlEmptyElement/metadata.xml 2019-08-26 10:37:36.199745630 -0600 -@@ -2,5 +2,6 @@ - <!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <catmetadata> - <longdescription> -+ A description that actually exists. - </longdescription> - </catmetadata> diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlIndentation/expected.json b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlIndentation/expected.json deleted file mode 100644 index 3464ce1b..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlIndentation/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "CatMetadataXmlIndentation", "category": "CatMetadataXmlIndentation", "filename": "metadata.xml", "lines": ["5"]} diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlIndentation/fix.patch b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlIndentation/fix.patch deleted file mode 100644 index 919a5bd6..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlIndentation/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur standalone/CatMetadataXmlIndentation/metadata.xml fixed/CatMetadataXmlIndentation/metadata.xml ---- standalone/CatMetadataXmlIndentation/metadata.xml 2019-08-24 04:50:45.133384049 -0600 -+++ fixed/CatMetadataXmlIndentation/metadata.xml 2019-08-24 04:53:00.860272773 -0600 -@@ -2,6 +2,6 @@ - <!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <catmetadata> - <longdescription> -- Category with metadata.xml using inconsistent indentation. -+ Category with metadata.xml using inconsistent indentation. - </longdescription> - </catmetadata> diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidCatRef/expected.json b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidCatRef/expected.json deleted file mode 100644 index 0622fa16..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidCatRef/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "CatMetadataXmlInvalidCatRef", "category": "CatMetadataXmlInvalidCatRef", "filename": "metadata.xml", "cattext": "virtul"} diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidCatRef/fix.patch b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidCatRef/fix.patch deleted file mode 100644 index a227f2e6..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidCatRef/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur standalone/CatMetadataXmlInvalidCatRef/metadata.xml fixed/CatMetadataXmlInvalidCatRef/metadata.xml ---- standalone/CatMetadataXmlInvalidCatRef/metadata.xml 2019-08-26 10:50:03.844703530 -0600 -+++ fixed/CatMetadataXmlInvalidCatRef/metadata.xml 2019-08-26 10:51:15.717180222 -0600 -@@ -2,6 +2,6 @@ - <!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <catmetadata> - <longdescription> -- Category with invalid category reference to <cat>virtul</cat>. -+ Category with invalid category reference to <cat>virtual</cat>. - </longdescription> - </catmetadata> diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidPkgRef/expected.json b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidPkgRef/expected.json deleted file mode 100644 index c5dc9335..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidPkgRef/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "CatMetadataXmlInvalidPkgRef", "category": "CatMetadataXmlInvalidPkgRef", "filename": "metadata.xml", "pkgtext": "nonexistent/pkg"} diff --git a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidPkgRef/fix.patch b/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidPkgRef/fix.patch deleted file mode 100644 index f1953d7e..00000000 --- a/tests/data/repos/standalone/CategoryMetadataXmlCheck/CatMetadataXmlInvalidPkgRef/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur standalone/CatMetadataXmlInvalidPkgRef/metadata.xml fixed/CatMetadataXmlInvalidPkgRef/metadata.xml ---- standalone/CatMetadataXmlInvalidPkgRef/metadata.xml 2019-08-24 04:56:01.922458309 -0600 -+++ fixed/CatMetadataXmlInvalidPkgRef/metadata.xml 2019-08-24 04:57:47.998152837 -0600 -@@ -2,6 +2,6 @@ - <!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <catmetadata> - <longdescription> -- Category with invalid package reference to <pkg>nonexistent/pkg</pkg>. -+ Category with valid package reference to <pkg>app-arch/unzip</pkg>. - </longdescription> - </catmetadata> diff --git a/tests/data/repos/standalone/DependencyCheck/BadDependency/expected.json b/tests/data/repos/standalone/DependencyCheck/BadDependency/expected.json deleted file mode 100644 index 6fec295a..00000000 --- a/tests/data/repos/standalone/DependencyCheck/BadDependency/expected.json +++ /dev/null @@ -1,4 +0,0 @@ -{"__class__": "BadDependency", "category": "DependencyCheck", "package": "BadDependency", "version": "0", "depset": "depend", "atom": "!!stub/stub3:=", "msg": "= slot operator used in blocker"} -{"__class__": "BadDependency", "category": "DependencyCheck", "package": "BadDependency", "version": "0", "depset": "depend", "atom": "stub/stub1:=", "msg": "= slot operator used inside || block"} -{"__class__": "BadDependency", "category": "DependencyCheck", "package": "BadDependency", "version": "0", "depset": "depend", "atom": "stub/stub2:=", "msg": "= slot operator used inside || block"} -{"__class__": "BadDependency", "category": "DependencyCheck", "package": "BadDependency", "version": "0", "depset": "depend", "atom": "!DependencyCheck/BadDependency", "msg": "package blocks itself"} diff --git a/tests/data/repos/standalone/DependencyCheck/BadDependency/fix.patch b/tests/data/repos/standalone/DependencyCheck/BadDependency/fix.patch deleted file mode 100644 index 488c9797..00000000 --- a/tests/data/repos/standalone/DependencyCheck/BadDependency/fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur standalone/DependencyCheck/BadDependency/BadDependency-0.ebuild fixed/DependencyCheck/BadDependency/BadDependency-0.ebuild ---- standalone/DependencyCheck/BadDependency/BadDependency-0.ebuild 2019-09-17 10:51:41.687925138 -0600 -+++ fixed/DependencyCheck/BadDependency/BadDependency-0.ebuild 2019-09-17 10:52:16.737103819 -0600 -@@ -4,7 +4,6 @@ - SLOT="0" - LICENSE="BSD" - DEPEND=" -- !DependencyCheck/BadDependency -- || ( stub/stub1:= stub/stub2:= ) -- !!stub/stub3:= -+ || ( stub/stub1 stub/stub2 ) -+ !!stub/stub3 - " diff --git a/tests/data/repos/standalone/DependencyCheck/InvalidBdepend/expected.json b/tests/data/repos/standalone/DependencyCheck/InvalidBdepend/expected.json deleted file mode 100644 index a19cb407..00000000 --- a/tests/data/repos/standalone/DependencyCheck/InvalidBdepend/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "InvalidBdepend", "category": "DependencyCheck", "package": "InvalidBdepend", "version": "0", "attr": "bdepend", "msg": "failed parsing BDEPEND: 'stub1' is unparseable: flagged token- invalid package atom: 'stub1'"} diff --git a/tests/data/repos/standalone/DependencyCheck/InvalidBdepend/fix.patch b/tests/data/repos/standalone/DependencyCheck/InvalidBdepend/fix.patch deleted file mode 100644 index 226c6083..00000000 --- a/tests/data/repos/standalone/DependencyCheck/InvalidBdepend/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild fixed/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild ---- standalone/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild 2019-11-23 21:17:41.216336788 -0700 -+++ fixed/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild 2019-11-23 21:20:25.987054123 -0700 -@@ -3,4 +3,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --BDEPEND="stub1" -+BDEPEND="stub/stub1" diff --git a/tests/data/repos/standalone/DependencyCheck/InvalidDepend/expected.json b/tests/data/repos/standalone/DependencyCheck/InvalidDepend/expected.json deleted file mode 100644 index db6d6b41..00000000 --- a/tests/data/repos/standalone/DependencyCheck/InvalidDepend/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "InvalidDepend", "category": "DependencyCheck", "package": "InvalidDepend", "version": "0", "attr": "depend", "msg": "failed parsing DEPEND: 'stub1' is unparseable: flagged token- invalid package atom: 'stub1'"} diff --git a/tests/data/repos/standalone/DependencyCheck/InvalidDepend/fix.patch b/tests/data/repos/standalone/DependencyCheck/InvalidDepend/fix.patch deleted file mode 100644 index e0592e6b..00000000 --- a/tests/data/repos/standalone/DependencyCheck/InvalidDepend/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild fixed/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild ---- standalone/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild 2019-11-23 21:17:49.285372004 -0700 -+++ fixed/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild 2019-11-23 21:20:54.450177796 -0700 -@@ -3,4 +3,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --DEPEND="stub1" -+DEPEND="stub/stub1" diff --git a/tests/data/repos/standalone/DependencyCheck/InvalidPdepend/expected.json b/tests/data/repos/standalone/DependencyCheck/InvalidPdepend/expected.json deleted file mode 100644 index a8df144b..00000000 --- a/tests/data/repos/standalone/DependencyCheck/InvalidPdepend/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "InvalidPdepend", "category": "DependencyCheck", "package": "InvalidPdepend", "version": "0", "attr": "pdepend", "msg": "failed parsing PDEPEND: 'stub1' is unparseable: flagged token- invalid package atom: 'stub1'"} diff --git a/tests/data/repos/standalone/DependencyCheck/InvalidPdepend/fix.patch b/tests/data/repos/standalone/DependencyCheck/InvalidPdepend/fix.patch deleted file mode 100644 index 208d2504..00000000 --- a/tests/data/repos/standalone/DependencyCheck/InvalidPdepend/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild fixed/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild ---- standalone/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild 2019-11-23 21:17:55.649399776 -0700 -+++ fixed/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild 2019-11-23 21:21:15.924271099 -0700 -@@ -3,4 +3,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --PDEPEND="stub1" -+PDEPEND="stub/stub1" diff --git a/tests/data/repos/standalone/DependencyCheck/InvalidRdepend/expected.json b/tests/data/repos/standalone/DependencyCheck/InvalidRdepend/expected.json deleted file mode 100644 index c963fe64..00000000 --- a/tests/data/repos/standalone/DependencyCheck/InvalidRdepend/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "InvalidRdepend", "category": "DependencyCheck", "package": "InvalidRdepend", "version": "0", "attr": "rdepend", "msg": "failed parsing RDEPEND: 'stub1' is unparseable: flagged token- invalid package atom: 'stub1'"} diff --git a/tests/data/repos/standalone/DependencyCheck/InvalidRdepend/fix.patch b/tests/data/repos/standalone/DependencyCheck/InvalidRdepend/fix.patch deleted file mode 100644 index dc16a950..00000000 --- a/tests/data/repos/standalone/DependencyCheck/InvalidRdepend/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild fixed/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild ---- standalone/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild 2019-11-23 21:18:11.296468067 -0700 -+++ fixed/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild 2019-11-23 21:21:39.973375585 -0700 -@@ -3,4 +3,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --RDEPEND="stub1" -+RDEPEND="stub/stub1" diff --git a/tests/data/repos/standalone/DependencyCheck/MissingPackageRevision/expected.json b/tests/data/repos/standalone/DependencyCheck/MissingPackageRevision/expected.json deleted file mode 100644 index 12d3f28c..00000000 --- a/tests/data/repos/standalone/DependencyCheck/MissingPackageRevision/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MissingPackageRevision", "category": "DependencyCheck", "package": "MissingPackageRevision", "version": "0", "dep": "RDEPEND", "atom": "=stub/stub1-0"} diff --git a/tests/data/repos/standalone/DependencyCheck/MissingPackageRevision/fix.patch b/tests/data/repos/standalone/DependencyCheck/MissingPackageRevision/fix.patch deleted file mode 100644 index d7d86ab2..00000000 --- a/tests/data/repos/standalone/DependencyCheck/MissingPackageRevision/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild fixed/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild ---- standalone/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild 2019-09-17 11:01:07.112319931 -0600 -+++ fixed/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild 2019-09-17 11:01:44.129474002 -0600 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --RDEPEND="=stub/stub1-0" -+RDEPEND="=stub/stub1-0-r0" diff --git a/tests/data/repos/standalone/DependencyCheck/MissingUseDepDefault/expected.json b/tests/data/repos/standalone/DependencyCheck/MissingUseDepDefault/expected.json deleted file mode 100644 index 803e1ee5..00000000 --- a/tests/data/repos/standalone/DependencyCheck/MissingUseDepDefault/expected.json +++ /dev/null @@ -1,4 +0,0 @@ -{"__class__": "MissingUseDepDefault", "category": "DependencyCheck", "package": "MissingUseDepDefault", "version": "0", "attr": "BDEPEND", "atom": "stub/stub3[foo?]", "flag": "foo", "pkgs": ["stub/stub3-0"]} -{"__class__": "MissingUseDepDefault", "category": "DependencyCheck", "package": "MissingUseDepDefault", "version": "0", "attr": "DEPEND", "atom": "stub/stub1[foo]", "flag": "foo", "pkgs": ["stub/stub1-0"]} -{"__class__": "MissingUseDepDefault", "category": "DependencyCheck", "package": "MissingUseDepDefault", "version": "0", "attr": "PDEPEND", "atom": "stub/stub4[!foo?]", "flag": "foo", "pkgs": ["stub/stub4-0"]} -{"__class__": "MissingUseDepDefault", "category": "DependencyCheck", "package": "MissingUseDepDefault", "version": "0", "attr": "RDEPEND", "atom": "stub/stub2[-foo]", "flag": "foo", "pkgs": ["stub/stub2-0"]} diff --git a/tests/data/repos/standalone/DependencyCheck/MissingUseDepDefault/fix.patch b/tests/data/repos/standalone/DependencyCheck/MissingUseDepDefault/fix.patch deleted file mode 100644 index c86bbe16..00000000 --- a/tests/data/repos/standalone/DependencyCheck/MissingUseDepDefault/fix.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -Naur standalone/DependencyCheck/MissingUseDepDefault/MissingUseDepDefault-0.ebuild fixed/DependencyCheck/MissingUseDepDefault/MissingUseDepDefault-0.ebuild ---- standalone/DependencyCheck/MissingUseDepDefault/MissingUseDepDefault-0.ebuild 2019-12-02 21:50:34.617257001 -0700 -+++ fixed/DependencyCheck/MissingUseDepDefault/MissingUseDepDefault-0.ebuild 2019-12-02 21:52:56.547749364 -0700 -@@ -3,7 +3,7 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --DEPEND="stub/stub1[foo]" --RDEPEND="|| ( stub/stub2[used] stub/stub2[-foo] )" --BDEPEND="stub/stub3[foo?]" --PDEPEND="stub/stub4[!foo?]" -+DEPEND="stub/stub1[foo(+)]" -+RDEPEND="|| ( stub/stub2[used] stub/stub2[-foo(-)] )" -+BDEPEND="stub/stub3[foo(+)?]" -+PDEPEND="stub/stub4[!foo(-)?]" diff --git a/tests/data/repos/standalone/DependencyCheck/UnstatedIuse/expected-verbose.json b/tests/data/repos/standalone/DependencyCheck/UnstatedIuse/expected-verbose.json deleted file mode 100644 index 799fec6f..00000000 --- a/tests/data/repos/standalone/DependencyCheck/UnstatedIuse/expected-verbose.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "DependencyCheck", "package": "UnstatedIuse", "version": "0", "attr": "rdepend", "flags": ["used"], "profile": "default/amd64", "num_profiles": null} -{"__class__": "UnstatedIuse", "category": "DependencyCheck", "package": "UnstatedIuse", "version": "0", "attr": "rdepend", "flags": ["used"], "profile": "default/x86", "num_profiles": null} diff --git a/tests/data/repos/standalone/DependencyCheck/UnstatedIuse/expected.json b/tests/data/repos/standalone/DependencyCheck/UnstatedIuse/expected.json deleted file mode 100644 index 512b0afa..00000000 --- a/tests/data/repos/standalone/DependencyCheck/UnstatedIuse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "DependencyCheck", "package": "UnstatedIuse", "version": "0", "attr": "rdepend", "flags": ["used"], "profile": "default/amd64", "num_profiles": 2} diff --git a/tests/data/repos/standalone/DependencyCheck/UnstatedIuse/fix.patch b/tests/data/repos/standalone/DependencyCheck/UnstatedIuse/fix.patch deleted file mode 100644 index c319c54e..00000000 --- a/tests/data/repos/standalone/DependencyCheck/UnstatedIuse/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild fixed/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild ---- standalone/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-09-17 10:59:41.809964886 -0600 -+++ fixed/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-09-17 11:00:18.196116334 -0600 -@@ -2,4 +2,5 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -+IUSE="used" - RDEPEND="used? ( stub/stub1 )" diff --git a/tests/data/repos/standalone/DescriptionCheck/BadDescription/expected.json b/tests/data/repos/standalone/DescriptionCheck/BadDescription/expected.json deleted file mode 100644 index 24d0e29c..00000000 --- a/tests/data/repos/standalone/DescriptionCheck/BadDescription/expected.json +++ /dev/null @@ -1,5 +0,0 @@ -{"__class__": "BadDescription", "category": "DescriptionCheck", "package": "BadDescription", "version": "0", "msg": "empty/unset", "pkg_desc": null} -{"__class__": "BadDescription", "category": "DescriptionCheck", "package": "BadDescription", "version": "1", "msg": "empty/unset", "pkg_desc": null} -{"__class__": "BadDescription", "category": "DescriptionCheck", "package": "BadDescription", "version": "2", "msg": "under 10 chars in length", "pkg_desc": "bad desc"} -{"__class__": "BadDescription", "category": "DescriptionCheck", "package": "BadDescription", "version": "3", "msg": "generic package description", "pkg_desc": "BadDescription"} -{"__class__": "BadDescription", "category": "DescriptionCheck", "package": "BadDescription", "version": "4", "msg": "over 150 chars in length", "pkg_desc": null} diff --git a/tests/data/repos/standalone/DescriptionCheck/BadDescription/fix.patch b/tests/data/repos/standalone/DescriptionCheck/BadDescription/fix.patch deleted file mode 100644 index b67a84ae..00000000 --- a/tests/data/repos/standalone/DescriptionCheck/BadDescription/fix.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -Naur standalone/DescriptionCheck/BadDescription/BadDescription-0.ebuild fixed/DescriptionCheck/BadDescription/BadDescription-0.ebuild ---- standalone/DescriptionCheck/BadDescription/BadDescription-0.ebuild 2019-11-28 00:33:38.457040594 -0700 -+++ fixed/DescriptionCheck/BadDescription/BadDescription-0.ebuild 2019-11-28 00:34:26.983325843 -0700 -@@ -1,3 +1,4 @@ -+DESCRIPTION="Ebuild with a sane DESCRIPTION" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/DescriptionCheck/BadDescription/BadDescription-1.ebuild fixed/DescriptionCheck/BadDescription/BadDescription-1.ebuild ---- standalone/DescriptionCheck/BadDescription/BadDescription-1.ebuild 2019-11-28 00:33:38.457040594 -0700 -+++ fixed/DescriptionCheck/BadDescription/BadDescription-1.ebuild 2019-11-28 00:34:39.109397112 -0700 -@@ -1,4 +1,4 @@ --DESCRIPTION="" -+DESCRIPTION="Ebuild with a sane DESCRIPTION" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/DescriptionCheck/BadDescription/BadDescription-2.ebuild fixed/DescriptionCheck/BadDescription/BadDescription-2.ebuild ---- standalone/DescriptionCheck/BadDescription/BadDescription-2.ebuild 2019-11-28 00:33:38.457040594 -0700 -+++ fixed/DescriptionCheck/BadDescription/BadDescription-2.ebuild 2019-11-28 00:34:47.788448129 -0700 -@@ -1,4 +1,4 @@ --DESCRIPTION="bad desc" -+DESCRIPTION="Ebuild with a sane DESCRIPTION" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/DescriptionCheck/BadDescription/BadDescription-3.ebuild fixed/DescriptionCheck/BadDescription/BadDescription-3.ebuild ---- standalone/DescriptionCheck/BadDescription/BadDescription-3.ebuild 2019-11-28 00:33:38.457040594 -0700 -+++ fixed/DescriptionCheck/BadDescription/BadDescription-3.ebuild 2019-11-28 00:34:53.796483445 -0700 -@@ -1,4 +1,4 @@ --DESCRIPTION="BadDescription" -+DESCRIPTION="Ebuild with a sane DESCRIPTION" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/DescriptionCheck/BadDescription/BadDescription-4.ebuild fixed/DescriptionCheck/BadDescription/BadDescription-4.ebuild ---- standalone/DescriptionCheck/BadDescription/BadDescription-4.ebuild 2019-11-28 00:33:38.457040594 -0700 -+++ fixed/DescriptionCheck/BadDescription/BadDescription-4.ebuild 2019-11-28 00:34:59.065514420 -0700 -@@ -1,4 +1,4 @@ --DESCRIPTION="Ebuild with DESCRIPTION that is far too long and will be flagged by the BadDescription result since the check triggers at greater than 150 characters long." -+DESCRIPTION="Ebuild with a sane DESCRIPTION" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" diff --git a/tests/data/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/expected.json b/tests/data/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/expected.json deleted file mode 100644 index 9ca1edf8..00000000 --- a/tests/data/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "DroppedKeywords", "category": "DroppedKeywordsCheck", "package": "DroppedKeywords", "version": "1", "arches": ["x86"]} diff --git a/tests/data/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/fix.patch b/tests/data/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/fix.patch deleted file mode 100644 index 36c27324..00000000 --- a/tests/data/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/fix.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naur standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild fixed/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild ---- standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild 2019-10-09 06:27:05.229866513 -0600 -+++ fixed/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild 1969-12-31 17:00:00.000000000 -0700 -@@ -1,5 +0,0 @@ --DESCRIPTION="Ebuild with dropped keywords" --HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SLOT="0" --LICENSE="BSD" --KEYWORDS="~amd64 ~x86" -diff -Naur standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild fixed/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild ---- standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild 2019-10-09 06:27:06.151870892 -0600 -+++ fixed/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild 2019-10-09 06:27:27.411971799 -0600 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --KEYWORDS="~amd64" -+KEYWORDS="~amd64 ~x86" diff --git a/tests/data/repos/standalone/EapiCheck/BannedEapi/expected.json b/tests/data/repos/standalone/EapiCheck/BannedEapi/expected.json deleted file mode 100644 index fa1974dd..00000000 --- a/tests/data/repos/standalone/EapiCheck/BannedEapi/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "BannedEapi", "category": "EapiCheck", "package": "BannedEapi", "version": "0", "eapi": "1"} diff --git a/tests/data/repos/standalone/EapiCheck/BannedEapi/fix.patch b/tests/data/repos/standalone/EapiCheck/BannedEapi/fix.patch deleted file mode 100644 index c8453021..00000000 --- a/tests/data/repos/standalone/EapiCheck/BannedEapi/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/EapiCheck/BannedEapi/BannedEapi-0.ebuild fixed/EapiCheck/BannedEapi/BannedEapi-0.ebuild ---- standalone/EapiCheck/BannedEapi/BannedEapi-0.ebuild 2019-09-15 03:05:12.832870282 -0600 -+++ fixed/EapiCheck/BannedEapi/BannedEapi-0.ebuild 2019-09-15 03:11:08.602303656 -0600 -@@ -1,4 +1,4 @@ --EAPI=1 -+EAPI=7 - DESCRIPTION="Ebuild using banned EAPI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" diff --git a/tests/data/repos/standalone/EapiCheck/DeprecatedEapi/expected.json b/tests/data/repos/standalone/EapiCheck/DeprecatedEapi/expected.json deleted file mode 100644 index 01170a25..00000000 --- a/tests/data/repos/standalone/EapiCheck/DeprecatedEapi/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "DeprecatedEapi", "category": "EapiCheck", "package": "DeprecatedEapi", "version": "0", "eapi": "5"} diff --git a/tests/data/repos/standalone/EapiCheck/DeprecatedEapi/fix.patch b/tests/data/repos/standalone/EapiCheck/DeprecatedEapi/fix.patch deleted file mode 100644 index b5be79b8..00000000 --- a/tests/data/repos/standalone/EapiCheck/DeprecatedEapi/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild fixed/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild ---- standalone/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild 2019-09-15 03:08:00.380545715 -0600 -+++ fixed/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild 2019-09-15 03:11:41.260435170 -0600 -@@ -1,4 +1,4 @@ --EAPI=5 -+EAPI=7 - DESCRIPTION="Ebuild using deprecated EAPI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" diff --git a/tests/data/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/expected.json b/tests/data/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/expected.json deleted file mode 100644 index e244d965..00000000 --- a/tests/data/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "DuplicateEclassInherit", "category": "EclassUsageCheck", "package": "DuplicateEclassInherit", "version": "0", "line": "inherit stub vcs stub", "lineno": 1, "eclass": "stub"} -{"__class__": "DuplicateEclassInherit", "category": "EclassUsageCheck", "package": "DuplicateEclassInherit", "version": "1", "line": "inherit stub", "lineno": 7, "eclass": "stub"} diff --git a/tests/data/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/fix.patch b/tests/data/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/fix.patch deleted file mode 100644 index bb94ce94..00000000 --- a/tests/data/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/fix.patch +++ /dev/null @@ -1,26 +0,0 @@ -diff -Naur standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild fixed/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild ---- standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild 2020-12-29 17:38:21.221884222 -0700 -+++ fixed/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild 2020-12-29 17:46:06.059025276 -0700 -@@ -1,4 +1,4 @@ --inherit stub vcs stub -+inherit stub vcs - - DESCRIPTION="Ebuild with duplicate eclass inherit" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" -diff -Naur standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-1.ebuild fixed/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-1.ebuild ---- standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-1.ebuild 2020-12-29 17:38:53.542587976 -0700 -+++ fixed/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-1.ebuild 2020-12-29 17:46:21.103353534 -0700 -@@ -1,10 +1,11 @@ - EAPI=7 - -+inherit stub -+ - if [[ ${PV} == "9999" ]] ; then - EVCS_REPO_URI="https://github.com/pkgcore/pkgcheck.git" -- inherit stub vcs -+ inherit vcs - else -- inherit stub - KEYWORDS="~amd64 ~x86" - fi - diff --git a/tests/data/repos/standalone/EqualVersionsCheck/EqualVersions/expected.json b/tests/data/repos/standalone/EqualVersionsCheck/EqualVersions/expected.json deleted file mode 100644 index bd63063d..00000000 --- a/tests/data/repos/standalone/EqualVersionsCheck/EqualVersions/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "EqualVersions", "category": "EqualVersionsCheck", "package": "EqualVersions", "versions": ["0", "0-r0"]} -{"__class__": "EqualVersions", "category": "EqualVersionsCheck", "package": "EqualVersions", "versions": ["0-r01", "0-r1"]} diff --git a/tests/data/repos/standalone/EqualVersionsCheck/EqualVersions/fix.patch b/tests/data/repos/standalone/EqualVersionsCheck/EqualVersions/fix.patch deleted file mode 100644 index 9e658841..00000000 --- a/tests/data/repos/standalone/EqualVersionsCheck/EqualVersions/fix.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Naur standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild fixed/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild ---- standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild 2019-08-20 18:54:59.099260828 -0600 -+++ fixed/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild 1969-12-31 17:00:00.000000000 -0700 -@@ -1,4 +0,0 @@ --DESCRIPTION="Ebuilds that have equal versions" --HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SLOT="0" --LICENSE="BSD" -diff -Naur standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild fixed/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild ---- standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild 2019-08-20 18:54:59.099260828 -0600 -+++ fixed/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild 1969-12-31 17:00:00.000000000 -0700 -@@ -1,4 +0,0 @@ --DESCRIPTION="Ebuilds that have equal versions" --HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SLOT="0" --LICENSE="BSD" diff --git a/tests/data/repos/standalone/GlobalUseCheck/PotentialGlobalUse/expected.json b/tests/data/repos/standalone/GlobalUseCheck/PotentialGlobalUse/expected.json deleted file mode 100644 index eac27851..00000000 --- a/tests/data/repos/standalone/GlobalUseCheck/PotentialGlobalUse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "PotentialGlobalUse", "flag": "potential-global", "pkgs": ["GlobalUseCheck/PotentialGlobalUse", "stub/potential-global1", "stub/potential-global2", "stub/potential-global3", "stub/potential-global4"]} diff --git a/tests/data/repos/standalone/GlobalUseCheck/PotentialGlobalUse/fix.patch b/tests/data/repos/standalone/GlobalUseCheck/PotentialGlobalUse/fix.patch deleted file mode 100644 index 19fc349f..00000000 --- a/tests/data/repos/standalone/GlobalUseCheck/PotentialGlobalUse/fix.patch +++ /dev/null @@ -1,75 +0,0 @@ -diff -Naur standalone/GlobalUseCheck/PotentialGlobalUse/metadata.xml fixed/GlobalUseCheck/PotentialGlobalUse/metadata.xml ---- standalone/GlobalUseCheck/PotentialGlobalUse/metadata.xml 2020-11-21 13:48:52.752825975 -0700 -+++ fixed/GlobalUseCheck/PotentialGlobalUse/metadata.xml 1969-12-31 17:00:00.000000000 -0700 -@@ -1,7 +0,0 @@ --<?xml version="1.0" encoding="UTF-8"?> --<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> --<pkgmetadata> -- <use> -- <flag name="potential-global">potential global flag</flag> -- </use> --</pkgmetadata> -diff -Naur standalone/profiles/use.desc fixed/profiles/use.desc ---- standalone/profiles/use.desc 2020-11-21 13:45:14.164041827 -0700 -+++ fixed/profiles/use.desc 2020-11-21 14:02:46.539079781 -0700 -@@ -1,6 +1,7 @@ - used - used global flag - unused - unused global flag - matching - matching global flag -+potential-global - potential global use flag - potential-local - potential local use flag - probable - probable global flag - test - enable tests -diff -Naur standalone/profiles/use.local.desc fixed/profiles/use.local.desc ---- standalone/profiles/use.local.desc 2020-11-21 13:58:53.153966686 -0700 -+++ fixed/profiles/use.local.desc 1969-12-31 17:00:00.000000000 -0700 -@@ -1,5 +0,0 @@ --GlobalUseCheck/PotentialGlobalUse:potential-global - potential global flag --stub/potential-global1:potential-global - potential global flag --stub/potential-global2:potential-global - potential global flag --stub/potential-global3:potential-global - potential global flag --stub/potential-global4:potential-global - potential global flag -diff -Naur standalone/stub/potential-global1/metadata.xml fixed/stub/potential-global1/metadata.xml ---- standalone/stub/potential-global1/metadata.xml 2020-11-21 13:51:43.065553535 -0700 -+++ fixed/stub/potential-global1/metadata.xml 1969-12-31 17:00:00.000000000 -0700 -@@ -1,7 +0,0 @@ --<?xml version="1.0" encoding="UTF-8"?> --<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> --<pkgmetadata> -- <use> -- <flag name="potential-global">potential global flag</flag> -- </use> --</pkgmetadata> -diff -Naur standalone/stub/potential-global2/metadata.xml fixed/stub/potential-global2/metadata.xml ---- standalone/stub/potential-global2/metadata.xml 2020-11-21 13:51:43.065553535 -0700 -+++ fixed/stub/potential-global2/metadata.xml 1969-12-31 17:00:00.000000000 -0700 -@@ -1,7 +0,0 @@ --<?xml version="1.0" encoding="UTF-8"?> --<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> --<pkgmetadata> -- <use> -- <flag name="potential-global">potential global flag</flag> -- </use> --</pkgmetadata> -diff -Naur standalone/stub/potential-global3/metadata.xml fixed/stub/potential-global3/metadata.xml ---- standalone/stub/potential-global3/metadata.xml 2020-11-21 13:51:43.065553535 -0700 -+++ fixed/stub/potential-global3/metadata.xml 1969-12-31 17:00:00.000000000 -0700 -@@ -1,7 +0,0 @@ --<?xml version="1.0" encoding="UTF-8"?> --<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> --<pkgmetadata> -- <use> -- <flag name="potential-global">potential global flag</flag> -- </use> --</pkgmetadata> -diff -Naur standalone/stub/potential-global4/metadata.xml fixed/stub/potential-global4/metadata.xml ---- standalone/stub/potential-global4/metadata.xml 2020-11-21 13:51:43.065553535 -0700 -+++ fixed/stub/potential-global4/metadata.xml 1969-12-31 17:00:00.000000000 -0700 -@@ -1,7 +0,0 @@ --<?xml version="1.0" encoding="UTF-8"?> --<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> --<pkgmetadata> -- <use> -- <flag name="potential-global">potential global flag</flag> -- </use> --</pkgmetadata> diff --git a/tests/data/repos/standalone/GlobalUseCheck/PotentialLocalUse/expected.json b/tests/data/repos/standalone/GlobalUseCheck/PotentialLocalUse/expected.json deleted file mode 100644 index c098d25d..00000000 --- a/tests/data/repos/standalone/GlobalUseCheck/PotentialLocalUse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "PotentialLocalUse", "flag": "potential-local", "pkgs": ["GlobalUseCheck/PotentialLocalUse"]} diff --git a/tests/data/repos/standalone/GlobalUseCheck/PotentialLocalUse/fix.patch b/tests/data/repos/standalone/GlobalUseCheck/PotentialLocalUse/fix.patch deleted file mode 100644 index c490c075..00000000 --- a/tests/data/repos/standalone/GlobalUseCheck/PotentialLocalUse/fix.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur standalone/GlobalUseCheck/PotentialLocalUse/metadata.xml fixed/GlobalUseCheck/PotentialLocalUse/metadata.xml ---- standalone/GlobalUseCheck/PotentialLocalUse/metadata.xml 1969-12-31 17:00:00.000000000 -0700 -+++ fixed/GlobalUseCheck/PotentialLocalUse/metadata.xml 2020-11-21 13:41:35.139251785 -0700 -@@ -0,0 +1,10 @@ -+<?xml version="1.0" encoding="UTF-8"?> -+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -+<pkgmetadata> -+ <maintainer type="person"> -+ <email>maintainer@random.email</email> -+ </maintainer> -+ <use> -+ <flag name="potential-local">potential local use flag</flag> -+ </use> -+</pkgmetadata> -diff -Naur standalone/profiles/use.desc fixed/profiles/use.desc ---- standalone/profiles/use.desc 2020-11-21 13:30:59.218350554 -0700 -+++ fixed/profiles/use.desc 2020-11-21 13:40:12.314441234 -0700 -@@ -1,6 +1,5 @@ - used - used global flag - unused - unused global flag - matching - matching global flag --potential-local - potential local use flag - probable - probable global flag - test - enable tests diff --git a/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUse/expected.json b/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUse/expected.json deleted file mode 100644 index 43995891..00000000 --- a/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedGlobalUse", "flags": ["unused"]} diff --git a/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUse/fix.sh b/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUse/fix.sh deleted file mode 100755 index a073b7fc..00000000 --- a/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUse/fix.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -sed -i '/^unused -/d' profiles/use.desc diff --git a/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUseExpand/expected.json b/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUseExpand/expected.json deleted file mode 100644 index 0c7cc85b..00000000 --- a/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUseExpand/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedGlobalUseExpand", "flags": ["use_expand_unused"]} diff --git a/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUseExpand/fix.patch b/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUseExpand/fix.patch deleted file mode 100644 index 4e7ad84f..00000000 --- a/tests/data/repos/standalone/GlobalUseCheck/UnusedGlobalUseExpand/fix.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff -Naur standalone/profiles/desc/use_expand.desc fixed/profiles/desc/use_expand.desc ---- standalone/profiles/desc/use_expand.desc 2020-12-08 12:17:09.314128729 -0700 -+++ fixed/profiles/desc/use_expand.desc 2020-12-08 12:19:33.243272770 -0700 -@@ -1,2 +1 @@ --unused - unused USE_EXPAND stub flag - used - used USE_EXPAND stub flag diff --git a/tests/data/repos/standalone/HomepageCheck/BadHomepage/expected.json b/tests/data/repos/standalone/HomepageCheck/BadHomepage/expected.json deleted file mode 100644 index ec7e0fc2..00000000 --- a/tests/data/repos/standalone/HomepageCheck/BadHomepage/expected.json +++ /dev/null @@ -1,4 +0,0 @@ -{"__class__": "BadHomepage", "category": "HomepageCheck", "package": "BadHomepage", "version": "0", "msg": "HOMEPAGE empty/unset"} -{"__class__": "BadHomepage", "category": "HomepageCheck", "package": "BadHomepage", "version": "1", "msg": "HOMEPAGE='github.com/pkgcore/pkgcheck' lacks protocol"} -{"__class__": "BadHomepage", "category": "HomepageCheck", "package": "BadHomepage", "version": "2", "msg": "HOMEPAGE='gopher://github.com/pkgcore/pkgcheck' uses unsupported protocol 'gopher'"} -{"__class__": "BadHomepage", "category": "HomepageCheck", "package": "BadHomepage", "version": "3", "msg": "unspecific HOMEPAGE: https://www.gentoo.org"} diff --git a/tests/data/repos/standalone/HomepageCheck/BadHomepage/fix.patch b/tests/data/repos/standalone/HomepageCheck/BadHomepage/fix.patch deleted file mode 100644 index 9dc14faa..00000000 --- a/tests/data/repos/standalone/HomepageCheck/BadHomepage/fix.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff -Naur standalone/HomepageCheck/BadHomepage/BadHomepage-0.ebuild fixed/HomepageCheck/BadHomepage/BadHomepage-0.ebuild ---- standalone/HomepageCheck/BadHomepage/BadHomepage-0.ebuild 2019-11-19 01:36:57.401383105 -0700 -+++ fixed/HomepageCheck/BadHomepage/BadHomepage-0.ebuild 2019-11-20 02:35:16.031740120 -0700 -@@ -1,3 +1,4 @@ - DESCRIPTION="Ebuild with missing HOMEPAGE" -+HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/HomepageCheck/BadHomepage/BadHomepage-1.ebuild fixed/HomepageCheck/BadHomepage/BadHomepage-1.ebuild ---- standalone/HomepageCheck/BadHomepage/BadHomepage-1.ebuild 2019-11-19 01:36:57.401383105 -0700 -+++ fixed/HomepageCheck/BadHomepage/BadHomepage-1.ebuild 2019-11-20 02:35:16.031740120 -0700 -@@ -1,4 +1,4 @@ - DESCRIPTION="Ebuild HOMEPAGE with missing protocol" --HOMEPAGE="github.com/pkgcore/pkgcheck" -+HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/HomepageCheck/BadHomepage/BadHomepage-2.ebuild fixed/HomepageCheck/BadHomepage/BadHomepage-2.ebuild ---- standalone/HomepageCheck/BadHomepage/BadHomepage-2.ebuild 2019-11-19 01:36:57.401383105 -0700 -+++ fixed/HomepageCheck/BadHomepage/BadHomepage-2.ebuild 2019-11-20 02:35:16.032740124 -0700 -@@ -1,4 +1,4 @@ - DESCRIPTION="Ebuild HOMEPAGE with unsupported protocol" --HOMEPAGE="gopher://github.com/pkgcore/pkgcheck" -+HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/HomepageCheck/BadHomepage/BadHomepage-3.ebuild fixed/HomepageCheck/BadHomepage/BadHomepage-3.ebuild ---- standalone/HomepageCheck/BadHomepage/BadHomepage-3.ebuild 2019-11-20 02:34:43.541618896 -0700 -+++ fixed/HomepageCheck/BadHomepage/BadHomepage-3.ebuild 2019-11-20 02:35:36.691817189 -0700 -@@ -1,4 +1,4 @@ - DESCRIPTION="Ebuild uses unspecific HOMEPAGE" --HOMEPAGE="https://www.gentoo.org" -+HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" diff --git a/tests/data/repos/standalone/InsintoCheck/DeprecatedInsinto/expected.json b/tests/data/repos/standalone/InsintoCheck/DeprecatedInsinto/expected.json deleted file mode 100644 index 3ae55712..00000000 --- a/tests/data/repos/standalone/InsintoCheck/DeprecatedInsinto/expected.json +++ /dev/null @@ -1,10 +0,0 @@ -{"__class__": "DeprecatedInsinto", "category": "InsintoCheck", "package": "DeprecatedInsinto", "version": "0", "line": "insinto /etc/conf.d", "lineno": 7, "cmd": "doconfd or newconfd"} -{"__class__": "DeprecatedInsinto", "category": "InsintoCheck", "package": "DeprecatedInsinto", "version": "0", "line": "insinto /etc/env.d", "lineno": 9, "cmd": "doenvd or newenvd"} -{"__class__": "DeprecatedInsinto", "category": "InsintoCheck", "package": "DeprecatedInsinto", "version": "0", "line": "insinto /etc/init.d", "lineno": 11, "cmd": "doinitd or newinitd"} -{"__class__": "DeprecatedInsinto", "category": "InsintoCheck", "package": "DeprecatedInsinto", "version": "0", "line": "insinto /etc/pam.d", "lineno": 13, "cmd": "dopamd or newpamd from pam.eclass"} -{"__class__": "DeprecatedInsinto", "category": "InsintoCheck", "package": "DeprecatedInsinto", "version": "0", "line": "insinto /usr/share/applications", "lineno": 15, "cmd": "domenu or newmenu from desktop.eclass"} -{"__class__": "DeprecatedInsinto", "category": "InsintoCheck", "package": "DeprecatedInsinto", "version": "1", "line": "insinto /usr/share/doc/${PF}", "lineno": 8, "cmd": "docinto/dodoc"} -{"__class__": "DeprecatedInsinto", "category": "InsintoCheck", "package": "DeprecatedInsinto", "version": "1", "line": "insinto /usr/share/doc/\"${PF}\"", "lineno": 10, "cmd": "docinto/dodoc"} -{"__class__": "DeprecatedInsinto", "category": "InsintoCheck", "package": "DeprecatedInsinto", "version": "1", "line": "insinto /usr/share/doc/${PF}", "lineno": 12, "cmd": "docinto/dodoc"} -{"__class__": "DeprecatedInsinto", "category": "InsintoCheck", "package": "DeprecatedInsinto", "version": "1", "line": "insinto /usr/share/doc/${PF}/examples", "lineno": 14, "cmd": "docinto/dodoc"} -{"__class__": "DeprecatedInsinto", "category": "InsintoCheck", "package": "DeprecatedInsinto", "version": "1", "line": "insinto /usr/share/doc/\"${PF}\"/examples", "lineno": 16, "cmd": "docinto/dodoc"} diff --git a/tests/data/repos/standalone/InsintoCheck/DeprecatedInsinto/fix.patch b/tests/data/repos/standalone/InsintoCheck/DeprecatedInsinto/fix.patch deleted file mode 100644 index df268c7c..00000000 --- a/tests/data/repos/standalone/InsintoCheck/DeprecatedInsinto/fix.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff -Naur standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-0.ebuild fixed/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-0.ebuild ---- standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-0.ebuild 2020-01-16 10:35:45.612624381 -0700 -+++ fixed/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-0.ebuild 2020-01-21 13:28:02.414341321 -0700 -@@ -4,14 +4,9 @@ - LICENSE="BSD" - - src_install() { -- insinto /etc/conf.d -- doins foo -- insinto /etc/env.d -- doins foo -- insinto /etc/init.d -- doins foo -- insinto /etc/pam.d -- doins foo -- insinto /usr/share/applications -- doins foo -+ doconf.d foo -+ doenvd foo -+ doinitd foo -+ dopamd foo -+ domenu foo - } -diff -Naur standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-1.ebuild fixed/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-1.ebuild ---- standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-1.ebuild 2020-01-21 13:20:18.815286720 -0700 -+++ fixed/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-1.ebuild 2020-01-21 13:26:43.359992323 -0700 -@@ -5,14 +5,11 @@ - LICENSE="BSD" - - src_install() { -- insinto /usr/share/doc/${PF} -- doins foo -- insinto /usr/share/doc/"${PF}" -- doins bar -- insinto /usr/share/doc/${PF}/ -- doins -r html -- insinto /usr/share/doc/${PF}/examples -- doins samples/* -- insinto /usr/share/doc/"${PF}"/examples -- doins foo/examples/* -+ dodoc foo -+ dodoc bar -+ dodoc -r html -+ -+ docinto examples -+ dodoc samples/* -+ dodoc foo/examples/* - } diff --git a/tests/data/repos/standalone/IuseCheck/InvalidUseFlags/expected.json b/tests/data/repos/standalone/IuseCheck/InvalidUseFlags/expected.json deleted file mode 100644 index 367b4b8f..00000000 --- a/tests/data/repos/standalone/IuseCheck/InvalidUseFlags/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "InvalidUseFlags", "category": "IuseCheck", "package": "InvalidUseFlags", "version": "0", "flags": ["+", "+flag1", "-", "-flag2"]} -{"__class__": "InvalidUseFlags", "category": "IuseCheck", "package": "InvalidUseFlags", "version": "4", "flags": ["+", "-"]} diff --git a/tests/data/repos/standalone/IuseCheck/InvalidUseFlags/fix.patch b/tests/data/repos/standalone/IuseCheck/InvalidUseFlags/fix.patch deleted file mode 100644 index ce877bda..00000000 --- a/tests/data/repos/standalone/IuseCheck/InvalidUseFlags/fix.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naur standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild fixed/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild ---- standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild 2019-09-18 21:52:54.860068690 -0600 -+++ fixed/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild 2019-09-18 21:58:10.025343307 -0600 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --IUSE="used +flag1 -flag2 + -" -+IUSE="used flag1 flag2" -diff -Naur standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild fixed/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild ---- standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild 2019-09-18 21:53:47.468281475 -0600 -+++ fixed/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild 2019-09-18 21:58:25.504405829 -0600 -@@ -3,4 +3,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --IUSE="used +flag1 -flag2 + -" -+IUSE="used +flag1 -flag2" diff --git a/tests/data/repos/standalone/IuseCheck/UnknownUseFlags/expected.json b/tests/data/repos/standalone/IuseCheck/UnknownUseFlags/expected.json deleted file mode 100644 index d5ac05dc..00000000 --- a/tests/data/repos/standalone/IuseCheck/UnknownUseFlags/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnknownUseFlags", "category": "IuseCheck", "package": "UnknownUseFlags", "version": "0", "flags": ["amd64", "flag3"]} diff --git a/tests/data/repos/standalone/IuseCheck/UnknownUseFlags/fix.patch b/tests/data/repos/standalone/IuseCheck/UnknownUseFlags/fix.patch deleted file mode 100644 index da4a29fc..00000000 --- a/tests/data/repos/standalone/IuseCheck/UnknownUseFlags/fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -Naur standalone/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild fixed/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild ---- standalone/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild 2019-09-18 22:05:56.510227607 -0600 -+++ fixed/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild 2019-09-18 22:07:16.121549184 -0600 -@@ -3,4 +3,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --IUSE="amd64 used flag1 +flag2 -flag3" -+IUSE="used flag1 +flag2 -flag3" -diff -Naur standalone/IuseCheck/UnknownUseFlags/metadata.xml fixed/IuseCheck/UnknownUseFlags/metadata.xml ---- standalone/IuseCheck/UnknownUseFlags/metadata.xml 2019-09-18 21:53:02.093097947 -0600 -+++ fixed/IuseCheck/UnknownUseFlags/metadata.xml 2019-09-18 22:07:31.287610443 -0600 -@@ -7,5 +7,6 @@ - <use> - <flag name="flag1">USE flag 1</flag> - <flag name="flag2">USE flag 2</flag> -+ <flag name="flag3">USE flag 3</flag> - </use> - </pkgmetadata> diff --git a/tests/data/repos/standalone/KeywordsCheck/BadKeywords/expected.json b/tests/data/repos/standalone/KeywordsCheck/BadKeywords/expected.json deleted file mode 100644 index 2c1bdce5..00000000 --- a/tests/data/repos/standalone/KeywordsCheck/BadKeywords/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "BadKeywords", "category": "KeywordsCheck", "package": "BadKeywords", "version": "0"} diff --git a/tests/data/repos/standalone/KeywordsCheck/BadKeywords/fix.patch b/tests/data/repos/standalone/KeywordsCheck/BadKeywords/fix.patch deleted file mode 100644 index 79eb3e8a..00000000 --- a/tests/data/repos/standalone/KeywordsCheck/BadKeywords/fix.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur standalone/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild fixed/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild ---- standalone/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild 2019-11-22 22:48:55.093074849 -0700 -+++ fixed/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild 2019-11-22 22:52:08.321813744 -0700 -@@ -2,4 +2,3 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --KEYWORDS="-*" diff --git a/tests/data/repos/standalone/KeywordsCheck/DuplicateKeywords/expected.json b/tests/data/repos/standalone/KeywordsCheck/DuplicateKeywords/expected.json deleted file mode 100644 index f7d594ee..00000000 --- a/tests/data/repos/standalone/KeywordsCheck/DuplicateKeywords/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "DuplicateKeywords", "category": "KeywordsCheck", "package": "DuplicateKeywords", "version": "0", "keywords": ["~amd64"]} diff --git a/tests/data/repos/standalone/KeywordsCheck/DuplicateKeywords/fix.patch b/tests/data/repos/standalone/KeywordsCheck/DuplicateKeywords/fix.patch deleted file mode 100644 index b7160bbc..00000000 --- a/tests/data/repos/standalone/KeywordsCheck/DuplicateKeywords/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild fixed/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild ---- standalone/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild 2019-08-24 22:17:49.095265551 -0600 -+++ fixed/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild 2019-08-24 22:19:39.517063654 -0600 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --KEYWORDS="~amd64 ~amd64" -+KEYWORDS="~amd64" diff --git a/tests/data/repos/standalone/KeywordsCheck/OverlappingKeywords/expected.json b/tests/data/repos/standalone/KeywordsCheck/OverlappingKeywords/expected.json deleted file mode 100644 index c558da5d..00000000 --- a/tests/data/repos/standalone/KeywordsCheck/OverlappingKeywords/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "OverlappingKeywords", "category": "KeywordsCheck", "package": "OverlappingKeywords", "version": "0", "keywords": "('amd64', '~amd64')"} diff --git a/tests/data/repos/standalone/KeywordsCheck/OverlappingKeywords/fix.patch b/tests/data/repos/standalone/KeywordsCheck/OverlappingKeywords/fix.patch deleted file mode 100644 index 1ddd357d..00000000 --- a/tests/data/repos/standalone/KeywordsCheck/OverlappingKeywords/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild fixed/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild ---- standalone/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild 2019-08-24 21:46:15.246787327 -0600 -+++ fixed/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild 2019-08-24 22:18:35.615601787 -0600 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --KEYWORDS="amd64 ~amd64" -+KEYWORDS="amd64" diff --git a/tests/data/repos/standalone/KeywordsCheck/UnknownKeywords/expected.json b/tests/data/repos/standalone/KeywordsCheck/UnknownKeywords/expected.json deleted file mode 100644 index c99efc45..00000000 --- a/tests/data/repos/standalone/KeywordsCheck/UnknownKeywords/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnknownKeywords", "category": "KeywordsCheck", "package": "UnknownKeywords", "version": "0", "keywords": ["unknown"]} diff --git a/tests/data/repos/standalone/KeywordsCheck/UnknownKeywords/fix.patch b/tests/data/repos/standalone/KeywordsCheck/UnknownKeywords/fix.patch deleted file mode 100644 index f091350c..00000000 --- a/tests/data/repos/standalone/KeywordsCheck/UnknownKeywords/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild fixed/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild ---- standalone/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild 2019-08-24 21:40:40.152688102 -0600 -+++ fixed/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild 2019-08-24 21:41:29.197995350 -0600 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --KEYWORDS="amd64 unknown" -+KEYWORDS="amd64" diff --git a/tests/data/repos/standalone/KeywordsCheck/UnsortedKeywords/expected-verbose.json b/tests/data/repos/standalone/KeywordsCheck/UnsortedKeywords/expected-verbose.json deleted file mode 100644 index 77c69372..00000000 --- a/tests/data/repos/standalone/KeywordsCheck/UnsortedKeywords/expected-verbose.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnsortedKeywords", "category": "KeywordsCheck", "package": "UnsortedKeywords", "version": "0", "keywords": ["~x86", "~amd64"], "sorted_keywords": ["~amd64", "~x86"]} diff --git a/tests/data/repos/standalone/KeywordsCheck/UnsortedKeywords/expected.json b/tests/data/repos/standalone/KeywordsCheck/UnsortedKeywords/expected.json deleted file mode 100644 index 3234fb5e..00000000 --- a/tests/data/repos/standalone/KeywordsCheck/UnsortedKeywords/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnsortedKeywords", "category": "KeywordsCheck", "package": "UnsortedKeywords", "version": "0", "keywords": ["~x86", "~amd64"], "sorted_keywords": []} diff --git a/tests/data/repos/standalone/KeywordsCheck/UnsortedKeywords/fix.patch b/tests/data/repos/standalone/KeywordsCheck/UnsortedKeywords/fix.patch deleted file mode 100644 index 2235caf8..00000000 --- a/tests/data/repos/standalone/KeywordsCheck/UnsortedKeywords/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild fixed/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild ---- standalone/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild 2019-10-08 02:21:41.431248271 -0600 -+++ fixed/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild 2019-10-08 02:22:09.068381302 -0600 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --KEYWORDS="~x86 ~amd64" -+KEYWORDS="~amd64 ~x86" diff --git a/tests/data/repos/standalone/LicenseCheck/InvalidLicense/expected.json b/tests/data/repos/standalone/LicenseCheck/InvalidLicense/expected.json deleted file mode 100644 index e06b9bd8..00000000 --- a/tests/data/repos/standalone/LicenseCheck/InvalidLicense/expected.json +++ /dev/null @@ -1,3 +0,0 @@ -{"__class__": "InvalidLicense", "category": "LicenseCheck", "package": "InvalidLicense", "version": "0", "attr": "license", "msg": "failed parsing LICENSE: '( )' is unparseable"} -{"__class__": "InvalidLicense", "category": "LicenseCheck", "package": "InvalidLicense", "version": "1", "attr": "license", "msg": "failed parsing LICENSE: '?' is unparseable: flagged token- ?"} -{"__class__": "InvalidLicense", "category": "LicenseCheck", "package": "InvalidLicense", "version": "2", "attr": "license", "msg": "failed parsing LICENSE: 'used?' is unparseable: flagged token- used?"} diff --git a/tests/data/repos/standalone/LicenseCheck/InvalidLicense/fix.patch b/tests/data/repos/standalone/LicenseCheck/InvalidLicense/fix.patch deleted file mode 100644 index b8033ef6..00000000 --- a/tests/data/repos/standalone/LicenseCheck/InvalidLicense/fix.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -Naur standalone/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild fixed/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild ---- standalone/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild 2019-11-23 00:27:57.633663522 -0700 -+++ fixed/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild 2019-11-23 00:30:26.740242348 -0700 -@@ -1,4 +1,4 @@ - DESCRIPTION="Ebuild with invalid LICENSE" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" --LICENSE="( )" -+LICENSE="BSD" -diff -Naur standalone/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild fixed/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild ---- standalone/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild 2019-11-23 00:28:02.437681816 -0700 -+++ fixed/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild 2019-11-23 00:30:37.192283283 -0700 -@@ -1,4 +1,4 @@ - DESCRIPTION="Ebuild with invalid LICENSE" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" --LICENSE="?" -+LICENSE="BSD" -diff -Naur standalone/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild fixed/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild ---- standalone/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild 2019-11-23 00:29:11.103946140 -0700 -+++ fixed/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild 2019-11-23 00:30:47.739324583 -0700 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - IUSE="used" --LICENSE="used?" -+LICENSE="used? ( BSD )" diff --git a/tests/data/repos/standalone/LicenseCheck/MissingLicense/expected.json b/tests/data/repos/standalone/LicenseCheck/MissingLicense/expected.json deleted file mode 100644 index 274c9413..00000000 --- a/tests/data/repos/standalone/LicenseCheck/MissingLicense/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MissingLicense", "category": "LicenseCheck", "package": "MissingLicense", "version": "0"} diff --git a/tests/data/repos/standalone/LicenseCheck/MissingLicense/fix.patch b/tests/data/repos/standalone/LicenseCheck/MissingLicense/fix.patch deleted file mode 100644 index a4dadc9f..00000000 --- a/tests/data/repos/standalone/LicenseCheck/MissingLicense/fix.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur standalone/LicenseCheck/MissingLicense/MissingLicense-0.ebuild fixed/LicenseCheck/MissingLicense/MissingLicense-0.ebuild ---- standalone/LicenseCheck/MissingLicense/MissingLicense-0.ebuild 2019-08-21 22:08:32.581264873 -0600 -+++ fixed/LicenseCheck/MissingLicense/MissingLicense-0.ebuild 2019-08-21 22:09:43.194548871 -0600 -@@ -1,3 +1,4 @@ - DESCRIPTION="Ebuild missing a LICENSE""" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" -+LICENSE="BSD" diff --git a/tests/data/repos/standalone/LicenseCheck/MissingLicenseFile/expected.json b/tests/data/repos/standalone/LicenseCheck/MissingLicenseFile/expected.json deleted file mode 100644 index 76cac4ed..00000000 --- a/tests/data/repos/standalone/LicenseCheck/MissingLicenseFile/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MissingLicenseFile", "category": "LicenseCheck", "package": "MissingLicenseFile", "version": "0", "licenses": ["missing"]} diff --git a/tests/data/repos/standalone/LicenseCheck/MissingLicenseFile/fix.patch b/tests/data/repos/standalone/LicenseCheck/MissingLicenseFile/fix.patch deleted file mode 100644 index d90fb6ae..00000000 --- a/tests/data/repos/standalone/LicenseCheck/MissingLicenseFile/fix.patch +++ /dev/null @@ -1,5 +0,0 @@ -diff -Naur standalone/licenses/missing fixed/licenses/missing ---- standalone/licenses/missing 1969-12-31 17:00:00.000000000 -0700 -+++ fixed/licenses/missing 2019-08-21 15:37:16.136975626 -0600 -@@ -0,0 +1 @@ -+added missing license diff --git a/tests/data/repos/standalone/LicenseCheck/MissingLicenseRestricts/expected.json b/tests/data/repos/standalone/LicenseCheck/MissingLicenseRestricts/expected.json deleted file mode 100644 index 66284b36..00000000 --- a/tests/data/repos/standalone/LicenseCheck/MissingLicenseRestricts/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "MissingLicenseRestricts", "category": "LicenseCheck", "package": "MissingLicenseRestricts", "version": "0", "license_group": "EULA", "license": "eula", "restrictions": ["bindist"]} -{"__class__": "MissingLicenseRestricts", "category": "LicenseCheck", "package": "MissingLicenseRestricts", "version": "1", "license_group": "EULA", "license": "eula", "restrictions": ["bindist", "mirror"]} diff --git a/tests/data/repos/standalone/LicenseCheck/MissingLicenseRestricts/fix.patch b/tests/data/repos/standalone/LicenseCheck/MissingLicenseRestricts/fix.patch deleted file mode 100644 index 48408029..00000000 --- a/tests/data/repos/standalone/LicenseCheck/MissingLicenseRestricts/fix.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Naur standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild fixed/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild ---- standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild 2020-11-23 16:06:20.488571579 -0700 -+++ fixed/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild 2020-11-23 16:13:05.534435811 -0700 -@@ -2,3 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="eula" -+RESTRICT="bindist" -diff -Naur standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild fixed/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild ---- standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild 2020-11-23 16:08:03.779832055 -0700 -+++ fixed/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild 2020-11-23 16:13:14.194625333 -0700 -@@ -3,3 +3,4 @@ - SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" - SLOT="0" - LICENSE="eula" -+RESTRICT="bindist mirror" diff --git a/tests/data/repos/standalone/LicenseCheck/UnnecessaryLicense/expected.json b/tests/data/repos/standalone/LicenseCheck/UnnecessaryLicense/expected.json deleted file mode 100644 index 6c89fd6c..00000000 --- a/tests/data/repos/standalone/LicenseCheck/UnnecessaryLicense/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnnecessaryLicense", "category": "virtual", "package": "UnnecessaryLicense", "version": "0"} diff --git a/tests/data/repos/standalone/LicenseCheck/UnnecessaryLicense/fix.patch b/tests/data/repos/standalone/LicenseCheck/UnnecessaryLicense/fix.patch deleted file mode 100644 index 69f223b1..00000000 --- a/tests/data/repos/standalone/LicenseCheck/UnnecessaryLicense/fix.patch +++ /dev/null @@ -1,7 +0,0 @@ -diff -Naur standalone/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild fixed/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild ---- standalone/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild 2019-08-21 21:57:17.183559589 -0600 -+++ fixed/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild 2019-08-21 21:58:31.162854871 -0600 -@@ -1,3 +1,2 @@ - DESCRIPTION="Ebuild with unnecessary LICENSE""" - SLOT="0" --LICENSE="BSD" diff --git a/tests/data/repos/standalone/LicenseCheck/UnstatedIuse/expected-verbose.json b/tests/data/repos/standalone/LicenseCheck/UnstatedIuse/expected-verbose.json deleted file mode 100644 index f0c7d437..00000000 --- a/tests/data/repos/standalone/LicenseCheck/UnstatedIuse/expected-verbose.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "LicenseCheck", "package": "UnstatedIuse", "version": "0", "attr": "license", "flags": ["used"], "profile": "default/amd64", "num_profiles": null} -{"__class__": "UnstatedIuse", "category": "LicenseCheck", "package": "UnstatedIuse", "version": "0", "attr": "license", "flags": ["used"], "profile": "default/x86", "num_profiles": null} diff --git a/tests/data/repos/standalone/LicenseCheck/UnstatedIuse/expected.json b/tests/data/repos/standalone/LicenseCheck/UnstatedIuse/expected.json deleted file mode 100644 index cfa387b9..00000000 --- a/tests/data/repos/standalone/LicenseCheck/UnstatedIuse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "LicenseCheck", "package": "UnstatedIuse", "version": "0", "attr": "license", "flags": ["used"], "profile": "default/amd64", "num_profiles": 2} diff --git a/tests/data/repos/standalone/LicenseCheck/UnstatedIuse/fix.patch b/tests/data/repos/standalone/LicenseCheck/UnstatedIuse/fix.patch deleted file mode 100644 index 8608b1a2..00000000 --- a/tests/data/repos/standalone/LicenseCheck/UnstatedIuse/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild fixed/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild ---- standalone/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-08-21 16:55:59.984293156 -0600 -+++ fixed/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-08-21 16:57:15.622607715 -0600 -@@ -1,4 +1,5 @@ - DESCRIPTION="Ebuild with unstated USE flags in LICENSE""" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" -+IUSE="used" - LICENSE="used? ( BSD )" diff --git a/tests/data/repos/standalone/LicenseGroupsCheck/UnknownLicenses/expected.json b/tests/data/repos/standalone/LicenseGroupsCheck/UnknownLicenses/expected.json deleted file mode 100644 index bd5aecf2..00000000 --- a/tests/data/repos/standalone/LicenseGroupsCheck/UnknownLicenses/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnknownLicenses", "group": "GROUP", "licenses": ["unknown"]} diff --git a/tests/data/repos/standalone/LicenseGroupsCheck/UnknownLicenses/fix.patch b/tests/data/repos/standalone/LicenseGroupsCheck/UnknownLicenses/fix.patch deleted file mode 100644 index 65227327..00000000 --- a/tests/data/repos/standalone/LicenseGroupsCheck/UnknownLicenses/fix.patch +++ /dev/null @@ -1,7 +0,0 @@ -diff -Naur standalone/profiles/license_groups fixed/profiles/license_groups ---- standalone/profiles/license_groups 2019-08-21 03:07:57.289878209 -0600 -+++ fixed/profiles/license_groups 2019-08-21 03:08:40.481050795 -0600 -@@ -1,2 +1,2 @@ --GROUP BSD unknown -+GROUP BSD - EULA eula diff --git a/tests/data/repos/standalone/LocalUseCheck/MatchingGlobalUse/expected.json b/tests/data/repos/standalone/LocalUseCheck/MatchingGlobalUse/expected.json deleted file mode 100644 index 8d2c3730..00000000 --- a/tests/data/repos/standalone/LocalUseCheck/MatchingGlobalUse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MatchingGlobalUse", "category": "LocalUseCheck", "package": "MatchingGlobalUse", "flag": "matching"} diff --git a/tests/data/repos/standalone/LocalUseCheck/MatchingGlobalUse/fix.patch b/tests/data/repos/standalone/LocalUseCheck/MatchingGlobalUse/fix.patch deleted file mode 100644 index 325c6056..00000000 --- a/tests/data/repos/standalone/LocalUseCheck/MatchingGlobalUse/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur standalone/LocalUseCheck/MatchingGlobalUse/metadata.xml fixed/LocalUseCheck/MatchingGlobalUse/metadata.xml ---- standalone/LocalUseCheck/MatchingGlobalUse/metadata.xml 2019-08-21 00:05:02.628826037 -0600 -+++ fixed/LocalUseCheck/MatchingGlobalUse/metadata.xml 2019-08-21 00:06:32.021181563 -0600 -@@ -4,7 +4,4 @@ - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> -- <use> -- <flag name="matching">matching global flag</flag> -- </use> - </pkgmetadata> diff --git a/tests/data/repos/standalone/LocalUseCheck/ProbableGlobalUse/expected.json b/tests/data/repos/standalone/LocalUseCheck/ProbableGlobalUse/expected.json deleted file mode 100644 index 18a11dcf..00000000 --- a/tests/data/repos/standalone/LocalUseCheck/ProbableGlobalUse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "ProbableGlobalUse", "category": "LocalUseCheck", "package": "ProbableGlobalUse", "flag": "probable"} diff --git a/tests/data/repos/standalone/LocalUseCheck/ProbableGlobalUse/fix.patch b/tests/data/repos/standalone/LocalUseCheck/ProbableGlobalUse/fix.patch deleted file mode 100644 index 8684f13b..00000000 --- a/tests/data/repos/standalone/LocalUseCheck/ProbableGlobalUse/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur standalone/LocalUseCheck/ProbableGlobalUse/metadata.xml fixed/LocalUseCheck/ProbableGlobalUse/metadata.xml ---- standalone/LocalUseCheck/ProbableGlobalUse/metadata.xml 2019-08-21 02:12:27.787915100 -0600 -+++ fixed/LocalUseCheck/ProbableGlobalUse/metadata.xml 2019-08-21 02:17:09.469997879 -0600 -@@ -4,7 +4,4 @@ - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> -- <use> -- <flag name="probable">probably global flag</flag> -- </use> - </pkgmetadata> diff --git a/tests/data/repos/standalone/LocalUseCheck/ProbableUseExpand/expected.json b/tests/data/repos/standalone/LocalUseCheck/ProbableUseExpand/expected.json deleted file mode 100644 index 4c813de0..00000000 --- a/tests/data/repos/standalone/LocalUseCheck/ProbableUseExpand/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "ProbableUseExpand", "category": "LocalUseCheck", "package": "ProbableUseExpand", "flag": "use_expand_probable", "group": "USE_EXPAND"} diff --git a/tests/data/repos/standalone/LocalUseCheck/ProbableUseExpand/fix.patch b/tests/data/repos/standalone/LocalUseCheck/ProbableUseExpand/fix.patch deleted file mode 100644 index 93052a9a..00000000 --- a/tests/data/repos/standalone/LocalUseCheck/ProbableUseExpand/fix.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -Naur standalone/LocalUseCheck/ProbableUseExpand/metadata.xml fixed/LocalUseCheck/ProbableUseExpand/metadata.xml ---- standalone/LocalUseCheck/ProbableUseExpand/metadata.xml 2020-12-08 12:22:28.275096538 -0700 -+++ fixed/LocalUseCheck/ProbableUseExpand/metadata.xml 2020-12-08 12:23:51.546915716 -0700 -@@ -3,6 +3,5 @@ - <pkgmetadata> - <use> - <flag name="local">local USE flag stub</flag> -- <flag name="use_expand_probable">probable USE_EXPAND flag</flag> - </use> - </pkgmetadata> -diff -Naur standalone/profiles/desc/use_expand.desc fixed/profiles/desc/use_expand.desc ---- standalone/profiles/desc/use_expand.desc 2020-12-08 12:17:09.314128729 -0700 -+++ fixed/profiles/desc/use_expand.desc 2020-12-08 12:24:37.363916644 -0700 -@@ -1,2 +1,3 @@ - unused - unused USE_EXPAND stub flag - used - used USE_EXPAND stub flag -+probable - probable USE_EXPAND flag diff --git a/tests/data/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/expected.json b/tests/data/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/expected.json deleted file mode 100644 index 649f2402..00000000 --- a/tests/data/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnderscoreInUseFlag", "category": "LocalUseCheck", "package": "UnderscoreInUseFlag", "flag": "foo_bar"} diff --git a/tests/data/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/fix.patch b/tests/data/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/fix.patch deleted file mode 100644 index 10fd2954..00000000 --- a/tests/data/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/fix.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -Naur standalone/LocalUseCheck/UnderscoreInUseFlag/metadata.xml fixed/LocalUseCheck/UnderscoreInUseFlag/metadata.xml ---- standalone/LocalUseCheck/UnderscoreInUseFlag/metadata.xml 2019-09-04 10:56:36.120246759 +0200 -+++ fixed/LocalUseCheck/UnderscoreInUseFlag/metadata.xml 2019-09-04 11:07:42.466278179 +0200 -@@ -5,6 +5,6 @@ - <email>maintainer@random.email</email> - </maintainer> - <use> -- <flag name="foo_bar">local USE flag with underscore</flag> -+ <flag name="foo-bar">local USE flag without underscore</flag> - </use> - </pkgmetadata> -diff -Naur standalone/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild fixed/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild ---- standalone/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild 2019-09-04 10:56:51.764401394 +0200 -+++ fixed/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild 2019-09-04 11:07:32.300826502 +0200 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --IUSE="foo_bar" -+IUSE="foo-bar" diff --git a/tests/data/repos/standalone/LocalUseCheck/UnusedLocalUse/expected.json b/tests/data/repos/standalone/LocalUseCheck/UnusedLocalUse/expected.json deleted file mode 100644 index 8f8e51ed..00000000 --- a/tests/data/repos/standalone/LocalUseCheck/UnusedLocalUse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedLocalUse", "category": "LocalUseCheck", "package": "UnusedLocalUse", "flags": ["local"]} diff --git a/tests/data/repos/standalone/LocalUseCheck/UnusedLocalUse/fix.patch b/tests/data/repos/standalone/LocalUseCheck/UnusedLocalUse/fix.patch deleted file mode 100644 index dd05ae88..00000000 --- a/tests/data/repos/standalone/LocalUseCheck/UnusedLocalUse/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur standalone/LocalUseCheck/UnusedLocalUse/metadata.xml fixed/LocalUseCheck/UnusedLocalUse/metadata.xml ---- standalone/LocalUseCheck/UnusedLocalUse/metadata.xml 2019-08-25 03:15:12.285433188 -0600 -+++ fixed/LocalUseCheck/UnusedLocalUse/metadata.xml 2019-08-25 03:16:19.554872547 -0600 -@@ -4,7 +4,4 @@ - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> -- <use> -- <flag name="local">local USE flag</flag> -- </use> - </pkgmetadata> diff --git a/tests/data/repos/standalone/ManifestCheck/DeprecatedChksum/expected.json b/tests/data/repos/standalone/ManifestCheck/DeprecatedChksum/expected.json deleted file mode 100644 index a5d4194d..00000000 --- a/tests/data/repos/standalone/ManifestCheck/DeprecatedChksum/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "DeprecatedChksum", "category": "ManifestCheck", "package": "DeprecatedChksum", "version": "0", "filename": "DeprecatedChksum-0.tar.gz", "deprecated": ["sha256"]} diff --git a/tests/data/repos/standalone/ManifestCheck/DeprecatedChksum/fix.patch b/tests/data/repos/standalone/ManifestCheck/DeprecatedChksum/fix.patch deleted file mode 100644 index 58c014e9..00000000 --- a/tests/data/repos/standalone/ManifestCheck/DeprecatedChksum/fix.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff -Naur standalone/ManifestCheck/DeprecatedChksum/Manifest fixed/ManifestCheck/DeprecatedChksum/Manifest ---- standalone/ManifestCheck/DeprecatedChksum/Manifest 2019-10-02 00:44:39.541870427 -0600 -+++ fixed/ManifestCheck/DeprecatedChksum/Manifest 2019-10-02 00:44:58.306933399 -0600 -@@ -1 +1 @@ --DIST DeprecatedChksum-0.tar.gz 62869 BLAKE2B 2918d2714f0557e1b67284709bce22c5e14d8f7f545ca33c16ec7928273edf18c9be48a685c3e9a032170bf2b7e572a4b78664f37b2a16c5ae5829b3cc55ca76 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 SHA256 edc5b5cc9b823b55a68ebc31248570c372b85a2e2e156b299aadccbdcbb31972 -+DIST DeprecatedChksum-0.tar.gz 62869 BLAKE2B 2918d2714f0557e1b67284709bce22c5e14d8f7f545ca33c16ec7928273edf18c9be48a685c3e9a032170bf2b7e572a4b78664f37b2a16c5ae5829b3cc55ca76 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/data/repos/standalone/ManifestCheck/InvalidManifest/expected.json b/tests/data/repos/standalone/ManifestCheck/InvalidManifest/expected.json deleted file mode 100644 index 1807ee27..00000000 --- a/tests/data/repos/standalone/ManifestCheck/InvalidManifest/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "InvalidManifest", "category": "ManifestCheck", "package": "InvalidManifest", "attr": "manifest", "msg": "failed parsing 'ManifestCheck/InvalidManifest/Manifest': invalid data format"} diff --git a/tests/data/repos/standalone/ManifestCheck/InvalidManifest/fix.patch b/tests/data/repos/standalone/ManifestCheck/InvalidManifest/fix.patch deleted file mode 100644 index 6ff3454a..00000000 --- a/tests/data/repos/standalone/ManifestCheck/InvalidManifest/fix.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff -Naur standalone/ManifestCheck/InvalidManifest/Manifest fixed/ManifestCheck/InvalidManifest/Manifest ---- standalone/ManifestCheck/InvalidManifest/Manifest 2020-11-20 19:58:23.999313070 -0700 -+++ fixed/ManifestCheck/InvalidManifest/Manifest 2020-11-20 19:59:13.402348284 -0700 -@@ -1 +1 @@ --DIST InvalidManifest-0.tar.gz foobar -+DIST InvalidManifest-0.tar.gz 153310 BLAKE2B b7484cd9bebe912fac8869c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6612a361e47b7c5de7a615feec5e05 diff --git a/tests/data/repos/standalone/ManifestCheck/MissingChksum/expected.json b/tests/data/repos/standalone/ManifestCheck/MissingChksum/expected.json deleted file mode 100644 index 003309a5..00000000 --- a/tests/data/repos/standalone/ManifestCheck/MissingChksum/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MissingChksum", "category": "ManifestCheck", "package": "MissingChksum", "version": "0", "filename": "MissingChksum-0.tar.gz", "missing": ["blake2b"], "existing": ["rmd160", "sha1", "sha256", "size"]} diff --git a/tests/data/repos/standalone/ManifestCheck/MissingChksum/fix.patch b/tests/data/repos/standalone/ManifestCheck/MissingChksum/fix.patch deleted file mode 100644 index 6e8bea6a..00000000 --- a/tests/data/repos/standalone/ManifestCheck/MissingChksum/fix.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff -Naur standalone/ManifestCheck/MissingChksum/Manifest fixed/ManifestCheck/MissingChksum/Manifest ---- standalone/ManifestCheck/MissingChksum/Manifest 2019-08-25 03:11:17.446899418 -0600 -+++ fixed/ManifestCheck/MissingChksum/Manifest 2019-08-25 03:12:36.130413307 -0600 -@@ -1 +1 @@ --DIST MissingChksum-0.tar.gz 1598683 RMD160 14ad37420733f950b8f7640c2e7f0b3fe593af89 SHA1 cc0a48d81d090ec90e134afba4b9e700a5843f09 SHA256 9673c23d09783a526d09d54327f2ea32dfff053629411939cfca223fe690d36d -+DIST MissingChksum-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/data/repos/standalone/ManifestCheck/MissingManifest/expected.json b/tests/data/repos/standalone/ManifestCheck/MissingManifest/expected.json deleted file mode 100644 index 9b04343c..00000000 --- a/tests/data/repos/standalone/ManifestCheck/MissingManifest/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MissingManifest", "category": "ManifestCheck", "package": "MissingManifest", "version": "0", "files": ["MissingManifest-0.tar.gz"]} diff --git a/tests/data/repos/standalone/ManifestCheck/MissingManifest/fix.patch b/tests/data/repos/standalone/ManifestCheck/MissingManifest/fix.patch deleted file mode 100644 index f01b2ee3..00000000 --- a/tests/data/repos/standalone/ManifestCheck/MissingManifest/fix.patch +++ /dev/null @@ -1,5 +0,0 @@ -diff -Naur standalone/ManifestCheck/MissingManifest/Manifest fixed/ManifestCheck/MissingManifest/Manifest ---- standalone/ManifestCheck/MissingManifest/Manifest 1969-12-31 17:00:00.000000000 -0700 -+++ fixed/ManifestCheck/MissingManifest/Manifest 2019-08-25 02:55:30.132724895 -0600 -@@ -0,0 +1 @@ -+DIST MissingManifest-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/data/repos/standalone/ManifestCheck/UnknownManifest/expected.json b/tests/data/repos/standalone/ManifestCheck/UnknownManifest/expected.json deleted file mode 100644 index 992404a8..00000000 --- a/tests/data/repos/standalone/ManifestCheck/UnknownManifest/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnknownManifest", "category": "ManifestCheck", "package": "UnknownManifest", "files": ["UnknownManifest-1.tar.gz"]} diff --git a/tests/data/repos/standalone/ManifestCheck/UnknownManifest/fix.patch b/tests/data/repos/standalone/ManifestCheck/UnknownManifest/fix.patch deleted file mode 100644 index ea088a11..00000000 --- a/tests/data/repos/standalone/ManifestCheck/UnknownManifest/fix.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff -Naur standalone/ManifestCheck/UnknownManifest/Manifest fixed/ManifestCheck/UnknownManifest/Manifest ---- standalone/ManifestCheck/UnknownManifest/Manifest 2019-08-25 03:05:12.349514911 -0600 -+++ fixed/ManifestCheck/UnknownManifest/Manifest 2019-08-25 03:06:05.673863179 -0600 -@@ -1,2 +1 @@ - DIST UnknownManifest-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255ccf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 --DIST UnknownManifest-1.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7bb55cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/data/repos/standalone/ManifestCheck/UnnecessaryManifest/expected.json b/tests/data/repos/standalone/ManifestCheck/UnnecessaryManifest/expected.json deleted file mode 100644 index 00bdb726..00000000 --- a/tests/data/repos/standalone/ManifestCheck/UnnecessaryManifest/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnnecessaryManifest", "category": "ManifestCheck", "package": "UnnecessaryManifest", "files": ["UnnecessaryManifest-0.ebuild"]} diff --git a/tests/data/repos/standalone/ManifestCheck/UnnecessaryManifest/fix.patch b/tests/data/repos/standalone/ManifestCheck/UnnecessaryManifest/fix.patch deleted file mode 100644 index 7c39df17..00000000 --- a/tests/data/repos/standalone/ManifestCheck/UnnecessaryManifest/fix.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff -Naur standalone/ManifestCheck/UnnecessaryManifest/Manifest fixed/ManifestCheck/UnnecessaryManifest/Manifest ---- standalone/ManifestCheck/UnnecessaryManifest/Manifest 2019-10-02 00:27:50.522734841 -0600 -+++ fixed/ManifestCheck/UnnecessaryManifest/Manifest 2019-10-02 00:44:13.277782288 -0600 -@@ -1,2 +1 @@ - DIST UnnecessaryManifest-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 --EBUILD UnnecessaryManifest-0.ebuild 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/data/repos/standalone/ManifestCollisionCheck/ConflictingChksums/expected.json b/tests/data/repos/standalone/ManifestCollisionCheck/ConflictingChksums/expected.json deleted file mode 100644 index 78c7fff0..00000000 --- a/tests/data/repos/standalone/ManifestCollisionCheck/ConflictingChksums/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "ConflictingChksums", "category": "test", "package": "ConflictingChksums", "version": "0", "filename": "foo.tar.gz", "chksums": ["blake2b"], "pkgs": ["ManifestCollisionCheck/ConflictingChksums"]} diff --git a/tests/data/repos/standalone/ManifestCollisionCheck/ConflictingChksums/fix.patch b/tests/data/repos/standalone/ManifestCollisionCheck/ConflictingChksums/fix.patch deleted file mode 100644 index 9a1f246d..00000000 --- a/tests/data/repos/standalone/ManifestCollisionCheck/ConflictingChksums/fix.patch +++ /dev/null @@ -1,17 +0,0 @@ -diff -Naur standalone/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild fixed/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild ---- standalone/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild 2019-10-02 01:50:59.290414757 -0600 -+++ fixed/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild 2019-10-02 01:59:42.550542224 -0600 -@@ -1,5 +1,6 @@ -+EAPI=2 - DESCRIPTION="Ebuild with manifest entry colliding with another package" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" -+SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz -> ${P}-foo.tar.gz" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/ManifestCollisionCheck/ConflictingChksums/Manifest fixed/ManifestCollisionCheck/ConflictingChksums/Manifest ---- standalone/ManifestCollisionCheck/ConflictingChksums/Manifest 2019-10-02 01:55:58.600631675 -0600 -+++ fixed/ManifestCollisionCheck/ConflictingChksums/Manifest 2019-10-02 01:59:57.189601733 -0600 -@@ -1 +1 @@ --DIST foo.tar.gz 153310 BLAKE2B a7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 -+DIST ConflictingChksums-0-foo.tar.gz 153310 BLAKE2B a7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/data/repos/standalone/ManifestCollisionCheck/MatchingChksums/expected.json b/tests/data/repos/standalone/ManifestCollisionCheck/MatchingChksums/expected.json deleted file mode 100644 index 1fb64a10..00000000 --- a/tests/data/repos/standalone/ManifestCollisionCheck/MatchingChksums/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MatchingChksums", "category": "test", "package": "MatchingChksums", "version": "0", "filename": "foo2.tar.gz", "orig_file": "foo1.tar.gz", "orig_pkg": "ManifestCollisionCheck/MatchingChksums"} diff --git a/tests/data/repos/standalone/ManifestCollisionCheck/MatchingChksums/fix.patch b/tests/data/repos/standalone/ManifestCollisionCheck/MatchingChksums/fix.patch deleted file mode 100644 index 5b9c08e6..00000000 --- a/tests/data/repos/standalone/ManifestCollisionCheck/MatchingChksums/fix.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Naur standalone/test/MatchingChksums/Manifest fixed/test/MatchingChksums/Manifest ---- standalone/test/MatchingChksums/Manifest 2019-10-08 09:59:11.976813178 -0600 -+++ fixed/test/MatchingChksums/Manifest 2019-10-08 10:04:41.818463731 -0600 -@@ -1 +1 @@ --DIST foo2.tar.gz 153310 BLAKE2B abc123d9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 -+DIST foo1.tar.gz 153310 BLAKE2B abc123d9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 -diff -Naur standalone/test/MatchingChksums/MatchingChksums-0.ebuild fixed/test/MatchingChksums/MatchingChksums-0.ebuild ---- standalone/test/MatchingChksums/MatchingChksums-0.ebuild 2019-10-08 09:59:11.977813183 -0600 -+++ fixed/test/MatchingChksums/MatchingChksums-0.ebuild 2019-10-08 10:04:31.633412766 -0600 -@@ -1,5 +1,5 @@ - DESCRIPTION="Ebuild with manifest entry colliding with another package" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SRC_URI="https://github.com/pkgcore/pkgcheck/foo2.tar.gz" -+SRC_URI="https://github.com/pkgcore/pkgcheck/foo1.tar.gz" - SLOT="0" - LICENSE="BSD" diff --git a/tests/data/repos/standalone/MissingSlotDepCheck/MissingSlotDep/expected.json b/tests/data/repos/standalone/MissingSlotDepCheck/MissingSlotDep/expected.json deleted file mode 100644 index 751dbc38..00000000 --- a/tests/data/repos/standalone/MissingSlotDepCheck/MissingSlotDep/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MissingSlotDep", "category": "MissingSlotDepCheck", "package": "MissingSlotDep", "version": "0", "dep": "stub/slotted", "dep_slots": ["0", "1"]} diff --git a/tests/data/repos/standalone/MissingSlotDepCheck/MissingSlotDep/fix.patch b/tests/data/repos/standalone/MissingSlotDepCheck/MissingSlotDep/fix.patch deleted file mode 100644 index 0bb7501f..00000000 --- a/tests/data/repos/standalone/MissingSlotDepCheck/MissingSlotDep/fix.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -Naur standalone/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild fixed/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild ---- standalone/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild 2019-11-28 01:46:30.606468149 -0700 -+++ fixed/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild 2019-11-28 01:50:03.520400413 -0700 -@@ -3,5 +3,5 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --RDEPEND="stub/slotted" -+RDEPEND="stub/slotted:1=" - DEPEND="${RDEPEND}" diff --git a/tests/data/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/expected.json b/tests/data/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/expected.json deleted file mode 100644 index d70bcc18..00000000 --- a/tests/data/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MissingUnpackerDep", "category": "MissingUnpackerDepCheck", "package": "MissingUnpackerDep", "version": "0", "eapi": "0", "filenames": ["MissingUnpackerDep-0.zip"], "unpackers": ["app-arch/unzip"]} diff --git a/tests/data/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/fix.patch b/tests/data/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/fix.patch deleted file mode 100644 index fd050c85..00000000 --- a/tests/data/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/fix.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur standalone/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild fixed/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild ---- standalone/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild 2019-10-08 02:55:42.845221788 -0600 -+++ fixed/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild 2019-10-08 02:56:42.103506456 -0600 -@@ -3,3 +3,4 @@ - SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.zip" - SLOT="0" - LICENSE="BSD" -+DEPEND="app-arch/unzip" diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/expected.json b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/expected.json deleted file mode 100644 index a5bf803d..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "PkgBadlyFormedXml", "category": "PackageMetadataXmlCheck", "package": "PkgBadlyFormedXml", "filename": "metadata.xml", "error": "xmlParseEntityRef: no name, line 7, column 34 (metadata.xml, line 7)"} diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/fix.patch b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/fix.patch deleted file mode 100644 index 370db33b..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/fix.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -Naur standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/metadata.xml fixed/PackageMetadataXmlCheck/PkgBadlyFormedXml/metadata.xml ---- standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/metadata.xml 2019-08-23 17:45:04.180089876 -0600 -+++ fixed/PackageMetadataXmlCheck/PkgBadlyFormedXml/metadata.xml 2019-08-23 17:46:20.145393569 -0600 -@@ -4,5 +4,5 @@ - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> -- <longdescription>Don't use raw & in XML.</longdescription> -+ <longdescription>Don't use raw & in XML.</longdescription> - </pkgmetadata> diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/expected.json b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/expected.json deleted file mode 100644 index f0faec7a..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "PkgInvalidXml", "category": "PackageMetadataXmlCheck", "package": "PkgInvalidXml", "filename": "metadata.xml", "message": "line 7, col 0: (SCHEMAV_ELEMENT_CONTENT) Element 'description': This element is not expected."} diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/fix.patch b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/fix.patch deleted file mode 100644 index c6b56b41..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur standalone/PackageMetadataXmlCheck/PkgInvalidXml/metadata.xml fixed/PackageMetadataXmlCheck/PkgInvalidXml/metadata.xml ---- standalone/PackageMetadataXmlCheck/PkgInvalidXml/metadata.xml 2019-08-24 04:10:34.640601699 -0600 -+++ fixed/PackageMetadataXmlCheck/PkgInvalidXml/metadata.xml 2019-08-24 04:21:55.644058571 -0600 -@@ -4,7 +4,7 @@ - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> -- <description> -+ <longdescription> - Package with invalid XML field failing schema validation. -- </description> -+ </longdescription> - </pkgmetadata> diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/expected.json b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/expected.json deleted file mode 100644 index efcc0bc9..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "PkgMetadataXmlEmptyElement", "category": "PackageMetadataXmlCheck", "package": "PkgMetadataXmlEmptyElement", "filename": "metadata.xml", "element": "longdescription", "line": 7} diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/fix.patch b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/fix.patch deleted file mode 100644 index 269fa6d7..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/fix.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -Naur standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/metadata.xml fixed/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/metadata.xml ---- standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/metadata.xml 2019-08-26 10:39:25.186467609 -0600 -+++ fixed/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/metadata.xml 2019-08-26 10:40:59.606093847 -0600 -@@ -4,5 +4,5 @@ - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> -- <longdescription></longdescription> -+ <longdescription>A description that actually exists.</longdescription> - </pkgmetadata> diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/expected.json b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/expected.json deleted file mode 100644 index d1e74450..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "PkgMetadataXmlIndentation", "category": "PackageMetadataXmlCheck", "package": "PkgMetadataXmlIndentation", "filename": "metadata.xml", "lines": ["5"]} diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/fix.patch b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/fix.patch deleted file mode 100644 index 51536baf..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/metadata.xml fixed/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/metadata.xml ---- standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/metadata.xml 2019-08-23 17:27:50.042953896 -0600 -+++ fixed/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/metadata.xml 2019-08-23 17:30:54.799692845 -0600 -@@ -2,6 +2,6 @@ - <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> - <pkgmetadata> - <maintainer type="person"> -- <email>maintainer@random.email</email> -+ <email>maintainer@random.email</email> - </maintainer> - </pkgmetadata> diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/expected.json b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/expected.json deleted file mode 100644 index 11973fe9..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "PkgMetadataXmlInvalidCatRef", "category": "PackageMetadataXmlCheck", "package": "PkgMetadataXmlInvalidCatRef", "filename": "metadata.xml", "cattext": "virtul"} diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/fix.patch b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/fix.patch deleted file mode 100644 index 9e060378..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/metadata.xml fixed/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/metadata.xml ---- standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/metadata.xml 2020-01-25 07:52:59.108145478 -0700 -+++ fixed/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/metadata.xml 2020-01-25 08:12:41.867033689 -0700 -@@ -6,6 +6,6 @@ - </maintainer> - <longdescription> - Package with metadata.xml longdescription that has an invalid category -- reference to a nonexistent category of <cat>virtul</cat>. -+ reference to a nonexistent category of <cat>virtual</cat>. - </longdescription> - </pkgmetadata> diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/expected.json b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/expected.json deleted file mode 100644 index 5c4149ca..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "PkgMetadataXmlInvalidPkgRef", "category": "PackageMetadataXmlCheck", "package": "PkgMetadataXmlInvalidPkgRef", "filename": "metadata.xml", "pkgtext": "nonexistent/pkg"} diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/fix.patch b/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/fix.patch deleted file mode 100644 index 2ff7e2c5..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/metadata.xml fixed/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/metadata.xml ---- standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/metadata.xml 2020-01-25 07:53:11.402203396 -0700 -+++ fixed/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/metadata.xml 2020-01-25 08:14:00.559343459 -0700 -@@ -5,7 +5,7 @@ - <email>maintainer@random.email</email> - </maintainer> - <longdescription> -- Package with metadata.xml longdescription that has an invalid package -- reference to a nonexistent package of <pkg>nonexistent/pkg</pkg>. -+ Package with metadata.xml longdescription that has a valid package -+ reference to an existent package of <pkg>app-arch/unzip</pkg>. - </longdescription> - </pkgmetadata> diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/expected.json b/tests/data/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/expected.json deleted file mode 100644 index 230fdbdb..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "RedundantLongDescription", "category": "PackageMetadataXmlCheck", "package": "RedundantLongDescription", "msg": "metadata.xml longdescription closely matches DESCRIPTION"} diff --git a/tests/data/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/fix.patch b/tests/data/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/fix.patch deleted file mode 100644 index 6099af45..00000000 --- a/tests/data/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/fix.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur standalone/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml fixed/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml ---- standalone/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml 2020-01-25 20:10:08.394800745 -0700 -+++ fixed/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml 2020-01-25 20:14:03.958676673 -0700 -@@ -4,7 +4,4 @@ - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> -- <longdescription> -- Ebuild with redundant metadata.xml longdescription. -- </longdescription> - </pkgmetadata> diff --git a/tests/data/repos/standalone/PkgDirCheck/DuplicateFiles/expected.json b/tests/data/repos/standalone/PkgDirCheck/DuplicateFiles/expected.json deleted file mode 100644 index df976e33..00000000 --- a/tests/data/repos/standalone/PkgDirCheck/DuplicateFiles/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "DuplicateFiles", "category": "PkgDirCheck", "package": "DuplicateFiles", "files": ["files/1", "files/2"]} diff --git a/tests/data/repos/standalone/PkgDirCheck/DuplicateFiles/fix.patch b/tests/data/repos/standalone/PkgDirCheck/DuplicateFiles/fix.patch deleted file mode 100644 index e62696b9..00000000 --- a/tests/data/repos/standalone/PkgDirCheck/DuplicateFiles/fix.patch +++ /dev/null @@ -1,6 +0,0 @@ -diff -Naur standalone/PkgDirCheck/DuplicateFiles/files/2 fixed/PkgDirCheck/DuplicateFiles/files/2 ---- standalone/PkgDirCheck/DuplicateFiles/files/2 2019-08-20 18:54:59.098260825 -0600 -+++ fixed/PkgDirCheck/DuplicateFiles/files/2 1969-12-31 17:00:00.000000000 -0700 -@@ -1,2 +0,0 @@ -- -- diff --git a/tests/data/repos/standalone/PkgDirCheck/EmptyFile/expected.json b/tests/data/repos/standalone/PkgDirCheck/EmptyFile/expected.json deleted file mode 100644 index c63ce984..00000000 --- a/tests/data/repos/standalone/PkgDirCheck/EmptyFile/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EmptyFile", "category": "PkgDirCheck", "package": "EmptyFile", "filename": "files/empty"} diff --git a/tests/data/repos/standalone/PkgDirCheck/EmptyFile/fix.sh b/tests/data/repos/standalone/PkgDirCheck/EmptyFile/fix.sh deleted file mode 100755 index 810330bf..00000000 --- a/tests/data/repos/standalone/PkgDirCheck/EmptyFile/fix.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -rm PkgDirCheck/EmptyFile/files/empty diff --git a/tests/data/repos/standalone/PkgDirCheck/ExecutableFile/expected.json b/tests/data/repos/standalone/PkgDirCheck/ExecutableFile/expected.json deleted file mode 100644 index af596444..00000000 --- a/tests/data/repos/standalone/PkgDirCheck/ExecutableFile/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "ExecutableFile", "category": "PkgDirCheck", "package": "ExecutableFile", "filename": "files/executable"} diff --git a/tests/data/repos/standalone/PkgDirCheck/ExecutableFile/fix.sh b/tests/data/repos/standalone/PkgDirCheck/ExecutableFile/fix.sh deleted file mode 100755 index c0c8179b..00000000 --- a/tests/data/repos/standalone/PkgDirCheck/ExecutableFile/fix.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -chmod -x PkgDirCheck/ExecutableFile/files/executable diff --git a/tests/data/repos/standalone/PkgDirCheck/InvalidPN/expected.json b/tests/data/repos/standalone/PkgDirCheck/InvalidPN/expected.json deleted file mode 100644 index 0a4f5e93..00000000 --- a/tests/data/repos/standalone/PkgDirCheck/InvalidPN/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "InvalidPN", "category": "PkgDirCheck", "package": "InvalidPN", "ebuilds": ["InvalidPN"]} diff --git a/tests/data/repos/standalone/PkgDirCheck/InvalidPN/fix.patch b/tests/data/repos/standalone/PkgDirCheck/InvalidPN/fix.patch deleted file mode 100644 index 793433a6..00000000 --- a/tests/data/repos/standalone/PkgDirCheck/InvalidPN/fix.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Naur standalone/PkgDirCheck/InvalidPN/InvalidPN-0.ebuild fixed/PkgDirCheck/InvalidPN/InvalidPN-0.ebuild ---- standalone/PkgDirCheck/InvalidPN/InvalidPN-0.ebuild 1969-12-31 17:00:00.000000000 -0700 -+++ fixed/PkgDirCheck/InvalidPN/InvalidPN-0.ebuild 2019-08-20 18:54:59.098260825 -0600 -@@ -0,0 +1,4 @@ -+DESCRIPTION="Ebuilds that have invalid package names" -+HOMEPAGE="https://github.com/pkgcore/pkgcheck" -+SLOT="0" -+LICENSE="BSD" -diff -Naur standalone/PkgDirCheck/InvalidPN/InvalidPN.ebuild fixed/PkgDirCheck/InvalidPN/InvalidPN.ebuild ---- standalone/PkgDirCheck/InvalidPN/InvalidPN.ebuild 2019-08-20 18:54:59.098260825 -0600 -+++ fixed/PkgDirCheck/InvalidPN/InvalidPN.ebuild 1969-12-31 17:00:00.000000000 -0700 -@@ -1,4 +0,0 @@ --DESCRIPTION="Ebuilds that have invalid package names" --HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SLOT="0" --LICENSE="BSD" diff --git a/tests/data/repos/standalone/PkgDirCheck/MismatchedPN/expected.json b/tests/data/repos/standalone/PkgDirCheck/MismatchedPN/expected.json deleted file mode 100644 index 23ca5560..00000000 --- a/tests/data/repos/standalone/PkgDirCheck/MismatchedPN/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MismatchedPN", "category": "PkgDirCheck", "package": "MismatchedPN", "ebuilds": ["Mismatched-1"]} diff --git a/tests/data/repos/standalone/PkgDirCheck/MismatchedPN/fix.patch b/tests/data/repos/standalone/PkgDirCheck/MismatchedPN/fix.patch deleted file mode 100644 index 78e2a084..00000000 --- a/tests/data/repos/standalone/PkgDirCheck/MismatchedPN/fix.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Naur standalone/PkgDirCheck/MismatchedPN/MismatchedPN-1.ebuild fixed/PkgDirCheck/MismatchedPN/MismatchedPN-1.ebuild ---- standalone/PkgDirCheck/MismatchedPN/MismatchedPN-1.ebuild 1969-12-31 17:00:00.000000000 -0700 -+++ fixed/PkgDirCheck/MismatchedPN/MismatchedPN-1.ebuild 2019-08-20 18:54:59.098260825 -0600 -@@ -0,0 +1,4 @@ -+DESCRIPTION="Ebuilds that have different names than their parent directory" -+HOMEPAGE="https://github.com/pkgcore/pkgcheck" -+SLOT="0" -+LICENSE="BSD" -diff -Naur standalone/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild fixed/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild ---- standalone/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild 2019-08-20 18:54:59.098260825 -0600 -+++ fixed/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild 1969-12-31 17:00:00.000000000 -0700 -@@ -1,4 +0,0 @@ --DESCRIPTION="Ebuilds that have different names than their parent directory" --HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SLOT="0" --LICENSE="BSD" diff --git a/tests/data/repos/standalone/ProjectMetadataCheck/EmptyProject/expected.json b/tests/data/repos/standalone/ProjectMetadataCheck/EmptyProject/expected.json deleted file mode 100644 index c6def1bf..00000000 --- a/tests/data/repos/standalone/ProjectMetadataCheck/EmptyProject/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "EmptyProject", "project": "Empty project <emptyproject@example.com> (https://example.com/empty-project)"} diff --git a/tests/data/repos/standalone/ProjectMetadataCheck/EmptyProject/fix.patch b/tests/data/repos/standalone/ProjectMetadataCheck/EmptyProject/fix.patch deleted file mode 100644 index 83580fcf..00000000 --- a/tests/data/repos/standalone/ProjectMetadataCheck/EmptyProject/fix.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -dur standalone/metadata/projects.xml fixed/metadata/projects.xml ---- standalone/metadata/projects.xml 2019-10-14 22:08:43.893932127 +0200 -+++ fixed/metadata/projects.xml 2019-10-15 16:21:19.818380782 +0200 -@@ -6,5 +6,10 @@ - <name>Empty project</name> - <url>https://example.com/empty-project</url> - <description>Test project with no members.</description> -+ <member is-lead="1"> -+ <email>somedev@gentoo.org</email> -+ <name>Some developer</name> -+ <role>Member</role> -+ </member> - </project> - </projects> diff --git a/tests/data/repos/standalone/PropertiesCheck/InvalidProperties/expected.json b/tests/data/repos/standalone/PropertiesCheck/InvalidProperties/expected.json deleted file mode 100644 index dfff348d..00000000 --- a/tests/data/repos/standalone/PropertiesCheck/InvalidProperties/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "InvalidProperties", "category": "PropertiesCheck", "package": "InvalidProperties", "version": "0", "attr": "properties", "msg": "failed parsing PROPERTIES: '!used ( interactive )' is unparseable: flagged token- string index out of range"} diff --git a/tests/data/repos/standalone/PropertiesCheck/InvalidProperties/fix.patch b/tests/data/repos/standalone/PropertiesCheck/InvalidProperties/fix.patch deleted file mode 100644 index 6732953f..00000000 --- a/tests/data/repos/standalone/PropertiesCheck/InvalidProperties/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild fixed/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild ---- standalone/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild 2019-11-23 17:07:16.294940718 -0700 -+++ fixed/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild 2019-11-23 17:09:39.252447491 -0700 -@@ -3,4 +3,4 @@ - SLOT="0" - LICENSE="BSD" - IUSE="used" --PROPERTIES="!used ( interactive )" -+PROPERTIES="!used? ( interactive )" diff --git a/tests/data/repos/standalone/PropertiesCheck/UnknownProperties/expected.json b/tests/data/repos/standalone/PropertiesCheck/UnknownProperties/expected.json deleted file mode 100644 index d4b3c7dc..00000000 --- a/tests/data/repos/standalone/PropertiesCheck/UnknownProperties/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnknownProperties", "category": "PropertiesCheck", "package": "UnknownProperties", "version": "0", "properties": ["foo"]} diff --git a/tests/data/repos/standalone/PropertiesCheck/UnknownProperties/fix.patch b/tests/data/repos/standalone/PropertiesCheck/UnknownProperties/fix.patch deleted file mode 100644 index e2ba60d5..00000000 --- a/tests/data/repos/standalone/PropertiesCheck/UnknownProperties/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild fixed/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild ---- standalone/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild 2019-10-08 02:38:22.837212452 -0600 -+++ fixed/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild 2019-10-08 02:43:25.224678356 -0600 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --PROPERTIES="foo" -+PROPERTIES="live" diff --git a/tests/data/repos/standalone/PropertiesCheck/UnstatedIuse/expected-verbose.json b/tests/data/repos/standalone/PropertiesCheck/UnstatedIuse/expected-verbose.json deleted file mode 100644 index 962ca161..00000000 --- a/tests/data/repos/standalone/PropertiesCheck/UnstatedIuse/expected-verbose.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "PropertiesCheck", "package": "UnstatedIuse", "version": "0", "attr": "properties", "flags": ["used"], "profile": "default/amd64", "num_profiles": null} -{"__class__": "UnstatedIuse", "category": "PropertiesCheck", "package": "UnstatedIuse", "version": "0", "attr": "properties", "flags": ["used"], "profile": "default/x86", "num_profiles": null} diff --git a/tests/data/repos/standalone/PropertiesCheck/UnstatedIuse/expected.json b/tests/data/repos/standalone/PropertiesCheck/UnstatedIuse/expected.json deleted file mode 100644 index 0a8fe72b..00000000 --- a/tests/data/repos/standalone/PropertiesCheck/UnstatedIuse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "PropertiesCheck", "package": "UnstatedIuse", "version": "0", "attr": "properties", "flags": ["used"], "profile": "default/amd64", "num_profiles": 2} diff --git a/tests/data/repos/standalone/PropertiesCheck/UnstatedIuse/fix.patch b/tests/data/repos/standalone/PropertiesCheck/UnstatedIuse/fix.patch deleted file mode 100644 index d4f644b5..00000000 --- a/tests/data/repos/standalone/PropertiesCheck/UnstatedIuse/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild fixed/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild ---- standalone/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-11-23 17:11:46.384774990 -0700 -+++ fixed/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-11-23 17:12:59.316962880 -0700 -@@ -2,4 +2,5 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -+IUSE="used" - PROPERTIES="used? ( interactive )" diff --git a/tests/data/repos/standalone/RawEbuildCheck/HomepageInSrcUri/expected.json b/tests/data/repos/standalone/RawEbuildCheck/HomepageInSrcUri/expected.json deleted file mode 100644 index 8f7021f1..00000000 --- a/tests/data/repos/standalone/RawEbuildCheck/HomepageInSrcUri/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "HomepageInSrcUri", "category": "RawEbuildCheck", "package": "HomepageInSrcUri", "version": "0"} diff --git a/tests/data/repos/standalone/RawEbuildCheck/HomepageInSrcUri/fix.patch b/tests/data/repos/standalone/RawEbuildCheck/HomepageInSrcUri/fix.patch deleted file mode 100644 index 9b000deb..00000000 --- a/tests/data/repos/standalone/RawEbuildCheck/HomepageInSrcUri/fix.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -Naur standalone/RawEbuildCheck/HomepageInSrcUri/HomepageInSrcUri-0.ebuild fixed/RawEbuildCheck/HomepageInSrcUri/HomepageInSrcUri-0.ebuild ---- standalone/RawEbuildCheck/HomepageInSrcUri/HomepageInSrcUri-0.ebuild 2019-11-14 00:47:23.610238294 -0700 -+++ fixed/RawEbuildCheck/HomepageInSrcUri/HomepageInSrcUri-0.ebuild 2019-11-14 00:54:02.776753207 -0700 -@@ -1,5 +1,5 @@ - DESCRIPTION="Ebuild with HOMEPAGE variable in SRC_URI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SRC_URI="${HOMEPAGE}/${P}.tar.gz" -+SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" - SLOT="0" - LICENSE="BSD" diff --git a/tests/data/repos/standalone/RawEbuildCheck/StaticSrcUri/expected.json b/tests/data/repos/standalone/RawEbuildCheck/StaticSrcUri/expected.json deleted file mode 100644 index bc2c12e6..00000000 --- a/tests/data/repos/standalone/RawEbuildCheck/StaticSrcUri/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "StaticSrcUri", "category": "RawEbuildCheck", "package": "StaticSrcUri", "version": "0", "static_str": "StaticSrcUri-0.tar.gz"} diff --git a/tests/data/repos/standalone/RawEbuildCheck/StaticSrcUri/fix.patch b/tests/data/repos/standalone/RawEbuildCheck/StaticSrcUri/fix.patch deleted file mode 100644 index 8a839dbb..00000000 --- a/tests/data/repos/standalone/RawEbuildCheck/StaticSrcUri/fix.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -Naur standalone/RawEbuildCheck/StaticSrcUri/StaticSrcUri-0.ebuild fixed/RawEbuildCheck/StaticSrcUri/StaticSrcUri-0.ebuild ---- standalone/RawEbuildCheck/StaticSrcUri/StaticSrcUri-0.ebuild 2019-11-14 00:51:17.006124071 -0700 -+++ fixed/RawEbuildCheck/StaticSrcUri/StaticSrcUri-0.ebuild 2019-11-14 00:54:46.320918465 -0700 -@@ -1,5 +1,5 @@ - DESCRIPTION="Ebuild with static values of dynamica variables in SRC_URI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SRC_URI="https://github.com/pkgcore/pkgcheck/StaticSrcUri-0.tar.gz" -+SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" - SLOT="0" - LICENSE="BSD" diff --git a/tests/data/repos/standalone/RawEbuildCheck/VariableInHomepage/expected.json b/tests/data/repos/standalone/RawEbuildCheck/VariableInHomepage/expected.json deleted file mode 100644 index c15d2c1a..00000000 --- a/tests/data/repos/standalone/RawEbuildCheck/VariableInHomepage/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "VariableInHomepage", "category": "RawEbuildCheck", "package": "VariableInHomepage", "version": "0", "variables": ["${PN}"]} diff --git a/tests/data/repos/standalone/RawEbuildCheck/VariableInHomepage/fix.patch b/tests/data/repos/standalone/RawEbuildCheck/VariableInHomepage/fix.patch deleted file mode 100644 index 9ee291b8..00000000 --- a/tests/data/repos/standalone/RawEbuildCheck/VariableInHomepage/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/RawEbuildCheck/VariableInHomepage/VariableInHomepage-0.ebuild fixed/RawEbuildCheck/VariableInHomepage/VariableInHomepage-0.ebuild ---- standalone/RawEbuildCheck/VariableInHomepage/VariableInHomepage-0.ebuild 2019-11-14 00:52:56.887503142 -0700 -+++ fixed/RawEbuildCheck/VariableInHomepage/VariableInHomepage-0.ebuild 2019-11-14 00:55:29.241081360 -0700 -@@ -1,4 +1,4 @@ - DESCRIPTION="Ebuild with variable in HOMEPAGE" --HOMEPAGE="https://github.com/pkgcore/${PN}" -+HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" diff --git a/tests/data/repos/standalone/RedundantDodirCheck/RedundantDodir/expected.json b/tests/data/repos/standalone/RedundantDodirCheck/RedundantDodir/expected.json deleted file mode 100644 index 02e221f3..00000000 --- a/tests/data/repos/standalone/RedundantDodirCheck/RedundantDodir/expected.json +++ /dev/null @@ -1,3 +0,0 @@ -{"__class__": "RedundantDodir", "category": "RedundantDodirCheck", "package": "RedundantDodir", "version": "0", "line": "dodir /foo/bar", "lineno": 9, "cmd": "insinto"} -{"__class__": "RedundantDodir", "category": "RedundantDodirCheck", "package": "RedundantDodir", "version": "0", "line": "dodir /foo/bin", "lineno": 19, "cmd": "exeinto"} -{"__class__": "RedundantDodir", "category": "RedundantDodirCheck", "package": "RedundantDodir", "version": "0", "line": "dodir /foo/doc", "lineno": 24, "cmd": "docinto"} diff --git a/tests/data/repos/standalone/RedundantDodirCheck/RedundantDodir/fix.patch b/tests/data/repos/standalone/RedundantDodirCheck/RedundantDodir/fix.patch deleted file mode 100644 index 1748b44d..00000000 --- a/tests/data/repos/standalone/RedundantDodirCheck/RedundantDodir/fix.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -Naur standalone/RedundantDodirCheck/RedundantDodir/RedundantDodir-0.ebuild fixed/RedundantDodirCheck/RedundantDodir/RedundantDodir-0.ebuild ---- standalone/RedundantDodirCheck/RedundantDodir/RedundantDodir-0.ebuild 2020-01-25 20:21:40.686366299 -0700 -+++ fixed/RedundantDodirCheck/RedundantDodir/RedundantDodir-0.ebuild 2020-01-25 20:23:11.888699916 -0700 -@@ -6,7 +6,6 @@ - - src_install() { - touch blah -- dodir /foo/bar - insinto /foo/bar - doins blah - -@@ -16,12 +15,10 @@ - doins blah - - touch blaz -- dodir /foo/bin - exeinto /foo/bin - doexe blaz - - touch blob -- dodir /foo/doc - docinto /foo/doc - dodoc blob - } diff --git a/tests/data/repos/standalone/RequiredUseCheck/InvalidRequiredUse/expected.json b/tests/data/repos/standalone/RequiredUseCheck/InvalidRequiredUse/expected.json deleted file mode 100644 index d5e22c25..00000000 --- a/tests/data/repos/standalone/RequiredUseCheck/InvalidRequiredUse/expected.json +++ /dev/null @@ -1,3 +0,0 @@ -{"__class__": "InvalidRequiredUse", "category": "RequiredUseCheck", "package": "InvalidRequiredUse", "version": "0", "attr": "required_use", "msg": "failed parsing REQUIRED_USE: '|| ( )' is unparseable"} -{"__class__": "InvalidRequiredUse", "category": "RequiredUseCheck", "package": "InvalidRequiredUse", "version": "1", "attr": "required_use", "msg": "failed parsing REQUIRED_USE: '?' is unparseable: flagged token- ?"} -{"__class__": "InvalidRequiredUse", "category": "RequiredUseCheck", "package": "InvalidRequiredUse", "version": "2", "attr": "required_use", "msg": "failed parsing REQUIRED_USE: 'required?' is unparseable: flagged token- required?"} diff --git a/tests/data/repos/standalone/RequiredUseCheck/InvalidRequiredUse/fix.patch b/tests/data/repos/standalone/RequiredUseCheck/InvalidRequiredUse/fix.patch deleted file mode 100644 index 763c55c2..00000000 --- a/tests/data/repos/standalone/RequiredUseCheck/InvalidRequiredUse/fix.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -Naur standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild fixed/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild ---- standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild 2019-11-23 13:38:24.756495493 -0700 -+++ fixed/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild 2019-11-23 13:40:55.077141263 -0700 -@@ -3,4 +3,5 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --REQUIRED_USE="|| ( )" -+IUSE="required used" -+REQUIRED_USE="|| ( required used )" -diff -Naur standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild fixed/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild ---- standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild 2019-11-23 13:33:43.839154284 -0700 -+++ fixed/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild 2019-11-23 13:41:17.866239168 -0700 -@@ -3,4 +3,5 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --REQUIRED_USE="?" -+IUSE="required used" -+REQUIRED_USE="used? ( required )" -diff -Naur standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild fixed/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild ---- standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild 2019-11-23 13:38:59.669645478 -0700 -+++ fixed/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild 2019-11-23 13:41:31.418297387 -0700 -@@ -3,5 +3,5 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --IUSE="required" --REQUIRED_USE="required?" -+IUSE="required used" -+REQUIRED_USE="required? ( used )" diff --git a/tests/data/repos/standalone/RequiredUseCheck/RequiredUseDefaults/expected-verbose.json b/tests/data/repos/standalone/RequiredUseCheck/RequiredUseDefaults/expected-verbose.json deleted file mode 100644 index d847a411..00000000 --- a/tests/data/repos/standalone/RequiredUseCheck/RequiredUseDefaults/expected-verbose.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "RequiredUseDefaults", "category": "RequiredUseCheck", "package": "RequiredUseDefaults", "version": "0", "required_use": "exactly-one-of ( required used )", "use": ["amd64"], "keyword": "~amd64", "profile": "default/amd64", "num_profiles": null} diff --git a/tests/data/repos/standalone/RequiredUseCheck/RequiredUseDefaults/expected.json b/tests/data/repos/standalone/RequiredUseCheck/RequiredUseDefaults/expected.json deleted file mode 100644 index c921f644..00000000 --- a/tests/data/repos/standalone/RequiredUseCheck/RequiredUseDefaults/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "RequiredUseDefaults", "category": "RequiredUseCheck", "package": "RequiredUseDefaults", "version": "0", "required_use": "exactly-one-of ( required used )", "use": [], "keyword": null, "profile": "default/amd64", "num_profiles": 1} diff --git a/tests/data/repos/standalone/RequiredUseCheck/RequiredUseDefaults/fix.patch b/tests/data/repos/standalone/RequiredUseCheck/RequiredUseDefaults/fix.patch deleted file mode 100644 index 0289749a..00000000 --- a/tests/data/repos/standalone/RequiredUseCheck/RequiredUseDefaults/fix.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -Naur standalone/RequiredUseCheck/RequiredUseDefaults/RequiredUseDefaults-0.ebuild fixed/RequiredUseCheck/RequiredUseDefaults/RequiredUseDefaults-0.ebuild ---- standalone/RequiredUseCheck/RequiredUseDefaults/RequiredUseDefaults-0.ebuild 2019-11-23 13:59:36.895606367 -0700 -+++ fixed/RequiredUseCheck/RequiredUseDefaults/RequiredUseDefaults-0.ebuild 2019-11-23 14:00:49.199924482 -0700 -@@ -4,5 +4,5 @@ - SLOT="0" - LICENSE="BSD" - KEYWORDS="~amd64" --IUSE="required used" -+IUSE="+required used" - REQUIRED_USE="^^ ( required used )" diff --git a/tests/data/repos/standalone/RequiredUseCheck/UnstatedIuse/expected-verbose.json b/tests/data/repos/standalone/RequiredUseCheck/UnstatedIuse/expected-verbose.json deleted file mode 100644 index 1c437b82..00000000 --- a/tests/data/repos/standalone/RequiredUseCheck/UnstatedIuse/expected-verbose.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "RequiredUseCheck", "package": "UnstatedIuse", "version": "0", "attr": "required_use", "flags": ["used"], "profile": "default/amd64", "num_profiles": null} -{"__class__": "UnstatedIuse", "category": "RequiredUseCheck", "package": "UnstatedIuse", "version": "0", "attr": "required_use", "flags": ["used"], "profile": "default/x86", "num_profiles": null} diff --git a/tests/data/repos/standalone/RequiredUseCheck/UnstatedIuse/expected.json b/tests/data/repos/standalone/RequiredUseCheck/UnstatedIuse/expected.json deleted file mode 100644 index c931d5d2..00000000 --- a/tests/data/repos/standalone/RequiredUseCheck/UnstatedIuse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "RequiredUseCheck", "package": "UnstatedIuse", "version": "0", "attr": "required_use", "flags": ["used"], "profile": "default/amd64", "num_profiles": 2} diff --git a/tests/data/repos/standalone/RequiredUseCheck/UnstatedIuse/fix.patch b/tests/data/repos/standalone/RequiredUseCheck/UnstatedIuse/fix.patch deleted file mode 100644 index c6da9f1a..00000000 --- a/tests/data/repos/standalone/RequiredUseCheck/UnstatedIuse/fix.patch +++ /dev/null @@ -1,10 +0,0 @@ -diff -Naur standalone/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild fixed/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild ---- standalone/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-11-23 13:50:52.531217164 -0700 -+++ fixed/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-11-23 13:51:47.992485035 -0700 -@@ -3,5 +3,5 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --IUSE="required" -+IUSE="required used" - REQUIRED_USE="|| ( required used )" diff --git a/tests/data/repos/standalone/RestrictCheck/InvalidRestrict/expected.json b/tests/data/repos/standalone/RestrictCheck/InvalidRestrict/expected.json deleted file mode 100644 index 6632646e..00000000 --- a/tests/data/repos/standalone/RestrictCheck/InvalidRestrict/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__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"} diff --git a/tests/data/repos/standalone/RestrictCheck/InvalidRestrict/fix.patch b/tests/data/repos/standalone/RestrictCheck/InvalidRestrict/fix.patch deleted file mode 100644 index 3fa53f63..00000000 --- a/tests/data/repos/standalone/RestrictCheck/InvalidRestrict/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild fixed/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild ---- standalone/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild 2019-11-23 15:19:40.247982566 -0700 -+++ fixed/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild 2019-11-23 15:20:02.882083351 -0700 -@@ -3,4 +3,4 @@ - SLOT="0" - LICENSE="BSD" - IUSE="used" --RESTRICT="!used ( test )" -+RESTRICT="!used? ( test )" diff --git a/tests/data/repos/standalone/RestrictCheck/UnknownRestrict/expected.json b/tests/data/repos/standalone/RestrictCheck/UnknownRestrict/expected.json deleted file mode 100644 index 2c638e4f..00000000 --- a/tests/data/repos/standalone/RestrictCheck/UnknownRestrict/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnknownRestrict", "category": "RestrictCheck", "package": "UnknownRestrict", "version": "0", "restricts": ["foo"]} diff --git a/tests/data/repos/standalone/RestrictCheck/UnknownRestrict/fix.patch b/tests/data/repos/standalone/RestrictCheck/UnknownRestrict/fix.patch deleted file mode 100644 index 1d304793..00000000 --- a/tests/data/repos/standalone/RestrictCheck/UnknownRestrict/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild fixed/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild ---- standalone/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild 2019-10-08 02:36:30.390654096 -0600 -+++ fixed/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild 2019-10-08 02:42:33.587430292 -0600 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --RESTRICT="foo" -+RESTRICT="mirror" diff --git a/tests/data/repos/standalone/RestrictCheck/UnstatedIuse/expected-verbose.json b/tests/data/repos/standalone/RestrictCheck/UnstatedIuse/expected-verbose.json deleted file mode 100644 index d2378710..00000000 --- a/tests/data/repos/standalone/RestrictCheck/UnstatedIuse/expected-verbose.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "RestrictCheck", "package": "UnstatedIuse", "version": "0", "attr": "restrict", "flags": ["used"], "profile": "default/amd64", "num_profiles": null} -{"__class__": "UnstatedIuse", "category": "RestrictCheck", "package": "UnstatedIuse", "version": "0", "attr": "restrict", "flags": ["used"], "profile": "default/x86", "num_profiles": null} diff --git a/tests/data/repos/standalone/RestrictCheck/UnstatedIuse/expected.json b/tests/data/repos/standalone/RestrictCheck/UnstatedIuse/expected.json deleted file mode 100644 index 2cdeac63..00000000 --- a/tests/data/repos/standalone/RestrictCheck/UnstatedIuse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "RestrictCheck", "package": "UnstatedIuse", "version": "0", "attr": "restrict", "flags": ["used"], "profile": "default/amd64", "num_profiles": 2} diff --git a/tests/data/repos/standalone/RestrictCheck/UnstatedIuse/fix.patch b/tests/data/repos/standalone/RestrictCheck/UnstatedIuse/fix.patch deleted file mode 100644 index 4c1147cd..00000000 --- a/tests/data/repos/standalone/RestrictCheck/UnstatedIuse/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild fixed/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild ---- standalone/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-10-08 02:40:20.867792729 -0600 -+++ fixed/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-10-08 02:43:59.439842722 -0600 -@@ -2,4 +2,5 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -+IUSE="used" - RESTRICT="used? ( mirror )" diff --git a/tests/data/repos/standalone/RestrictTestCheck/MissingTestRestrict/expected.json b/tests/data/repos/standalone/RestrictTestCheck/MissingTestRestrict/expected.json deleted file mode 100644 index 64d3c767..00000000 --- a/tests/data/repos/standalone/RestrictTestCheck/MissingTestRestrict/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MissingTestRestrict", "category": "RestrictTestCheck", "package": "MissingTestRestrict", "version": "0"} diff --git a/tests/data/repos/standalone/RestrictTestCheck/MissingTestRestrict/fix.patch b/tests/data/repos/standalone/RestrictTestCheck/MissingTestRestrict/fix.patch deleted file mode 100644 index 1f0d4507..00000000 --- a/tests/data/repos/standalone/RestrictTestCheck/MissingTestRestrict/fix.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur standalone/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild fixed/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild ---- standalone/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild 2019-11-23 14:07:17.053630938 -0700 -+++ fixed/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild 2019-11-23 14:09:17.952162861 -0700 -@@ -3,3 +3,4 @@ - SLOT="0" - LICENSE="BSD" - IUSE="test" -+RESTRICT="!test? ( test )" diff --git a/tests/data/repos/standalone/SourcingCheck/InvalidEapi/expected.json b/tests/data/repos/standalone/SourcingCheck/InvalidEapi/expected.json deleted file mode 100644 index 78926e07..00000000 --- a/tests/data/repos/standalone/SourcingCheck/InvalidEapi/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "InvalidEapi", "category": "SourcingCheck", "package": "InvalidEapi", "version": "0", "attr": "eapi", "msg": "EAPI '9999' is not supported"} -{"__class__": "InvalidEapi", "category": "SourcingCheck", "package": "InvalidEapi", "version": "1", "attr": "eapi", "msg": "invalid EAPI: 'invalid!'"} diff --git a/tests/data/repos/standalone/SourcingCheck/InvalidEapi/fix.patch b/tests/data/repos/standalone/SourcingCheck/InvalidEapi/fix.patch deleted file mode 100644 index 5f522779..00000000 --- a/tests/data/repos/standalone/SourcingCheck/InvalidEapi/fix.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naur standalone/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild fixed/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild ---- standalone/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild 2019-09-15 03:08:49.094741882 -0600 -+++ fixed/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild 2019-09-15 03:12:21.294596386 -0600 -@@ -1,4 +1,4 @@ --EAPI=9999 -+EAPI=7 - DESCRIPTION="Ebuild using unsupported EAPI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" -diff -Naur standalone/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild fixed/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild ---- standalone/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild 2019-09-15 03:09:44.633965531 -0600 -+++ fixed/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild 2019-09-15 03:12:30.961635314 -0600 -@@ -1,4 +1,4 @@ --EAPI="invalid!" -+EAPI=7 - DESCRIPTION="Ebuild using invalid EAPI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" diff --git a/tests/data/repos/standalone/SourcingCheck/InvalidSlot/expected.json b/tests/data/repos/standalone/SourcingCheck/InvalidSlot/expected.json deleted file mode 100644 index 1a02c38c..00000000 --- a/tests/data/repos/standalone/SourcingCheck/InvalidSlot/expected.json +++ /dev/null @@ -1,6 +0,0 @@ -{"__class__": "InvalidSlot", "category": "SourcingCheck", "package": "InvalidSlot", "version": "0", "attr": "slot", "msg": "invalid SLOT: '?'"} -{"__class__": "InvalidSlot", "category": "SourcingCheck", "package": "InvalidSlot", "version": "1", "attr": "slot", "msg": "invalid SLOT: '0/1'"} -{"__class__": "InvalidSlot", "category": "SourcingCheck", "package": "InvalidSlot", "version": "2", "attr": "slot", "msg": "invalid SLOT: '0/-1'"} -{"__class__": "InvalidSlot", "category": "SourcingCheck", "package": "InvalidSlot", "version": "3", "attr": "slot", "msg": "invalid SLOT: '0/foo?'"} -{"__class__": "InvalidSlot", "category": "SourcingCheck", "package": "InvalidSlot", "version": "4", "attr": "slot", "msg": "SLOT cannot be unset or empty"} -{"__class__": "InvalidSlot", "category": "SourcingCheck", "package": "InvalidSlot", "version": "5", "attr": "slot", "msg": "SLOT cannot be unset or empty"} diff --git a/tests/data/repos/standalone/SourcingCheck/InvalidSlot/fix.patch b/tests/data/repos/standalone/SourcingCheck/InvalidSlot/fix.patch deleted file mode 100644 index ea37e699..00000000 --- a/tests/data/repos/standalone/SourcingCheck/InvalidSlot/fix.patch +++ /dev/null @@ -1,56 +0,0 @@ -diff -Naur standalone/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild fixed/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild ---- standalone/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild 2020-12-22 23:11:01.614953942 -0700 -+++ fixed/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild 2021-01-21 15:11:28.009423864 -0700 -@@ -1,4 +1,4 @@ - DESCRIPTION="Ebuild with invalid SLOT" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SLOT="?" -+SLOT="0" - LICENSE="BSD" -diff -Naur standalone/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild fixed/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild ---- standalone/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild 2020-12-22 23:11:01.614953942 -0700 -+++ fixed/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild 2021-01-21 15:11:28.009423864 -0700 -@@ -1,3 +1,4 @@ -+EAPI=7 - DESCRIPTION="Ebuild with invalid SLOT" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0/1" -diff -Naur standalone/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild fixed/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild ---- standalone/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild 2020-12-22 23:11:01.614953942 -0700 -+++ fixed/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild 2021-01-21 15:11:28.009423864 -0700 -@@ -1,5 +1,5 @@ - EAPI=7 - DESCRIPTION="Ebuild with invalid SLOT" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SLOT="0/-1" -+SLOT="0/1" - LICENSE="BSD" -diff -Naur standalone/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild fixed/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild ---- standalone/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild 2020-12-22 23:11:01.614953942 -0700 -+++ fixed/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild 2021-01-21 15:11:28.009423864 -0700 -@@ -1,5 +1,5 @@ - EAPI=7 - DESCRIPTION="Ebuild with invalid SLOT" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SLOT="0/foo?" -+SLOT="0/foo" - LICENSE="BSD" -diff -Naur standalone/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild fixed/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild ---- standalone/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild 2021-01-21 15:07:23.383092793 -0700 -+++ fixed/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild 2021-01-21 15:11:36.714613571 -0700 -@@ -1,5 +1,5 @@ - EAPI=7 - DESCRIPTION="Ebuild with empty SLOT" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SLOT="" -+SLOT="0" - LICENSE="BSD" -diff -Naur standalone/SourcingCheck/InvalidSlot/InvalidSlot-5.ebuild fixed/SourcingCheck/InvalidSlot/InvalidSlot-5.ebuild ---- standalone/SourcingCheck/InvalidSlot/InvalidSlot-5.ebuild 2021-01-21 15:07:05.581704850 -0700 -+++ fixed/SourcingCheck/InvalidSlot/InvalidSlot-5.ebuild 2021-01-21 15:11:42.733744744 -0700 -@@ -1,4 +1,5 @@ - EAPI=7 - DESCRIPTION="Ebuild with missing SLOT" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" -+SLOT="0" - LICENSE="BSD" diff --git a/tests/data/repos/standalone/SourcingCheck/SourcingError/expected.json b/tests/data/repos/standalone/SourcingCheck/SourcingError/expected.json deleted file mode 100644 index ca9cfb16..00000000 --- a/tests/data/repos/standalone/SourcingCheck/SourcingError/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "SourcingError", "category": "SourcingCheck", "package": "SourcingError", "version": "0", "attr": "data", "msg": "failed sourcing ebuild: external commands disallowed during metadata regen: 'foo'"} diff --git a/tests/data/repos/standalone/SourcingCheck/SourcingError/fix.patch b/tests/data/repos/standalone/SourcingCheck/SourcingError/fix.patch deleted file mode 100644 index a7b93071..00000000 --- a/tests/data/repos/standalone/SourcingCheck/SourcingError/fix.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur standalone/SourcingCheck/SourcingError/SourcingError-0.ebuild fixed/SourcingCheck/SourcingError/SourcingError-0.ebuild ---- standalone/SourcingCheck/SourcingError/SourcingError-0.ebuild 2019-11-23 13:25:06.594993776 -0700 -+++ fixed/SourcingCheck/SourcingError/SourcingError-0.ebuild 2019-11-23 13:25:58.559311296 -0700 -@@ -2,4 +2,3 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --foo diff --git a/tests/data/repos/standalone/SrcUriCheck/BadFilename/expected.json b/tests/data/repos/standalone/SrcUriCheck/BadFilename/expected.json deleted file mode 100644 index 427038e2..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/BadFilename/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "BadFilename", "category": "SrcUriCheck", "package": "BadFilename", "version": "0", "filenames": ["0.tar.gz", "BadFilename.tar.gz", "v0.tar.gz"]} diff --git a/tests/data/repos/standalone/SrcUriCheck/BadFilename/fix.patch b/tests/data/repos/standalone/SrcUriCheck/BadFilename/fix.patch deleted file mode 100644 index 75f4c98d..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/BadFilename/fix.patch +++ /dev/null @@ -1,25 +0,0 @@ -diff -Naur standalone/SrcUriCheck/BadFilename/BadFilename-0.ebuild fixed/SrcUriCheck/BadFilename/BadFilename-0.ebuild ---- standalone/SrcUriCheck/BadFilename/BadFilename-0.ebuild 2019-09-07 06:28:49.253085735 -0600 -+++ fixed/SrcUriCheck/BadFilename/BadFilename-0.ebuild 2019-09-07 06:34:24.603430950 -0600 -@@ -1,9 +1,10 @@ -+EAPI=2 - DESCRIPTION="Ebuild with unspecific SRC_URI filenames" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SRC_URI=" -- https://github.com/pkgcore/pkgcheck/${PN}.tar.gz -- https://github.com/pkgcore/pkgcheck/${PV}.tar.gz -- https://github.com/pkgcore/pkgcheck/v${PV}.tar.gz -+ https://github.com/pkgcore/pkgcheck/${PN}.tar.gz -> ${P}.tar.gz -+ https://github.com/pkgcore/pkgcheck/${PV}.tar.gz -> ${P}.tar.gz -+ https://github.com/pkgcore/pkgcheck/v${PV}.tar.gz -> ${P}.tar.gz - " - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/SrcUriCheck/BadFilename/Manifest fixed/SrcUriCheck/BadFilename/Manifest ---- standalone/SrcUriCheck/BadFilename/Manifest 2019-09-07 06:29:08.537163522 -0600 -+++ fixed/SrcUriCheck/BadFilename/Manifest 2019-09-07 06:33:35.393236829 -0600 -@@ -1,3 +1 @@ --DIST BadFilename.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7e45bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 --DIST 0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ceecd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 --DIST v0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fe5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 -+DIST BadFilename-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/data/repos/standalone/SrcUriCheck/BadProtocol/expected.json b/tests/data/repos/standalone/SrcUriCheck/BadProtocol/expected.json deleted file mode 100644 index ac288374..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/BadProtocol/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "BadProtocol", "category": "SrcUriCheck", "package": "BadProtocol", "version": "0", "protocol": "gopher", "uris": ["gopher://github.com/pkgcore/pkgcheck/BadProtocol-0.tar.gz"]} -{"__class__": "BadProtocol", "category": "SrcUriCheck", "package": "BadProtocol", "version": "0", "protocol": "htps", "uris": ["htps://github.com/pkgcore/pkgcheck/BadProtocol-0.tar.gz"]} diff --git a/tests/data/repos/standalone/SrcUriCheck/BadProtocol/fix.patch b/tests/data/repos/standalone/SrcUriCheck/BadProtocol/fix.patch deleted file mode 100644 index 48d53012..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/BadProtocol/fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur standalone/SrcUriCheck/BadProtocol/BadProtocol-0.ebuild fixed/SrcUriCheck/BadProtocol/BadProtocol-0.ebuild ---- standalone/SrcUriCheck/BadProtocol/BadProtocol-0.ebuild 2019-08-23 16:40:09.597584899 -0600 -+++ fixed/SrcUriCheck/BadProtocol/BadProtocol-0.ebuild 2019-08-23 16:43:17.724321149 -0600 -@@ -1,8 +1,5 @@ - DESCRIPTION="Ebuild with SRC_URI using an unsupported protocol" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SRC_URI=" -- htps://github.com/pkgcore/pkgcheck/${P}.tar.gz -- gopher://github.com/pkgcore/pkgcheck/${P}.tar.gz --" -+SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" - SLOT="0" - LICENSE="BSD" diff --git a/tests/data/repos/standalone/SrcUriCheck/InvalidSrcUri/expected.json b/tests/data/repos/standalone/SrcUriCheck/InvalidSrcUri/expected.json deleted file mode 100644 index 35ba494f..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/InvalidSrcUri/expected.json +++ /dev/null @@ -1,3 +0,0 @@ -{"__class__": "InvalidSrcUri", "category": "SrcUriCheck", "package": "InvalidSrcUri", "version": "0", "attr": "fetchables", "msg": "failed parsing SRC_URI: '?' is unparseable: flagged token- ?"} -{"__class__": "InvalidSrcUri", "category": "SrcUriCheck", "package": "InvalidSrcUri", "version": "1", "attr": "fetchables", "msg": "failed parsing SRC_URI: '( )' is unparseable"} -{"__class__": "InvalidSrcUri", "category": "SrcUriCheck", "package": "InvalidSrcUri", "version": "2", "attr": "fetchables", "msg": "failed parsing SRC_URI: 'https://github.com/pkgcore/pkgcheck/InvalidSrcUri-2.tar.gz/' is unparseable: flagged token- missing filename: 'https://github.com/pkgcore/pkgcheck/InvalidSrcUri-2.tar.gz/'"} diff --git a/tests/data/repos/standalone/SrcUriCheck/InvalidSrcUri/fix.patch b/tests/data/repos/standalone/SrcUriCheck/InvalidSrcUri/fix.patch deleted file mode 100644 index 0734ccce..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/InvalidSrcUri/fix.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -Naur standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild fixed/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild ---- standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild 2019-11-14 15:53:10.315364912 -0700 -+++ fixed/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild 2019-11-14 15:56:30.182095875 -0700 -@@ -1,5 +1,4 @@ - DESCRIPTION="Ebuild with invalid SRC_URI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SRC_URI="?" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild fixed/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild ---- standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild 2019-11-14 15:53:18.481394769 -0700 -+++ fixed/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild 2019-11-14 15:56:32.897105805 -0700 -@@ -1,5 +1,4 @@ - DESCRIPTION="Ebuild with invalid SRC_URI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SRC_URI="( )" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild fixed/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild ---- standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild 2019-11-14 15:56:03.873999657 -0700 -+++ fixed/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild 2019-11-14 15:56:36.366118491 -0700 -@@ -1,5 +1,5 @@ - DESCRIPTION="Ebuild with invalid SRC_URI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz/" -+SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/SrcUriCheck/InvalidSrcUri/Manifest fixed/SrcUriCheck/InvalidSrcUri/Manifest ---- standalone/SrcUriCheck/InvalidSrcUri/Manifest 1969-12-31 17:00:00.000000000 -0700 -+++ fixed/SrcUriCheck/InvalidSrcUri/Manifest 2019-11-14 15:57:52.611397338 -0700 -@@ -0,0 +1 @@ -+DIST InvalidSrcUri-2.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7e45bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd784968641db5dfbe1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6642a371e47b3c5de7a615feec5e05 diff --git a/tests/data/repos/standalone/SrcUriCheck/MissingUri/expected.json b/tests/data/repos/standalone/SrcUriCheck/MissingUri/expected.json deleted file mode 100644 index 34d10ced..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/MissingUri/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "MissingUri", "category": "SrcUriCheck", "package": "MissingUri", "version": "0", "filenames": ["MissingUri-0.tar.gz"]} diff --git a/tests/data/repos/standalone/SrcUriCheck/MissingUri/fix.patch b/tests/data/repos/standalone/SrcUriCheck/MissingUri/fix.patch deleted file mode 100644 index 3ac84e02..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/MissingUri/fix.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur standalone/SrcUriCheck/MissingUri/MissingUri-0.ebuild fixed/SrcUriCheck/MissingUri/MissingUri-0.ebuild ---- standalone/SrcUriCheck/MissingUri/MissingUri-0.ebuild 2019-08-23 16:33:58.045128542 -0600 -+++ fixed/SrcUriCheck/MissingUri/MissingUri-0.ebuild 2019-08-23 16:35:07.699403413 -0600 -@@ -3,3 +3,4 @@ - SRC_URI="${P}.tar.gz" - SLOT="0" - LICENSE="BSD" -+RESTRICT="fetch" diff --git a/tests/data/repos/standalone/SrcUriCheck/RedundantUriRename/expected.json b/tests/data/repos/standalone/SrcUriCheck/RedundantUriRename/expected.json deleted file mode 100644 index 2b22937e..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/RedundantUriRename/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "RedundantUriRename", "category": "SrcUriCheck", "package": "RedundantUriRename", "version": "0", "message": "redundant rename: https://github.com/pkgcore/pkgcheck/RedundantUriRename-0.tar.gz -> RedundantUriRename-0.tar.gz"} -{"__class__": "RedundantUriRename", "category": "SrcUriCheck", "package": "RedundantUriRename", "version": "1", "message": "redundant rename: mirror://used/pkgcore/pkgcheck/RedundantUriRename-1.tar.gz -> RedundantUriRename-1.tar.gz"} diff --git a/tests/data/repos/standalone/SrcUriCheck/RedundantUriRename/fix.patch b/tests/data/repos/standalone/SrcUriCheck/RedundantUriRename/fix.patch deleted file mode 100644 index 6217a025..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/RedundantUriRename/fix.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -Naur standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild fixed/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild ---- standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild 2020-01-13 19:03:24.208241614 -0700 -+++ fixed/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild 2020-01-13 19:07:15.539341286 -0700 -@@ -1,6 +1,6 @@ - EAPI=7 - DESCRIPTION="Ebuild with reundant rename in SRC_URI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz -> ${P}.tar.gz" -+SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" - SLOT="0" - LICENSE="BSD" -diff -Naur standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild fixed/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild ---- standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild 2020-01-13 19:05:11.310754211 -0700 -+++ fixed/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild 2020-01-13 19:07:22.031371966 -0700 -@@ -1,6 +1,6 @@ - EAPI=7 - DESCRIPTION="Ebuild with reundant rename in SRC_URI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SRC_URI="mirror://used/pkgcore/pkgcheck/${P}.tar.gz -> ${P}.tar.gz" -+SRC_URI="mirror://used/pkgcore/pkgcheck/${P}.tar.gz" - SLOT="0" - LICENSE="BSD" diff --git a/tests/data/repos/standalone/SrcUriCheck/TarballAvailable/expected.json b/tests/data/repos/standalone/SrcUriCheck/TarballAvailable/expected.json deleted file mode 100644 index 0ac68f0f..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/TarballAvailable/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__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"]} diff --git a/tests/data/repos/standalone/SrcUriCheck/TarballAvailable/fix.patch b/tests/data/repos/standalone/SrcUriCheck/TarballAvailable/fix.patch deleted file mode 100644 index 2b1615fa..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/TarballAvailable/fix.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Naur standalone/SrcUriCheck/TarballAvailable/Manifest fixed/SrcUriCheck/TarballAvailable/Manifest ---- standalone/SrcUriCheck/TarballAvailable/Manifest 2019-08-23 17:00:25.496384963 -0600 -+++ fixed/SrcUriCheck/TarballAvailable/Manifest 2019-08-23 17:16:41.086281921 -0600 -@@ -1 +1 @@ --DIST TarballAvailable-0.zip 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bca7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 -+DIST TarballAvailable-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bca7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 -diff -Naur standalone/SrcUriCheck/TarballAvailable/TarballAvailable-0.ebuild fixed/SrcUriCheck/TarballAvailable/TarballAvailable-0.ebuild ---- standalone/SrcUriCheck/TarballAvailable/TarballAvailable-0.ebuild 2019-08-23 17:07:52.527170936 -0600 -+++ fixed/SrcUriCheck/TarballAvailable/TarballAvailable-0.ebuild 2019-08-23 17:16:30.793240821 -0600 -@@ -2,9 +2,8 @@ - DESCRIPTION="Ebuild with SRC_URI using .zip archive when .tar* is available" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SRC_URI=" -- https://github.com/pkgcore/pkgcheck/archive/${PV}.zip -> ${P}.zip -- https://gitlab.com/pkgcore/pkgcheck/-/archive/${PV}.zip -> ${P}.zip -+ https://github.com/pkgcore/pkgcheck/archive/${PV}.tar.gz -> ${P}.tar.gz -+ https://gitlab.com/pkgcore/pkgcheck/-/archive/${PV}.tar.gz -> ${P}.tar.gz - " - SLOT="0" - LICENSE="BSD" --DEPEND="app-arch/unzip" diff --git a/tests/data/repos/standalone/SrcUriCheck/UnknownMirror/expected.json b/tests/data/repos/standalone/SrcUriCheck/UnknownMirror/expected.json deleted file mode 100644 index 08830b7f..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/UnknownMirror/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnknownMirror", "category": "SrcUriCheck", "package": "UnknownMirror", "version": "0", "mirror": "unknown", "uri": "mirror://unknown/pkgcore/pkgcheck/UnknownMirror-0.tar.gz"} diff --git a/tests/data/repos/standalone/SrcUriCheck/UnknownMirror/fix.patch b/tests/data/repos/standalone/SrcUriCheck/UnknownMirror/fix.patch deleted file mode 100644 index 81b47c66..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/UnknownMirror/fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur standalone/SrcUriCheck/UnknownMirror/UnknownMirror-0.ebuild fixed/SrcUriCheck/UnknownMirror/UnknownMirror-0.ebuild ---- standalone/SrcUriCheck/UnknownMirror/UnknownMirror-0.ebuild 2019-08-23 16:49:18.700733802 -0600 -+++ fixed/SrcUriCheck/UnknownMirror/UnknownMirror-0.ebuild 2019-08-23 16:50:31.709019527 -0600 -@@ -1,8 +1,5 @@ - DESCRIPTION="Ebuild with unknown mirror in SRC_URI" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" --SRC_URI=" -- mirror://used/pkgcore/pkgcheck/${P}.tar.gz -- mirror://unknown/pkgcore/pkgcheck/${P}.tar.gz --" -+SRC_URI="mirror://used/pkgcore/pkgcheck/${P}.tar.gz" - SLOT="0" - LICENSE="BSD" diff --git a/tests/data/repos/standalone/SrcUriCheck/UnstatedIuse/expected-verbose.json b/tests/data/repos/standalone/SrcUriCheck/UnstatedIuse/expected-verbose.json deleted file mode 100644 index f1daaf85..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/UnstatedIuse/expected-verbose.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "SrcUriCheck", "package": "UnstatedIuse", "version": "0", "attr": "fetchables", "flags": ["used"], "profile": "default/amd64", "num_profiles": null} -{"__class__": "UnstatedIuse", "category": "SrcUriCheck", "package": "UnstatedIuse", "version": "0", "attr": "fetchables", "flags": ["used"], "profile": "default/x86", "num_profiles": null} diff --git a/tests/data/repos/standalone/SrcUriCheck/UnstatedIuse/expected.json b/tests/data/repos/standalone/SrcUriCheck/UnstatedIuse/expected.json deleted file mode 100644 index a116af45..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/UnstatedIuse/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnstatedIuse", "category": "SrcUriCheck", "package": "UnstatedIuse", "version": "0", "attr": "fetchables", "flags": ["used"], "profile": "default/amd64", "num_profiles": 2} diff --git a/tests/data/repos/standalone/SrcUriCheck/UnstatedIuse/fix.patch b/tests/data/repos/standalone/SrcUriCheck/UnstatedIuse/fix.patch deleted file mode 100644 index 143a78f9..00000000 --- a/tests/data/repos/standalone/SrcUriCheck/UnstatedIuse/fix.patch +++ /dev/null @@ -1,8 +0,0 @@ -diff -Naur standalone/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild fixed/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild ---- standalone/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-08-23 16:29:12.787994774 -0600 -+++ fixed/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild 2019-08-23 16:31:11.854468001 -0600 -@@ -3,3 +3,4 @@ - SRC_URI="used? ( https://github.com/pkgcore/pkgcheck/${P}.tar.gz )" - SLOT="0" - LICENSE="BSD" -+IUSE="used" diff --git a/tests/data/repos/standalone/UnusedEclassesCheck/UnusedEclasses/expected.json b/tests/data/repos/standalone/UnusedEclassesCheck/UnusedEclasses/expected.json deleted file mode 100644 index 570dfc6c..00000000 --- a/tests/data/repos/standalone/UnusedEclassesCheck/UnusedEclasses/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedEclasses", "eclasses": ["unused"]} diff --git a/tests/data/repos/standalone/UnusedEclassesCheck/UnusedEclasses/fix.patch b/tests/data/repos/standalone/UnusedEclassesCheck/UnusedEclasses/fix.patch deleted file mode 100644 index cc88cdbf..00000000 --- a/tests/data/repos/standalone/UnusedEclassesCheck/UnusedEclasses/fix.patch +++ /dev/null @@ -1,5 +0,0 @@ -diff -Naur standalone/eclass/unused.eclass fixed/eclass/unused.eclass ---- standalone/eclass/unused.eclass 2019-08-20 21:55:31.340002988 -0600 -+++ fixed/eclass/unused.eclass 1969-12-31 17:00:00.000000000 -0700 -@@ -1 +0,0 @@ --# unused diff --git a/tests/data/repos/standalone/UnusedLicensesCheck/UnusedLicenses/expected.json b/tests/data/repos/standalone/UnusedLicensesCheck/UnusedLicenses/expected.json deleted file mode 100644 index def8da53..00000000 --- a/tests/data/repos/standalone/UnusedLicensesCheck/UnusedLicenses/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedLicenses", "licenses": ["unused"]} diff --git a/tests/data/repos/standalone/UnusedLicensesCheck/UnusedLicenses/fix.patch b/tests/data/repos/standalone/UnusedLicensesCheck/UnusedLicenses/fix.patch deleted file mode 100644 index f5a78776..00000000 --- a/tests/data/repos/standalone/UnusedLicensesCheck/UnusedLicenses/fix.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -Naur standalone/licenses/unused fixed/licenses/unused ---- standalone/licenses/unused 2019-08-18 06:26:22.680721854 -0600 -+++ fixed/licenses/unused 1969-12-31 17:00:00.000000000 -0700 -@@ -1,26 +0,0 @@ --Copyright (c) 2006-2019, pkgcheck contributors --All rights reserved. -- --Redistribution and use in source and binary forms, with or without --modification, are permitted provided that the following conditions are met: -- --1. Redistributions of source code must retain the above copyright notice, -- this list of conditions and the following disclaimer. --2. Redistributions in binary form must reproduce the above copyright -- notice, this list of conditions and the following disclaimer in the -- documentation and/or other materials provided with the distribution. --3. Neither the name of pkgcheck nor the names of its -- contributors may be used to endorse or promote products derived from -- this software without specific prior written permission. -- --THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" --AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE --IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE --ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE --LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR --CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF --SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS --INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN --CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) --ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE --POSSIBILITY OF SUCH DAMAGE. diff --git a/tests/data/repos/standalone/UnusedMirrorsCheck/UnusedMirrors/expected.json b/tests/data/repos/standalone/UnusedMirrorsCheck/UnusedMirrors/expected.json deleted file mode 100644 index f44e4450..00000000 --- a/tests/data/repos/standalone/UnusedMirrorsCheck/UnusedMirrors/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "UnusedMirrors", "mirrors": ["unused"]} diff --git a/tests/data/repos/standalone/UnusedMirrorsCheck/UnusedMirrors/fix.sh b/tests/data/repos/standalone/UnusedMirrorsCheck/UnusedMirrors/fix.sh deleted file mode 100755 index f2d038a3..00000000 --- a/tests/data/repos/standalone/UnusedMirrorsCheck/UnusedMirrors/fix.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/bash -sed -i '/^unused/d' profiles/thirdpartymirrors diff --git a/tests/data/repos/standalone/VisibilityCheck/NonexistentDeps/expected.json b/tests/data/repos/standalone/VisibilityCheck/NonexistentDeps/expected.json deleted file mode 100644 index fc4db07f..00000000 --- a/tests/data/repos/standalone/VisibilityCheck/NonexistentDeps/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "NonexistentDeps", "category": "VisibilityCheck", "package": "NonexistentDeps", "version": "0", "attr": "DEPEND", "nonexistent": ["cat/nonexistent"]} -{"__class__": "NonexistentDeps", "category": "VisibilityCheck", "package": "NonexistentDeps", "version": "0", "attr": "RDEPEND", "nonexistent": ["cat/nonexistent"]} diff --git a/tests/data/repos/standalone/VisibilityCheck/NonexistentDeps/fix.patch b/tests/data/repos/standalone/VisibilityCheck/NonexistentDeps/fix.patch deleted file mode 100644 index f3789566..00000000 --- a/tests/data/repos/standalone/VisibilityCheck/NonexistentDeps/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur standalone/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild fixed/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild ---- standalone/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild 2019-10-30 18:27:24.954171041 -0600 -+++ fixed/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild 2019-10-30 18:31:12.925907712 -0600 -@@ -2,4 +2,4 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --DEPEND="|| ( stub/stub1 stub/stub2 cat/nonexistent )" -+DEPEND="|| ( stub/stub1 stub/stub2 )" diff --git a/tests/data/repos/standalone/VisibilityCheck/VisibleVcsPkg/expected-verbose.json b/tests/data/repos/standalone/VisibilityCheck/VisibleVcsPkg/expected-verbose.json deleted file mode 100644 index 63a92fa1..00000000 --- a/tests/data/repos/standalone/VisibilityCheck/VisibleVcsPkg/expected-verbose.json +++ /dev/null @@ -1,3 +0,0 @@ -{"__class__": "VisibleVcsPkg", "category": "VisibilityCheck", "package": "VisibleVcsPkg", "version": "0", "arch": "amd64", "profile": "default/amd64", "num_profiles": null} -{"__class__": "VisibleVcsPkg", "category": "VisibilityCheck", "package": "VisibleVcsPkg", "version": "0", "arch": "~amd64", "profile": "default/amd64", "num_profiles": null} -{"__class__": "VisibleVcsPkg", "category": "VisibilityCheck", "package": "VisibleVcsPkg", "version": "1", "arch": "~x86", "profile": "default/x86", "num_profiles": null} diff --git a/tests/data/repos/standalone/VisibilityCheck/VisibleVcsPkg/expected.json b/tests/data/repos/standalone/VisibilityCheck/VisibleVcsPkg/expected.json deleted file mode 100644 index ed0c6679..00000000 --- a/tests/data/repos/standalone/VisibilityCheck/VisibleVcsPkg/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "VisibleVcsPkg", "category": "VisibilityCheck", "package": "VisibleVcsPkg", "version": "0", "arch": "amd64", "profile": "default/amd64", "num_profiles": 2} -{"__class__": "VisibleVcsPkg", "category": "VisibilityCheck", "package": "VisibleVcsPkg", "version": "1", "arch": "~x86", "profile": "default/x86", "num_profiles": 1} diff --git a/tests/data/repos/standalone/VisibilityCheck/VisibleVcsPkg/fix.patch b/tests/data/repos/standalone/VisibilityCheck/VisibleVcsPkg/fix.patch deleted file mode 100644 index 65af748c..00000000 --- a/tests/data/repos/standalone/VisibilityCheck/VisibleVcsPkg/fix.patch +++ /dev/null @@ -1,16 +0,0 @@ -diff -Naur standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild fixed/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild ---- standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild 2019-10-30 18:49:01.334094722 -0600 -+++ fixed/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild 2019-10-30 18:49:40.551199117 -0600 -@@ -4,4 +4,3 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --KEYWORDS="amd64" -diff -Naur standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild fixed/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild ---- standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild 2019-10-30 18:49:01.334094722 -0600 -+++ fixed/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild 2019-10-30 18:49:46.594215205 -0600 -@@ -4,4 +4,3 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" --KEYWORDS="~x86" diff --git a/tests/data/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/expected.json b/tests/data/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/expected.json deleted file mode 100644 index bedbeb1e..00000000 --- a/tests/data/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/expected.json +++ /dev/null @@ -1,3 +0,0 @@ -{"__class__": "BadWhitespaceCharacter", "category": "WhitespaceCheck", "package": "BadWhitespaceCharacter", "version": "0", "line": "\"\\t# bad chars aren't ignored\\xa0in comments\\n\"", "lineno": 8, "char": "'\\xa0'", "position": 28} -{"__class__": "BadWhitespaceCharacter", "category": "WhitespaceCheck", "package": "BadWhitespaceCharacter", "version": "0", "line": "'\\tcd \"${S}\"/cpp ||\\xa0die # or\\xa0inline comments\\n'", "lineno": 9, "char": "'\\xa0'", "position": 18} -{"__class__": "BadWhitespaceCharacter", "category": "WhitespaceCheck", "package": "BadWhitespaceCharacter", "version": "0", "line": "'\\tcd \"${S}\"/cpp ||\\xa0die # or\\xa0inline comments\\n'", "lineno": 9, "char": "'\\xa0'", "position": 27} diff --git a/tests/data/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/fix.patch b/tests/data/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/fix.patch deleted file mode 100644 index 50aa6275..00000000 --- a/tests/data/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/fix.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -Naur standalone/WhitespaceCheck/BadWhitespaceCharacter/BadWhitespaceCharacter-0.ebuild fixed/WhitespaceCheck/BadWhitespaceCharacter/BadWhitespaceCharacter-0.ebuild ---- standalone/WhitespaceCheck/BadWhitespaceCharacter/BadWhitespaceCharacter-0.ebuild 2019-12-03 14:20:02.089699996 -0700 -+++ fixed/WhitespaceCheck/BadWhitespaceCharacter/BadWhitespaceCharacter-0.ebuild 2019-12-03 14:24:43.960923352 -0700 -@@ -5,7 +5,7 @@ - LICENSE="BSD" - - src_test() { -- # bad chars aren't ignored in comments -- cd "${S}"/cpp || die # or inline comments -+ # bad chars aren't ignored in comments -+ cd "${S}"/cpp || die # or inline comments - default - } diff --git a/tests/data/repos/standalone/WhitespaceCheck/DoubleEmptyLine/expected.json b/tests/data/repos/standalone/WhitespaceCheck/DoubleEmptyLine/expected.json deleted file mode 100644 index 3c0dd07d..00000000 --- a/tests/data/repos/standalone/WhitespaceCheck/DoubleEmptyLine/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "DoubleEmptyLine", "category": "WhitespaceCheck", "package": "DoubleEmptyLine", "version": "0", "lines": [4]} diff --git a/tests/data/repos/standalone/WhitespaceCheck/DoubleEmptyLine/fix.patch b/tests/data/repos/standalone/WhitespaceCheck/DoubleEmptyLine/fix.patch deleted file mode 100644 index 2bcb990d..00000000 --- a/tests/data/repos/standalone/WhitespaceCheck/DoubleEmptyLine/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- standalone/WhitespaceCheck/DoubleEmptyLine/DoubleEmptyLine-0.ebuild -+++ fixed/WhitespaceCheck/DoubleEmptyLine/DoubleEmptyLine-0.ebuild -@@ -1,6 +1,5 @@ - DESCRIPTION="Ebuild has unneeded empty lines" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - -- - SLOT="0" - LICENSE="BSD" diff --git a/tests/data/repos/standalone/WhitespaceCheck/NoFinalNewline/expected.json b/tests/data/repos/standalone/WhitespaceCheck/NoFinalNewline/expected.json deleted file mode 100644 index a7da7934..00000000 --- a/tests/data/repos/standalone/WhitespaceCheck/NoFinalNewline/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "NoFinalNewline", "category": "WhitespaceCheck", "package": "NoFinalNewline", "version": "0"} diff --git a/tests/data/repos/standalone/WhitespaceCheck/NoFinalNewline/fix.patch b/tests/data/repos/standalone/WhitespaceCheck/NoFinalNewline/fix.patch deleted file mode 100644 index 285acc90..00000000 --- a/tests/data/repos/standalone/WhitespaceCheck/NoFinalNewline/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ ---- standalone/WhitespaceCheck/NoFinalNewline/NoFinalNewline-0.ebuild -+++ fixed/WhitespaceCheck/NoFinalNewline/NoFinalNewline-0.ebuild -@@ -1,4 +1,4 @@ - DESCRIPTION="Ebuild lacks an ending newline" - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" --LICENSE="BSD" -\ No newline at end of file -+LICENSE="BSD" diff --git a/tests/data/repos/standalone/WhitespaceCheck/TrailingEmptyLine/expected.json b/tests/data/repos/standalone/WhitespaceCheck/TrailingEmptyLine/expected.json deleted file mode 100644 index c0c05d97..00000000 --- a/tests/data/repos/standalone/WhitespaceCheck/TrailingEmptyLine/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "TrailingEmptyLine", "category": "WhitespaceCheck", "package": "TrailingEmptyLine", "version": "0"} diff --git a/tests/data/repos/standalone/WhitespaceCheck/TrailingEmptyLine/fix.patch b/tests/data/repos/standalone/WhitespaceCheck/TrailingEmptyLine/fix.patch deleted file mode 100644 index ee485851..00000000 --- a/tests/data/repos/standalone/WhitespaceCheck/TrailingEmptyLine/fix.patch +++ /dev/null @@ -1,7 +0,0 @@ ---- standalone/WhitespaceCheck/TrailingEmptyLine/TrailingEmptyLine-0.ebuild -+++ fixed/WhitespaceCheck/TrailingEmptyLine/TrailingEmptyLine-0.ebuild -@@ -2,4 +2,3 @@ - HOMEPAGE="https://github.com/pkgcore/pkgcheck" - SLOT="0" - LICENSE="BSD" -- diff --git a/tests/data/repos/visibility/DependencyCheck/DeprecatedDep/expected.json b/tests/data/repos/visibility/DependencyCheck/DeprecatedDep/expected.json deleted file mode 100644 index 000727cf..00000000 --- a/tests/data/repos/visibility/DependencyCheck/DeprecatedDep/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "DeprecatedDep", "category": "DeprecatedDep", "package": "nonoptional", "version": "0", "attr": "RDEPEND", "atoms": ["stub/deprecated"]} -{"__class__": "DeprecatedDep", "category": "DeprecatedDep", "package": "optional", "version": "0", "attr": "RDEPEND", "atoms": ["stub/deprecated"]} diff --git a/tests/data/repos/visibility/DependencyCheck/DeprecatedDep/fix.patch b/tests/data/repos/visibility/DependencyCheck/DeprecatedDep/fix.patch deleted file mode 100644 index 46673370..00000000 --- a/tests/data/repos/visibility/DependencyCheck/DeprecatedDep/fix.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff -Naur visibility/DeprecatedDep/nonoptional/nonoptional-0.ebuild fixed/DeprecatedDep/nonoptional/nonoptional-0.ebuild ---- visibility/DeprecatedDep/nonoptional/nonoptional-0.ebuild 2019-12-04 01:58:11.110158861 -0700 -+++ fixed/DeprecatedDep/nonoptional/nonoptional-0.ebuild 2019-12-26 20:39:32.575678628 -0700 -@@ -4,4 +4,4 @@ - SLOT="0" - LICENSE="BSD" - KEYWORDS="~amd64" --RDEPEND="stub/deprecated" -+RDEPEND="stub/unstable" -diff -Naur visibility/DeprecatedDep/optional/optional-0.ebuild fixed/DeprecatedDep/optional/optional-0.ebuild ---- visibility/DeprecatedDep/optional/optional-0.ebuild 2019-12-26 20:39:13.559577724 -0700 -+++ fixed/DeprecatedDep/optional/optional-0.ebuild 2019-12-26 20:39:47.650758627 -0700 -@@ -6,5 +6,5 @@ - KEYWORDS="~amd64" - RDEPEND=" - !stub/deprecated -- || ( stub/unstable stub/deprecated ) -+ stub/unstable - " diff --git a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInDev/expected-verbose.json b/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInDev/expected-verbose.json deleted file mode 100644 index 4febe1dc..00000000 --- a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInDev/expected-verbose.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "NonsolvableDepsInDev", "category": "NonsolvableDepsInDev", "package": "masked", "version": "0", "attr": "depend", "keyword": "~amd64", "profile": "visibility/amd64/dev", "deps": ["stub/masked"], "profile_status": "dev", "profile_deprecated": false, "num_profiles": null} diff --git a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInDev/expected.json b/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInDev/expected.json deleted file mode 100644 index fd63012c..00000000 --- a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInDev/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "NonsolvableDepsInDev", "category": "NonsolvableDepsInDev", "package": "masked", "version": "0", "attr": "depend", "keyword": "~amd64", "profile": "visibility/amd64/dev", "deps": ["stub/masked"], "profile_status": "dev", "profile_deprecated": false, "num_profiles": 1} diff --git a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInDev/fix.patch b/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInDev/fix.patch deleted file mode 100644 index da3dae53..00000000 --- a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInDev/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur visibility/NonsolvableDepsInDev/masked/masked-0.ebuild fixed/NonsolvableDepsInDev/masked/masked-0.ebuild ---- visibility/NonsolvableDepsInDev/masked/masked-0.ebuild 2019-11-27 18:23:39.530850730 -0700 -+++ fixed/NonsolvableDepsInDev/masked/masked-0.ebuild 2019-11-27 18:38:01.414214409 -0700 -@@ -4,4 +4,4 @@ - SLOT="0" - LICENSE="BSD" - KEYWORDS="~amd64" --DEPEND="stub/masked" -+DEPEND="stub/unstable" diff --git a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInExp/expected-verbose.json b/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInExp/expected-verbose.json deleted file mode 100644 index d866d2cf..00000000 --- a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInExp/expected-verbose.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "NonsolvableDepsInExp", "category": "NonsolvableDepsInExp", "package": "masked", "version": "0", "attr": "depend", "keyword": "~amd64", "profile": "visibility/amd64/exp", "deps": ["stub/masked"], "profile_status": "exp", "profile_deprecated": false, "num_profiles": null} diff --git a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInExp/expected.json b/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInExp/expected.json deleted file mode 100644 index 1404c759..00000000 --- a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInExp/expected.json +++ /dev/null @@ -1 +0,0 @@ -{"__class__": "NonsolvableDepsInExp", "category": "NonsolvableDepsInExp", "package": "masked", "version": "0", "attr": "depend", "keyword": "~amd64", "profile": "visibility/amd64/exp", "deps": ["stub/masked"], "profile_status": "exp", "profile_deprecated": false, "num_profiles": 1} diff --git a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInExp/fix.patch b/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInExp/fix.patch deleted file mode 100644 index 2972545f..00000000 --- a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInExp/fix.patch +++ /dev/null @@ -1,9 +0,0 @@ -diff -Naur visibility/NonsolvableDepsInExp/masked/masked-0.ebuild fixed/NonsolvableDepsInExp/masked/masked-0.ebuild ---- visibility/NonsolvableDepsInExp/masked/masked-0.ebuild 2019-11-27 18:23:39.530850730 -0700 -+++ fixed/NonsolvableDepsInExp/masked/masked-0.ebuild 2019-11-27 18:38:54.209440054 -0700 -@@ -4,4 +4,4 @@ - SLOT="0" - LICENSE="BSD" - KEYWORDS="~amd64" --DEPEND="stub/masked" -+DEPEND="stub/unstable" diff --git a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInStable/expected-verbose.json b/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInStable/expected-verbose.json deleted file mode 100644 index 59792f81..00000000 --- a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInStable/expected-verbose.json +++ /dev/null @@ -1,3 +0,0 @@ -{"__class__": "NonsolvableDepsInStable", "category": "NonsolvableDepsInStable", "package": "masked", "version": "0", "attr": "depend", "keyword": "amd64", "profile": "visibility/amd64/stable", "deps": ["stub/masked"], "profile_status": "stable", "profile_deprecated": false, "num_profiles": null} -{"__class__": "NonsolvableDepsInStable", "category": "NonsolvableDepsInStable", "package": "masked", "version": "0", "attr": "depend", "keyword": "~amd64", "profile": "visibility/amd64/stable", "deps": ["stub/masked"], "profile_status": "stable", "profile_deprecated": false, "num_profiles": null} -{"__class__": "NonsolvableDepsInStable", "category": "NonsolvableDepsInStable", "package": "unstable", "version": "0", "attr": "depend", "keyword": "amd64", "profile": "visibility/amd64/stable", "deps": ["stub/unstable"], "profile_status": "stable", "profile_deprecated": false, "num_profiles": null} diff --git a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInStable/expected.json b/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInStable/expected.json deleted file mode 100644 index 2974e5fc..00000000 --- a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInStable/expected.json +++ /dev/null @@ -1,2 +0,0 @@ -{"__class__": "NonsolvableDepsInStable", "category": "NonsolvableDepsInStable", "package": "masked", "version": "0", "attr": "depend", "keyword": "amd64", "profile": "visibility/amd64/stable", "deps": ["stub/masked"], "profile_status": "stable", "profile_deprecated": false, "num_profiles": 2} -{"__class__": "NonsolvableDepsInStable", "category": "NonsolvableDepsInStable", "package": "unstable", "version": "0", "attr": "depend", "keyword": "amd64", "profile": "visibility/amd64/stable", "deps": ["stub/unstable"], "profile_status": "stable", "profile_deprecated": false, "num_profiles": 1} diff --git a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInStable/fix.patch b/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInStable/fix.patch deleted file mode 100644 index 94226661..00000000 --- a/tests/data/repos/visibility/VisibilityCheck/NonsolvableDepsInStable/fix.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naur visibility/NonsolvableDepsInStable/masked/masked-0.ebuild fixed/NonsolvableDepsInStable/masked/masked-0.ebuild ---- visibility/NonsolvableDepsInStable/masked/masked-0.ebuild 2019-11-27 18:19:04.793488335 -0700 -+++ fixed/NonsolvableDepsInStable/masked/masked-0.ebuild 2019-11-27 18:39:14.864528333 -0700 -@@ -4,4 +4,4 @@ - SLOT="0" - LICENSE="BSD" - KEYWORDS="amd64" --DEPEND="stub/masked" -+DEPEND="stub/stable" -diff -Naur visibility/NonsolvableDepsInStable/unstable/unstable-0.ebuild fixed/NonsolvableDepsInStable/unstable/unstable-0.ebuild ---- visibility/NonsolvableDepsInStable/unstable/unstable-0.ebuild 2019-11-27 18:19:37.794651982 -0700 -+++ fixed/NonsolvableDepsInStable/unstable/unstable-0.ebuild 2019-11-27 18:39:23.950567166 -0700 -@@ -4,4 +4,4 @@ - SLOT="0" - LICENSE="BSD" - KEYWORDS="amd64" --DEPEND="stub/unstable" -+DEPEND="stub/stable" diff --git a/tests/module/misc.py b/tests/misc.py index fbf6c50b..fbf6c50b 100644 --- a/tests/module/misc.py +++ b/tests/misc.py diff --git a/tests/pkgcheck b/tests/pkgcheck deleted file mode 100755 index 8f388c42..00000000 --- a/tests/pkgcheck +++ /dev/null @@ -1,47 +0,0 @@ -#!/usr/bin/env python3 -# Script to run pkgcheck with a fake config used for more easily working -# with test data. - -import os -import sys -import tempfile -import textwrap -from unittest.mock import patch - -from pkgcore import const as pkgcore_const -from snakeoil.osutils import pjoin - -# make sure to use git repo version of pkgcheck -main_dir = os.path.dirname(os.path.dirname(os.path.realpath(__file__))) -src_dir = pjoin(main_dir, 'src') -sys.path.insert(0, src_dir) -from pkgcheck.scripts import run - - -with tempfile.TemporaryDirectory(prefix='pkgcheck-test-config-') as tempdir: - stubrepo = pjoin(pkgcore_const.DATA_PATH, 'stubrepo') - repo_dir = pjoin(main_dir, 'tests', 'repos') - with open(pjoin(tempdir, 'repos.conf'), 'w') as f: - f.write(textwrap.dedent(f"""\ - [DEFAULT] - main-repo = stubrepo - [stubrepo] - location = {stubrepo} - """)) - for repo in os.listdir(repo_dir): - f.write(f'[{repo}]\nlocation = {pjoin(repo_dir, repo)}\n') - - # create make.profile symlink - profile_path = pjoin(stubrepo, 'profiles', 'default') - os.symlink(profile_path, pjoin(tempdir, 'make.profile')) - - args = sys.argv[1:] - try: - if args[0] == 'scan': - # ignore system/user config settings - args = ['scan', '--config', 'no', '--cache-dir', tempdir] + args[1:] - except IndexError: - pass - args = ['pkgcheck', '--config', tempdir] + args - with patch('sys.argv', args): - run('pkgcheck') diff --git a/tests/repos/eclass/EapiCheck/UnsupportedEclassEapi/UnsupportedEclassEapi-0.ebuild b/tests/repos/eclass/EapiCheck/UnsupportedEclassEapi/UnsupportedEclassEapi-0.ebuild deleted file mode 100644 index ef8ee3fc..00000000 --- a/tests/repos/eclass/EapiCheck/UnsupportedEclassEapi/UnsupportedEclassEapi-0.ebuild +++ /dev/null @@ -1,8 +0,0 @@ -EAPI=5 - -inherit stub - -DESCRIPTION="Ebuild using an unsupported eclass" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/eclass/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-0.ebuild b/tests/repos/eclass/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-0.ebuild deleted file mode 100644 index 889e45d1..00000000 --- a/tests/repos/eclass/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-0.ebuild +++ /dev/null @@ -1,10 +0,0 @@ -EAPI=7 -inherit deprecated -DESCRIPTION="Ebuild with deprecated eclass usage" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_prepare() { - deprecated_public_func -} diff --git a/tests/repos/eclass/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-1.ebuild b/tests/repos/eclass/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-1.ebuild deleted file mode 100644 index 02ab2b05..00000000 --- a/tests/repos/eclass/EclassUsageCheck/DeprecatedEclass/DeprecatedEclass-1.ebuild +++ /dev/null @@ -1,10 +0,0 @@ -EAPI=7 -inherit deprecated2 -DESCRIPTION="Ebuild with deprecated eclass usage" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_prepare() { - deprecated2_public_func -} diff --git a/tests/repos/eclass/EclassUsageCheck/MisplacedEclassVar/MisplacedEclassVar-0.ebuild b/tests/repos/eclass/EclassUsageCheck/MisplacedEclassVar/MisplacedEclassVar-0.ebuild deleted file mode 100644 index cff15f7e..00000000 --- a/tests/repos/eclass/EclassUsageCheck/MisplacedEclassVar/MisplacedEclassVar-0.ebuild +++ /dev/null @@ -1,10 +0,0 @@ -EAPI=7 - -inherit pre-inherit - -DESCRIPTION="Ebuild with misplaced pre-inherit eclass variable" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -PRE_INHERIT_VAR="foo" diff --git a/tests/repos/eclass/InheritsCheck/InternalEclassUsage/InternalEclassUsage-0.ebuild b/tests/repos/eclass/InheritsCheck/InternalEclassUsage/InternalEclassUsage-0.ebuild deleted file mode 100644 index 6fc6c3c1..00000000 --- a/tests/repos/eclass/InheritsCheck/InternalEclassUsage/InternalEclassUsage-0.ebuild +++ /dev/null @@ -1,13 +0,0 @@ -EAPI=7 - -inherit inherit - -DESCRIPTION="Ebuild using an internal eclass function" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_prepare() { - inherit_public_func - _inherit_internal_func -} diff --git a/tests/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-0.ebuild b/tests/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-0.ebuild deleted file mode 100644 index a527b3e6..00000000 --- a/tests/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-0.ebuild +++ /dev/null @@ -1,10 +0,0 @@ -EAPI=7 - -DESCRIPTION="Ebuild missing an eclass inherit" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_prepare() { - inherit_public_func -} diff --git a/tests/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-1.ebuild b/tests/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-1.ebuild deleted file mode 100644 index 6a8cfe0a..00000000 --- a/tests/repos/eclass/InheritsCheck/MissingInherits/MissingInherits-1.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -EAPI=7 - -if [[ ${PV} == "9999" ]] ; then - inherit vcs -fi - -DESCRIPTION="Ebuild with conditional eclass usage" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_prepare() { - [[ ${PV} == "9999" ]] && vcs_public_function -} diff --git a/tests/repos/eclass/InheritsCheck/UnusedInherits/UnusedInherits-0.ebuild b/tests/repos/eclass/InheritsCheck/UnusedInherits/UnusedInherits-0.ebuild deleted file mode 100644 index 93140ac5..00000000 --- a/tests/repos/eclass/InheritsCheck/UnusedInherits/UnusedInherits-0.ebuild +++ /dev/null @@ -1,12 +0,0 @@ -EAPI=7 - -inherit inherit unused - -DESCRIPTION="Ebuild inheriting an unused eclass" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_prepare() { - inherit_public_func -} diff --git a/tests/repos/eclass/eclass/bad.eclass b/tests/repos/eclass/eclass/bad.eclass deleted file mode 100644 index d0b37fad..00000000 --- a/tests/repos/eclass/eclass/bad.eclass +++ /dev/null @@ -1,11 +0,0 @@ -# @ECLASS: bad.eclass -# @MAINTAINER: -# Random Person <maintainer@random.email> -# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 -# @BLURB: Stub eclass with bash syntax errors. - -# @FUNCTION: bad_public_function -# @USAGE: -# @DESCRIPTION: -# Public stub function. -bad_public_function() { : } diff --git a/tests/repos/eclass/eclass/deprecated.eclass b/tests/repos/eclass/eclass/deprecated.eclass deleted file mode 100644 index a315e452..00000000 --- a/tests/repos/eclass/eclass/deprecated.eclass +++ /dev/null @@ -1,13 +0,0 @@ -# @ECLASS: deprecated.eclass -# @MAINTAINER: -# Random Dev <random.dev@gentoo.org> -# @AUTHOR: -# Random Dev <random.dev@gentoo.org> -# @BLURB: Example deprecated eclass with no replacement. -# @DEPRECATED: none - -# @FUNCTION: deprecated_public_func -# @USAGE: -# @DESCRIPTION: -# Public stub function. -deprecated_public_func() { :; } diff --git a/tests/repos/eclass/eclass/deprecated2.eclass b/tests/repos/eclass/eclass/deprecated2.eclass deleted file mode 100644 index e2f5900f..00000000 --- a/tests/repos/eclass/eclass/deprecated2.eclass +++ /dev/null @@ -1,13 +0,0 @@ -# @ECLASS: deprecated2.eclass -# @MAINTAINER: -# Random Dev <random.dev@gentoo.org> -# @AUTHOR: -# Random Dev <random.dev@gentoo.org> -# @BLURB: Example deprecated eclass with replacement. -# @DEPRECATED: replacement - -# @FUNCTION: deprecated2_public_func -# @USAGE: -# @DESCRIPTION: -# Public stub function. -deprecated2_public_func() { :; } diff --git a/tests/repos/eclass/eclass/inherit.eclass b/tests/repos/eclass/eclass/inherit.eclass deleted file mode 100644 index b31cb50d..00000000 --- a/tests/repos/eclass/eclass/inherit.eclass +++ /dev/null @@ -1,18 +0,0 @@ -# @ECLASS: inherit.eclass -# @MAINTAINER: -# Random Person <maintainer@random.email> -# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 -# @BLURB: Stub eclass for testing InheritsCheck. - -# @FUNCTION: _inherit_internal_func -# @USAGE: -# @INTERNAL -# @DESCRIPTION: -# Internal stub function. -_inherit_internal_func() { :; } - -# @FUNCTION: inherit_public_func -# @USAGE: -# @DESCRIPTION: -# Public stub function. -inherit_public_func() { :; } diff --git a/tests/repos/eclass/eclass/missing-docs.eclass b/tests/repos/eclass/eclass/missing-docs.eclass deleted file mode 100644 index 755bbefa..00000000 --- a/tests/repos/eclass/eclass/missing-docs.eclass +++ /dev/null @@ -1,15 +0,0 @@ -# @ECLASS: missing-docs.eclass -# @MAINTAINER: -# Random Person <maintainer@random.email> -# @SUPPORTED_EAPIS: 6 7 -# @BLURB: Stub eclass with missing function and variable documentation. - -# @FUNCTION: missing-docs_documented_func -# @USAGE: -# @DESCRIPTION: -# Public documented stub function. -missing-docs_documented_func() { :; } - -missing-docs_public_func() { :; } - -MISSING_DOCS_PUBLIC_VAR="" diff --git a/tests/repos/eclass/eclass/no-maintainer.eclass b/tests/repos/eclass/eclass/no-maintainer.eclass deleted file mode 100644 index 2f09a978..00000000 --- a/tests/repos/eclass/eclass/no-maintainer.eclass +++ /dev/null @@ -1,3 +0,0 @@ -# @ECLASS: no-maintainer.eclass -# @SUPPORTED_EAPIS: 6 7 -# @BLURB: Stub eclass with no maintainer for testing the EclassDocError result. diff --git a/tests/repos/eclass/eclass/pre-inherit.eclass b/tests/repos/eclass/eclass/pre-inherit.eclass deleted file mode 100644 index 0a60630c..00000000 --- a/tests/repos/eclass/eclass/pre-inherit.eclass +++ /dev/null @@ -1,10 +0,0 @@ -# @ECLASS: pre-inherit.eclass -# @MAINTAINER: -# Random Person <maintainer@random.email> -# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 -# @BLURB: Stub eclass for testing MisplacedEclassVar. - -# @ECLASS-VARIABLE: PRE_INHERIT_VAR -# @PRE_INHERIT -# @DESCRIPTION: -# Internal stub variable. diff --git a/tests/repos/eclass/eclass/replacement.eclass b/tests/repos/eclass/eclass/replacement.eclass deleted file mode 100644 index c207d882..00000000 --- a/tests/repos/eclass/eclass/replacement.eclass +++ /dev/null @@ -1,12 +0,0 @@ -# @ECLASS: replacement.eclass -# @MAINTAINER: -# Random Dev <random.dev@gentoo.org> -# @AUTHOR: -# Random Dev <random.dev@gentoo.org> -# @BLURB: Stub eclass. - -# @FUNCTION: replacement_public_func -# @USAGE: -# @DESCRIPTION: -# Public stub function. -replacement_public_func() { :; } diff --git a/tests/repos/eclass/eclass/stub.eclass b/tests/repos/eclass/eclass/stub.eclass deleted file mode 100644 index b30f3f62..00000000 --- a/tests/repos/eclass/eclass/stub.eclass +++ /dev/null @@ -1,13 +0,0 @@ -# @ECLASS: stub.eclass -# @MAINTAINER: -# Random Person <maintainer@random.email> -# @SUPPORTED_EAPIS: 6 7 -# @BLURB: Stub eclass for testing the UnsupportedEclassEapi result. - -EXPORT_FUNCTIONS src_prepare - -# @FUNCTION: stub_src_prepare -# @USAGE: -# @DESCRIPTION: -# Public src_prepare stub function. -stub_src_prepare() { :; } diff --git a/tests/repos/eclass/eclass/unused.eclass b/tests/repos/eclass/eclass/unused.eclass deleted file mode 100644 index 8ef0396d..00000000 --- a/tests/repos/eclass/eclass/unused.eclass +++ /dev/null @@ -1,11 +0,0 @@ -# @ECLASS: unused.eclass -# @MAINTAINER: -# Random Person <maintainer@random.email> -# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 -# @BLURB: Stub eclass. - -# @FUNCTION: unused_function -# @USAGE: -# @DESCRIPTION: -# Public stub function. -unused_function() { :; } diff --git a/tests/repos/eclass/eclass/vcs.eclass b/tests/repos/eclass/eclass/vcs.eclass deleted file mode 100644 index 07c330df..00000000 --- a/tests/repos/eclass/eclass/vcs.eclass +++ /dev/null @@ -1,13 +0,0 @@ -# @ECLASS: vcs.eclass -# @MAINTAINER: -# Random Person <maintainer@random.email> -# @SUPPORTED_EAPIS: 0 1 2 3 4 5 6 7 -# @BLURB: Stub VCS-related eclass. - -PROPERTIES+=" live" - -# @FUNCTION: vcs_public_function -# @USAGE: -# @DESCRIPTION: -# Public stub function. -vcs_public_function() { :; } diff --git a/tests/repos/eclass/licenses/BSD b/tests/repos/eclass/licenses/BSD deleted file mode 120000 index 14776154..00000000 --- a/tests/repos/eclass/licenses/BSD +++ /dev/null @@ -1 +0,0 @@ -../../../../LICENSE
\ No newline at end of file diff --git a/tests/repos/eclass/metadata/layout.conf b/tests/repos/eclass/metadata/layout.conf deleted file mode 100644 index af44fe30..00000000 --- a/tests/repos/eclass/metadata/layout.conf +++ /dev/null @@ -1,3 +0,0 @@ -masters = -cache-formats = -thin-manifests = true diff --git a/tests/repos/eclass/profiles/repo_name b/tests/repos/eclass/profiles/repo_name deleted file mode 100644 index 2405ca7d..00000000 --- a/tests/repos/eclass/profiles/repo_name +++ /dev/null @@ -1 +0,0 @@ -eclass diff --git a/tests/repos/eclass/stub/stub1/stub1-0.ebuild b/tests/repos/eclass/stub/stub1/stub1-0.ebuild deleted file mode 100644 index b4a3f460..00000000 --- a/tests/repos/eclass/stub/stub1/stub1-0.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -EAPI=7 - -inherit missing no-maintainer replacement vcs - -DESCRIPTION="Stub ebuild used to suppress unwanted results" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_prepare() { - missing-docs_documented_func - replacement_public_func - vcs_public_function -} diff --git a/tests/repos/gentoo/CatMissingMetadataXml/stub1/metadata.xml b/tests/repos/gentoo/CatMissingMetadataXml/stub1/metadata.xml deleted file mode 100644 index 6c918773..00000000 --- a/tests/repos/gentoo/CatMissingMetadataXml/stub1/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/CatMissingMetadataXml/stub1/stub1-0.ebuild b/tests/repos/gentoo/CatMissingMetadataXml/stub1/stub1-0.ebuild deleted file mode 100644 index c29f208f..00000000 --- a/tests/repos/gentoo/CatMissingMetadataXml/stub1/stub1-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Stub package to populate category" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/CatMissingMetadataXml/stub2/metadata.xml b/tests/repos/gentoo/CatMissingMetadataXml/stub2/metadata.xml deleted file mode 100644 index 6c918773..00000000 --- a/tests/repos/gentoo/CatMissingMetadataXml/stub2/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/CatMissingMetadataXml/stub2/stub2-0.ebuild b/tests/repos/gentoo/CatMissingMetadataXml/stub2/stub2-0.ebuild deleted file mode 100644 index c29f208f..00000000 --- a/tests/repos/gentoo/CatMissingMetadataXml/stub2/stub2-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Stub package to populate category" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/EbuildInvalidCopyright-0.ebuild b/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/EbuildInvalidCopyright-0.ebuild deleted file mode 100644 index 2b145c35..00000000 --- a/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/EbuildInvalidCopyright-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Invalid copyright -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Ebuild with an invalid copyright header" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/metadata.xml b/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/metadata.xml deleted file mode 100644 index 6c918773..00000000 --- a/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidCopyright/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-0.ebuild b/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-0.ebuild deleted file mode 100644 index d3b7fc56..00000000 --- a/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v3 - -DESCRIPTION="Ebuild with invalid license header" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-1.ebuild b/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-1.ebuild deleted file mode 100644 index 8fac74d4..00000000 --- a/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/EbuildInvalidLicenseHeader-1.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors - -DESCRIPTION="Ebuild with invalid license header" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/metadata.xml b/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/metadata.xml deleted file mode 100644 index 6c918773..00000000 --- a/tests/repos/gentoo/EbuildHeaderCheck/EbuildInvalidLicenseHeader/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/EbuildNonGentooAuthorsCopyright-0.ebuild b/tests/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/EbuildNonGentooAuthorsCopyright-0.ebuild deleted file mode 100644 index 78b16678..00000000 --- a/tests/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/EbuildNonGentooAuthorsCopyright-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2019 Random Person -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Ebuild with non-Gentoo copyright header" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/metadata.xml b/tests/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/metadata.xml deleted file mode 100644 index 6c918773..00000000 --- a/tests/repos/gentoo/EbuildHeaderCheck/EbuildNonGentooAuthorsCopyright/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/EbuildOldGentooCopyright-0.ebuild b/tests/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/EbuildOldGentooCopyright-0.ebuild deleted file mode 100644 index 38f2917f..00000000 --- a/tests/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/EbuildOldGentooCopyright-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2019 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Ebuild with old copyright header" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/metadata.xml b/tests/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/metadata.xml deleted file mode 100644 index 6c918773..00000000 --- a/tests/repos/gentoo/EbuildHeaderCheck/EbuildOldGentooCopyright/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/EbuildHeaderCheck/metadata.xml b/tests/repos/gentoo/EbuildHeaderCheck/metadata.xml deleted file mode 100644 index ef647294..00000000 --- a/tests/repos/gentoo/EbuildHeaderCheck/metadata.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> -</catmetadata> diff --git a/tests/repos/gentoo/EmptyCategoryDir/metadata.xml b/tests/repos/gentoo/EmptyCategoryDir/metadata.xml deleted file mode 100644 index ef647294..00000000 --- a/tests/repos/gentoo/EmptyCategoryDir/metadata.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> -</catmetadata> diff --git a/tests/repos/gentoo/EmptyDirsCheck/EmptyPackageDir/metadata.xml b/tests/repos/gentoo/EmptyDirsCheck/EmptyPackageDir/metadata.xml deleted file mode 100644 index 6c918773..00000000 --- a/tests/repos/gentoo/EmptyDirsCheck/EmptyPackageDir/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/EmptyDirsCheck/metadata.xml b/tests/repos/gentoo/EmptyDirsCheck/metadata.xml deleted file mode 100644 index ef647294..00000000 --- a/tests/repos/gentoo/EmptyDirsCheck/metadata.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> -</catmetadata> diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/MaintainerNeeded-0.ebuild b/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/MaintainerNeeded-0.ebuild deleted file mode 100644 index ffeaf2f7..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/MaintainerNeeded-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Package metadata.xml with missing maintainer-needed comment" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/metadata.xml b/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/metadata.xml deleted file mode 100644 index 097975e3..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded/metadata.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -</pkgmetadata> diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded2/MaintainerNeeded2-0.ebuild b/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded2/MaintainerNeeded2-0.ebuild deleted file mode 100644 index 11fa88b9..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded2/MaintainerNeeded2-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Package metadata.xml with invalid missing maintainer-needed comment" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded2/metadata.xml b/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded2/metadata.xml deleted file mode 100644 index ff32525c..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerNeeded2/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <!-- maintainer-needed --> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/MaintainerWithoutProxy-0.ebuild b/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/MaintainerWithoutProxy-0.ebuild deleted file mode 100644 index 41bdcd2e..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/MaintainerWithoutProxy-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Ebuild with non gentoo maintainer without proxy in metadata.xml" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/metadata.xml b/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/metadata.xml deleted file mode 100644 index 4ef3067b..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/MaintainerWithoutProxy/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>non-gentoo-dev@email.com</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/NonexistentProjectMaintainer-0.ebuild b/tests/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/NonexistentProjectMaintainer-0.ebuild deleted file mode 100644 index d01a05d5..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/NonexistentProjectMaintainer-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Package metadata.xml with nonexistent project" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/metadata.xml b/tests/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/metadata.xml deleted file mode 100644 index d80ee317..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/NonexistentProjectMaintainer/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/PkgMissingMetadataXml-0.ebuild b/tests/repos/gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/PkgMissingMetadataXml-0.ebuild deleted file mode 100644 index e7a993f2..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/PkgMissingMetadataXml/PkgMissingMetadataXml-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Ebuild with missing metadata.xml" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/RedundantLongDescription-0.ebuild b/tests/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/RedundantLongDescription-0.ebuild deleted file mode 100644 index aed8880d..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/RedundantLongDescription-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Package metadata.xml with missing maintainer and maintainer-needed commit" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml b/tests/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml deleted file mode 100644 index d6993fb8..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> - <longdescription> - Long description that is too short. - </longdescription> -</pkgmetadata> diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/StaleProxyMaintProject-0.ebuild b/tests/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/StaleProxyMaintProject-0.ebuild deleted file mode 100644 index f8fa8a0a..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/StaleProxyMaintProject-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Ebuild with proxy-maint in metadata.xml without proxied non-dev" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/metadata.xml b/tests/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/metadata.xml deleted file mode 100644 index c4d7f0c1..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/StaleProxyMaintProject/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>proxy-maint@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/WrongMaintainerType-0.ebuild b/tests/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/WrongMaintainerType-0.ebuild deleted file mode 100644 index 1b1deb40..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/WrongMaintainerType-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Package metadata.xml with wrong maintainer type" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/metadata.xml b/tests/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/metadata.xml deleted file mode 100644 index 587d0198..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/WrongMaintainerType/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>stub.project@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/PackageMetadataXmlCheck/metadata.xml b/tests/repos/gentoo/PackageMetadataXmlCheck/metadata.xml deleted file mode 100644 index ef647294..00000000 --- a/tests/repos/gentoo/PackageMetadataXmlCheck/metadata.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> -</catmetadata> diff --git a/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/UnknownPkgDirEntry-0.ebuild b/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/UnknownPkgDirEntry-0.ebuild deleted file mode 100644 index 240bf626..00000000 --- a/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/UnknownPkgDirEntry-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="File in package dir is unknown" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/bar/.stub b/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/bar/.stub deleted file mode 100644 index e69de29b..00000000 --- a/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/bar/.stub +++ /dev/null diff --git a/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/foo b/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/foo deleted file mode 100644 index 257cc564..00000000 --- a/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/foo +++ /dev/null @@ -1 +0,0 @@ -foo diff --git a/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/metadata.xml b/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/metadata.xml deleted file mode 100644 index 6c918773..00000000 --- a/tests/repos/gentoo/PkgDirCheck/UnknownPkgDirEntry/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/PkgDirCheck/metadata.xml b/tests/repos/gentoo/PkgDirCheck/metadata.xml deleted file mode 100644 index ef647294..00000000 --- a/tests/repos/gentoo/PkgDirCheck/metadata.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> -</catmetadata> diff --git a/tests/repos/gentoo/UnstableOnlyCheck/UnstableOnly/UnstableOnly-0.ebuild b/tests/repos/gentoo/UnstableOnlyCheck/UnstableOnly/UnstableOnly-0.ebuild deleted file mode 100644 index 73db3337..00000000 --- a/tests/repos/gentoo/UnstableOnlyCheck/UnstableOnly/UnstableOnly-0.ebuild +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -DESCRIPTION="Ebuild with only unstable keywords" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64" diff --git a/tests/repos/gentoo/UnstableOnlyCheck/UnstableOnly/metadata.xml b/tests/repos/gentoo/UnstableOnlyCheck/UnstableOnly/metadata.xml deleted file mode 100644 index 6c918773..00000000 --- a/tests/repos/gentoo/UnstableOnlyCheck/UnstableOnly/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>random.gentoo.dev@gentoo.org</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/gentoo/UnstableOnlyCheck/metadata.xml b/tests/repos/gentoo/UnstableOnlyCheck/metadata.xml deleted file mode 100644 index ef647294..00000000 --- a/tests/repos/gentoo/UnstableOnlyCheck/metadata.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> -</catmetadata> diff --git a/tests/repos/gentoo/eclass/invalid-copyright.eclass b/tests/repos/gentoo/eclass/invalid-copyright.eclass deleted file mode 100644 index 37f9f42c..00000000 --- a/tests/repos/gentoo/eclass/invalid-copyright.eclass +++ /dev/null @@ -1,9 +0,0 @@ -# Invalid copyright -# Distributed under the terms of the GNU General Public License v2 - -# @ECLASS: invalid-copyright.eclass -# @MAINTAINER: -# Random Dev <random.dev@gentoo.org> -# @AUTHOR: -# Random Dev <random.dev@gentoo.org> -# @BLURB: Stub eclass. diff --git a/tests/repos/gentoo/eclass/invalid-license-header.eclass b/tests/repos/gentoo/eclass/invalid-license-header.eclass deleted file mode 100644 index 484970c8..00000000 --- a/tests/repos/gentoo/eclass/invalid-license-header.eclass +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v3 - -# @ECLASS: invalid-license-header1.eclass -# @MAINTAINER: -# Random Dev <random.dev@gentoo.org> -# @AUTHOR: -# Random Dev <random.dev@gentoo.org> -# @BLURB: Stub eclass. diff --git a/tests/repos/gentoo/eclass/missing-license-header.eclass b/tests/repos/gentoo/eclass/missing-license-header.eclass deleted file mode 100644 index 30059164..00000000 --- a/tests/repos/gentoo/eclass/missing-license-header.eclass +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors - -# @ECLASS: missing-license-header.eclass -# @MAINTAINER: -# Random Dev <random.dev@gentoo.org> -# @AUTHOR: -# Random Dev <random.dev@gentoo.org> -# @BLURB: Stub eclass. diff --git a/tests/repos/gentoo/eclass/non-gentoo-copyright.eclass b/tests/repos/gentoo/eclass/non-gentoo-copyright.eclass deleted file mode 100644 index 31eecb92..00000000 --- a/tests/repos/gentoo/eclass/non-gentoo-copyright.eclass +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright 1999-2020 Random Person -# Distributed under the terms of the GNU General Public License v2 - -# @ECLASS: non-gentoo-copyright.eclass -# @MAINTAINER: -# Random Dev <random.dev@gentoo.org> -# @AUTHOR: -# Random Dev <random.dev@gentoo.org> -# @BLURB: Stub eclass. diff --git a/tests/repos/gentoo/eclass/old-gentoo-copyright.eclass b/tests/repos/gentoo/eclass/old-gentoo-copyright.eclass deleted file mode 100644 index 934a6c9e..00000000 --- a/tests/repos/gentoo/eclass/old-gentoo-copyright.eclass +++ /dev/null @@ -1,9 +0,0 @@ -# Copyright 1999-2019 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -# @ECLASS: old-gentoo-copyright.eclass -# @MAINTAINER: -# Random Dev <random.dev@gentoo.org> -# @AUTHOR: -# Random Dev <random.dev@gentoo.org> -# @BLURB: Stub eclass. diff --git a/tests/repos/gentoo/licenses/BSD b/tests/repos/gentoo/licenses/BSD deleted file mode 120000 index 14776154..00000000 --- a/tests/repos/gentoo/licenses/BSD +++ /dev/null @@ -1 +0,0 @@ -../../../../LICENSE
\ No newline at end of file diff --git a/tests/repos/gentoo/metadata/glsa/glsa-000000-00.xml b/tests/repos/gentoo/metadata/glsa/glsa-000000-00.xml deleted file mode 100644 index 46e56818..00000000 --- a/tests/repos/gentoo/metadata/glsa/glsa-000000-00.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd"> -<glsa id="000000-00"> -<!-- stub glsa --> -</glsa> diff --git a/tests/repos/gentoo/metadata/layout.conf b/tests/repos/gentoo/metadata/layout.conf deleted file mode 100644 index af44fe30..00000000 --- a/tests/repos/gentoo/metadata/layout.conf +++ /dev/null @@ -1,3 +0,0 @@ -masters = -cache-formats = -thin-manifests = true diff --git a/tests/repos/gentoo/metadata/projects.xml b/tests/repos/gentoo/metadata/projects.xml deleted file mode 100644 index 3363b72c..00000000 --- a/tests/repos/gentoo/metadata/projects.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE projects SYSTEM "http://www.gentoo.org/dtd/projects.dtd"> -<projects> - <project> - <email>stub.project@gentoo.org</email> - <name>Stub project</name> - <url>https://random.url/to/nowhere</url> - <description>Packages with no purpose.</description> - <member is-lead="1"> - <email>random.developer@gentoo.org</email> - <name>Random Developer</name> - <role>Member</role> - </member> - </project> -</projects> diff --git a/tests/repos/gentoo/profiles/arch.list b/tests/repos/gentoo/profiles/arch.list deleted file mode 100644 index 21d5bd8c..00000000 --- a/tests/repos/gentoo/profiles/arch.list +++ /dev/null @@ -1 +0,0 @@ -amd64 diff --git a/tests/repos/gentoo/profiles/arches.desc b/tests/repos/gentoo/profiles/arches.desc deleted file mode 100644 index 733da9d1..00000000 --- a/tests/repos/gentoo/profiles/arches.desc +++ /dev/null @@ -1 +0,0 @@ -amd64 stable diff --git a/tests/repos/gentoo/profiles/categories b/tests/repos/gentoo/profiles/categories deleted file mode 100644 index 25bbc7fd..00000000 --- a/tests/repos/gentoo/profiles/categories +++ /dev/null @@ -1,8 +0,0 @@ -CatMissingMetadataXml -EbuildHeaderCheck -EmptyCategoryDir -EmptyDirsCheck -PackageMetadataXmlCheck -PkgDirCheck -UnstableOnlyCheck -nonexistent diff --git a/tests/repos/gentoo/profiles/default/eapi b/tests/repos/gentoo/profiles/default/eapi deleted file mode 100644 index 7ed6ff82..00000000 --- a/tests/repos/gentoo/profiles/default/eapi +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/tests/repos/gentoo/profiles/default/linux/eapi b/tests/repos/gentoo/profiles/default/linux/eapi deleted file mode 100644 index 7ed6ff82..00000000 --- a/tests/repos/gentoo/profiles/default/linux/eapi +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/tests/repos/gentoo/profiles/default/linux/lagging/parent b/tests/repos/gentoo/profiles/default/linux/lagging/parent deleted file mode 100644 index f3229c5b..00000000 --- a/tests/repos/gentoo/profiles/default/linux/lagging/parent +++ /dev/null @@ -1 +0,0 @@ -.. diff --git a/tests/repos/gentoo/profiles/default/linux/make.defaults b/tests/repos/gentoo/profiles/default/linux/make.defaults deleted file mode 100644 index b3e0df88..00000000 --- a/tests/repos/gentoo/profiles/default/linux/make.defaults +++ /dev/null @@ -1 +0,0 @@ -ARCH="amd64" diff --git a/tests/repos/gentoo/profiles/default/linux/parent b/tests/repos/gentoo/profiles/default/linux/parent deleted file mode 100644 index f3229c5b..00000000 --- a/tests/repos/gentoo/profiles/default/linux/parent +++ /dev/null @@ -1 +0,0 @@ -.. diff --git a/tests/repos/gentoo/profiles/default/make.defaults b/tests/repos/gentoo/profiles/default/make.defaults deleted file mode 100644 index b3e0df88..00000000 --- a/tests/repos/gentoo/profiles/default/make.defaults +++ /dev/null @@ -1 +0,0 @@ -ARCH="amd64" diff --git a/tests/repos/gentoo/profiles/eapi b/tests/repos/gentoo/profiles/eapi deleted file mode 100644 index 7ed6ff82..00000000 --- a/tests/repos/gentoo/profiles/eapi +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/tests/repos/gentoo/profiles/profiles.desc b/tests/repos/gentoo/profiles/profiles.desc deleted file mode 100644 index d88ebf37..00000000 --- a/tests/repos/gentoo/profiles/profiles.desc +++ /dev/null @@ -1,3 +0,0 @@ -amd64 default unknown -amd64 default/linux stable -amd64 default/linux/lagging stable diff --git a/tests/repos/gentoo/profiles/repo_name b/tests/repos/gentoo/profiles/repo_name deleted file mode 100644 index 23574f35..00000000 --- a/tests/repos/gentoo/profiles/repo_name +++ /dev/null @@ -1 +0,0 @@ -gentoo diff --git a/tests/repos/gentoo/unknown/metadata.xml b/tests/repos/gentoo/unknown/metadata.xml deleted file mode 100644 index ef647294..00000000 --- a/tests/repos/gentoo/unknown/metadata.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> -</catmetadata> diff --git a/tests/repos/network/FetchablesUrlCheck/DeadUrl/DeadUrl-0.ebuild b/tests/repos/network/FetchablesUrlCheck/DeadUrl/DeadUrl-0.ebuild deleted file mode 100644 index 807368b1..00000000 --- a/tests/repos/network/FetchablesUrlCheck/DeadUrl/DeadUrl-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with a dead SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/FetchablesUrlCheck/DeadUrl/Manifest b/tests/repos/network/FetchablesUrlCheck/DeadUrl/Manifest deleted file mode 100644 index 90dcef34..00000000 --- a/tests/repos/network/FetchablesUrlCheck/DeadUrl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST foo.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255ccf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/network/FetchablesUrlCheck/DeadUrl/responses.py b/tests/repos/network/FetchablesUrlCheck/DeadUrl/responses.py deleted file mode 100644 index 6c48dfab..00000000 --- a/tests/repos/network/FetchablesUrlCheck/DeadUrl/responses.py +++ /dev/null @@ -1,10 +0,0 @@ -import io - -from requests.models import Response - -r = Response() -r.status_code = 404 -r.reason = 'Not Found' -r.url = 'https://github.com/pkgcore/pkgcheck/foo.tar.gz' -r.raw = io.StringIO() -responses = [r] diff --git a/tests/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild b/tests/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild deleted file mode 100644 index faec7531..00000000 --- a/tests/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with a dead SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="http://github.com/pkgcore/pkgcheck/foo.tar.gz" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/Manifest b/tests/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/Manifest deleted file mode 100644 index 90dcef34..00000000 --- a/tests/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST foo.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255ccf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/responses.py b/tests/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/responses.py deleted file mode 100644 index 68b0e2de..00000000 --- a/tests/repos/network/FetchablesUrlCheck/HttpsUrlAvailable/responses.py +++ /dev/null @@ -1,18 +0,0 @@ -import io - -from requests.models import Response - -# initial URL check -r = Response() -r.status_code = 200 -r.reason = 'OK' -r.url = 'http://github.com/pkgcore/pkgcheck/foo.tar.gz' -r.raw = io.StringIO() -# now checking if https:// exists -https_r = Response() -https_r.status_code = 200 -https_r.reason = 'OK' -https_r.url = 'https://github.com/pkgcore/pkgcheck/foo.tar.gz' -https_r.raw = io.StringIO() - -responses = [r, https_r] diff --git a/tests/repos/network/FetchablesUrlCheck/RedirectedUrl/Manifest b/tests/repos/network/FetchablesUrlCheck/RedirectedUrl/Manifest deleted file mode 100644 index 90dcef34..00000000 --- a/tests/repos/network/FetchablesUrlCheck/RedirectedUrl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST foo.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255ccf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/network/FetchablesUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild b/tests/repos/network/FetchablesUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild deleted file mode 100644 index 807368b1..00000000 --- a/tests/repos/network/FetchablesUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with a dead SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/FetchablesUrlCheck/RedirectedUrl/responses.py b/tests/repos/network/FetchablesUrlCheck/RedirectedUrl/responses.py deleted file mode 100644 index b582b6db..00000000 --- a/tests/repos/network/FetchablesUrlCheck/RedirectedUrl/responses.py +++ /dev/null @@ -1,19 +0,0 @@ -import io - -from requests.models import Response - -r_hist = Response() -r_hist.status_code = 301 -r_hist.reason = 'Moved Permanently' -r_hist.url = 'https://github.com/pkgcore/pkgcheck/foo.tar.gz' -r_hist.headers = {'location': 'https://github.com/pkgcore/pkgcheck/foo-moved.tar.gz'} -r_hist.raw = io.StringIO() - -r = Response() -r.status_code = 200 -r.reason = 'OK' -r.url = 'https://github.com/pkgcore/pkgcheck/foo.tar.gz' -r.history = [r_hist] -r.raw = io.StringIO() - -responses = [r] diff --git a/tests/repos/network/FetchablesUrlCheck/SSLCertificateError/Manifest b/tests/repos/network/FetchablesUrlCheck/SSLCertificateError/Manifest deleted file mode 100644 index 90dcef34..00000000 --- a/tests/repos/network/FetchablesUrlCheck/SSLCertificateError/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST foo.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255ccf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/network/FetchablesUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild b/tests/repos/network/FetchablesUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild deleted file mode 100644 index 807368b1..00000000 --- a/tests/repos/network/FetchablesUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with a dead SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/FetchablesUrlCheck/SSLCertificateError/responses.py b/tests/repos/network/FetchablesUrlCheck/SSLCertificateError/responses.py deleted file mode 100644 index 95ed6778..00000000 --- a/tests/repos/network/FetchablesUrlCheck/SSLCertificateError/responses.py +++ /dev/null @@ -1,3 +0,0 @@ -from requests.exceptions import SSLError - -responses = [SSLError('Certificate verification failed')] diff --git a/tests/repos/network/FetchablesUrlCheck/ftp-DeadUrl/Manifest b/tests/repos/network/FetchablesUrlCheck/ftp-DeadUrl/Manifest deleted file mode 100644 index 90dcef34..00000000 --- a/tests/repos/network/FetchablesUrlCheck/ftp-DeadUrl/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST foo.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255ccf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/network/FetchablesUrlCheck/ftp-DeadUrl/ftp-DeadUrl-0.ebuild b/tests/repos/network/FetchablesUrlCheck/ftp-DeadUrl/ftp-DeadUrl-0.ebuild deleted file mode 100644 index 172639cb..00000000 --- a/tests/repos/network/FetchablesUrlCheck/ftp-DeadUrl/ftp-DeadUrl-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with a dead ftp SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="ftp://pkgcheck.net/pkgcheck/foo.tar.gz" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/HomepageUrlCheck/DeadUrl-connection-error/DeadUrl-connection-error-0.ebuild b/tests/repos/network/HomepageUrlCheck/DeadUrl-connection-error/DeadUrl-connection-error-0.ebuild deleted file mode 100644 index 6d0abdfc..00000000 --- a/tests/repos/network/HomepageUrlCheck/DeadUrl-connection-error/DeadUrl-connection-error-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with connection error for HOMEPAGE" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/HomepageUrlCheck/DeadUrl-connection-error/responses.py b/tests/repos/network/HomepageUrlCheck/DeadUrl-connection-error/responses.py deleted file mode 100644 index ad3fd857..00000000 --- a/tests/repos/network/HomepageUrlCheck/DeadUrl-connection-error/responses.py +++ /dev/null @@ -1,3 +0,0 @@ -from requests.exceptions import ConnectionError - -responses = [ConnectionError('connection failed')] diff --git a/tests/repos/network/HomepageUrlCheck/DeadUrl/DeadUrl-0.ebuild b/tests/repos/network/HomepageUrlCheck/DeadUrl/DeadUrl-0.ebuild deleted file mode 100644 index bf10f43e..00000000 --- a/tests/repos/network/HomepageUrlCheck/DeadUrl/DeadUrl-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with a dead HOMEPAGE" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/HomepageUrlCheck/DeadUrl/responses.py b/tests/repos/network/HomepageUrlCheck/DeadUrl/responses.py deleted file mode 100644 index e490c7ed..00000000 --- a/tests/repos/network/HomepageUrlCheck/DeadUrl/responses.py +++ /dev/null @@ -1,10 +0,0 @@ -import io - -from requests.models import Response - -r = Response() -r.status_code = 404 -r.reason = 'Not Found' -r.url = 'https://github.com/pkgcore/pkgcheck' -r.raw = io.StringIO() -responses = [r] diff --git a/tests/repos/network/HomepageUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild b/tests/repos/network/HomepageUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild deleted file mode 100644 index f24f5619..00000000 --- a/tests/repos/network/HomepageUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with https:// HOMEPAGE available without a redirect" -HOMEPAGE="http://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/HomepageUrlCheck/HttpsUrlAvailable/responses.py b/tests/repos/network/HomepageUrlCheck/HttpsUrlAvailable/responses.py deleted file mode 100644 index 2f6f43d4..00000000 --- a/tests/repos/network/HomepageUrlCheck/HttpsUrlAvailable/responses.py +++ /dev/null @@ -1,18 +0,0 @@ -import io - -from requests.models import Response - -# initial URL check -r = Response() -r.status_code = 200 -r.reason = 'OK' -r.url = 'http://github.com/pkgcore/pkgcheck' -r.raw = io.StringIO() -# now checking if https:// exists -https_r = Response() -https_r.status_code = 200 -https_r.reason = 'OK' -https_r.url = 'https://github.com/pkgcore/pkgcheck' -https_r.raw = io.StringIO() - -responses = [r, https_r] diff --git a/tests/repos/network/HomepageUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild b/tests/repos/network/HomepageUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild deleted file mode 100644 index 5dbe3fbb..00000000 --- a/tests/repos/network/HomepageUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with HOMEPAGE that redirects somewhere else" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/HomepageUrlCheck/RedirectedUrl/responses.py b/tests/repos/network/HomepageUrlCheck/RedirectedUrl/responses.py deleted file mode 100644 index 71360581..00000000 --- a/tests/repos/network/HomepageUrlCheck/RedirectedUrl/responses.py +++ /dev/null @@ -1,19 +0,0 @@ -import io - -from requests.models import Response - -r_hist = Response() -r_hist.status_code = 301 -r_hist.reason = 'Moved Permanently' -r_hist.url = 'https://github.com/pkgcore/pkgcheck' -r_hist.headers = {'location': 'https://github.com/pkgcore/pkgcheck-moved'} -r_hist.raw = io.StringIO() - -r = Response() -r.status_code = 200 -r.reason = 'OK' -r.url = 'https://github.com/pkgcore/pkgcheck' -r.raw = io.StringIO() -r.history = [r_hist] - -responses = [r] diff --git a/tests/repos/network/HomepageUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild b/tests/repos/network/HomepageUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild deleted file mode 100644 index d3e38db2..00000000 --- a/tests/repos/network/HomepageUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with HOMEPAGE that has a bad SSL cert" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/HomepageUrlCheck/SSLCertificateError/responses.py b/tests/repos/network/HomepageUrlCheck/SSLCertificateError/responses.py deleted file mode 100644 index 95ed6778..00000000 --- a/tests/repos/network/HomepageUrlCheck/SSLCertificateError/responses.py +++ /dev/null @@ -1,3 +0,0 @@ -from requests.exceptions import SSLError - -responses = [SSLError('Certificate verification failed')] diff --git a/tests/repos/network/HomepageUrlCheck/ftp-DeadUrl/ftp-DeadUrl-0.ebuild b/tests/repos/network/HomepageUrlCheck/ftp-DeadUrl/ftp-DeadUrl-0.ebuild deleted file mode 100644 index f683e9bb..00000000 --- a/tests/repos/network/HomepageUrlCheck/ftp-DeadUrl/ftp-DeadUrl-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with a dead ftp HOMEPAGE" -HOMEPAGE="ftp://pkgcheck.net/pkgcheck/" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/MetadataUrlCheck/DeadUrl-missingfile/DeadUrl-missingfile-0.ebuild b/tests/repos/network/MetadataUrlCheck/DeadUrl-missingfile/DeadUrl-missingfile-0.ebuild deleted file mode 100644 index 5a077f01..00000000 --- a/tests/repos/network/MetadataUrlCheck/DeadUrl-missingfile/DeadUrl-missingfile-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with missing metadata.xml file" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/MetadataUrlCheck/DeadUrl-missingfile/responses.py b/tests/repos/network/MetadataUrlCheck/DeadUrl-missingfile/responses.py deleted file mode 100644 index fe96acb4..00000000 --- a/tests/repos/network/MetadataUrlCheck/DeadUrl-missingfile/responses.py +++ /dev/null @@ -1 +0,0 @@ -responses = [] diff --git a/tests/repos/network/MetadataUrlCheck/DeadUrl/DeadUrl-0.ebuild b/tests/repos/network/MetadataUrlCheck/DeadUrl/DeadUrl-0.ebuild deleted file mode 100644 index 9ac7e593..00000000 --- a/tests/repos/network/MetadataUrlCheck/DeadUrl/DeadUrl-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with a dead metadata.xml URL" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/MetadataUrlCheck/DeadUrl/metadata.xml b/tests/repos/network/MetadataUrlCheck/DeadUrl/metadata.xml deleted file mode 100644 index 8d30eed6..00000000 --- a/tests/repos/network/MetadataUrlCheck/DeadUrl/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <upstream> - <remote-id type="github">pkgcore/pkgcheck</remote-id> - </upstream> -</pkgmetadata> diff --git a/tests/repos/network/MetadataUrlCheck/DeadUrl/responses.py b/tests/repos/network/MetadataUrlCheck/DeadUrl/responses.py deleted file mode 100644 index e490c7ed..00000000 --- a/tests/repos/network/MetadataUrlCheck/DeadUrl/responses.py +++ /dev/null @@ -1,10 +0,0 @@ -import io - -from requests.models import Response - -r = Response() -r.status_code = 404 -r.reason = 'Not Found' -r.url = 'https://github.com/pkgcore/pkgcheck' -r.raw = io.StringIO() -responses = [r] diff --git a/tests/repos/network/MetadataUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild b/tests/repos/network/MetadataUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild deleted file mode 100644 index 39b7e289..00000000 --- a/tests/repos/network/MetadataUrlCheck/HttpsUrlAvailable/HttpsUrlAvailable-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with https:// metadata.xml URL available without a redirect" -HOMEPAGE="http://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/MetadataUrlCheck/HttpsUrlAvailable/metadata.xml b/tests/repos/network/MetadataUrlCheck/HttpsUrlAvailable/metadata.xml deleted file mode 100644 index c742dcf1..00000000 --- a/tests/repos/network/MetadataUrlCheck/HttpsUrlAvailable/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <upstream> - <bugs-to>http://github.com/pkgcore/pkgcheck/issues/</bugs-to> - </upstream> -</pkgmetadata> diff --git a/tests/repos/network/MetadataUrlCheck/HttpsUrlAvailable/responses.py b/tests/repos/network/MetadataUrlCheck/HttpsUrlAvailable/responses.py deleted file mode 100644 index dacb475f..00000000 --- a/tests/repos/network/MetadataUrlCheck/HttpsUrlAvailable/responses.py +++ /dev/null @@ -1,18 +0,0 @@ -import io - -from requests.models import Response - -# initial URL check -r = Response() -r.status_code = 200 -r.reason = 'OK' -r.url = 'http://github.com/pkgcore/pkgcheck/issues' -r.raw = io.StringIO() -# now checking if https:// exists -https_r = Response() -https_r.status_code = 200 -https_r.reason = 'OK' -https_r.url = 'https://github.com/pkgcore/pkgcheck/issues' -https_r.raw = io.StringIO() - -responses = [r, https_r] diff --git a/tests/repos/network/MetadataUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild b/tests/repos/network/MetadataUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild deleted file mode 100644 index eb54ea71..00000000 --- a/tests/repos/network/MetadataUrlCheck/RedirectedUrl/RedirectedUrl-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with metadata.xml URL that redirects somewhere else" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/MetadataUrlCheck/RedirectedUrl/metadata.xml b/tests/repos/network/MetadataUrlCheck/RedirectedUrl/metadata.xml deleted file mode 100644 index 429b3b6b..00000000 --- a/tests/repos/network/MetadataUrlCheck/RedirectedUrl/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <upstream> - <changelog>https://github.com/pkgcore/pkgcheck/changelog</changelog> - </upstream> -</pkgmetadata> diff --git a/tests/repos/network/MetadataUrlCheck/RedirectedUrl/responses.py b/tests/repos/network/MetadataUrlCheck/RedirectedUrl/responses.py deleted file mode 100644 index 560443ee..00000000 --- a/tests/repos/network/MetadataUrlCheck/RedirectedUrl/responses.py +++ /dev/null @@ -1,19 +0,0 @@ -import io - -from requests.models import Response - -r_hist = Response() -r_hist.status_code = 301 -r_hist.reason = 'Moved Permanently' -r_hist.url = 'https://github.com/pkgcore/pkgcheck/changelog' -r_hist.headers = {'location': 'https://github.com/pkgcore/pkgcheck/news'} -r_hist.raw = io.StringIO() - -r = Response() -r.status_code = 200 -r.reason = 'OK' -r.url = 'https://github.com/pkgcore/pkgcheck/changelog' -r.raw = io.StringIO() -r.history = [r_hist] - -responses = [r] diff --git a/tests/repos/network/MetadataUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild b/tests/repos/network/MetadataUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild deleted file mode 100644 index 43dcfd7c..00000000 --- a/tests/repos/network/MetadataUrlCheck/SSLCertificateError/SSLCertificateError-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with metadata.xml URL that has a bad SSL cert" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" diff --git a/tests/repos/network/MetadataUrlCheck/SSLCertificateError/metadata.xml b/tests/repos/network/MetadataUrlCheck/SSLCertificateError/metadata.xml deleted file mode 100644 index e648a69b..00000000 --- a/tests/repos/network/MetadataUrlCheck/SSLCertificateError/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version='1.0' encoding='UTF-8'?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <upstream> - <doc>https://pkgcore.github.io/pkgcheck/</doc> - </upstream> -</pkgmetadata> diff --git a/tests/repos/network/MetadataUrlCheck/SSLCertificateError/responses.py b/tests/repos/network/MetadataUrlCheck/SSLCertificateError/responses.py deleted file mode 100644 index 95ed6778..00000000 --- a/tests/repos/network/MetadataUrlCheck/SSLCertificateError/responses.py +++ /dev/null @@ -1,3 +0,0 @@ -from requests.exceptions import SSLError - -responses = [SSLError('Certificate verification failed')] diff --git a/tests/repos/network/licenses/BSD b/tests/repos/network/licenses/BSD deleted file mode 120000 index 14776154..00000000 --- a/tests/repos/network/licenses/BSD +++ /dev/null @@ -1 +0,0 @@ -../../../../LICENSE
\ No newline at end of file diff --git a/tests/repos/network/metadata/layout.conf b/tests/repos/network/metadata/layout.conf deleted file mode 100644 index af44fe30..00000000 --- a/tests/repos/network/metadata/layout.conf +++ /dev/null @@ -1,3 +0,0 @@ -masters = -cache-formats = -thin-manifests = true diff --git a/tests/repos/network/profiles/repo_name b/tests/repos/network/profiles/repo_name deleted file mode 100644 index 992ae129..00000000 --- a/tests/repos/network/profiles/repo_name +++ /dev/null @@ -1 +0,0 @@ -network diff --git a/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersEclasses/UnusedInMastersEclasses-0.ebuild b/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersEclasses/UnusedInMastersEclasses-0.ebuild deleted file mode 100644 index 67f031ee..00000000 --- a/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersEclasses/UnusedInMastersEclasses-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -inherit unused - -DESCRIPTION="Ebuild using eclass from master repo" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersGlobalUse/UnusedInMastersGlobalUse-0.ebuild b/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersGlobalUse/UnusedInMastersGlobalUse-0.ebuild deleted file mode 100644 index 5f7be687..00000000 --- a/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersGlobalUse/UnusedInMastersGlobalUse-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild using global USE flag from master repo" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="unused" diff --git a/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersLicenses/UnusedInMastersLicenses-0.ebuild b/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersLicenses/UnusedInMastersLicenses-0.ebuild deleted file mode 100644 index 6d4c8594..00000000 --- a/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersLicenses/UnusedInMastersLicenses-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild using LICENSE from master repo" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="unused" diff --git a/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersMirrors/Manifest b/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersMirrors/Manifest deleted file mode 100644 index c7383209..00000000 --- a/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersMirrors/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST UnusedInMastersMirrors-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersMirrors/UnusedInMastersMirrors-0.ebuild b/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersMirrors/UnusedInMastersMirrors-0.ebuild deleted file mode 100644 index 017c9e41..00000000 --- a/tests/repos/overlay/UnusedInMastersCheck/UnusedInMastersMirrors/UnusedInMastersMirrors-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild using mirror from master repo" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="mirror://overlayed/${P}.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/overlay/metadata/layout.conf b/tests/repos/overlay/metadata/layout.conf deleted file mode 100644 index f1daac61..00000000 --- a/tests/repos/overlay/metadata/layout.conf +++ /dev/null @@ -1,3 +0,0 @@ -masters = overlayed -cache-formats = -thin-manifests = true diff --git a/tests/repos/overlay/profiles/repo_name b/tests/repos/overlay/profiles/repo_name deleted file mode 100644 index 08047cf6..00000000 --- a/tests/repos/overlay/profiles/repo_name +++ /dev/null @@ -1 +0,0 @@ -overlay diff --git a/tests/repos/overlayed/eclass/unused.eclass b/tests/repos/overlayed/eclass/unused.eclass deleted file mode 100644 index 00299527..00000000 --- a/tests/repos/overlayed/eclass/unused.eclass +++ /dev/null @@ -1 +0,0 @@ -# unused diff --git a/tests/repos/overlayed/licenses/BSD b/tests/repos/overlayed/licenses/BSD deleted file mode 120000 index 14776154..00000000 --- a/tests/repos/overlayed/licenses/BSD +++ /dev/null @@ -1 +0,0 @@ -../../../../LICENSE
\ No newline at end of file diff --git a/tests/repos/overlayed/licenses/unused b/tests/repos/overlayed/licenses/unused deleted file mode 120000 index 14776154..00000000 --- a/tests/repos/overlayed/licenses/unused +++ /dev/null @@ -1 +0,0 @@ -../../../../LICENSE
\ No newline at end of file diff --git a/tests/repos/overlayed/metadata/layout.conf b/tests/repos/overlayed/metadata/layout.conf deleted file mode 100644 index af44fe30..00000000 --- a/tests/repos/overlayed/metadata/layout.conf +++ /dev/null @@ -1,3 +0,0 @@ -masters = -cache-formats = -thin-manifests = true diff --git a/tests/repos/overlayed/profiles/arch.list b/tests/repos/overlayed/profiles/arch.list deleted file mode 100644 index 21d5bd8c..00000000 --- a/tests/repos/overlayed/profiles/arch.list +++ /dev/null @@ -1 +0,0 @@ -amd64 diff --git a/tests/repos/overlayed/profiles/default/make.defaults b/tests/repos/overlayed/profiles/default/make.defaults deleted file mode 100644 index b3e0df88..00000000 --- a/tests/repos/overlayed/profiles/default/make.defaults +++ /dev/null @@ -1 +0,0 @@ -ARCH="amd64" diff --git a/tests/repos/overlayed/profiles/profiles.desc b/tests/repos/overlayed/profiles/profiles.desc deleted file mode 100644 index 09e4e5a1..00000000 --- a/tests/repos/overlayed/profiles/profiles.desc +++ /dev/null @@ -1 +0,0 @@ -amd64 default stable diff --git a/tests/repos/overlayed/profiles/repo_name b/tests/repos/overlayed/profiles/repo_name deleted file mode 100644 index d92c6a4c..00000000 --- a/tests/repos/overlayed/profiles/repo_name +++ /dev/null @@ -1 +0,0 @@ -overlayed diff --git a/tests/repos/overlayed/profiles/thirdpartymirrors b/tests/repos/overlayed/profiles/thirdpartymirrors deleted file mode 100644 index 05d1bea0..00000000 --- a/tests/repos/overlayed/profiles/thirdpartymirrors +++ /dev/null @@ -1 +0,0 @@ -overlayed https://overlayed.mirror diff --git a/tests/repos/overlayed/profiles/use.desc b/tests/repos/overlayed/profiles/use.desc deleted file mode 100644 index 6bc49448..00000000 --- a/tests/repos/overlayed/profiles/use.desc +++ /dev/null @@ -1 +0,0 @@ -unused - unused global flag diff --git a/tests/repos/overlayed/stub/stub1/stub1-0.ebuild b/tests/repos/overlayed/stub/stub1/stub1-0.ebuild deleted file mode 100644 index 303edbd8..00000000 --- a/tests/repos/overlayed/stub/stub1/stub1-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/profiledir/cat/pkg1/pkg1-0.ebuild b/tests/repos/profiledir/cat/pkg1/pkg1-0.ebuild deleted file mode 100644 index 2ba786ea..00000000 --- a/tests/repos/profiledir/cat/pkg1/pkg1-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Stub ebuild used for various profile pkg entries" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="used" diff --git a/tests/repos/profiledir/cat/pkg2/pkg2-0.ebuild b/tests/repos/profiledir/cat/pkg2/pkg2-0.ebuild deleted file mode 100644 index 2ba786ea..00000000 --- a/tests/repos/profiledir/cat/pkg2/pkg2-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Stub ebuild used for various profile pkg entries" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="used" diff --git a/tests/repos/profiledir/cat/pkg3/pkg3-0.ebuild b/tests/repos/profiledir/cat/pkg3/pkg3-0.ebuild deleted file mode 100644 index 16971ee7..00000000 --- a/tests/repos/profiledir/cat/pkg3/pkg3-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub ebuild used for various profile pkg entries" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/profiledir/cat/pkg4/pkg4-0.ebuild b/tests/repos/profiledir/cat/pkg4/pkg4-0.ebuild deleted file mode 100644 index 16971ee7..00000000 --- a/tests/repos/profiledir/cat/pkg4/pkg4-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub ebuild used for various profile pkg entries" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/profiledir/licenses/BSD b/tests/repos/profiledir/licenses/BSD deleted file mode 120000 index 14776154..00000000 --- a/tests/repos/profiledir/licenses/BSD +++ /dev/null @@ -1 +0,0 @@ -../../../../LICENSE
\ No newline at end of file diff --git a/tests/repos/profiledir/metadata/layout.conf b/tests/repos/profiledir/metadata/layout.conf deleted file mode 100644 index af44fe30..00000000 --- a/tests/repos/profiledir/metadata/layout.conf +++ /dev/null @@ -1,3 +0,0 @@ -masters = -cache-formats = -thin-manifests = true diff --git a/tests/repos/profiledir/profiles/arch.list b/tests/repos/profiledir/profiles/arch.list deleted file mode 100644 index 0d9b169f..00000000 --- a/tests/repos/profiledir/profiles/arch.list +++ /dev/null @@ -1,2 +0,0 @@ -amd64 -unknown_arch diff --git a/tests/repos/profiledir/profiles/default/bad_parent/parent b/tests/repos/profiledir/profiles/default/bad_parent/parent deleted file mode 100644 index 9441f266..00000000 --- a/tests/repos/profiledir/profiles/default/bad_parent/parent +++ /dev/null @@ -1,2 +0,0 @@ -../nonexistent -.. diff --git a/tests/repos/profiledir/profiles/default/forgotten/eapi b/tests/repos/profiledir/profiles/default/forgotten/eapi deleted file mode 100644 index 7ed6ff82..00000000 --- a/tests/repos/profiledir/profiles/default/forgotten/eapi +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/tests/repos/profiledir/profiles/default/make.defaults b/tests/repos/profiledir/profiles/default/make.defaults deleted file mode 100644 index b3e0df88..00000000 --- a/tests/repos/profiledir/profiles/default/make.defaults +++ /dev/null @@ -1 +0,0 @@ -ARCH="amd64" diff --git a/tests/repos/profiledir/profiles/default/package.use b/tests/repos/profiledir/profiles/default/package.use deleted file mode 100644 index 65983654..00000000 --- a/tests/repos/profiledir/profiles/default/package.use +++ /dev/null @@ -1,3 +0,0 @@ -cat/pkg1 used -cat/pkg2 used unknown -cat/pkg3 -unknown diff --git a/tests/repos/profiledir/profiles/deprecated/empty/deprecated b/tests/repos/profiledir/profiles/deprecated/empty/deprecated deleted file mode 100644 index e69de29b..00000000 --- a/tests/repos/profiledir/profiles/deprecated/empty/deprecated +++ /dev/null diff --git a/tests/repos/profiledir/profiles/deprecated/nonexistent/deprecated b/tests/repos/profiledir/profiles/deprecated/nonexistent/deprecated deleted file mode 100644 index 7f87369e..00000000 --- a/tests/repos/profiledir/profiles/deprecated/nonexistent/deprecated +++ /dev/null @@ -1 +0,0 @@ -default/nonexistent diff --git a/tests/repos/profiledir/profiles/profiles.desc b/tests/repos/profiledir/profiles/profiles.desc deleted file mode 100644 index fde2d8ea..00000000 --- a/tests/repos/profiledir/profiles/profiles.desc +++ /dev/null @@ -1,14 +0,0 @@ -amd64 default -amd64 default stable -amd64 default/bad_parent dev -amd64 nonexistent exp - -amd64 unknown_pkgs exp -amd64 unknown_kwds exp - -amd64 unknown_use exp -amd64 unknown_use/unknown_stable_use exp -amd64 unknown_use/unknown_stable_use_mask exp - -amd64 deprecated/empty exp -amd64 deprecated/nonexistent exp diff --git a/tests/repos/profiledir/profiles/repo_name b/tests/repos/profiledir/profiles/repo_name deleted file mode 100644 index a80e0283..00000000 --- a/tests/repos/profiledir/profiles/repo_name +++ /dev/null @@ -1 +0,0 @@ -profiledir diff --git a/tests/repos/profiledir/profiles/unknown_kwds/package.accept_keywords b/tests/repos/profiledir/profiles/unknown_kwds/package.accept_keywords deleted file mode 100644 index 55466565..00000000 --- a/tests/repos/profiledir/profiles/unknown_kwds/package.accept_keywords +++ /dev/null @@ -1,2 +0,0 @@ -cat/pkg3 amd64 -cat/pkg4 unknown diff --git a/tests/repos/profiledir/profiles/unknown_kwds/package.keywords b/tests/repos/profiledir/profiles/unknown_kwds/package.keywords deleted file mode 100644 index aab7e102..00000000 --- a/tests/repos/profiledir/profiles/unknown_kwds/package.keywords +++ /dev/null @@ -1,2 +0,0 @@ -cat/pkg1 -amd64 -~amd64 -cat/pkg2 -unknown diff --git a/tests/repos/profiledir/profiles/unknown_pkgs/package.mask b/tests/repos/profiledir/profiles/unknown_pkgs/package.mask deleted file mode 100644 index 367d4f4e..00000000 --- a/tests/repos/profiledir/profiles/unknown_pkgs/package.mask +++ /dev/null @@ -1,2 +0,0 @@ -cat/pkg3 -unknown/pkg_mask diff --git a/tests/repos/profiledir/profiles/unknown_pkgs/package.unmask b/tests/repos/profiledir/profiles/unknown_pkgs/package.unmask deleted file mode 100644 index 70c83eb5..00000000 --- a/tests/repos/profiledir/profiles/unknown_pkgs/package.unmask +++ /dev/null @@ -1,2 +0,0 @@ -cat/pkg4 -unknown/pkg_unmask diff --git a/tests/repos/profiledir/profiles/unknown_pkgs/package.use b/tests/repos/profiledir/profiles/unknown_pkgs/package.use deleted file mode 100644 index 489b4ba1..00000000 --- a/tests/repos/profiledir/profiles/unknown_pkgs/package.use +++ /dev/null @@ -1,2 +0,0 @@ -cat/pkg1 used -unknown/pkg_use used diff --git a/tests/repos/profiledir/profiles/unknown_pkgs/packages b/tests/repos/profiledir/profiles/unknown_pkgs/packages deleted file mode 100644 index 66a8405b..00000000 --- a/tests/repos/profiledir/profiles/unknown_pkgs/packages +++ /dev/null @@ -1,4 +0,0 @@ -*cat/pkg1 -*unknown/pkg --*cat/pkg2 --*unknown/disabled_pkg diff --git a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use/eapi b/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use/eapi deleted file mode 100644 index 7ed6ff82..00000000 --- a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use/eapi +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use/use.force b/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use/use.force deleted file mode 100644 index c3cdd835..00000000 --- a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use/use.force +++ /dev/null @@ -1 +0,0 @@ --use_force diff --git a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use/use.stable.force b/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use/use.stable.force deleted file mode 100644 index 6413c113..00000000 --- a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use/use.stable.force +++ /dev/null @@ -1 +0,0 @@ -use_stable_force diff --git a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/eapi b/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/eapi deleted file mode 100644 index 7ed6ff82..00000000 --- a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/eapi +++ /dev/null @@ -1 +0,0 @@ -5 diff --git a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/use.mask b/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/use.mask deleted file mode 100644 index b61cf300..00000000 --- a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/use.mask +++ /dev/null @@ -1 +0,0 @@ --use_mask diff --git a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/use.stable.mask b/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/use.stable.mask deleted file mode 100644 index 1eaffca3..00000000 --- a/tests/repos/profiledir/profiles/unknown_use/unknown_stable_use_mask/use.stable.mask +++ /dev/null @@ -1 +0,0 @@ -use_stable_mask diff --git a/tests/repos/profiledir/profiles/unknown_use/use.force b/tests/repos/profiledir/profiles/unknown_use/use.force deleted file mode 100644 index 67eb4798..00000000 --- a/tests/repos/profiledir/profiles/unknown_use/use.force +++ /dev/null @@ -1 +0,0 @@ -use_force diff --git a/tests/repos/profiledir/profiles/unknown_use/use.mask b/tests/repos/profiledir/profiles/unknown_use/use.mask deleted file mode 100644 index 3b176608..00000000 --- a/tests/repos/profiledir/profiles/unknown_use/use.mask +++ /dev/null @@ -1 +0,0 @@ -use_mask diff --git a/tests/repos/profiledir/profiles/unknown_use/use.stable.force b/tests/repos/profiledir/profiles/unknown_use/use.stable.force deleted file mode 100644 index 1d744cc8..00000000 --- a/tests/repos/profiledir/profiles/unknown_use/use.stable.force +++ /dev/null @@ -1,2 +0,0 @@ -# ignored due to profile EAPI -use_stable_force diff --git a/tests/repos/profiledir/profiles/unknown_use/use.stable.mask b/tests/repos/profiledir/profiles/unknown_use/use.stable.mask deleted file mode 100644 index 58b203ad..00000000 --- a/tests/repos/profiledir/profiles/unknown_use/use.stable.mask +++ /dev/null @@ -1,2 +0,0 @@ -# ignored due to profile EAPI -use_stable_mask diff --git a/tests/repos/profiledir/profiles/use.desc b/tests/repos/profiledir/profiles/use.desc deleted file mode 100644 index d02ac5e3..00000000 --- a/tests/repos/profiledir/profiles/use.desc +++ /dev/null @@ -1 +0,0 @@ -used - used global flag diff --git a/tests/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild b/tests/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild deleted file mode 100644 index 236182e9..00000000 --- a/tests/repos/python/PythonCheck/PythonMissingDeps/PythonMissingDeps-0.ebuild +++ /dev/null @@ -1,10 +0,0 @@ -EAPI=7 -PYTHON_COMPAT=( python3_9 ) - -inherit python-r1 - -DESCRIPTION="Ebuild with potential PYTHON_COMPAT updates" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" diff --git a/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-0.ebuild b/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-0.ebuild deleted file mode 100644 index 1489e0eb..00000000 --- a/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-0.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -EAPI=7 -PYTHON_COMPAT=( python3_7 ) - -inherit python-r1 - -DESCRIPTION="Ebuild with potential PYTHON_COMPAT updates" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - stub/python-dep1[${PYTHON_USEDEP}] - !stub/stub1 - stub/stub2[-disabled,exists] -" diff --git a/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-1.ebuild b/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-1.ebuild deleted file mode 100644 index 10501f35..00000000 --- a/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-1.ebuild +++ /dev/null @@ -1,13 +0,0 @@ -EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) - -inherit python-single-r1 - -DESCRIPTION="Ebuild with potential PYTHON_COMPAT updates" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" -IUSE="python" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND="python? ( ${PYTHON_DEPS} )" diff --git a/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-2.ebuild b/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-2.ebuild deleted file mode 100644 index 60f64fb0..00000000 --- a/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/PythonCompatUpdate-2.ebuild +++ /dev/null @@ -1,11 +0,0 @@ -EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) - -inherit python-any-r1 - -DESCRIPTION="Ebuild with potential PYTHON_COMPAT updates" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" - -DEPEND="${PYTHON_DEPS}" diff --git a/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/metadata.xml b/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/metadata.xml deleted file mode 100644 index b966dfe3..00000000 --- a/tests/repos/python/PythonCompatCheck/PythonCompatUpdate/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <use> - <flag name="python">enable Python support</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/python/dev-lang/python/python-2.7.ebuild b/tests/repos/python/dev-lang/python/python-2.7.ebuild deleted file mode 100644 index 1968d953..00000000 --- a/tests/repos/python/dev-lang/python/python-2.7.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=7 - -DESCRIPTION="Stub ebuild for python interpreter" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="2.7" diff --git a/tests/repos/python/dev-lang/python/python-3.7.ebuild b/tests/repos/python/dev-lang/python/python-3.7.ebuild deleted file mode 100644 index 18c2b2ca..00000000 --- a/tests/repos/python/dev-lang/python/python-3.7.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=7 - -DESCRIPTION="Stub ebuild for python interpreter" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="3.7" diff --git a/tests/repos/python/dev-lang/python/python-3.8.ebuild b/tests/repos/python/dev-lang/python/python-3.8.ebuild deleted file mode 100644 index bf733f79..00000000 --- a/tests/repos/python/dev-lang/python/python-3.8.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=7 - -DESCRIPTION="Stub ebuild for python interpreter" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="3.8" diff --git a/tests/repos/python/dev-lang/python/python-3.9.ebuild b/tests/repos/python/dev-lang/python/python-3.9.ebuild deleted file mode 100644 index 9cf7f89e..00000000 --- a/tests/repos/python/dev-lang/python/python-3.9.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=7 - -DESCRIPTION="Stub ebuild for python interpreter" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="3.9" diff --git a/tests/repos/python/eclass/python-any-r1.eclass b/tests/repos/python/eclass/python-any-r1.eclass deleted file mode 100644 index 8c5a9e2c..00000000 --- a/tests/repos/python/eclass/python-any-r1.eclass +++ /dev/null @@ -1,26 +0,0 @@ -# @ECLASS-VARIABLE: PYTHON_DEPS -# @DESCRIPTION: -# See the variable docs in the related gentoo repo eclass. - -# @ECLASS-VARIABLE: PYTHON_USEDEP -# @DESCRIPTION: -# See the variable docs in the related gentoo repo eclass. - -# @ECLASS-VARIABLE: PYTHON_REQUIRED_USE -# @DESCRIPTION: -# See the variable docs in the related gentoo repo eclass. - -_python_set_impls() { - local i slot - local -a use - for i in "${PYTHON_COMPAT[@]}"; do - slot=${i#python} - slot=${slot/_/.} - use+=( "python_targets_${i}" ) - PYTHON_DEPS+=" python_targets_${i}? ( dev-lang/python:${slot} )" - done - IUSE+=" ${use[@]}" - PYTHON_REQUIRED_USE="|| ( ${use[@]} )" - PYTHON_USEDEP=$(IFS=","; echo "${use[*]}") -} -_python_set_impls diff --git a/tests/repos/python/eclass/python-r1.eclass b/tests/repos/python/eclass/python-r1.eclass deleted file mode 100644 index 8c5a9e2c..00000000 --- a/tests/repos/python/eclass/python-r1.eclass +++ /dev/null @@ -1,26 +0,0 @@ -# @ECLASS-VARIABLE: PYTHON_DEPS -# @DESCRIPTION: -# See the variable docs in the related gentoo repo eclass. - -# @ECLASS-VARIABLE: PYTHON_USEDEP -# @DESCRIPTION: -# See the variable docs in the related gentoo repo eclass. - -# @ECLASS-VARIABLE: PYTHON_REQUIRED_USE -# @DESCRIPTION: -# See the variable docs in the related gentoo repo eclass. - -_python_set_impls() { - local i slot - local -a use - for i in "${PYTHON_COMPAT[@]}"; do - slot=${i#python} - slot=${slot/_/.} - use+=( "python_targets_${i}" ) - PYTHON_DEPS+=" python_targets_${i}? ( dev-lang/python:${slot} )" - done - IUSE+=" ${use[@]}" - PYTHON_REQUIRED_USE="|| ( ${use[@]} )" - PYTHON_USEDEP=$(IFS=","; echo "${use[*]}") -} -_python_set_impls diff --git a/tests/repos/python/eclass/python-single-r1.eclass b/tests/repos/python/eclass/python-single-r1.eclass deleted file mode 100644 index 0a381a4e..00000000 --- a/tests/repos/python/eclass/python-single-r1.eclass +++ /dev/null @@ -1,26 +0,0 @@ -# @ECLASS-VARIABLE: PYTHON_DEPS -# @DESCRIPTION: -# See the variable docs in the related gentoo repo eclass. - -# @ECLASS-VARIABLE: PYTHON_USEDEP -# @DESCRIPTION: -# See the variable docs in the related gentoo repo eclass. - -# @ECLASS-VARIABLE: PYTHON_REQUIRED_USE -# @DESCRIPTION: -# See the variable docs in the related gentoo repo eclass. - -_python_set_impls() { - local i slot - local -a use use_deps - for i in "${PYTHON_COMPAT[@]}"; do - slot=${i#python} - slot=${slot/_/.} - use+=( "python_single_target_${i}" ) - PYTHON_DEPS+=" python_single_target_${i}? ( dev-lang/python:${slot} )" - done - IUSE+=" ${use[@]}" - PYTHON_REQUIRED_USE="^^ ( ${use[@]} )" - PYTHON_USEDEP=$(IFS=","; echo "${use[*]}") -} -_python_set_impls diff --git a/tests/repos/python/licenses/BSD b/tests/repos/python/licenses/BSD deleted file mode 120000 index 14776154..00000000 --- a/tests/repos/python/licenses/BSD +++ /dev/null @@ -1 +0,0 @@ -../../../../LICENSE
\ No newline at end of file diff --git a/tests/repos/python/metadata/layout.conf b/tests/repos/python/metadata/layout.conf deleted file mode 100644 index af44fe30..00000000 --- a/tests/repos/python/metadata/layout.conf +++ /dev/null @@ -1,3 +0,0 @@ -masters = -cache-formats = -thin-manifests = true diff --git a/tests/repos/python/metadata/stubs b/tests/repos/python/metadata/stubs deleted file mode 100644 index 466e30c2..00000000 --- a/tests/repos/python/metadata/stubs +++ /dev/null @@ -1 +0,0 @@ -dev-lang/python diff --git a/tests/repos/python/profiles/desc/python_single_target.desc b/tests/repos/python/profiles/desc/python_single_target.desc deleted file mode 100644 index da5be2fd..00000000 --- a/tests/repos/python/profiles/desc/python_single_target.desc +++ /dev/null @@ -1,6 +0,0 @@ -# available PYTHON_SINGLE_TARGET USE_EXPAND flags -python2_7 - Build with Python 2.7 -python3_7 - Build with Python 3.7 -python3_8 - Build with Python 3.8 -python3_9 - Build with Python 3.9 -pypy3 - Build for PyPy3 only diff --git a/tests/repos/python/profiles/desc/python_targets.desc b/tests/repos/python/profiles/desc/python_targets.desc deleted file mode 100644 index b2be59ca..00000000 --- a/tests/repos/python/profiles/desc/python_targets.desc +++ /dev/null @@ -1,6 +0,0 @@ -# available PYTHON_TARGETS USE_EXPAND flags -python2_7 - Build with Python 2.7 -python3_7 - Build with Python 3.7 -python3_8 - Build with Python 3.8 -python3_9 - Build with Python 3.9 -pypy3 - Build for PyPy3 only diff --git a/tests/repos/python/profiles/repo_name b/tests/repos/python/profiles/repo_name deleted file mode 100644 index fdc793e7..00000000 --- a/tests/repos/python/profiles/repo_name +++ /dev/null @@ -1 +0,0 @@ -python diff --git a/tests/repos/python/stub/python-dep-old1/python-dep-old1-0.ebuild b/tests/repos/python/stub/python-dep-old1/python-dep-old1-0.ebuild deleted file mode 100644 index 7fa9bf43..00000000 --- a/tests/repos/python/stub/python-dep-old1/python-dep-old1-0.ebuild +++ /dev/null @@ -1,15 +0,0 @@ -EAPI=7 -PYTHON_COMPAT=( python3_7 ) - -inherit python-r1 - -DESCRIPTION="Stub ebuild with old PYTHON_COMPAT support" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - stub/python-dep-old2[${PYTHON_USEDEP}] -" diff --git a/tests/repos/python/stub/python-dep-old2/python-dep-old2-0.ebuild b/tests/repos/python/stub/python-dep-old2/python-dep-old2-0.ebuild deleted file mode 100644 index 50603c45..00000000 --- a/tests/repos/python/stub/python-dep-old2/python-dep-old2-0.ebuild +++ /dev/null @@ -1,15 +0,0 @@ -EAPI=7 -PYTHON_COMPAT=( python3_7 ) - -inherit python-r1 - -DESCRIPTION="Stub ebuild with old PYTHON_COMPAT support" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - stub/python-dep-old1[${PYTHON_USEDEP}] -" diff --git a/tests/repos/python/stub/python-dep1/python-dep1-0.ebuild b/tests/repos/python/stub/python-dep1/python-dep1-0.ebuild deleted file mode 100644 index 9eebedfd..00000000 --- a/tests/repos/python/stub/python-dep1/python-dep1-0.ebuild +++ /dev/null @@ -1,15 +0,0 @@ -EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{7,8,9} ) - -inherit python-r1 - -DESCRIPTION="Stub ebuild with complete PYTHON_COMPAT support" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - stub/python-dep2[${PYTHON_USEDEP}] -" diff --git a/tests/repos/python/stub/python-dep2/python-dep2-0.ebuild b/tests/repos/python/stub/python-dep2/python-dep2-0.ebuild deleted file mode 100644 index 9eebedfd..00000000 --- a/tests/repos/python/stub/python-dep2/python-dep2-0.ebuild +++ /dev/null @@ -1,15 +0,0 @@ -EAPI=7 -PYTHON_COMPAT=( python2_7 python3_{7,8,9} ) - -inherit python-r1 - -DESCRIPTION="Stub ebuild with complete PYTHON_COMPAT support" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - stub/python-dep2[${PYTHON_USEDEP}] -" diff --git a/tests/repos/python/stub/python2-locked/python2-locked-0.ebuild b/tests/repos/python/stub/python2-locked/python2-locked-0.ebuild deleted file mode 100644 index 2e5edb6b..00000000 --- a/tests/repos/python/stub/python2-locked/python2-locked-0.ebuild +++ /dev/null @@ -1,15 +0,0 @@ -EAPI=7 -PYTHON_COMPAT=( python2_7 ) - -inherit python-r1 - -DESCRIPTION="Ebuild locked on python2" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND=" - ${PYTHON_DEPS} - stub/python-dep1[${PYTHON_USEDEP}] -" diff --git a/tests/repos/python/stub/python2-locked/python2-locked-1.ebuild b/tests/repos/python/stub/python2-locked/python2-locked-1.ebuild deleted file mode 100644 index 4766cdfe..00000000 --- a/tests/repos/python/stub/python2-locked/python2-locked-1.ebuild +++ /dev/null @@ -1,12 +0,0 @@ -EAPI=7 -PYTHON_COMPAT=( python2_7 ) - -inherit python-single-r1 - -DESCRIPTION="Ebuild locked on python2" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -RDEPEND="${PYTHON_DEPS}" diff --git a/tests/repos/python/stub/python2-locked/python2-locked-2.ebuild b/tests/repos/python/stub/python2-locked/python2-locked-2.ebuild deleted file mode 100644 index fff2a3b4..00000000 --- a/tests/repos/python/stub/python2-locked/python2-locked-2.ebuild +++ /dev/null @@ -1,11 +0,0 @@ -EAPI=7 -PYTHON_COMPAT=( python2_7 ) - -inherit python-any-r1 - -DESCRIPTION="Ebuild locked on python2" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" -SLOT="0" - -DEPEND="${PYTHON_DEPS}" diff --git a/tests/repos/python/stub/stub1/stub1-0.ebuild b/tests/repos/python/stub/stub1/stub1-0.ebuild deleted file mode 100644 index 227a3fc8..00000000 --- a/tests/repos/python/stub/stub1/stub1-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub ebuild used for various ebuild deps" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/python/stub/stub2/metadata.xml b/tests/repos/python/stub/stub2/metadata.xml deleted file mode 100644 index e090587f..00000000 --- a/tests/repos/python/stub/stub2/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <use> - <flag name="disabled">disabled USE flag</flag> - <flag name="exists">exists USE flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/python/stub/stub2/stub2-0.ebuild b/tests/repos/python/stub/stub2/stub2-0.ebuild deleted file mode 100644 index 64311f02..00000000 --- a/tests/repos/python/stub/stub2/stub2-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Stub ebuild used for various ebuild deps" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="disabled exists" diff --git a/tests/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild b/tests/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild deleted file mode 100644 index c93c92cd..00000000 --- a/tests/repos/standalone/BadCommandsCheck/BannedEapiCommand/BannedEapiCommand-0.ebuild +++ /dev/null @@ -1,9 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild using banned EAPI command" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_install() { - dohtml doc/* -} diff --git a/tests/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild b/tests/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild deleted file mode 100644 index 49182b4c..00000000 --- a/tests/repos/standalone/BadCommandsCheck/DeprecatedEapiCommand/DeprecatedEapiCommand-0.ebuild +++ /dev/null @@ -1,9 +0,0 @@ -EAPI=6 -DESCRIPTION="Ebuild using deprecated EAPI command" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_install() { - dohtml doc/* -} diff --git a/tests/repos/standalone/CatBadlyFormedXml/metadata.xml b/tests/repos/standalone/CatBadlyFormedXml/metadata.xml deleted file mode 100644 index 739858ac..00000000 --- a/tests/repos/standalone/CatBadlyFormedXml/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> - <longdescription>Don't use raw & in XML.</longdescription> -</catmetadata> diff --git a/tests/repos/standalone/CatBadlyFormedXml/stub/stub-0.ebuild b/tests/repos/standalone/CatBadlyFormedXml/stub/stub-0.ebuild deleted file mode 100644 index f0703588..00000000 --- a/tests/repos/standalone/CatBadlyFormedXml/stub/stub-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub package to populate category" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/CatInvalidXml/metadata.xml b/tests/repos/standalone/CatInvalidXml/metadata.xml deleted file mode 100644 index 329890a7..00000000 --- a/tests/repos/standalone/CatInvalidXml/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> - <description> - Category with invalid XML field failing schema validation. - </description> -</catmetadata> diff --git a/tests/repos/standalone/CatInvalidXml/stub/stub-0.ebuild b/tests/repos/standalone/CatInvalidXml/stub/stub-0.ebuild deleted file mode 100644 index f0703588..00000000 --- a/tests/repos/standalone/CatInvalidXml/stub/stub-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub package to populate category" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/CatMetadataXmlEmptyElement/metadata.xml b/tests/repos/standalone/CatMetadataXmlEmptyElement/metadata.xml deleted file mode 100644 index f701f9b0..00000000 --- a/tests/repos/standalone/CatMetadataXmlEmptyElement/metadata.xml +++ /dev/null @@ -1,6 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> - <longdescription> - </longdescription> -</catmetadata> diff --git a/tests/repos/standalone/CatMetadataXmlEmptyElement/stub/stub-0.ebuild b/tests/repos/standalone/CatMetadataXmlEmptyElement/stub/stub-0.ebuild deleted file mode 100644 index f0703588..00000000 --- a/tests/repos/standalone/CatMetadataXmlEmptyElement/stub/stub-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub package to populate category" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/CatMetadataXmlIndentation/metadata.xml b/tests/repos/standalone/CatMetadataXmlIndentation/metadata.xml deleted file mode 100644 index 2df37dae..00000000 --- a/tests/repos/standalone/CatMetadataXmlIndentation/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> - <longdescription> - Category with metadata.xml using inconsistent indentation. - </longdescription> -</catmetadata> diff --git a/tests/repos/standalone/CatMetadataXmlIndentation/stub/stub-0.ebuild b/tests/repos/standalone/CatMetadataXmlIndentation/stub/stub-0.ebuild deleted file mode 100644 index f0703588..00000000 --- a/tests/repos/standalone/CatMetadataXmlIndentation/stub/stub-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub package to populate category" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/CatMetadataXmlInvalidCatRef/metadata.xml b/tests/repos/standalone/CatMetadataXmlInvalidCatRef/metadata.xml deleted file mode 100644 index ceb281a5..00000000 --- a/tests/repos/standalone/CatMetadataXmlInvalidCatRef/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> - <longdescription> - Category with invalid category reference to <cat>virtul</cat>. - </longdescription> -</catmetadata> diff --git a/tests/repos/standalone/CatMetadataXmlInvalidCatRef/stub/stub-0.ebuild b/tests/repos/standalone/CatMetadataXmlInvalidCatRef/stub/stub-0.ebuild deleted file mode 100644 index f0703588..00000000 --- a/tests/repos/standalone/CatMetadataXmlInvalidCatRef/stub/stub-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub package to populate category" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/CatMetadataXmlInvalidPkgRef/metadata.xml b/tests/repos/standalone/CatMetadataXmlInvalidPkgRef/metadata.xml deleted file mode 100644 index 76b0daed..00000000 --- a/tests/repos/standalone/CatMetadataXmlInvalidPkgRef/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE catmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<catmetadata> - <longdescription> - Category with invalid package reference to <pkg>nonexistent/pkg</pkg>. - </longdescription> -</catmetadata> diff --git a/tests/repos/standalone/CatMetadataXmlInvalidPkgRef/stub/stub-0.ebuild b/tests/repos/standalone/CatMetadataXmlInvalidPkgRef/stub/stub-0.ebuild deleted file mode 100644 index f0703588..00000000 --- a/tests/repos/standalone/CatMetadataXmlInvalidPkgRef/stub/stub-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub package to populate category" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/DependencyCheck/BadDependency/BadDependency-0.ebuild b/tests/repos/standalone/DependencyCheck/BadDependency/BadDependency-0.ebuild deleted file mode 100644 index 6507af33..00000000 --- a/tests/repos/standalone/DependencyCheck/BadDependency/BadDependency-0.ebuild +++ /dev/null @@ -1,10 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with bad dependencies" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -DEPEND=" - !DependencyCheck/BadDependency - || ( stub/stub1:= stub/stub2:= ) - !!stub/stub3:= -" diff --git a/tests/repos/standalone/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild b/tests/repos/standalone/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild deleted file mode 100644 index d5050239..00000000 --- a/tests/repos/standalone/DependencyCheck/InvalidBdepend/InvalidBdepend-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with invalid BDEPEND" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -BDEPEND="stub1" diff --git a/tests/repos/standalone/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild b/tests/repos/standalone/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild deleted file mode 100644 index a790cde4..00000000 --- a/tests/repos/standalone/DependencyCheck/InvalidDepend/InvalidDepend-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with invalid DEPEND" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -DEPEND="stub1" diff --git a/tests/repos/standalone/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild b/tests/repos/standalone/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild deleted file mode 100644 index 2a5ece5c..00000000 --- a/tests/repos/standalone/DependencyCheck/InvalidPdepend/InvalidPdepend-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with invalid PDEPEND" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -PDEPEND="stub1" diff --git a/tests/repos/standalone/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild b/tests/repos/standalone/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild deleted file mode 100644 index 09d3ea1c..00000000 --- a/tests/repos/standalone/DependencyCheck/InvalidRdepend/InvalidRdepend-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with invalid RDEPEND" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -RDEPEND="stub1" diff --git a/tests/repos/standalone/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild b/tests/repos/standalone/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild deleted file mode 100644 index f8453106..00000000 --- a/tests/repos/standalone/DependencyCheck/MissingPackageRevision/MissingPackageRevision-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with missing package revision in dependency" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -RDEPEND="=stub/stub1-0" diff --git a/tests/repos/standalone/DependencyCheck/MissingUseDepDefault/MissingUseDepDefault-0.ebuild b/tests/repos/standalone/DependencyCheck/MissingUseDepDefault/MissingUseDepDefault-0.ebuild deleted file mode 100644 index 0272b643..00000000 --- a/tests/repos/standalone/DependencyCheck/MissingUseDepDefault/MissingUseDepDefault-0.ebuild +++ /dev/null @@ -1,9 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild missing USE dependency default" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -DEPEND="stub/stub1[foo]" -RDEPEND="|| ( stub/stub2[used] stub/stub2[-foo] )" -BDEPEND="stub/stub3[foo?]" -PDEPEND="stub/stub4[!foo?]" diff --git a/tests/repos/standalone/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/tests/repos/standalone/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild deleted file mode 100644 index b7438aaa..00000000 --- a/tests/repos/standalone/DependencyCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with unstated IUSE in depsets" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -RDEPEND="used? ( stub/stub1 )" diff --git a/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-0.ebuild b/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-0.ebuild deleted file mode 100644 index 7a509251..00000000 --- a/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-0.ebuild +++ /dev/null @@ -1,3 +0,0 @@ -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-1.ebuild b/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-1.ebuild deleted file mode 100644 index 35df9be1..00000000 --- a/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-1.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-2.ebuild b/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-2.ebuild deleted file mode 100644 index 70308c38..00000000 --- a/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-2.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="bad desc" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-3.ebuild b/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-3.ebuild deleted file mode 100644 index 8d08d7c7..00000000 --- a/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-3.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="BadDescription" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-4.ebuild b/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-4.ebuild deleted file mode 100644 index a8d1b727..00000000 --- a/tests/repos/standalone/DescriptionCheck/BadDescription/BadDescription-4.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with DESCRIPTION that is far too long and will be flagged by the BadDescription result since the check triggers at greater than 150 characters long." -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild b/tests/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild deleted file mode 100644 index 1b9d4a44..00000000 --- a/tests/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with dropped keywords" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86" diff --git a/tests/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild b/tests/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild deleted file mode 100644 index 8c87b7bb..00000000 --- a/tests/repos/standalone/DroppedKeywordsCheck/DroppedKeywords/DroppedKeywords-1.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with dropped keywords" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64" diff --git a/tests/repos/standalone/EapiCheck/BannedEapi/BannedEapi-0.ebuild b/tests/repos/standalone/EapiCheck/BannedEapi/BannedEapi-0.ebuild deleted file mode 100644 index 086ba8fc..00000000 --- a/tests/repos/standalone/EapiCheck/BannedEapi/BannedEapi-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -EAPI=1 -DESCRIPTION="Ebuild using banned EAPI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild b/tests/repos/standalone/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild deleted file mode 100644 index 8efd64a6..00000000 --- a/tests/repos/standalone/EapiCheck/DeprecatedEapi/DeprecatedEapi-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -EAPI=5 -DESCRIPTION="Ebuild using deprecated EAPI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild b/tests/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild deleted file mode 100644 index cc22637b..00000000 --- a/tests/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -inherit stub vcs stub - -DESCRIPTION="Ebuild with duplicate eclass inherit" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-1.ebuild b/tests/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-1.ebuild deleted file mode 100644 index 933f055c..00000000 --- a/tests/repos/standalone/EclassUsageCheck/DuplicateEclassInherit/DuplicateEclassInherit-1.ebuild +++ /dev/null @@ -1,14 +0,0 @@ -EAPI=7 - -if [[ ${PV} == "9999" ]] ; then - EVCS_REPO_URI="https://github.com/pkgcore/pkgcheck.git" - inherit stub vcs -else - inherit stub - KEYWORDS="~amd64 ~x86" -fi - -DESCRIPTION="Ebuild with conditional, duplicate eclass inherit" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild b/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild deleted file mode 100644 index 4496614d..00000000 --- a/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuilds that have equal versions" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild b/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild deleted file mode 100644 index 4496614d..00000000 --- a/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r01.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuilds that have equal versions" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r1.ebuild b/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r1.ebuild deleted file mode 100644 index 4496614d..00000000 --- a/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0-r1.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuilds that have equal versions" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0.ebuild b/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0.ebuild deleted file mode 100644 index 4496614d..00000000 --- a/tests/repos/standalone/EqualVersionsCheck/EqualVersions/EqualVersions-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuilds that have equal versions" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/GlobalUseCheck/PotentialGlobalUse/PotentialGlobalUse-0.ebuild b/tests/repos/standalone/GlobalUseCheck/PotentialGlobalUse/PotentialGlobalUse-0.ebuild deleted file mode 100644 index 5841da85..00000000 --- a/tests/repos/standalone/GlobalUseCheck/PotentialGlobalUse/PotentialGlobalUse-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with potential global USE flag" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -IUSE="potential-global" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/GlobalUseCheck/PotentialGlobalUse/metadata.xml b/tests/repos/standalone/GlobalUseCheck/PotentialGlobalUse/metadata.xml deleted file mode 100644 index 908eeebc..00000000 --- a/tests/repos/standalone/GlobalUseCheck/PotentialGlobalUse/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <use> - <flag name="potential-global">potential global flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/GlobalUseCheck/PotentialLocalUse/PotentialLocalUse-0.ebuild b/tests/repos/standalone/GlobalUseCheck/PotentialLocalUse/PotentialLocalUse-0.ebuild deleted file mode 100644 index faa9ad1d..00000000 --- a/tests/repos/standalone/GlobalUseCheck/PotentialLocalUse/PotentialLocalUse-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with potential local USE flag" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -IUSE="potential-local" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-0.ebuild b/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-0.ebuild deleted file mode 100644 index 6f674c03..00000000 --- a/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-0.ebuild +++ /dev/null @@ -1,3 +0,0 @@ -DESCRIPTION="Ebuild with missing HOMEPAGE" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-1.ebuild b/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-1.ebuild deleted file mode 100644 index 6fe0323d..00000000 --- a/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-1.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild HOMEPAGE with missing protocol" -HOMEPAGE="github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-2.ebuild b/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-2.ebuild deleted file mode 100644 index 29778186..00000000 --- a/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-2.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild HOMEPAGE with unsupported protocol" -HOMEPAGE="gopher://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-3.ebuild b/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-3.ebuild deleted file mode 100644 index 1bed84a8..00000000 --- a/tests/repos/standalone/HomepageCheck/BadHomepage/BadHomepage-3.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild uses unspecific HOMEPAGE" -HOMEPAGE="https://www.gentoo.org" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-0.ebuild b/tests/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-0.ebuild deleted file mode 100644 index 9569c176..00000000 --- a/tests/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-0.ebuild +++ /dev/null @@ -1,17 +0,0 @@ -DESCRIPTION="Ebuild with deprecated insinto usage" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_install() { - insinto /etc/conf.d - doins foo - insinto /etc/env.d - doins foo - insinto /etc/init.d - doins foo - insinto /etc/pam.d - doins foo - insinto /usr/share/applications - doins foo -} diff --git a/tests/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-1.ebuild b/tests/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-1.ebuild deleted file mode 100644 index 7a577866..00000000 --- a/tests/repos/standalone/InsintoCheck/DeprecatedInsinto/DeprecatedInsinto-1.ebuild +++ /dev/null @@ -1,18 +0,0 @@ -EAPI=4 -DESCRIPTION="Ebuild with deprecated insinto usage" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_install() { - insinto /usr/share/doc/${PF} - doins foo - insinto /usr/share/doc/"${PF}" - doins bar - insinto /usr/share/doc/${PF}/ - doins -r html - insinto /usr/share/doc/${PF}/examples - doins samples/* - insinto /usr/share/doc/"${PF}"/examples - doins foo/examples/* -} diff --git a/tests/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild b/tests/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild deleted file mode 100644 index 30c1ca31..00000000 --- a/tests/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with invalid USE flags" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="used +flag1 -flag2 + -" diff --git a/tests/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild b/tests/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild deleted file mode 100644 index 465fab0f..00000000 --- a/tests/repos/standalone/IuseCheck/InvalidUseFlags/InvalidUseFlags-4.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=4 -DESCRIPTION="Ebuild with invalid USE flags" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="used +flag1 -flag2 + -" diff --git a/tests/repos/standalone/IuseCheck/InvalidUseFlags/metadata.xml b/tests/repos/standalone/IuseCheck/InvalidUseFlags/metadata.xml deleted file mode 100644 index 849a7352..00000000 --- a/tests/repos/standalone/IuseCheck/InvalidUseFlags/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <use> - <flag name="flag1">USE flag 1</flag> - <flag name="flag2">USE flag 2</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild b/tests/repos/standalone/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild deleted file mode 100644 index 423fdf2c..00000000 --- a/tests/repos/standalone/IuseCheck/UnknownUseFlags/UnknownUseFlags-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=4 -DESCRIPTION="Ebuild with unknown USE flags" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="amd64 used flag1 +flag2 -flag3" diff --git a/tests/repos/standalone/IuseCheck/UnknownUseFlags/metadata.xml b/tests/repos/standalone/IuseCheck/UnknownUseFlags/metadata.xml deleted file mode 100644 index 849a7352..00000000 --- a/tests/repos/standalone/IuseCheck/UnknownUseFlags/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <use> - <flag name="flag1">USE flag 1</flag> - <flag name="flag2">USE flag 2</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild b/tests/repos/standalone/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild deleted file mode 100644 index 771afb50..00000000 --- a/tests/repos/standalone/KeywordsCheck/BadKeywords/BadKeywords-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with bad KEYWORDS" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="-*" diff --git a/tests/repos/standalone/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild b/tests/repos/standalone/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild deleted file mode 100644 index 7a1f9d14..00000000 --- a/tests/repos/standalone/KeywordsCheck/DuplicateKeywords/DuplicateKeywords-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with duplicate KEYWORDS" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~amd64" diff --git a/tests/repos/standalone/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild b/tests/repos/standalone/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild deleted file mode 100644 index 2cd1aa78..00000000 --- a/tests/repos/standalone/KeywordsCheck/OverlappingKeywords/OverlappingKeywords-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with overlapping KEYWORDS" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 ~amd64" diff --git a/tests/repos/standalone/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild b/tests/repos/standalone/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild deleted file mode 100644 index ce0b28b5..00000000 --- a/tests/repos/standalone/KeywordsCheck/UnknownKeywords/UnknownKeywords-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with unknown KEYWORDS" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 unknown" diff --git a/tests/repos/standalone/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild b/tests/repos/standalone/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild deleted file mode 100644 index 275c6d58..00000000 --- a/tests/repos/standalone/KeywordsCheck/UnsortedKeywords/UnsortedKeywords-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with unsorted KEYWORDS" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~x86 ~amd64" diff --git a/tests/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild b/tests/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild deleted file mode 100644 index c53849c4..00000000 --- a/tests/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with invalid LICENSE" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="( )" diff --git a/tests/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild b/tests/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild deleted file mode 100644 index b5dd3a6d..00000000 --- a/tests/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-1.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with invalid LICENSE" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="?" diff --git a/tests/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild b/tests/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild deleted file mode 100644 index f2cf3b76..00000000 --- a/tests/repos/standalone/LicenseCheck/InvalidLicense/InvalidLicense-2.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with invalid LICENSE" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -IUSE="used" -LICENSE="used?" diff --git a/tests/repos/standalone/LicenseCheck/MissingLicense/MissingLicense-0.ebuild b/tests/repos/standalone/LicenseCheck/MissingLicense/MissingLicense-0.ebuild deleted file mode 100644 index 89abba92..00000000 --- a/tests/repos/standalone/LicenseCheck/MissingLicense/MissingLicense-0.ebuild +++ /dev/null @@ -1,3 +0,0 @@ -DESCRIPTION="Ebuild missing LICENSE" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" diff --git a/tests/repos/standalone/LicenseCheck/MissingLicenseFile/MissingLicenseFile-0.ebuild b/tests/repos/standalone/LicenseCheck/MissingLicenseFile/MissingLicenseFile-0.ebuild deleted file mode 100644 index 6a49bcfb..00000000 --- a/tests/repos/standalone/LicenseCheck/MissingLicenseFile/MissingLicenseFile-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with no matching license file in the repo" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="missing" diff --git a/tests/repos/standalone/LicenseCheck/MissingLicenseRestricts/Manifest b/tests/repos/standalone/LicenseCheck/MissingLicenseRestricts/Manifest deleted file mode 100644 index 49541a21..00000000 --- a/tests/repos/standalone/LicenseCheck/MissingLicenseRestricts/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST MissingLicenseRestricts-1.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f01ac059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a987fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild b/tests/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild deleted file mode 100644 index 035a9ef7..00000000 --- a/tests/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with missing license restricts" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="eula" diff --git a/tests/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild b/tests/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild deleted file mode 100644 index 85d3dc20..00000000 --- a/tests/repos/standalone/LicenseCheck/MissingLicenseRestricts/MissingLicenseRestricts-1.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with missing license restricts" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" -LICENSE="eula" diff --git a/tests/repos/standalone/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/tests/repos/standalone/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild deleted file mode 100644 index 009259ec..00000000 --- a/tests/repos/standalone/LicenseCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with unstated USE flags in LICENSE" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="used? ( BSD )" diff --git a/tests/repos/standalone/LocalUseCheck/MatchingGlobalUse/MatchingGlobalUse-0.ebuild b/tests/repos/standalone/LocalUseCheck/MatchingGlobalUse/MatchingGlobalUse-0.ebuild deleted file mode 100644 index bc44c177..00000000 --- a/tests/repos/standalone/LocalUseCheck/MatchingGlobalUse/MatchingGlobalUse-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild has local USE flag matching a global" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="matching probable used" diff --git a/tests/repos/standalone/LocalUseCheck/MatchingGlobalUse/metadata.xml b/tests/repos/standalone/LocalUseCheck/MatchingGlobalUse/metadata.xml deleted file mode 100644 index b1960f9c..00000000 --- a/tests/repos/standalone/LocalUseCheck/MatchingGlobalUse/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <use> - <flag name="matching">matching global flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/LocalUseCheck/ProbableGlobalUse/ProbableGlobalUse-0.ebuild b/tests/repos/standalone/LocalUseCheck/ProbableGlobalUse/ProbableGlobalUse-0.ebuild deleted file mode 100644 index afe854c6..00000000 --- a/tests/repos/standalone/LocalUseCheck/ProbableGlobalUse/ProbableGlobalUse-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild has local USE flag closely matching a global" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="used matching probable" diff --git a/tests/repos/standalone/LocalUseCheck/ProbableGlobalUse/metadata.xml b/tests/repos/standalone/LocalUseCheck/ProbableGlobalUse/metadata.xml deleted file mode 100644 index 8ebb692a..00000000 --- a/tests/repos/standalone/LocalUseCheck/ProbableGlobalUse/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <use> - <flag name="probable">probably global flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/LocalUseCheck/ProbableUseExpand/ProbableUseExpand-0.ebuild b/tests/repos/standalone/LocalUseCheck/ProbableUseExpand/ProbableUseExpand-0.ebuild deleted file mode 100644 index 574ec454..00000000 --- a/tests/repos/standalone/LocalUseCheck/ProbableUseExpand/ProbableUseExpand-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild has local USE flag closely matching USE_EXPAND" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="local use_expand_probable" diff --git a/tests/repos/standalone/LocalUseCheck/ProbableUseExpand/metadata.xml b/tests/repos/standalone/LocalUseCheck/ProbableUseExpand/metadata.xml deleted file mode 100644 index 678475ff..00000000 --- a/tests/repos/standalone/LocalUseCheck/ProbableUseExpand/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <use> - <flag name="local">local USE flag stub</flag> - <flag name="use_expand_probable">probable USE_EXPAND flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild b/tests/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild deleted file mode 100644 index 056c3c12..00000000 --- a/tests/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/UnderscoreInUseFlag-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild has underscore in local USE flag" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="foo_bar" diff --git a/tests/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/metadata.xml b/tests/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/metadata.xml deleted file mode 100644 index 06d10f04..00000000 --- a/tests/repos/standalone/LocalUseCheck/UnderscoreInUseFlag/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <use> - <flag name="foo_bar">local USE flag with underscore</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/LocalUseCheck/UnusedLocalUse/UnusedLocalUse-0.ebuild b/tests/repos/standalone/LocalUseCheck/UnusedLocalUse/UnusedLocalUse-0.ebuild deleted file mode 100644 index 4151aae0..00000000 --- a/tests/repos/standalone/LocalUseCheck/UnusedLocalUse/UnusedLocalUse-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild has unused local USE flag in metadata.xml" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/LocalUseCheck/UnusedLocalUse/metadata.xml b/tests/repos/standalone/LocalUseCheck/UnusedLocalUse/metadata.xml deleted file mode 100644 index 78da4944..00000000 --- a/tests/repos/standalone/LocalUseCheck/UnusedLocalUse/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <use> - <flag name="local">local USE flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/ManifestCheck/DeprecatedChksum/DeprecatedChksum-0.ebuild b/tests/repos/standalone/ManifestCheck/DeprecatedChksum/DeprecatedChksum-0.ebuild deleted file mode 100644 index b19d90ad..00000000 --- a/tests/repos/standalone/ManifestCheck/DeprecatedChksum/DeprecatedChksum-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with manifest entry using deprecated checksums" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/ManifestCheck/DeprecatedChksum/Manifest b/tests/repos/standalone/ManifestCheck/DeprecatedChksum/Manifest deleted file mode 100644 index e8b514b0..00000000 --- a/tests/repos/standalone/ManifestCheck/DeprecatedChksum/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST DeprecatedChksum-0.tar.gz 62869 BLAKE2B 2918d2714f0557e1b67284709bce22c5e14d8f7f545ca33c16ec7928273edf18c9be48a685c3e9a032170bf2b7e572a4b78664f37b2a16c5ae5829b3cc55ca76 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 SHA256 edc5b5cc9b823b55a68ebc31248570c372b85a2e2e156b299aadccbdcbb31972 diff --git a/tests/repos/standalone/ManifestCheck/InvalidManifest/InvalidManifest-0.ebuild b/tests/repos/standalone/ManifestCheck/InvalidManifest/InvalidManifest-0.ebuild deleted file mode 100644 index d3a73e34..00000000 --- a/tests/repos/standalone/ManifestCheck/InvalidManifest/InvalidManifest-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with invalid manifest" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/ManifestCheck/InvalidManifest/Manifest b/tests/repos/standalone/ManifestCheck/InvalidManifest/Manifest deleted file mode 100644 index e781da3f..00000000 --- a/tests/repos/standalone/ManifestCheck/InvalidManifest/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST InvalidManifest-0.tar.gz foobar diff --git a/tests/repos/standalone/ManifestCheck/MissingChksum/Manifest b/tests/repos/standalone/ManifestCheck/MissingChksum/Manifest deleted file mode 100644 index 0a55b9f7..00000000 --- a/tests/repos/standalone/ManifestCheck/MissingChksum/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST MissingChksum-0.tar.gz 1598683 RMD160 14ad37420733f950b8f7640c2e7f0b3fe593af89 SHA1 cc0a48d81d090ec90e134afba4b9e700a5843f09 SHA256 9673c23d09783a526d09d54327f2ea32dfff053629411939cfca223fe690d36d diff --git a/tests/repos/standalone/ManifestCheck/MissingChksum/MissingChksum-0.ebuild b/tests/repos/standalone/ManifestCheck/MissingChksum/MissingChksum-0.ebuild deleted file mode 100644 index 9bf15fd1..00000000 --- a/tests/repos/standalone/ManifestCheck/MissingChksum/MissingChksum-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with manifest entry using missing required checksums" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/ManifestCheck/MissingManifest/MissingManifest-0.ebuild b/tests/repos/standalone/ManifestCheck/MissingManifest/MissingManifest-0.ebuild deleted file mode 100644 index 9786f4c3..00000000 --- a/tests/repos/standalone/ManifestCheck/MissingManifest/MissingManifest-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with missing manifest for a fetchable" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/ManifestCheck/UnknownManifest/Manifest b/tests/repos/standalone/ManifestCheck/UnknownManifest/Manifest deleted file mode 100644 index a14ce8d6..00000000 --- a/tests/repos/standalone/ManifestCheck/UnknownManifest/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST UnknownManifest-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255ccf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 -DIST UnknownManifest-1.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7bb55cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/ManifestCheck/UnknownManifest/UnknownManifest-0.ebuild b/tests/repos/standalone/ManifestCheck/UnknownManifest/UnknownManifest-0.ebuild deleted file mode 100644 index 3686e7a1..00000000 --- a/tests/repos/standalone/ManifestCheck/UnknownManifest/UnknownManifest-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with manifest entry for unknown fetchable" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/ManifestCheck/UnnecessaryManifest/Manifest b/tests/repos/standalone/ManifestCheck/UnnecessaryManifest/Manifest deleted file mode 100644 index 45dc7774..00000000 --- a/tests/repos/standalone/ManifestCheck/UnnecessaryManifest/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST UnnecessaryManifest-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 -EBUILD UnnecessaryManifest-0.ebuild 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/ManifestCheck/UnnecessaryManifest/UnnecessaryManifest-0.ebuild b/tests/repos/standalone/ManifestCheck/UnnecessaryManifest/UnnecessaryManifest-0.ebuild deleted file mode 100644 index 100767c1..00000000 --- a/tests/repos/standalone/ManifestCheck/UnnecessaryManifest/UnnecessaryManifest-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with unnecessary manifest entry" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild b/tests/repos/standalone/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild deleted file mode 100644 index a0f4bd99..00000000 --- a/tests/repos/standalone/ManifestCollisionCheck/ConflictingChksums/ConflictingChksums-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with manifest entry colliding with another package" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/ManifestCollisionCheck/ConflictingChksums/Manifest b/tests/repos/standalone/ManifestCollisionCheck/ConflictingChksums/Manifest deleted file mode 100644 index 462dc91b..00000000 --- a/tests/repos/standalone/ManifestCollisionCheck/ConflictingChksums/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST foo.tar.gz 153310 BLAKE2B a7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/ManifestCollisionCheck/MatchingChksums/Manifest b/tests/repos/standalone/ManifestCollisionCheck/MatchingChksums/Manifest deleted file mode 100644 index 2c4bcbc1..00000000 --- a/tests/repos/standalone/ManifestCollisionCheck/MatchingChksums/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST foo1.tar.gz 153310 BLAKE2B abc123d9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/ManifestCollisionCheck/MatchingChksums/MatchingChksums-0.ebuild b/tests/repos/standalone/ManifestCollisionCheck/MatchingChksums/MatchingChksums-0.ebuild deleted file mode 100644 index 38971444..00000000 --- a/tests/repos/standalone/ManifestCollisionCheck/MatchingChksums/MatchingChksums-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with manifest entry colliding with another package" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/foo1.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild b/tests/repos/standalone/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild deleted file mode 100644 index 2394a37f..00000000 --- a/tests/repos/standalone/MissingSlotDepCheck/MissingSlotDep/MissingSlotDep-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with dependency missing a slot dep" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -RDEPEND="stub/slotted" -DEPEND="${RDEPEND}" diff --git a/tests/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/Manifest b/tests/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/Manifest deleted file mode 100644 index c598dc8f..00000000 --- a/tests/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST MissingUnpackerDep-0.zip 153310 BLAKE2B b7484cd9bebe912f9c887cc0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild b/tests/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild deleted file mode 100644 index c4785c15..00000000 --- a/tests/repos/standalone/MissingUnpackerDepCheck/MissingUnpackerDep/MissingUnpackerDep-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild missing unpacker dependency" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.zip" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/PkgBadlyFormedXml-0.ebuild b/tests/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/PkgBadlyFormedXml-0.ebuild deleted file mode 100644 index 9d649530..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/PkgBadlyFormedXml-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with invalid XML in metadata.xml" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/metadata.xml b/tests/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/metadata.xml deleted file mode 100644 index 86975a9c..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgBadlyFormedXml/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <longdescription>Don't use raw & in XML.</longdescription> -</pkgmetadata> diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/PkgInvalidXml-0.ebuild b/tests/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/PkgInvalidXml-0.ebuild deleted file mode 100644 index 8898d139..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/PkgInvalidXml-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with metadata.xml failing schema validation" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/metadata.xml b/tests/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/metadata.xml deleted file mode 100644 index 18de41a3..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgInvalidXml/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <description> - Package with invalid XML field failing schema validation. - </description> -</pkgmetadata> diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/PkgMetadataXmlEmptyElement-0.ebuild b/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/PkgMetadataXmlEmptyElement-0.ebuild deleted file mode 100644 index 578f1f5a..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/PkgMetadataXmlEmptyElement-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with metadata.xml that has an empty element" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/metadata.xml b/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/metadata.xml deleted file mode 100644 index 6c258e63..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlEmptyElement/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <longdescription></longdescription> -</pkgmetadata> diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/PkgMetadataXmlIndentation-0.ebuild b/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/PkgMetadataXmlIndentation-0.ebuild deleted file mode 100644 index 2b8f2370..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/PkgMetadataXmlIndentation-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild has with inconsistent indentation in metadata.xml" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/metadata.xml b/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/metadata.xml deleted file mode 100644 index 9ec0950f..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlIndentation/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> -</pkgmetadata> diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/PkgMetadataXmlInvalidCatRef-0.ebuild b/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/PkgMetadataXmlInvalidCatRef-0.ebuild deleted file mode 100644 index 67ab32dd..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/PkgMetadataXmlInvalidCatRef-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with metadata.xml using an invalid category reference" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/metadata.xml b/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/metadata.xml deleted file mode 100644 index a6e44895..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidCatRef/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <longdescription> - Package with metadata.xml longdescription that has an invalid category - reference to a nonexistent category of <cat>virtul</cat>. - </longdescription> -</pkgmetadata> diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/PkgMetadataXmlInvalidPkgRef-0.ebuild b/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/PkgMetadataXmlInvalidPkgRef-0.ebuild deleted file mode 100644 index 00d3058a..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/PkgMetadataXmlInvalidPkgRef-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with metadata.xml using an invalid pkg reference" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/metadata.xml b/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/metadata.xml deleted file mode 100644 index 5e7aa011..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/PkgMetadataXmlInvalidPkgRef/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <longdescription> - Package with metadata.xml longdescription that has an invalid package - reference to a nonexistent package of <pkg>nonexistent/pkg</pkg>. - </longdescription> -</pkgmetadata> diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/RedundantLongDescription-0.ebuild b/tests/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/RedundantLongDescription-0.ebuild deleted file mode 100644 index fa48d8d3..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/RedundantLongDescription-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with redundant metadata.xml longdescription" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml b/tests/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml deleted file mode 100644 index 19cd334f..00000000 --- a/tests/repos/standalone/PackageMetadataXmlCheck/RedundantLongDescription/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <longdescription> - Ebuild with redundant metadata.xml longdescription. - </longdescription> -</pkgmetadata> diff --git a/tests/repos/standalone/PkgDirCheck/DuplicateFiles/DuplicateFiles-0.ebuild b/tests/repos/standalone/PkgDirCheck/DuplicateFiles/DuplicateFiles-0.ebuild deleted file mode 100644 index 802afd9c..00000000 --- a/tests/repos/standalone/PkgDirCheck/DuplicateFiles/DuplicateFiles-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Two or more identical files in FILESDIR" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PkgDirCheck/DuplicateFiles/files/1 b/tests/repos/standalone/PkgDirCheck/DuplicateFiles/files/1 deleted file mode 100644 index 139597f9..00000000 --- a/tests/repos/standalone/PkgDirCheck/DuplicateFiles/files/1 +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/repos/standalone/PkgDirCheck/DuplicateFiles/files/2 b/tests/repos/standalone/PkgDirCheck/DuplicateFiles/files/2 deleted file mode 100644 index 139597f9..00000000 --- a/tests/repos/standalone/PkgDirCheck/DuplicateFiles/files/2 +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/repos/standalone/PkgDirCheck/EmptyFile/EmptyFile-0.ebuild b/tests/repos/standalone/PkgDirCheck/EmptyFile/EmptyFile-0.ebuild deleted file mode 100644 index a042ae81..00000000 --- a/tests/repos/standalone/PkgDirCheck/EmptyFile/EmptyFile-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="File in FILESDIR is empty" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PkgDirCheck/EmptyFile/files/empty b/tests/repos/standalone/PkgDirCheck/EmptyFile/files/empty deleted file mode 100644 index e69de29b..00000000 --- a/tests/repos/standalone/PkgDirCheck/EmptyFile/files/empty +++ /dev/null diff --git a/tests/repos/standalone/PkgDirCheck/ExecutableFile/ExecutableFile-0.ebuild b/tests/repos/standalone/PkgDirCheck/ExecutableFile/ExecutableFile-0.ebuild deleted file mode 100644 index 3be52a41..00000000 --- a/tests/repos/standalone/PkgDirCheck/ExecutableFile/ExecutableFile-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="File has executable bit, but doesn't need it" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PkgDirCheck/ExecutableFile/files/executable b/tests/repos/standalone/PkgDirCheck/ExecutableFile/files/executable deleted file mode 100755 index 139597f9..00000000 --- a/tests/repos/standalone/PkgDirCheck/ExecutableFile/files/executable +++ /dev/null @@ -1,2 +0,0 @@ - - diff --git a/tests/repos/standalone/PkgDirCheck/InvalidPN/InvalidPN.ebuild b/tests/repos/standalone/PkgDirCheck/InvalidPN/InvalidPN.ebuild deleted file mode 100644 index 026b9fd9..00000000 --- a/tests/repos/standalone/PkgDirCheck/InvalidPN/InvalidPN.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuilds that have invalid package names" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild b/tests/repos/standalone/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild deleted file mode 100644 index f7a97635..00000000 --- a/tests/repos/standalone/PkgDirCheck/MismatchedPN/Mismatched-1.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuilds that have different names than their parent directory" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/UnknownPkgDirEntry-0.ebuild b/tests/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/UnknownPkgDirEntry-0.ebuild deleted file mode 100644 index ee2cfac7..00000000 --- a/tests/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/UnknownPkgDirEntry-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Unknown file in package dir is ignored" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/foo b/tests/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/foo deleted file mode 100644 index e69de29b..00000000 --- a/tests/repos/standalone/PkgDirCheck/UnknownPkgDirEntry/foo +++ /dev/null diff --git a/tests/repos/standalone/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild b/tests/repos/standalone/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild deleted file mode 100644 index 683c5c23..00000000 --- a/tests/repos/standalone/PropertiesCheck/InvalidProperties/InvalidProperties-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -DESCRIPTION="Ebuild with invalid PROPERTIES" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="used" -PROPERTIES="!used ( interactive )" diff --git a/tests/repos/standalone/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild b/tests/repos/standalone/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild deleted file mode 100644 index e6b7058b..00000000 --- a/tests/repos/standalone/PropertiesCheck/UnknownProperties/UnknownProperties-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with unknown PROPERTIES" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -PROPERTIES="foo" diff --git a/tests/repos/standalone/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/tests/repos/standalone/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild deleted file mode 100644 index c92c2433..00000000 --- a/tests/repos/standalone/PropertiesCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with unstated USE flags in PROPERTIES" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -PROPERTIES="used? ( interactive )" diff --git a/tests/repos/standalone/RawEbuildCheck/HomepageInSrcUri/HomepageInSrcUri-0.ebuild b/tests/repos/standalone/RawEbuildCheck/HomepageInSrcUri/HomepageInSrcUri-0.ebuild deleted file mode 100644 index 436b6da2..00000000 --- a/tests/repos/standalone/RawEbuildCheck/HomepageInSrcUri/HomepageInSrcUri-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -DESCRIPTION="Ebuild with HOMEPAGE variable in SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="${HOMEPAGE}/${P}.tar.gz" -# commented lines that would otherwise be flagged are ignored -#SRC_URI="${HOMEPAGE}/${PV}/${P}.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/RawEbuildCheck/HomepageInSrcUri/Manifest b/tests/repos/standalone/RawEbuildCheck/HomepageInSrcUri/Manifest deleted file mode 100644 index 9d9a59e9..00000000 --- a/tests/repos/standalone/RawEbuildCheck/HomepageInSrcUri/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST HomepageInSrcUri-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7e45bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4e059df83d SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a6f5feec5e02 diff --git a/tests/repos/standalone/RawEbuildCheck/StaticSrcUri/Manifest b/tests/repos/standalone/RawEbuildCheck/StaticSrcUri/Manifest deleted file mode 100644 index 3a7c1a9e..00000000 --- a/tests/repos/standalone/RawEbuildCheck/StaticSrcUri/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST StaticSrcUri-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7e45bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db52fbe1c4e059df83a SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b3c5da7a6f5feec5e02 diff --git a/tests/repos/standalone/RawEbuildCheck/StaticSrcUri/StaticSrcUri-0.ebuild b/tests/repos/standalone/RawEbuildCheck/StaticSrcUri/StaticSrcUri-0.ebuild deleted file mode 100644 index 7b5eee59..00000000 --- a/tests/repos/standalone/RawEbuildCheck/StaticSrcUri/StaticSrcUri-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with static values of dynamica variables in SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/StaticSrcUri-0.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/RawEbuildCheck/VariableInHomepage/VariableInHomepage-0.ebuild b/tests/repos/standalone/RawEbuildCheck/VariableInHomepage/VariableInHomepage-0.ebuild deleted file mode 100644 index b117d858..00000000 --- a/tests/repos/standalone/RawEbuildCheck/VariableInHomepage/VariableInHomepage-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -DESCRIPTION="Ebuild with variable in HOMEPAGE" -HOMEPAGE="https://github.com/pkgcore/${PN}" -# commented lines that would otherwise be flagged are ignored -#HOMEPAGE="https://github.com/${P}" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/RedundantDodirCheck/RedundantDodir/RedundantDodir-0.ebuild b/tests/repos/standalone/RedundantDodirCheck/RedundantDodir/RedundantDodir-0.ebuild deleted file mode 100644 index 19069813..00000000 --- a/tests/repos/standalone/RedundantDodirCheck/RedundantDodir/RedundantDodir-0.ebuild +++ /dev/null @@ -1,27 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with redundant dodir calls" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_install() { - touch blah - dodir /foo/bar - insinto /foo/bar - doins blah - - # make sure differing paths aren't flagged - dodir /foo/bar - insinto /foo/bar2 - doins blah - - touch blaz - dodir /foo/bin - exeinto /foo/bin - doexe blaz - - touch blob - dodir /foo/doc - docinto /foo/doc - dodoc blob -} diff --git a/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild b/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild deleted file mode 100644 index c25febd1..00000000 --- a/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=4 -DESCRIPTION="Ebuild with invalid REQUIRED_USE" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -REQUIRED_USE="|| ( )" diff --git a/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild b/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild deleted file mode 100644 index 80636c5f..00000000 --- a/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-1.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=4 -DESCRIPTION="Ebuild with invalid REQUIRED_USE" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -REQUIRED_USE="?" diff --git a/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild b/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild deleted file mode 100644 index 56867ef5..00000000 --- a/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/InvalidRequiredUse-2.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -EAPI=4 -DESCRIPTION="Ebuild with invalid REQUIRED_USE" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="required" -REQUIRED_USE="required?" diff --git a/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/metadata.xml b/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/metadata.xml deleted file mode 100644 index edceb74b..00000000 --- a/tests/repos/standalone/RequiredUseCheck/InvalidRequiredUse/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <use> - <flag name="required">USE flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/RequiredUseCheck/RequiredUseDefaults/RequiredUseDefaults-0.ebuild b/tests/repos/standalone/RequiredUseCheck/RequiredUseDefaults/RequiredUseDefaults-0.ebuild deleted file mode 100644 index 27879434..00000000 --- a/tests/repos/standalone/RequiredUseCheck/RequiredUseDefaults/RequiredUseDefaults-0.ebuild +++ /dev/null @@ -1,8 +0,0 @@ -EAPI=4 -DESCRIPTION="Ebuild with REQUIRED_USE failing by default" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64" -IUSE="required used" -REQUIRED_USE="^^ ( required used )" diff --git a/tests/repos/standalone/RequiredUseCheck/RequiredUseDefaults/metadata.xml b/tests/repos/standalone/RequiredUseCheck/RequiredUseDefaults/metadata.xml deleted file mode 100644 index edceb74b..00000000 --- a/tests/repos/standalone/RequiredUseCheck/RequiredUseDefaults/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <use> - <flag name="required">USE flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/tests/repos/standalone/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild deleted file mode 100644 index 6cb3821e..00000000 --- a/tests/repos/standalone/RequiredUseCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -EAPI=4 -DESCRIPTION="Ebuild with unstated USE flag in REQUIRED_USE" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="required" -REQUIRED_USE="|| ( required used )" diff --git a/tests/repos/standalone/RequiredUseCheck/UnstatedIuse/metadata.xml b/tests/repos/standalone/RequiredUseCheck/UnstatedIuse/metadata.xml deleted file mode 100644 index edceb74b..00000000 --- a/tests/repos/standalone/RequiredUseCheck/UnstatedIuse/metadata.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>maintainer@random.email</email> - </maintainer> - <use> - <flag name="required">USE flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild b/tests/repos/standalone/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild deleted file mode 100644 index 0a46c2c9..00000000 --- a/tests/repos/standalone/RestrictCheck/InvalidRestrict/InvalidRestrict-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -DESCRIPTION="Ebuild with invalid RESTRICT" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="used" -RESTRICT="!used ( test )" diff --git a/tests/repos/standalone/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild b/tests/repos/standalone/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild deleted file mode 100644 index 8dc8a7d7..00000000 --- a/tests/repos/standalone/RestrictCheck/UnknownRestrict/UnknownRestrict-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with unknown RESTRICT" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -RESTRICT="foo" diff --git a/tests/repos/standalone/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/tests/repos/standalone/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild deleted file mode 100644 index 0caed4ac..00000000 --- a/tests/repos/standalone/RestrictCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with unstated USE flags in RESTRICT" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -RESTRICT="used? ( mirror )" diff --git a/tests/repos/standalone/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild b/tests/repos/standalone/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild deleted file mode 100644 index bac99c43..00000000 --- a/tests/repos/standalone/RestrictTestCheck/MissingTestRestrict/MissingTestRestrict-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with missing conditional test RESTRICT" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="test" diff --git a/tests/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild b/tests/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild deleted file mode 100644 index 496b3f04..00000000 --- a/tests/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -EAPI=9999 -DESCRIPTION="Ebuild using unsupported EAPI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild b/tests/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild deleted file mode 100644 index 00dd7a6a..00000000 --- a/tests/repos/standalone/SourcingCheck/InvalidEapi/InvalidEapi-1.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -EAPI="invalid!" -DESCRIPTION="Ebuild using invalid EAPI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild b/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild deleted file mode 100644 index bf2a36ca..00000000 --- a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with invalid SLOT" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="?" -LICENSE="BSD" diff --git a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild b/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild deleted file mode 100644 index 66a11b85..00000000 --- a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-1.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild with invalid SLOT" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0/1" -LICENSE="BSD" diff --git a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild b/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild deleted file mode 100644 index 55374b86..00000000 --- a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-2.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with invalid SLOT" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0/-1" -LICENSE="BSD" diff --git a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild b/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild deleted file mode 100644 index ce7c530c..00000000 --- a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-3.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with invalid SLOT" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0/foo?" -LICENSE="BSD" diff --git a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild b/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild deleted file mode 100644 index 15672c9d..00000000 --- a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-4.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with empty SLOT" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="" -LICENSE="BSD" diff --git a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-5.ebuild b/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-5.ebuild deleted file mode 100644 index b3864dc0..00000000 --- a/tests/repos/standalone/SourcingCheck/InvalidSlot/InvalidSlot-5.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with missing SLOT" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -LICENSE="BSD" diff --git a/tests/repos/standalone/SourcingCheck/SourcingError/SourcingError-0.ebuild b/tests/repos/standalone/SourcingCheck/SourcingError/SourcingError-0.ebuild deleted file mode 100644 index 3fed4ab4..00000000 --- a/tests/repos/standalone/SourcingCheck/SourcingError/SourcingError-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with bash sourcing error" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -foo diff --git a/tests/repos/standalone/SrcUriCheck/BadFilename/BadFilename-0.ebuild b/tests/repos/standalone/SrcUriCheck/BadFilename/BadFilename-0.ebuild deleted file mode 100644 index 648127a6..00000000 --- a/tests/repos/standalone/SrcUriCheck/BadFilename/BadFilename-0.ebuild +++ /dev/null @@ -1,9 +0,0 @@ -DESCRIPTION="Ebuild with unspecific SRC_URI filenames" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI=" - https://github.com/pkgcore/pkgcheck/${PN}.tar.gz - https://github.com/pkgcore/pkgcheck/${PV}.tar.gz - https://github.com/pkgcore/pkgcheck/v${PV}.tar.gz -" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/SrcUriCheck/BadFilename/Manifest b/tests/repos/standalone/SrcUriCheck/BadFilename/Manifest deleted file mode 100644 index ae84acc7..00000000 --- a/tests/repos/standalone/SrcUriCheck/BadFilename/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST BadFilename.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7e45bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 -DIST 0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ceecd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 -DIST v0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fe5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/SrcUriCheck/BadProtocol/BadProtocol-0.ebuild b/tests/repos/standalone/SrcUriCheck/BadProtocol/BadProtocol-0.ebuild deleted file mode 100644 index c6115493..00000000 --- a/tests/repos/standalone/SrcUriCheck/BadProtocol/BadProtocol-0.ebuild +++ /dev/null @@ -1,8 +0,0 @@ -DESCRIPTION="Ebuild with SRC_URI using unsupported protocols" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI=" - htps://github.com/pkgcore/pkgcheck/${P}.tar.gz - gopher://github.com/pkgcore/pkgcheck/${P}.tar.gz -" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/SrcUriCheck/BadProtocol/Manifest b/tests/repos/standalone/SrcUriCheck/BadProtocol/Manifest deleted file mode 100644 index 7b51d7c5..00000000 --- a/tests/repos/standalone/SrcUriCheck/BadProtocol/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST BadProtocol-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09dfa59130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild b/tests/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild deleted file mode 100644 index cb909167..00000000 --- a/tests/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with invalid SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="?" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild b/tests/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild deleted file mode 100644 index 6d10b69d..00000000 --- a/tests/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-1.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with invalid SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="( )" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild b/tests/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild deleted file mode 100644 index 718aef6b..00000000 --- a/tests/repos/standalone/SrcUriCheck/InvalidSrcUri/InvalidSrcUri-2.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with invalid SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz/" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/SrcUriCheck/MissingUri/Manifest b/tests/repos/standalone/SrcUriCheck/MissingUri/Manifest deleted file mode 100644 index bb44bc60..00000000 --- a/tests/repos/standalone/SrcUriCheck/MissingUri/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST MissingUri-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5cfda8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/SrcUriCheck/MissingUri/MissingUri-0.ebuild b/tests/repos/standalone/SrcUriCheck/MissingUri/MissingUri-0.ebuild deleted file mode 100644 index e6a36257..00000000 --- a/tests/repos/standalone/SrcUriCheck/MissingUri/MissingUri-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild lacking full URI without RESTRICT=fetch set" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="${P}.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/SrcUriCheck/RedundantUriRename/Manifest b/tests/repos/standalone/SrcUriCheck/RedundantUriRename/Manifest deleted file mode 100644 index a5e0099e..00000000 --- a/tests/repos/standalone/SrcUriCheck/RedundantUriRename/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST RedundantUriRename-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7995bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df638 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 -DIST RedundantUriRename-1.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7995bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df639 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild b/tests/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild deleted file mode 100644 index a4a7c8a2..00000000 --- a/tests/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with reundant rename in SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/${P}.tar.gz -> ${P}.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild b/tests/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild deleted file mode 100644 index 7ba49077..00000000 --- a/tests/repos/standalone/SrcUriCheck/RedundantUriRename/RedundantUriRename-1.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with reundant rename in SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="mirror://used/pkgcore/pkgcheck/${P}.tar.gz -> ${P}.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/SrcUriCheck/TarballAvailable/Manifest b/tests/repos/standalone/SrcUriCheck/TarballAvailable/Manifest deleted file mode 100644 index 11dde9f0..00000000 --- a/tests/repos/standalone/SrcUriCheck/TarballAvailable/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST TarballAvailable-0.zip 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bca7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/SrcUriCheck/TarballAvailable/TarballAvailable-0.ebuild b/tests/repos/standalone/SrcUriCheck/TarballAvailable/TarballAvailable-0.ebuild deleted file mode 100644 index e5ea35a1..00000000 --- a/tests/repos/standalone/SrcUriCheck/TarballAvailable/TarballAvailable-0.ebuild +++ /dev/null @@ -1,10 +0,0 @@ -EAPI=2 -DESCRIPTION="Ebuild with SRC_URI using .zip archive when .tar* is available" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI=" - https://github.com/pkgcore/pkgcheck/archive/${PV}.zip -> ${P}.zip - https://gitlab.com/pkgcore/pkgcheck/-/archive/${PV}.zip -> ${P}.zip -" -SLOT="0" -LICENSE="BSD" -DEPEND="app-arch/unzip" diff --git a/tests/repos/standalone/SrcUriCheck/UnknownMirror/Manifest b/tests/repos/standalone/SrcUriCheck/UnknownMirror/Manifest deleted file mode 100644 index e4bcb05f..00000000 --- a/tests/repos/standalone/SrcUriCheck/UnknownMirror/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST UnknownMirror-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7995bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/SrcUriCheck/UnknownMirror/UnknownMirror-0.ebuild b/tests/repos/standalone/SrcUriCheck/UnknownMirror/UnknownMirror-0.ebuild deleted file mode 100644 index e8228ea2..00000000 --- a/tests/repos/standalone/SrcUriCheck/UnknownMirror/UnknownMirror-0.ebuild +++ /dev/null @@ -1,8 +0,0 @@ -DESCRIPTION="Ebuild with unknown mirror in SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI=" - mirror://used/pkgcore/pkgcheck/${P}.tar.gz - mirror://unknown/pkgcore/pkgcheck/${P}.tar.gz -" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/SrcUriCheck/UnstatedIuse/Manifest b/tests/repos/standalone/SrcUriCheck/UnstatedIuse/Manifest deleted file mode 100644 index 2256aa78..00000000 --- a/tests/repos/standalone/SrcUriCheck/UnstatedIuse/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST UnstatedIuse-0.tar.gz 153310 BLAKE2B b7484cd9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a987fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild b/tests/repos/standalone/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild deleted file mode 100644 index 2f40073b..00000000 --- a/tests/repos/standalone/SrcUriCheck/UnstatedIuse/UnstatedIuse-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with unstated USE flags in SRC_URI" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="used? ( https://github.com/pkgcore/pkgcheck/${P}.tar.gz )" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild b/tests/repos/standalone/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild deleted file mode 100644 index 2aa33d94..00000000 --- a/tests/repos/standalone/VisibilityCheck/NonexistentDeps/NonexistentDeps-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with nonexistent conditional dep" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -DEPEND="|| ( stub/stub1 stub/stub2 cat/nonexistent )" diff --git a/tests/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild b/tests/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild deleted file mode 100644 index ee737c90..00000000 --- a/tests/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -inherit vcs - -DESCRIPTION="VCS ebuild with keywords" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64" diff --git a/tests/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild b/tests/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild deleted file mode 100644 index 9f0fb173..00000000 --- a/tests/repos/standalone/VisibilityCheck/VisibleVcsPkg/VisibleVcsPkg-1.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -inherit vcs - -DESCRIPTION="VCS ebuild with keywords" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~x86" diff --git a/tests/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/BadWhitespaceCharacter-0.ebuild b/tests/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/BadWhitespaceCharacter-0.ebuild deleted file mode 100644 index 84641c86..00000000 --- a/tests/repos/standalone/WhitespaceCheck/BadWhitespaceCharacter/BadWhitespaceCharacter-0.ebuild +++ /dev/null @@ -1,11 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild uses bad whitespace character" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - -src_test() { - # bad chars aren't ignored in comments - cd "${S}"/cpp || die # or inline comments - default -} diff --git a/tests/repos/standalone/WhitespaceCheck/DoubleEmptyLine/DoubleEmptyLine-0.ebuild b/tests/repos/standalone/WhitespaceCheck/DoubleEmptyLine/DoubleEmptyLine-0.ebuild deleted file mode 100644 index d072bdab..00000000 --- a/tests/repos/standalone/WhitespaceCheck/DoubleEmptyLine/DoubleEmptyLine-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -DESCRIPTION="Ebuild has unneeded empty lines" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" - - -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/WhitespaceCheck/NoFinalNewline/NoFinalNewline-0.ebuild b/tests/repos/standalone/WhitespaceCheck/NoFinalNewline/NoFinalNewline-0.ebuild deleted file mode 100644 index ad429e28..00000000 --- a/tests/repos/standalone/WhitespaceCheck/NoFinalNewline/NoFinalNewline-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Ebuild lacks an ending newline" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD"
\ No newline at end of file diff --git a/tests/repos/standalone/WhitespaceCheck/TrailingEmptyLine/TrailingEmptyLine-0.ebuild b/tests/repos/standalone/WhitespaceCheck/TrailingEmptyLine/TrailingEmptyLine-0.ebuild deleted file mode 100644 index a61f2c34..00000000 --- a/tests/repos/standalone/WhitespaceCheck/TrailingEmptyLine/TrailingEmptyLine-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild has a trailing empty line" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" - diff --git a/tests/repos/standalone/app-arch/unzip/unzip-0.ebuild b/tests/repos/standalone/app-arch/unzip/unzip-0.ebuild deleted file mode 100644 index 0b7766f5..00000000 --- a/tests/repos/standalone/app-arch/unzip/unzip-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub unzip package to suppress NonexistentDeps results" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/eclass/stub.eclass b/tests/repos/standalone/eclass/stub.eclass deleted file mode 100644 index 20890610..00000000 --- a/tests/repos/standalone/eclass/stub.eclass +++ /dev/null @@ -1 +0,0 @@ -# stub eclass diff --git a/tests/repos/standalone/eclass/unused.eclass b/tests/repos/standalone/eclass/unused.eclass deleted file mode 100644 index 00299527..00000000 --- a/tests/repos/standalone/eclass/unused.eclass +++ /dev/null @@ -1 +0,0 @@ -# unused diff --git a/tests/repos/standalone/eclass/vcs.eclass b/tests/repos/standalone/eclass/vcs.eclass deleted file mode 100644 index fa2bb54a..00000000 --- a/tests/repos/standalone/eclass/vcs.eclass +++ /dev/null @@ -1 +0,0 @@ -PROPERTIES+=" live" diff --git a/tests/repos/standalone/licenses/BSD b/tests/repos/standalone/licenses/BSD deleted file mode 120000 index 14776154..00000000 --- a/tests/repos/standalone/licenses/BSD +++ /dev/null @@ -1 +0,0 @@ -../../../../LICENSE
\ No newline at end of file diff --git a/tests/repos/standalone/licenses/eula b/tests/repos/standalone/licenses/eula deleted file mode 100644 index ba8fc75a..00000000 --- a/tests/repos/standalone/licenses/eula +++ /dev/null @@ -1 +0,0 @@ -# stub EULA license diff --git a/tests/repos/standalone/licenses/unused b/tests/repos/standalone/licenses/unused deleted file mode 120000 index 14776154..00000000 --- a/tests/repos/standalone/licenses/unused +++ /dev/null @@ -1 +0,0 @@ -../../../../LICENSE
\ No newline at end of file diff --git a/tests/repos/standalone/metadata/layout.conf b/tests/repos/standalone/metadata/layout.conf deleted file mode 100644 index 46e02cb8..00000000 --- a/tests/repos/standalone/metadata/layout.conf +++ /dev/null @@ -1,7 +0,0 @@ -masters = -cache-formats = -thin-manifests = true -eapis-banned = 1 -eapis-deprecated = 5 -properties-allowed = interactive live -restrict-allowed = bindist fetch mirror test diff --git a/tests/repos/standalone/metadata/projects.xml b/tests/repos/standalone/metadata/projects.xml deleted file mode 100644 index 746abf4c..00000000 --- a/tests/repos/standalone/metadata/projects.xml +++ /dev/null @@ -1,10 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE projects SYSTEM "http://www.gentoo.org/dtd/projects.dtd"> -<projects> - <project> - <email>emptyproject@example.com</email> - <name>Empty project</name> - <url>https://example.com/empty-project</url> - <description>Test project with no members.</description> - </project> -</projects> diff --git a/tests/repos/standalone/metadata/stubs b/tests/repos/standalone/metadata/stubs deleted file mode 100644 index 2a1d2a17..00000000 --- a/tests/repos/standalone/metadata/stubs +++ /dev/null @@ -1,4 +0,0 @@ -app-arch/unzip -test/ConflictingChksums -test/MatchingChksums -virtual/UnnecessaryLicense diff --git a/tests/repos/standalone/profiles/arch.list b/tests/repos/standalone/profiles/arch.list deleted file mode 100644 index 1677fa6f..00000000 --- a/tests/repos/standalone/profiles/arch.list +++ /dev/null @@ -1,2 +0,0 @@ -amd64 -x86 diff --git a/tests/repos/standalone/profiles/default/amd64/make.defaults b/tests/repos/standalone/profiles/default/amd64/make.defaults deleted file mode 100644 index b3e0df88..00000000 --- a/tests/repos/standalone/profiles/default/amd64/make.defaults +++ /dev/null @@ -1 +0,0 @@ -ARCH="amd64" diff --git a/tests/repos/standalone/profiles/default/x86/make.defaults b/tests/repos/standalone/profiles/default/x86/make.defaults deleted file mode 100644 index e8f15681..00000000 --- a/tests/repos/standalone/profiles/default/x86/make.defaults +++ /dev/null @@ -1 +0,0 @@ -ARCH="x86" diff --git a/tests/repos/standalone/profiles/desc/use_expand.desc b/tests/repos/standalone/profiles/desc/use_expand.desc deleted file mode 100644 index 47641817..00000000 --- a/tests/repos/standalone/profiles/desc/use_expand.desc +++ /dev/null @@ -1,2 +0,0 @@ -unused - unused USE_EXPAND stub flag -used - used USE_EXPAND stub flag diff --git a/tests/repos/standalone/profiles/license_groups b/tests/repos/standalone/profiles/license_groups deleted file mode 100644 index eddbdee3..00000000 --- a/tests/repos/standalone/profiles/license_groups +++ /dev/null @@ -1,2 +0,0 @@ -GROUP BSD unknown -EULA eula diff --git a/tests/repos/standalone/profiles/profiles.desc b/tests/repos/standalone/profiles/profiles.desc deleted file mode 100644 index 0f7102bc..00000000 --- a/tests/repos/standalone/profiles/profiles.desc +++ /dev/null @@ -1,2 +0,0 @@ -amd64 default/amd64 stable -x86 default/x86 stable diff --git a/tests/repos/standalone/profiles/repo_name b/tests/repos/standalone/profiles/repo_name deleted file mode 100644 index 6827d9fd..00000000 --- a/tests/repos/standalone/profiles/repo_name +++ /dev/null @@ -1 +0,0 @@ -standalone diff --git a/tests/repos/standalone/profiles/thirdpartymirrors b/tests/repos/standalone/profiles/thirdpartymirrors deleted file mode 100644 index 454fe708..00000000 --- a/tests/repos/standalone/profiles/thirdpartymirrors +++ /dev/null @@ -1,2 +0,0 @@ -used https://used.mirror -unused https://unused.mirror diff --git a/tests/repos/standalone/profiles/use.desc b/tests/repos/standalone/profiles/use.desc deleted file mode 100644 index 1bd92e39..00000000 --- a/tests/repos/standalone/profiles/use.desc +++ /dev/null @@ -1,6 +0,0 @@ -used - used global flag -unused - unused global flag -matching - matching global flag -potential-local - potential local use flag -probable - probable global flag -test - enable tests diff --git a/tests/repos/standalone/profiles/use.local.desc b/tests/repos/standalone/profiles/use.local.desc deleted file mode 100644 index 0febc21a..00000000 --- a/tests/repos/standalone/profiles/use.local.desc +++ /dev/null @@ -1,5 +0,0 @@ -GlobalUseCheck/PotentialGlobalUse:potential-global - potential global flag -stub/potential-global1:potential-global - potential global flag -stub/potential-global2:potential-global - potential global flag -stub/potential-global3:potential-global - potential global flag -stub/potential-global4:potential-global - potential global flag diff --git a/tests/repos/standalone/stub/potential-global1/metadata.xml b/tests/repos/standalone/stub/potential-global1/metadata.xml deleted file mode 100644 index 908eeebc..00000000 --- a/tests/repos/standalone/stub/potential-global1/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <use> - <flag name="potential-global">potential global flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/stub/potential-global1/potential-global1-0.ebuild b/tests/repos/standalone/stub/potential-global1/potential-global1-0.ebuild deleted file mode 100644 index b0dddec2..00000000 --- a/tests/repos/standalone/stub/potential-global1/potential-global1-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="potential-global" diff --git a/tests/repos/standalone/stub/potential-global2/metadata.xml b/tests/repos/standalone/stub/potential-global2/metadata.xml deleted file mode 100644 index 908eeebc..00000000 --- a/tests/repos/standalone/stub/potential-global2/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <use> - <flag name="potential-global">potential global flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/stub/potential-global2/potential-global2-0.ebuild b/tests/repos/standalone/stub/potential-global2/potential-global2-0.ebuild deleted file mode 100644 index b0dddec2..00000000 --- a/tests/repos/standalone/stub/potential-global2/potential-global2-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="potential-global" diff --git a/tests/repos/standalone/stub/potential-global3/metadata.xml b/tests/repos/standalone/stub/potential-global3/metadata.xml deleted file mode 100644 index 908eeebc..00000000 --- a/tests/repos/standalone/stub/potential-global3/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <use> - <flag name="potential-global">potential global flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/stub/potential-global3/potential-global3-0.ebuild b/tests/repos/standalone/stub/potential-global3/potential-global3-0.ebuild deleted file mode 100644 index b0dddec2..00000000 --- a/tests/repos/standalone/stub/potential-global3/potential-global3-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="potential-global" diff --git a/tests/repos/standalone/stub/potential-global4/metadata.xml b/tests/repos/standalone/stub/potential-global4/metadata.xml deleted file mode 100644 index 908eeebc..00000000 --- a/tests/repos/standalone/stub/potential-global4/metadata.xml +++ /dev/null @@ -1,7 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <use> - <flag name="potential-global">potential global flag</flag> - </use> -</pkgmetadata> diff --git a/tests/repos/standalone/stub/potential-global4/potential-global4-0.ebuild b/tests/repos/standalone/stub/potential-global4/potential-global4-0.ebuild deleted file mode 100644 index b0dddec2..00000000 --- a/tests/repos/standalone/stub/potential-global4/potential-global4-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Stub ebuild used to trigger PotentialGlobalUse" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="potential-global" diff --git a/tests/repos/standalone/stub/slotted/slotted-0.ebuild b/tests/repos/standalone/stub/slotted/slotted-0.ebuild deleted file mode 100644 index bfd02b4c..00000000 --- a/tests/repos/standalone/stub/slotted/slotted-0.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub ebuild with different SLOTs" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/stub/slotted/slotted-1.ebuild b/tests/repos/standalone/stub/slotted/slotted-1.ebuild deleted file mode 100644 index a2949e5d..00000000 --- a/tests/repos/standalone/stub/slotted/slotted-1.ebuild +++ /dev/null @@ -1,4 +0,0 @@ -DESCRIPTION="Stub ebuild with different SLOTs" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="1" -LICENSE="BSD" diff --git a/tests/repos/standalone/stub/stub1/stub1-0.ebuild b/tests/repos/standalone/stub/stub1/stub1-0.ebuild deleted file mode 100644 index 3babfb6d..00000000 --- a/tests/repos/standalone/stub/stub1/stub1-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="matching probable test used use_expand_used" -RESTRICT="!test? ( test )" diff --git a/tests/repos/standalone/stub/stub2/stub2-0.ebuild b/tests/repos/standalone/stub/stub2/stub2-0.ebuild deleted file mode 100644 index 5c1de869..00000000 --- a/tests/repos/standalone/stub/stub2/stub2-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="matching probable test used" -RESTRICT="!test? ( test )" diff --git a/tests/repos/standalone/stub/stub3/stub3-0.ebuild b/tests/repos/standalone/stub/stub3/stub3-0.ebuild deleted file mode 100644 index 5c1de869..00000000 --- a/tests/repos/standalone/stub/stub3/stub3-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="matching probable test used" -RESTRICT="!test? ( test )" diff --git a/tests/repos/standalone/stub/stub4/stub4-0.ebuild b/tests/repos/standalone/stub/stub4/stub4-0.ebuild deleted file mode 100644 index 5c1de869..00000000 --- a/tests/repos/standalone/stub/stub4/stub4-0.ebuild +++ /dev/null @@ -1,6 +0,0 @@ -DESCRIPTION="Stub ebuild used to suppress other repo-level keyword output" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -IUSE="matching probable test used" -RESTRICT="!test? ( test )" diff --git a/tests/repos/standalone/test/ConflictingChksums/ConflictingChksums-0.ebuild b/tests/repos/standalone/test/ConflictingChksums/ConflictingChksums-0.ebuild deleted file mode 100644 index a0f4bd99..00000000 --- a/tests/repos/standalone/test/ConflictingChksums/ConflictingChksums-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with manifest entry colliding with another package" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/foo.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/test/ConflictingChksums/Manifest b/tests/repos/standalone/test/ConflictingChksums/Manifest deleted file mode 100644 index 30335e9d..00000000 --- a/tests/repos/standalone/test/ConflictingChksums/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST foo.tar.gz 153310 BLAKE2B b7484cd9bebe912fac8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/test/MatchingChksums/Manifest b/tests/repos/standalone/test/MatchingChksums/Manifest deleted file mode 100644 index 50a4215a..00000000 --- a/tests/repos/standalone/test/MatchingChksums/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST foo2.tar.gz 153310 BLAKE2B abc123d9bebe912f9c8877c0f09df059130c2dc5c4da8c926f8df7945bcb7b255cdf810ce8cd16a957fb5bca3d1e71c088cd894968641db5dfae1c4c059df836 SHA512 86ff9e1c4b9353b1fbb475c7bb9d2a97bd9db8421ea5190b5a84832930b34cb5b79f8c3da68a5eb8db334f06851ec129cc6611a371e47b7c5de7a615feec5e05 diff --git a/tests/repos/standalone/test/MatchingChksums/MatchingChksums-0.ebuild b/tests/repos/standalone/test/MatchingChksums/MatchingChksums-0.ebuild deleted file mode 100644 index e85191e2..00000000 --- a/tests/repos/standalone/test/MatchingChksums/MatchingChksums-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Ebuild with manifest entry colliding with another package" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SRC_URI="https://github.com/pkgcore/pkgcheck/foo2.tar.gz" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/standalone/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild b/tests/repos/standalone/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild deleted file mode 100644 index d763be12..00000000 --- a/tests/repos/standalone/virtual/UnnecessaryLicense/UnnecessaryLicense-0.ebuild +++ /dev/null @@ -1,3 +0,0 @@ -DESCRIPTION="Ebuild with unnecessary LICENSE" -SLOT="0" -LICENSE="BSD" diff --git a/tests/repos/visibility/DeprecatedDep/nonoptional/nonoptional-0.ebuild b/tests/repos/visibility/DeprecatedDep/nonoptional/nonoptional-0.ebuild deleted file mode 100644 index 91ea8552..00000000 --- a/tests/repos/visibility/DeprecatedDep/nonoptional/nonoptional-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with deprecated dep" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64" -RDEPEND="stub/deprecated" diff --git a/tests/repos/visibility/DeprecatedDep/optional/optional-0.ebuild b/tests/repos/visibility/DeprecatedDep/optional/optional-0.ebuild deleted file mode 100644 index 5daadc44..00000000 --- a/tests/repos/visibility/DeprecatedDep/optional/optional-0.ebuild +++ /dev/null @@ -1,10 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with optional and blocker deprecated deps" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64" -RDEPEND=" - !stub/deprecated - || ( stub/unstable stub/deprecated ) -" diff --git a/tests/repos/visibility/NonsolvableDepsInDev/masked/masked-0.ebuild b/tests/repos/visibility/NonsolvableDepsInDev/masked/masked-0.ebuild deleted file mode 100644 index 8e22f09f..00000000 --- a/tests/repos/visibility/NonsolvableDepsInDev/masked/masked-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with masked nonsolvable dep" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64" -DEPEND="stub/masked" diff --git a/tests/repos/visibility/NonsolvableDepsInExp/masked/masked-0.ebuild b/tests/repos/visibility/NonsolvableDepsInExp/masked/masked-0.ebuild deleted file mode 100644 index 8e22f09f..00000000 --- a/tests/repos/visibility/NonsolvableDepsInExp/masked/masked-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with masked nonsolvable dep" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64" -DEPEND="stub/masked" diff --git a/tests/repos/visibility/NonsolvableDepsInStable/masked/masked-0.ebuild b/tests/repos/visibility/NonsolvableDepsInStable/masked/masked-0.ebuild deleted file mode 100644 index 7d0ddb1f..00000000 --- a/tests/repos/visibility/NonsolvableDepsInStable/masked/masked-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with masked nonsolvable dep" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64" -DEPEND="stub/masked" diff --git a/tests/repos/visibility/NonsolvableDepsInStable/unstable/unstable-0.ebuild b/tests/repos/visibility/NonsolvableDepsInStable/unstable/unstable-0.ebuild deleted file mode 100644 index 55fa6dc2..00000000 --- a/tests/repos/visibility/NonsolvableDepsInStable/unstable/unstable-0.ebuild +++ /dev/null @@ -1,7 +0,0 @@ -EAPI=7 -DESCRIPTION="Ebuild with unstable nonsolvable dep" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64" -DEPEND="stub/unstable" diff --git a/tests/repos/visibility/licenses/BSD b/tests/repos/visibility/licenses/BSD deleted file mode 120000 index 14776154..00000000 --- a/tests/repos/visibility/licenses/BSD +++ /dev/null @@ -1 +0,0 @@ -../../../../LICENSE
\ No newline at end of file diff --git a/tests/repos/visibility/metadata/layout.conf b/tests/repos/visibility/metadata/layout.conf deleted file mode 100644 index af44fe30..00000000 --- a/tests/repos/visibility/metadata/layout.conf +++ /dev/null @@ -1,3 +0,0 @@ -masters = -cache-formats = -thin-manifests = true diff --git a/tests/repos/visibility/metadata/pkgcheck-args b/tests/repos/visibility/metadata/pkgcheck-args deleted file mode 100644 index 4c25037e..00000000 --- a/tests/repos/visibility/metadata/pkgcheck-args +++ /dev/null @@ -1 +0,0 @@ --p all diff --git a/tests/repos/visibility/profiles/arch.list b/tests/repos/visibility/profiles/arch.list deleted file mode 100644 index 1677fa6f..00000000 --- a/tests/repos/visibility/profiles/arch.list +++ /dev/null @@ -1,2 +0,0 @@ -amd64 -x86 diff --git a/tests/repos/visibility/profiles/arch/amd64/make.defaults b/tests/repos/visibility/profiles/arch/amd64/make.defaults deleted file mode 100644 index b3e0df88..00000000 --- a/tests/repos/visibility/profiles/arch/amd64/make.defaults +++ /dev/null @@ -1 +0,0 @@ -ARCH="amd64" diff --git a/tests/repos/visibility/profiles/arch/x86/make.defaults b/tests/repos/visibility/profiles/arch/x86/make.defaults deleted file mode 100644 index e8f15681..00000000 --- a/tests/repos/visibility/profiles/arch/x86/make.defaults +++ /dev/null @@ -1 +0,0 @@ -ARCH="x86" diff --git a/tests/repos/visibility/profiles/package.deprecated b/tests/repos/visibility/profiles/package.deprecated deleted file mode 100644 index e1527132..00000000 --- a/tests/repos/visibility/profiles/package.deprecated +++ /dev/null @@ -1 +0,0 @@ -stub/deprecated diff --git a/tests/repos/visibility/profiles/package.mask b/tests/repos/visibility/profiles/package.mask deleted file mode 100644 index e6ebacc1..00000000 --- a/tests/repos/visibility/profiles/package.mask +++ /dev/null @@ -1 +0,0 @@ -stub/masked diff --git a/tests/repos/visibility/profiles/profiles.desc b/tests/repos/visibility/profiles/profiles.desc deleted file mode 100644 index 6c81eeff..00000000 --- a/tests/repos/visibility/profiles/profiles.desc +++ /dev/null @@ -1,6 +0,0 @@ -amd64 visibility/amd64/stable stable -amd64 visibility/amd64/dev dev -amd64 visibility/amd64/exp exp -x86 visibility/x86/stable stable -x86 visibility/x86/dev dev -x86 visibility/x86/exp exp diff --git a/tests/repos/visibility/profiles/repo_name b/tests/repos/visibility/profiles/repo_name deleted file mode 100644 index ab91ac76..00000000 --- a/tests/repos/visibility/profiles/repo_name +++ /dev/null @@ -1 +0,0 @@ -visibility diff --git a/tests/repos/visibility/profiles/visibility/amd64/dev/package.mask b/tests/repos/visibility/profiles/visibility/amd64/dev/package.mask deleted file mode 100644 index 7beca93c..00000000 --- a/tests/repos/visibility/profiles/visibility/amd64/dev/package.mask +++ /dev/null @@ -1,3 +0,0 @@ -NonsolvableDepsInExp/masked -NonsolvableDepsInStable/masked -NonsolvableDepsInStable/unstable diff --git a/tests/repos/visibility/profiles/visibility/amd64/dev/parent b/tests/repos/visibility/profiles/visibility/amd64/dev/parent deleted file mode 100644 index f3229c5b..00000000 --- a/tests/repos/visibility/profiles/visibility/amd64/dev/parent +++ /dev/null @@ -1 +0,0 @@ -.. diff --git a/tests/repos/visibility/profiles/visibility/amd64/exp/package.mask b/tests/repos/visibility/profiles/visibility/amd64/exp/package.mask deleted file mode 100644 index 01aed272..00000000 --- a/tests/repos/visibility/profiles/visibility/amd64/exp/package.mask +++ /dev/null @@ -1,3 +0,0 @@ -NonsolvableDepsInDev/masked -NonsolvableDepsInStable/masked -NonsolvableDepsInStable/unstable diff --git a/tests/repos/visibility/profiles/visibility/amd64/exp/parent b/tests/repos/visibility/profiles/visibility/amd64/exp/parent deleted file mode 100644 index f3229c5b..00000000 --- a/tests/repos/visibility/profiles/visibility/amd64/exp/parent +++ /dev/null @@ -1 +0,0 @@ -.. diff --git a/tests/repos/visibility/profiles/visibility/amd64/parent b/tests/repos/visibility/profiles/visibility/amd64/parent deleted file mode 100644 index c41d9d1a..00000000 --- a/tests/repos/visibility/profiles/visibility/amd64/parent +++ /dev/null @@ -1 +0,0 @@ -../../arch/amd64 diff --git a/tests/repos/visibility/profiles/visibility/amd64/stable/package.mask b/tests/repos/visibility/profiles/visibility/amd64/stable/package.mask deleted file mode 100644 index 222e189a..00000000 --- a/tests/repos/visibility/profiles/visibility/amd64/stable/package.mask +++ /dev/null @@ -1,2 +0,0 @@ -NonsolvableDepsInDev/masked -NonsolvableDepsInExp/masked diff --git a/tests/repos/visibility/profiles/visibility/amd64/stable/parent b/tests/repos/visibility/profiles/visibility/amd64/stable/parent deleted file mode 100644 index f3229c5b..00000000 --- a/tests/repos/visibility/profiles/visibility/amd64/stable/parent +++ /dev/null @@ -1 +0,0 @@ -.. diff --git a/tests/repos/visibility/profiles/visibility/x86/dev/package.mask b/tests/repos/visibility/profiles/visibility/x86/dev/package.mask deleted file mode 100644 index 7beca93c..00000000 --- a/tests/repos/visibility/profiles/visibility/x86/dev/package.mask +++ /dev/null @@ -1,3 +0,0 @@ -NonsolvableDepsInExp/masked -NonsolvableDepsInStable/masked -NonsolvableDepsInStable/unstable diff --git a/tests/repos/visibility/profiles/visibility/x86/dev/parent b/tests/repos/visibility/profiles/visibility/x86/dev/parent deleted file mode 100644 index f3229c5b..00000000 --- a/tests/repos/visibility/profiles/visibility/x86/dev/parent +++ /dev/null @@ -1 +0,0 @@ -.. diff --git a/tests/repos/visibility/profiles/visibility/x86/exp/package.mask b/tests/repos/visibility/profiles/visibility/x86/exp/package.mask deleted file mode 100644 index 01aed272..00000000 --- a/tests/repos/visibility/profiles/visibility/x86/exp/package.mask +++ /dev/null @@ -1,3 +0,0 @@ -NonsolvableDepsInDev/masked -NonsolvableDepsInStable/masked -NonsolvableDepsInStable/unstable diff --git a/tests/repos/visibility/profiles/visibility/x86/exp/parent b/tests/repos/visibility/profiles/visibility/x86/exp/parent deleted file mode 100644 index f3229c5b..00000000 --- a/tests/repos/visibility/profiles/visibility/x86/exp/parent +++ /dev/null @@ -1 +0,0 @@ -.. diff --git a/tests/repos/visibility/profiles/visibility/x86/parent b/tests/repos/visibility/profiles/visibility/x86/parent deleted file mode 100644 index 5b6a2246..00000000 --- a/tests/repos/visibility/profiles/visibility/x86/parent +++ /dev/null @@ -1 +0,0 @@ -../../arch/x86 diff --git a/tests/repos/visibility/profiles/visibility/x86/stable/package.mask b/tests/repos/visibility/profiles/visibility/x86/stable/package.mask deleted file mode 100644 index 222e189a..00000000 --- a/tests/repos/visibility/profiles/visibility/x86/stable/package.mask +++ /dev/null @@ -1,2 +0,0 @@ -NonsolvableDepsInDev/masked -NonsolvableDepsInExp/masked diff --git a/tests/repos/visibility/profiles/visibility/x86/stable/parent b/tests/repos/visibility/profiles/visibility/x86/stable/parent deleted file mode 100644 index f3229c5b..00000000 --- a/tests/repos/visibility/profiles/visibility/x86/stable/parent +++ /dev/null @@ -1 +0,0 @@ -.. diff --git a/tests/repos/visibility/stub/deprecated/deprecated-0.ebuild b/tests/repos/visibility/stub/deprecated/deprecated-0.ebuild deleted file mode 100644 index d161bbfc..00000000 --- a/tests/repos/visibility/stub/deprecated/deprecated-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Stub ebuild that is deprecated" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 x86" diff --git a/tests/repos/visibility/stub/masked/masked-0.ebuild b/tests/repos/visibility/stub/masked/masked-0.ebuild deleted file mode 100644 index 069c3b4c..00000000 --- a/tests/repos/visibility/stub/masked/masked-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Stub ebuild that is package.mask-ed" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 x86" diff --git a/tests/repos/visibility/stub/stable/stable-0.ebuild b/tests/repos/visibility/stub/stable/stable-0.ebuild deleted file mode 100644 index 42a612d1..00000000 --- a/tests/repos/visibility/stub/stable/stable-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Stub ebuild that is stable" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 x86" diff --git a/tests/repos/visibility/stub/unstable/unstable-0.ebuild b/tests/repos/visibility/stub/unstable/unstable-0.ebuild deleted file mode 100644 index acdf63cc..00000000 --- a/tests/repos/visibility/stub/unstable/unstable-0.ebuild +++ /dev/null @@ -1,5 +0,0 @@ -DESCRIPTION="Stub ebuild that is unstable" -HOMEPAGE="https://github.com/pkgcore/pkgcheck" -SLOT="0" -LICENSE="BSD" -KEYWORDS="~amd64 ~x86" diff --git a/tests/module/scripts/__init__.py b/tests/scripts/__init__.py index e69de29b..e69de29b 100644 --- a/tests/module/scripts/__init__.py +++ b/tests/scripts/__init__.py diff --git a/tests/module/scripts/test_argparse_actions.py b/tests/scripts/test_argparse_actions.py index d46d4560..d46d4560 100644 --- a/tests/module/scripts/test_argparse_actions.py +++ b/tests/scripts/test_argparse_actions.py diff --git a/tests/module/scripts/test_pkgcheck.py b/tests/scripts/test_pkgcheck.py index da713496..da713496 100644 --- a/tests/module/scripts/test_pkgcheck.py +++ b/tests/scripts/test_pkgcheck.py diff --git a/tests/module/scripts/test_pkgcheck_cache.py b/tests/scripts/test_pkgcheck_cache.py index 8e8257dc..8e8257dc 100644 --- a/tests/module/scripts/test_pkgcheck_cache.py +++ b/tests/scripts/test_pkgcheck_cache.py diff --git a/tests/module/scripts/test_pkgcheck_ci.py b/tests/scripts/test_pkgcheck_ci.py index 2ac21d7c..2ac21d7c 100644 --- a/tests/module/scripts/test_pkgcheck_ci.py +++ b/tests/scripts/test_pkgcheck_ci.py diff --git a/tests/module/scripts/test_pkgcheck_replay.py b/tests/scripts/test_pkgcheck_replay.py index 08b1800c..30fa02e0 100644 --- a/tests/module/scripts/test_pkgcheck_replay.py +++ b/tests/scripts/test_pkgcheck_replay.py @@ -73,8 +73,7 @@ class TestPkgcheckReplay: assert excinfo.value.code == 2 def test_replay_pipe_stdin(self): - repo_dir = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(__file__)))) - script = os.path.join(repo_dir, 'bin', 'pkgcheck') + script = os.path.join(pytest.REPO_ROOT, 'bin', 'pkgcheck') result = ProfileWarning('profile warning: foo') with tempfile.NamedTemporaryFile() as f: out = PlainTextFormatter(f) diff --git a/tests/module/scripts/test_pkgcheck_scan.py b/tests/scripts/test_pkgcheck_scan.py index cc213066..c4c85cf4 100644 --- a/tests/module/scripts/test_pkgcheck_scan.py +++ b/tests/scripts/test_pkgcheck_scan.py @@ -321,9 +321,8 @@ class TestPkgcheckScan: script = partial(run, project) - testdir = os.path.dirname(os.path.dirname(os.path.dirname(__file__))) - repos_data = pjoin(testdir, 'data', 'repos') - repos_dir = pjoin(testdir, 'repos') + repos_data = pjoin(pytest.REPO_ROOT, 'testdata', 'data', 'repos') + repos_dir = pjoin(pytest.REPO_ROOT, 'testdata', 'repos') repos = tuple(x for x in sorted(os.listdir(repos_data)) if x != 'network') _all_results = [] diff --git a/tests/module/scripts/test_pkgcheck_show.py b/tests/scripts/test_pkgcheck_show.py index 4557ecfd..4557ecfd 100644 --- a/tests/module/scripts/test_pkgcheck_show.py +++ b/tests/scripts/test_pkgcheck_show.py diff --git a/tests/module/test_api.py b/tests/test_api.py index 58f9d179..58f9d179 100644 --- a/tests/module/test_api.py +++ b/tests/test_api.py diff --git a/tests/module/test_base.py b/tests/test_base.py index 7624e803..7624e803 100644 --- a/tests/module/test_base.py +++ b/tests/test_base.py diff --git a/tests/module/test_cli.py b/tests/test_cli.py index 4ad8011d..4ad8011d 100644 --- a/tests/module/test_cli.py +++ b/tests/test_cli.py diff --git a/tests/module/test_feeds.py b/tests/test_feeds.py index 04bf31d3..04bf31d3 100644 --- a/tests/module/test_feeds.py +++ b/tests/test_feeds.py diff --git a/tests/module/test_reporters.py b/tests/test_reporters.py index 24763adf..24763adf 100644 --- a/tests/module/test_reporters.py +++ b/tests/test_reporters.py |