diff options
author | Arthur Zamarin <arthurzam@gentoo.org> | 2023-12-10 22:08:21 +0200 |
---|---|---|
committer | Arthur Zamarin <arthurzam@gentoo.org> | 2023-12-10 22:08:21 +0200 |
commit | 4776408e959fdde32f05b9dc57141cdf890406c3 (patch) | |
tree | 61b30f58d7826d8d8caa980a1a04ef71b6004cf7 /testdata/repos | |
parent | OutdatedProfilePackage: don't warn when version was removed not long ago (diff) | |
download | pkgcheck-4776408e959fdde32f05b9dc57141cdf890406c3.tar.gz pkgcheck-4776408e959fdde32f05b9dc57141cdf890406c3.tar.bz2 pkgcheck-4776408e959fdde32f05b9dc57141cdf890406c3.zip |
DeprecatedDep: fix mishandling of slotted deprecates
Resolves: https://github.com/pkgcore/pkgcheck/issues/642
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'testdata/repos')
4 files changed, 5 insertions, 4 deletions
diff --git a/testdata/repos/visibility/DeprecatedDep/nonoptional/nonoptional-0.ebuild b/testdata/repos/visibility/DeprecatedDep/nonoptional/nonoptional-0.ebuild index 91ea8552..5e5aa2b7 100644 --- a/testdata/repos/visibility/DeprecatedDep/nonoptional/nonoptional-0.ebuild +++ b/testdata/repos/visibility/DeprecatedDep/nonoptional/nonoptional-0.ebuild @@ -4,4 +4,4 @@ HOMEPAGE="https://github.com/pkgcore/pkgcheck" SLOT="0" LICENSE="BSD" KEYWORDS="~amd64" -RDEPEND="stub/deprecated" +RDEPEND="stub/deprecated:0" diff --git a/testdata/repos/visibility/DeprecatedDep/optional/optional-0.ebuild b/testdata/repos/visibility/DeprecatedDep/optional/optional-0.ebuild index 5daadc44..9be9564e 100644 --- a/testdata/repos/visibility/DeprecatedDep/optional/optional-0.ebuild +++ b/testdata/repos/visibility/DeprecatedDep/optional/optional-0.ebuild @@ -5,6 +5,6 @@ SLOT="0" LICENSE="BSD" KEYWORDS="~amd64" RDEPEND=" - !stub/deprecated - || ( stub/unstable stub/deprecated ) + !stub/deprecated:0 + || ( stub/unstable stub/deprecated:0 ) " diff --git a/testdata/repos/visibility/profiles/eapi b/testdata/repos/visibility/profiles/eapi new file mode 100644 index 00000000..7ed6ff82 --- /dev/null +++ b/testdata/repos/visibility/profiles/eapi @@ -0,0 +1 @@ +5 diff --git a/testdata/repos/visibility/profiles/package.deprecated b/testdata/repos/visibility/profiles/package.deprecated index e1527132..13a5a90b 100644 --- a/testdata/repos/visibility/profiles/package.deprecated +++ b/testdata/repos/visibility/profiles/package.deprecated @@ -1 +1 @@ -stub/deprecated +stub/deprecated:0 |