diff --git a/textproc/p5-YAML-PP/Makefile b/textproc/p5-YAML-PP/Makefile index 9f03d4fe035a..9fbe79f7c991 100644 --- a/textproc/p5-YAML-PP/Makefile +++ b/textproc/p5-YAML-PP/Makefile @@ -1,20 +1,19 @@ PORTNAME= YAML-PP -PORTVERSION= 0.020 -PORTREVISION= 1 +PORTVERSION= 0.031 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- MAINTAINER= dvl@FreeBSD.org COMMENT= YAML which aims to parse YAML 1.2 & conform to the spec LICENSE= ART10 GPLv1+ LICENSE_COMB= dual LICENSE_FILE= ${WRKSRC}/LICENSE USES= perl5 USE_PERL5= configure NO_ARCH= yes .include diff --git a/textproc/p5-YAML-PP/distinfo b/textproc/p5-YAML-PP/distinfo index 378212377722..d7a379c52816 100644 --- a/textproc/p5-YAML-PP/distinfo +++ b/textproc/p5-YAML-PP/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1582632282 -SHA256 (YAML-PP-0.020.tar.gz) = 3707d9a7402ca7d229ea0a87cf7e2a013fdb99b658fc249ee14072803b3874a7 -SIZE (YAML-PP-0.020.tar.gz) = 173229 +TIMESTAMP = 1643043335 +SHA256 (YAML-PP-0.031.tar.gz) = d7c837f732b023b67aa3666d14887f1cd756ce5c5bb6b07eee0b3701cf9e4cf8 +SIZE (YAML-PP-0.031.tar.gz) = 199191 diff --git a/textproc/p5-YAML-PP/pkg-descr b/textproc/p5-YAML-PP/pkg-descr index 245933ae1a1c..7956bba73cd8 100644 --- a/textproc/p5-YAML-PP/pkg-descr +++ b/textproc/p5-YAML-PP/pkg-descr @@ -1,20 +1,11 @@ -WARNING: This is highly experimental. +YAML::PP is a modular YAML processor for YAML 1.2. -Here are a few examples of what you can do right now: +Additionally to loading and dumping it provides a parser and emitter. The +parsing events are compatible to the YAML Test Suite and other libraries like +libyaml. - my $yppl = YAML::PP::Loader->new; - my @documents = $yppl->load_string($yaml); +Loading and Dumping can be customized. - # load file - my $yppl = YAML::PP::Loader->new; - my @documents = $yppl->load_file($filename); - - # The loader offers JSON::PP, boolean.pm or pureperl 1/0 (default) - # for booleans - my $yppl = YAML::PP::Loader->new(boolean => 'JSON::PP'); - my ($data1, $data2) = $yppl->load_string($yaml); - - my $yppd = YAML::PP::Dumper->new(); - my $yaml = $yppd->dump_string($data1, $data2); +It supports the YAML 1.2 Failsafe, JSON and Core Schemas. WWW: https://github.com/perlpunk/YAML-PP-p5 diff --git a/textproc/p5-YAML-PP/pkg-message b/textproc/p5-YAML-PP/pkg-message new file mode 100644 index 000000000000..ee90032f7a1c --- /dev/null +++ b/textproc/p5-YAML-PP/pkg-message @@ -0,0 +1,20 @@ +[ +{ + type: upgrade + maximum_version: "0.031" + message: <