1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add p5-Data-Dmp 0.240

Data::Dmp is a Perl dumper like Data::Dumper. It's compact (only about 200 lines
of code long), starts fast and does not use any non-core modules except
Regexp::Stringify when dumping regexes. It produces compact single-line output
(similar to Data::Dumper::Concise). It roughly has the same speed as
Data::Dumper (usually a bit faster for smaller structures) and faster than
Data::Dump, but does not offer the various formatting options. It supports
dumping objects, regexes, circular structures, coderefs. Its code is first based
on Data::Dump: I removed all the parts that I don't need, particularly the
pretty formatting stuffs) and added some features that I need like proper regex
dumping and coderef deparsing.

WWW: https://metacpan.org/release/Data-Dmp
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2021-02-01 19:20:24 +00:00
parent a19d07980f
commit 754156f382
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=563611
5 changed files with 43 additions and 0 deletions

View File

@ -2012,6 +2012,7 @@
SUBDIR += p5-Data-Clone
SUBDIR += p5-Data-Compare
SUBDIR += p5-Data-Diver
SUBDIR += p5-Data-Dmp
SUBDIR += p5-Data-Domain
SUBDIR += p5-Data-Dump
SUBDIR += p5-Data-Dump-Color

View File

@ -0,0 +1,25 @@
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= Data-Dmp
PORTVERSION= 0.240
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Dump Perl data structures as Perl code
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
LICENSE_FILE= ${WRKSRC}/LICENSE
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= p5-Regexp-Stringify>=0:devel/p5-Regexp-Stringify
USES= perl5
USE_PERL5= configure
NO_ARCH= yes
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1612101538
SHA256 (Data-Dmp-0.240.tar.gz) = 5514c811d6fb708ef9a5930144dd4b76c1ccfe243be94423e2e55fc4a29c0f59
SIZE (Data-Dmp-0.240.tar.gz) = 21548

View File

@ -0,0 +1,12 @@
Data::Dmp is a Perl dumper like Data::Dumper. It's compact (only about 200 lines
of code long), starts fast and does not use any non-core modules except
Regexp::Stringify when dumping regexes. It produces compact single-line output
(similar to Data::Dumper::Concise). It roughly has the same speed as
Data::Dumper (usually a bit faster for smaller structures) and faster than
Data::Dump, but does not offer the various formatting options. It supports
dumping objects, regexes, circular structures, coderefs. Its code is first based
on Data::Dump: I removed all the parts that I don't need, particularly the
pretty formatting stuffs) and added some features that I need like proper regex
dumping and coderef deparsing.
WWW: https://metacpan.org/release/Data-Dmp

View File

@ -0,0 +1,2 @@
%%SITE_PERL%%/Data/Dmp.pm
%%PERL5_MAN3%%/Data::Dmp.3.gz