pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Data-Dump Import devel/Data-Dump-1.06



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae230d6ce098
branches:  trunk
changeset: 517411:ae230d6ce098
user:      abs <abs%pkgsrc.org@localhost>
date:      Thu Aug 10 14:15:29 2006 +0000

description:
Import devel/Data-Dump-1.06
This module provides a single function called dump() that takes a
list of values as its argument and produces a string as its result.
The string contains Perl code that, when evaled, produces a deep
copy of the original arguments. The string is formatted for easy
reading.

If dump() is called in a void context, then the dump is printed on
STDERR instead of being returned.

If you don't like importing a function that overrides Perl's
not-so-useful builtin, then you can also import the same function
as pp(), mnemonic for "pretty-print".

diffstat:

 devel/p5-Data-Dump/DESCR    |  12 ++++++++++++
 devel/p5-Data-Dump/Makefile |  19 +++++++++++++++++++
 devel/p5-Data-Dump/PLIST    |   1 +
 devel/p5-Data-Dump/distinfo |   5 +++++
 4 files changed, 37 insertions(+), 0 deletions(-)

diffs (53 lines):

diff -r 0d013fabd6e2 -r ae230d6ce098 devel/p5-Data-Dump/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Data-Dump/DESCR  Thu Aug 10 14:15:29 2006 +0000
@@ -0,0 +1,12 @@
+This module provides a single function called dump() that takes a
+list of values as its argument and produces a string as its result.
+The string contains Perl code that, when evaled, produces a deep
+copy of the original arguments. The string is formatted for easy
+reading.
+
+If dump() is called in a void context, then the dump is printed on
+STDERR instead of being returned.
+
+If you don't like importing a function that overrides Perl's
+not-so-useful builtin, then you can also import the same function
+as pp(), mnemonic for "pretty-print".
diff -r 0d013fabd6e2 -r ae230d6ce098 devel/p5-Data-Dump/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Data-Dump/Makefile       Thu Aug 10 14:15:29 2006 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/08/10 14:15:29 abs Exp $
+#
+
+DISTNAME=              Data-Dump-1.06
+PKGNAME=               p5-${DISTNAME}
+CATEGORIES=            devel perl5
+MASTER_SITES=          ${MASTER_SITE_PERL_CPAN:=Data/}
+
+MAINTAINER=            abs%NetBSD.org@localhost
+HOMEPAGE=              http://search.cpan.org/dist/Data-Dump/
+COMMENT=               Pretty printing of data structures
+
+PKG_INSTALLATION_TYPES=        overwrite pkgviews
+
+USE_LANGUAGES=         # empty
+PERL5_PACKLIST=                auto/Data/Dump/.packlist
+
+.include "../../lang/perl5/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 0d013fabd6e2 -r ae230d6ce098 devel/p5-Data-Dump/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Data-Dump/PLIST  Thu Aug 10 14:15:29 2006 +0000
@@ -0,0 +1,1 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/08/10 14:15:29 abs Exp $
diff -r 0d013fabd6e2 -r ae230d6ce098 devel/p5-Data-Dump/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/p5-Data-Dump/distinfo       Thu Aug 10 14:15:29 2006 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2006/08/10 14:15:29 abs Exp $
+
+SHA1 (Data-Dump-1.06.tar.gz) = 61f49e90d69d4f2da8dc2f8ec6f224c1da45d136
+RMD160 (Data-Dump-1.06.tar.gz) = a681f923f1e5331ee9930ad5dbdc60b81c8e54b1
+Size (Data-Dump-1.06.tar.gz) = 9816 bytes



Home | Main Index | Thread Index | Old Index