summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-09-12 01:15:39 +0100
committerSam James <sam@gentoo.org>2023-09-12 01:26:15 +0100
commit6ede38ff76694af78ce7f741ac5fe8c0ad4a2dcc (patch)
tree59ef8b2ae55be274cabfccf1722d5e73a1ed113c /dev-perl/JSON-Any
parentdev-perl/HTTP-BrowserDetect: add 3.390.0 (diff)
downloadgentoo-6ede38ff76694af78ce7f741ac5fe8c0ad4a2dcc.tar.gz
gentoo-6ede38ff76694af78ce7f741ac5fe8c0ad4a2dcc.tar.bz2
gentoo-6ede38ff76694af78ce7f741ac5fe8c0ad4a2dcc.zip
dev-perl/JSON-Any: add 1.400.0
Skip the ENV test as it's broken (see upstream refs in ebuild). Closes: https://bugs.gentoo.org/807316 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-perl/JSON-Any')
-rw-r--r--dev-perl/JSON-Any/JSON-Any-1.400.0.ebuild46
-rw-r--r--dev-perl/JSON-Any/Manifest1
2 files changed, 47 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
+)
diff --git a/dev-perl/JSON-Any/Manifest b/dev-perl/JSON-Any/Manifest
index 4bbb3a843fb5..105b1eefd9aa 100644
--- a/dev-perl/JSON-Any/Manifest
+++ b/dev-perl/JSON-Any/Manifest
@@ -1 +1,2 @@
DIST JSON-Any-1.39.tar.gz 35890 BLAKE2B 7498dea7c32462125802243ba3d7526c589d26b0c59f1dc922b7535caf851e77410a4ad13d8f02f11dd2df36df9f4f3be5fb547d8b3aa1411782b67d4c7d665f SHA512 a4e9494ef650fe6f0144fddad49962e717470390b5783ab7bed6ef1c34fa7aa3d4f8699b9967ec8ca8813f43ee8c1d594e5af4d4962929791aa95b470104cd9b
+DIST JSON-Any-1.40.tar.gz 40670 BLAKE2B f2f0c1e369586760bdee15264db998c0cd9ea2f7fc6efabdd147e4c9e14403f249a0dc82284ca12284926b041909cc5489279bb2b59c6e6ff9adf36767c8c9d1 SHA512 1fd4c892175660fade685d635c090ff76f57ae044a09e4baf84f1096aa1fde80e7d9c8282f47e93b0525fce42520b1512c25b76fec0fb7eca4b597f2b040a797