Date: Wed, 28 Mar 2018 13:09:43 +0000 (UTC) From: Dan Langille <dvl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465806 - in head/textproc: . p5-YAML-PP Message-ID: <201803281309.w2SD9hiU055507@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dvl Date: Wed Mar 28 13:09:43 2018 New Revision: 465806 URL: https://svnweb.freebsd.org/changeset/ports/465806 Log: Add Yet Another YAML Framework, which aims to parse YAML 1.2 and conform to the spc. Added: head/textproc/p5-YAML-PP/ head/textproc/p5-YAML-PP/Makefile (contents, props changed) head/textproc/p5-YAML-PP/distinfo (contents, props changed) head/textproc/p5-YAML-PP/pkg-descr (contents, props changed) head/textproc/p5-YAML-PP/pkg-plist (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Wed Mar 28 13:05:54 2018 (r465805) +++ head/textproc/Makefile Wed Mar 28 13:09:43 2018 (r465806) @@ -1146,6 +1146,7 @@ SUBDIR += p5-XML-XUpdate-LibXML SUBDIR += p5-YAML SUBDIR += p5-YAML-LibYAML + SUBDIR += p5-YAML-PP SUBDIR += p5-YAML-Shell SUBDIR += p5-YAML-Syck SUBDIR += p5-YAML-Tiny Added: head/textproc/p5-YAML-PP/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-YAML-PP/Makefile Wed Mar 28 13:09:43 2018 (r465806) @@ -0,0 +1,15 @@ +# $FreeBSD$ + +PORTNAME= YAML-PP +PORTVERSION= 0.005 +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 + +USES= perl5 +USE_PERL5= configure + +.include <bsd.port.mk> Added: head/textproc/p5-YAML-PP/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-YAML-PP/distinfo Wed Mar 28 13:09:43 2018 (r465806) @@ -0,0 +1,3 @@ +TIMESTAMP = 1522241881 +SHA256 (YAML-PP-0.005.tar.gz) = 91c2a2022489a00ad68c6d7a788aacee1a474f44ab22735fd699d6034a317640 +SIZE (YAML-PP-0.005.tar.gz) = 109473 Added: head/textproc/p5-YAML-PP/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-YAML-PP/pkg-descr Wed Mar 28 13:09:43 2018 (r465806) @@ -0,0 +1,20 @@ +WARNING: This is highly experimental. + +Here are a few examples of what you can do right now: + + my $yppl = YAML::PP::Loader->new; + my @documents = $yppl->load_string($yaml); + + # 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); + +WWW: https://github.com/perlpunk/YAML-PP-p5 Added: head/textproc/p5-YAML-PP/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/p5-YAML-PP/pkg-plist Wed Mar 28 13:09:43 2018 (r465806) @@ -0,0 +1,18 @@ +bin/yamlpp5-events +bin/yamlpp5-highlight +bin/yamlpp5-load +bin/yamlpp5-load-dump +%%SITE_PERL%%/YAML/PP.pm +%%SITE_PERL%%/YAML/PP/Constructor.pm +%%SITE_PERL%%/YAML/PP/Dumper.pm +%%SITE_PERL%%/YAML/PP/Emitter.pm +%%SITE_PERL%%/YAML/PP/Exception.pm +%%SITE_PERL%%/YAML/PP/Grammar.pm +%%SITE_PERL%%/YAML/PP/Highlight.pm +%%SITE_PERL%%/YAML/PP/Lexer.pm +%%SITE_PERL%%/YAML/PP/Loader.pm +%%SITE_PERL%%/YAML/PP/Parser.pm +%%SITE_PERL%%/YAML/PP/Reader.pm +%%SITE_PERL%%/YAML/PP/Render.pm +%%PERL5_MAN3%%/YAML::PP.3.gz +%%PERL5_MAN3%%/YAML::PP::Grammar.3.gz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803281309.w2SD9hiU055507>