# HG changeset patch # User Hans-G?nter Theisgen # Date 1641102651 -3600 # Node ID f9c7aea3d4f2d207ecbe11a6b6d691572a8bc8a0 # Parent 0971f54dd46bc403203a23b736b1b1c73d1c59a7 updated perl-json-pp (4.04 -> 4.07) diff -r 0971f54dd46b -r f9c7aea3d4f2 perl-json-pp/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-json-pp/description.txt Sun Jan 02 06:50:51 2022 +0100 @@ -0,0 +1,16 @@ +JSON::PP is a pure perl JSON decoder and encoder, and (almost) compatible +to much faster JSON::XS written by Marc Lehmann in C. +JSON::PP works as a fallback module when you use JSON module without +having installed JSON::XS. + +Because of this fallback feature of JSON.pm, JSON::PP tries not to be +more JavaScript-friendly than JSON::XS (i.e. not to escape extra +characters such as U+2028 and U+2029, etc), in order for you not to lose +such JavaScript-friendliness silently when you use JSON.pm and install +JSON::XS for speed or by accident. +If you need JavaScript-friendly RFC7159-compliant pure perl module, +try JSON::Tiny, which is derived from Mojolicious web framework and is +also smaller and faster than JSON::PP. + +JSON::PP has been in the Perl core since Perl 5.14, mainly for CPAN +toolchain modules to parse META.json. diff -r 0971f54dd46b -r f9c7aea3d4f2 perl-json-pp/receipt --- a/perl-json-pp/receipt Sun Jan 02 06:47:59 2022 +0100 +++ b/perl-json-pp/receipt Sun Jan 02 06:50:51 2022 +0100 @@ -1,12 +1,13 @@ # SliTaz package receipt. PACKAGE="perl-json-pp" -VERSION="4.04" +VERSION="4.07" CATEGORY="development" SHORT_DESC="Perl extension JSON::PP." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL" -WEB_SITE="https://metacpan.org/release/JSON-PP" +WEB_SITE="https://metacpan.org/pod/JSON::PP" +REPOLOGY="perl:json-pp" SOURCE="JSON-PP" TARBALL="$SOURCE-$VERSION.tar.gz" @@ -26,12 +27,11 @@ { perl Makefile.PL && make && - make DESTDIR=$DESTDIR install + make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr - cp -a $install/usr/lib $fs/usr + cook_copy_folders lib }