1
0
Fork 0
Browse Source

textproc/p5-YAML-PP: upgrade to 0.031.

PR:		261466
Reported by:	Danilo G. Baio
Approved by:	maintainer (dvl)
main
Dag-Erling Smørgrav 7 months ago
parent
commit
fc0f13453d
  1. 3
      textproc/p5-YAML-PP/Makefile
  2. 6
      textproc/p5-YAML-PP/distinfo
  3. 21
      textproc/p5-YAML-PP/pkg-descr
  4. 20
      textproc/p5-YAML-PP/pkg-message
  5. 10
      textproc/p5-YAML-PP/pkg-plist

3
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-

6
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

21
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

20
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
}
]

10
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

Loading…
Cancel
Save