Thu Feb 6 12:34:51 2014 UTC ()
Updated converters/p5-JSON to 2.90

## JSON version 2.9 #####################################################

CAUTION!!!
INCOMPATIBLE CHANGE

JSON.pm had patched JSON::XS::Boolean and JSON::PP::Boolean internally
on loading time for making these modules inherit JSON::Boolean.
But since JSON::XS v3.0 it use Types::Serialiser as boolean class.
Then now JSON.pm breaks boolean classe overload features and
-support_by_pp if JSON::XS v3.0 or later is installed.

JSON::true and JSON::false returned JSON::Boolean objects.
For workaround, they return JSON::PP::Boolean objects in this version.

    isa_ok(JSON::true, 'JSON::PP::Boolean');

And it discards a feature:

    ok(JSON::true eq 'true');

In other word, JSON::PP::Boolean overload numeric only.

    ok( JSON::true == 1 );

##########################################################################

2.90  Wed Oct 30 19:48:43 2013

	**** Please see to the headline in this file. ****

	- workaround for JSON::XS version 3.0 or later installed case.

	  * the objects returned by JSON::true/false are JSON::PP::Boolean.
	  * they do not overload 'eq'.

	- changed test cases for this patch.

	   t/e02_bool.t
	   t/e03_bool2.t
	   t/x17_strange_overload.t
	   t/xe02_bool.t
	   t/xe03_bool2.t
	   t/xe12_boolean.t

	**** Please see to the headline in this file. ****

2.61  Thu Oct 17 19:38:55 2013
	- fixed return/or in _incr_parse
	  reported and patched by MAUKE, sprout and rjbs
	  https://rt.cpan.org/Public/Bug/Display.html?id=86948

2.60
	- $json->is_xs, $json->is_pp was completely broken.
	    pointed by rt#75867 and emceelam


(abs)
diff -r1.23 -r1.24 pkgsrc/converters/p5-JSON/Makefile
diff -r1.17 -r1.18 pkgsrc/converters/p5-JSON/distinfo

cvs diff -r1.23 -r1.24 pkgsrc/converters/p5-JSON/Makefile (expand / switch to unified diff)

--- pkgsrc/converters/p5-JSON/Makefile 2013/07/03 13:38:50 1.23
+++ pkgsrc/converters/p5-JSON/Makefile 2014/02/06 12:34:51 1.24
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.23 2013/07/03 13:38:50 sno Exp $ 1# $NetBSD: Makefile,v 1.24 2014/02/06 12:34:51 abs Exp $
2 2
3DISTNAME= JSON-2.59 3DISTNAME= JSON-2.90
4PKGNAME= p5-${DISTNAME} 4PKGNAME= p5-${DISTNAME}
5CATEGORIES= www perl5 converters 5CATEGORIES= www perl5 converters
6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=JSON/} 6MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=JSON/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://search.cpan.org/dist/JSON/ 9HOMEPAGE= http://search.cpan.org/dist/JSON/
10COMMENT= Perl module converts between JSON and Perl data structure 10COMMENT= Perl module converts between JSON and Perl data structure
11LICENSE= ${PERL5_LICENSE} 11LICENSE= ${PERL5_LICENSE}
12 12
13PERL5_PACKLIST= auto/JSON/.packlist 13PERL5_PACKLIST= auto/JSON/.packlist
14 14
15.include "../../lang/perl5/module.mk" 15.include "../../lang/perl5/module.mk"
16.include "../../mk/bsd.pkg.mk" 16.include "../../mk/bsd.pkg.mk"

cvs diff -r1.17 -r1.18 pkgsrc/converters/p5-JSON/distinfo (expand / switch to unified diff)

--- pkgsrc/converters/p5-JSON/distinfo 2013/07/03 13:38:50 1.17
+++ pkgsrc/converters/p5-JSON/distinfo 2014/02/06 12:34:51 1.18
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.17 2013/07/03 13:38:50 sno Exp $ 1$NetBSD: distinfo,v 1.18 2014/02/06 12:34:51 abs Exp $
2 2
3SHA1 (JSON-2.59.tar.gz) = 8a82c442088ffa0d605747fd5e65f51e037aad94 3SHA1 (JSON-2.90.tar.gz) = 8f0ffe72cbe9e6287d7ecafcf19b31cc297364c2
4RMD160 (JSON-2.59.tar.gz) = 74d0fac60af9ad206755f4996c32884f9291a1c7 4RMD160 (JSON-2.90.tar.gz) = 629becc378221dadbd01162c26dabec2ea7550cc
5Size (JSON-2.59.tar.gz) = 83997 bytes 5Size (JSON-2.90.tar.gz) = 85333 bytes