commit: e8d1d5f77a1ebf6a73a72caf106c00d612771750
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 23 06:13:09 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 23 06:13:09 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8d1d5f7
perl-core/Test-Simple: fix circular dependency
This is exposed by updating to EAPI 8 here, as perl-module.eclass has
different behaviour for it and will add a BDEPEND on virtual/perl-Test-Simple.
(perl-core/Test-Simple-1.302.208:0/0::gentoo, ebuild scheduled for merge)
depends on
(virtual/perl-Test-Simple-1.302.208:0/0::gentoo, ebuild scheduled for merge)
(buildtime)
(perl-core/Test-Simple-1.302.208:0/0::gentoo, ebuild scheduled for merge)
(runtime)
Just set GENTOO_DEPEND_ON_PERL=noslotop to avoid that here and manually
add the Perl := dep instead.
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{Test-Simple-1.302.208.ebuild => Test-Simple-1.302.208-r1.ebuild} | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/perl-core/Test-Simple/Test-Simple-1.302.208.ebuild
b/perl-core/Test-Simple/Test-Simple-1.302.208-r1.ebuild
similarity index 91%
rename from perl-core/Test-Simple/Test-Simple-1.302.208.ebuild
rename to perl-core/Test-Simple/Test-Simple-1.302.208-r1.ebuild
index cd9ce57e8647..16ae2b8f3d36 100644
--- a/perl-core/Test-Simple/Test-Simple-1.302.208.ebuild
+++ b/perl-core/Test-Simple/Test-Simple-1.302.208-r1.ebuild
@@ -6,6 +6,8 @@ EAPI=8
DIST_AUTHOR=EXODIST
DIST_VERSION=1.302208
DIST_EXAMPLES=("examples/*")
+# Avoid circular dependency in eclass on virtual/perl-Test-Simple
+GENTOO_DEPEND_ON_PERL=noslotop
inherit perl-module
DESCRIPTION="Basic utilities for writing tests"
@@ -14,6 +16,7 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64
~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos
~x64-macos ~x64-solaris"
RDEPEND="
+ dev-lang/perl:=
!<dev-perl/Test-Tester-0.114.0
!<dev-perl/Test-use-ok-0.160.0
!<=dev-perl/Log-Dispatch-Config-TestLog-0.20.0
@@ -44,5 +47,6 @@ RDEPEND="
"
BDEPEND="
${RDEPEND}
+ dev-lang/perl:=
virtual/perl-ExtUtils-MakeMaker
"