# HG changeset patch # User Hans-Günter Theisgen # Date 1641102479 -3600 # Node ID 0971f54dd46bc403203a23b736b1b1c73d1c59a7 # Parent 99179f7971d431e548fe3e204822fea6f8598860 updated perl-json (4.02 -> 4.04) diff -r 99179f7971d4 -r 0971f54dd46b perl-json/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/perl-json/description.txt Sun Jan 02 06:47:59 2022 +0100 @@ -0,0 +1,17 @@ +This module is a thin wrapper for JSON::XS-compatible modules with +a few additional features. +All the backend modules convert a Perl data structure to a JSON text +and vice versa. +This module uses JSON::XS by default, and when JSON::XS is not available, +falls back on JSON::PP, which is in the Perl core since 5.14. +If JSON::PP is not available either, this module then falls back on +JSON::backportPP (which is actually JSON::PP in a different .pm file) +bundled in the same distribution as this module. +You can also explicitly specify to use Cpanel::JSON::XS, a fork of +JSON::XS by Reini Urban. + +All these backend modules have slight incompatibilities between them, +including extra features that other modules don't support, but as long as +you use only common features (most important ones are described below), +migration from backend to backend should be reasonably easy. +For details, see each backend module you use. diff -r 99179f7971d4 -r 0971f54dd46b perl-json/receipt --- a/perl-json/receipt Sun Jan 02 06:42:11 2022 +0100 +++ b/perl-json/receipt Sun Jan 02 06:47:59 2022 +0100 @@ -1,12 +1,13 @@ # SliTaz package receipt. PACKAGE="perl-json" -VERSION="4.02" +VERSION="4.04" CATEGORY="development" SHORT_DESC="Perl Module JSON." MAINTAINER="nneul@neulinger.org" -LICENSE="Artistic" -WEB_SITE="https://metacpan.org/release/JSON/" +LICENSE="GPL" +WEB_SITE="https://metacpan.org/pod/JSON" +REPOLOGY="perl:json" SOURCE="JSON" TARBALL="$SOURCE-$VERSION.tar.gz" @@ -26,15 +27,13 @@ { 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 # remove perllocal.pod and .packlist find $fs -name perllocal.pod -delete find $fs -name .packlist -delete