summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/JSON-Any/JSON-Any-1.400.0.ebuild')
-rw-r--r--dev-perl/JSON-Any/JSON-Any-1.400.0.ebuild46
1 files changed, 46 insertions, 0 deletions
diff --git a/dev-perl/JSON-Any/JSON-Any-1.400.0.ebuild b/dev-perl/JSON-Any/JSON-Any-1.400.0.ebuild
new file mode 100644
index 000000000000..87c8753c987f
--- /dev/null
+++ b/dev-perl/JSON-Any/JSON-Any-1.400.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DIST_AUTHOR=ETHER
+DIST_VERSION=1.40
+inherit perl-module
+
+DESCRIPTION="Wrapper Class for the various JSON classes (DEPRECATED)"
+
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+
+RDEPEND="
+ virtual/perl-Carp
+ || (
+ >=dev-perl/JSON-XS-2.3
+ virtual/perl-JSON-PP
+ dev-perl/JSON
+ )
+"
+BDEPEND="
+ ${RDEPEND}
+ >=virtual/perl-CPAN-Meta-Requirements-2.120.620
+ virtual/perl-ExtUtils-MakeMaker
+ test? (
+ virtual/perl-Data-Dumper
+ virtual/perl-File-Spec
+ virtual/perl-Module-Metadata
+ virtual/perl-Storable
+ dev-perl/Test-Fatal
+ dev-perl/Test-Needs
+ virtual/perl-Test-Simple
+ >=dev-perl/Test-Warnings-0.9.0
+ dev-perl/Test-Without-Module
+ )
+"
+
+PERL_RM_FILES=(
+ # With 1.400.0, fails as "Failed test 'trapped a failure because of a non-reference'"
+ # https://rt.cpan.org/Public/Bug/Display.html?id=127753
+ # https://github.com/karenetheridge/JSON-Any/pull/2
+ # bug #807316
+ t/04-ENV.t
+)