Date: Sun, 30 Jan 2022 23:09:17 GMT From: =?utf-8?Q?Dag-Erling Sm=C3=B8rgrav?= <des@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: fc0f13453d8d - main - textproc/p5-YAML-PP: upgrade to 0.031. Message-ID: <202201302309.20UN9HET017105@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by des: URL: https://cgit.FreeBSD.org/ports/commit/?id=fc0f13453d8daa4f44dd6616ef2372e5482afa84 commit fc0f13453d8daa4f44dd6616ef2372e5482afa84 Author: Dag-Erling Smørgrav <des@FreeBSD.org> AuthorDate: 2022-01-28 12:38:02 +0000 Commit: Dag-Erling Smørgrav <des@FreeBSD.org> CommitDate: 2022-01-30 23:08:02 +0000 textproc/p5-YAML-PP: upgrade to 0.031. PR: 261466 Reported by: Danilo G. Baio Approved by: maintainer (dvl) --- textproc/p5-YAML-PP/Makefile | 3 +-- textproc/p5-YAML-PP/distinfo | 6 +++--- textproc/p5-YAML-PP/pkg-descr | 21 ++++++--------------- textproc/p5-YAML-PP/pkg-message | 20 ++++++++++++++++++++ textproc/p5-YAML-PP/pkg-plist | 10 +++++----- 5 files changed, 35 insertions(+), 25 deletions(-) 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,6 +1,5 @@ PORTNAME= YAML-PP -PORTVERSION= 0.020 -PORTREVISION= 1 +PORTVERSION= 0.031 CATEGORIES= textproc perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- 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: <<EOM +Scripts renamed from: + bin/yamlpp5-events + bin/yamlpp5-highlight + bin/yamlpp5-load + bin/yamlpp5-load-dump + bin/yamlpp5-parse-emit +to: + bin/yamlpp-events + bin/yamlpp-highlight + bin/yamlpp-load + bin/yamlpp-load-dump + bin/yamlpp-parse-emit +EOM +} +] diff --git a/textproc/p5-YAML-PP/pkg-plist b/textproc/p5-YAML-PP/pkg-plist index 994e05f7c1b3..29f73bef9402 100644 --- a/textproc/p5-YAML-PP/pkg-plist +++ b/textproc/p5-YAML-PP/pkg-plist @@ -1,8 +1,8 @@ -bin/yamlpp5-events -bin/yamlpp5-highlight -bin/yamlpp5-load -bin/yamlpp5-load-dump -bin/yamlpp5-parse-emit +bin/yamlpp-events +bin/yamlpp-highlight +bin/yamlpp-load +bin/yamlpp-load-dump +bin/yamlpp-parse-emit %%SITE_PERL%%/YAML/PP.pm %%SITE_PERL%%/YAML/PP/Common.pm %%SITE_PERL%%/YAML/PP/Constructor.pm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201302309.20UN9HET017105>