summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2025-01-06 21:49:02 +0100
committerSebastian Pipping <sping@gentoo.org>2025-01-06 21:52:59 +0100
commit90cf79ba60978b19164c9dc3879e51c192087a40 (patch)
treee757770eb6dd135943f2b12a949595ef444ee7bd /dev-util/lcov
parentdev-ada/e3-core: keyword 22.6.0-r2 for ~arm64 (diff)
downloadgentoo-90cf79ba60978b19164c9dc3879e51c192087a40.tar.gz
gentoo-90cf79ba60978b19164c9dc3879e51c192087a40.tar.bz2
gentoo-90cf79ba60978b19164c9dc3879e51c192087a40.zip
dev-util/lcov: Improve fix to bug #922908
There was no need to let test dependencies take away flexibility from runtime dependencies. Closes: https://bugs.gentoo.org/922908 Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Diffstat (limited to 'dev-util/lcov')
-rw-r--r--dev-util/lcov/lcov-2.0-r2.ebuild8
-rw-r--r--dev-util/lcov/lcov-9999.ebuild8
2 files changed, 14 insertions, 2 deletions
diff --git a/dev-util/lcov/lcov-2.0-r2.ebuild b/dev-util/lcov/lcov-2.0-r2.ebuild
index 4f1d674040e2..12bd336df596 100644
--- a/dev-util/lcov/lcov-2.0-r2.ebuild
+++ b/dev-util/lcov/lcov-2.0-r2.ebuild
@@ -27,13 +27,19 @@ RDEPEND="
dev-lang/perl
dev-perl/Capture-Tiny
dev-perl/DateTime
- dev-perl/JSON
+ || (
+ dev-perl/JSON-XS
+ dev-perl/Cpanel-JSON-XS
+ virtual/perl-JSON-PP
+ dev-perl/JSON
+ )
dev-perl/PerlIO-gzip
"
BDEPEND="
test? (
${RDEPEND}
dev-perl/GD
+ dev-perl/JSON
$(python_gen_any_dep '
dev-python/xlsxwriter[${PYTHON_USEDEP}]
')
diff --git a/dev-util/lcov/lcov-9999.ebuild b/dev-util/lcov/lcov-9999.ebuild
index 2f56081aa256..add2c688f074 100644
--- a/dev-util/lcov/lcov-9999.ebuild
+++ b/dev-util/lcov/lcov-9999.ebuild
@@ -27,13 +27,19 @@ RDEPEND="
dev-lang/perl
dev-perl/Capture-Tiny
dev-perl/DateTime
- dev-perl/JSON
+ || (
+ dev-perl/JSON-XS
+ dev-perl/Cpanel-JSON-XS
+ virtual/perl-JSON-PP
+ dev-perl/JSON
+ )
dev-perl/PerlIO-gzip
"
BDEPEND="
test? (
${RDEPEND}
dev-perl/GD
+ dev-perl/JSON
$(python_gen_any_dep '
dev-python/xlsxwriter[${PYTHON_USEDEP}]
')