svn commit: r322708 - in head/textproc: . p5-Text-CSV-Hashify
Tom Judge
tj at FreeBSD.org
Wed Jul 10 16:13:02 UTC 2013
Author: tj
Date: Wed Jul 10 16:13:00 2013
New Revision: 322708
URL: http://svnweb.freebsd.org/changeset/ports/322708
Log:
New port: textproc/p5-Text-CSV-Hashify
Perl module for turning CSV files into Hashes.
WWW: http://search.cpan.org/dist/Text-CSV-Hashify/
Added:
head/textproc/p5-Text-CSV-Hashify/
head/textproc/p5-Text-CSV-Hashify/Makefile (contents, props changed)
head/textproc/p5-Text-CSV-Hashify/distinfo (contents, props changed)
head/textproc/p5-Text-CSV-Hashify/pkg-descr (contents, props changed)
head/textproc/p5-Text-CSV-Hashify/pkg-plist (contents, props changed)
Modified:
head/textproc/Makefile
Modified: head/textproc/Makefile
==============================================================================
--- head/textproc/Makefile Wed Jul 10 16:06:33 2013 (r322707)
+++ head/textproc/Makefile Wed Jul 10 16:13:00 2013 (r322708)
@@ -771,6 +771,7 @@
SUBDIR += p5-Text-Brew
SUBDIR += p5-Text-CSV
SUBDIR += p5-Text-CSV-Encoded
+ SUBDIR += p5-Text-CSV-Hashify
SUBDIR += p5-Text-CSV-Simple
SUBDIR += p5-Text-CSV_XS
SUBDIR += p5-Text-Capitalize
Added: head/textproc/p5-Text-CSV-Hashify/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-Text-CSV-Hashify/Makefile Wed Jul 10 16:13:00 2013 (r322708)
@@ -0,0 +1,21 @@
+# Created by: tj at FreeBSD.org
+# $FreeBSD$
+
+PORTNAME= Text-CSV-Hashify
+PORTVERSION= 0.05
+CATEGORIES= textproc perl5
+MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:JKEENAN
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= tj at FreeBSD.org
+COMMENT= Composition and decomposition of comma-separated values into hashes
+
+BUILD_DEPENDS= p5-Text-CSV>=0:${PORTSDIR}/textproc/p5-Text-CSV
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Text::CSV::Hashify.3
+
+.include <bsd.port.mk>
Added: head/textproc/p5-Text-CSV-Hashify/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-Text-CSV-Hashify/distinfo Wed Jul 10 16:13:00 2013 (r322708)
@@ -0,0 +1,2 @@
+SHA256 (Text-CSV-Hashify-0.05.tar.gz) = f4c2ab560207f29e4c336ac17441170c373510512fae4a9f7c8df155874a3d05
+SIZE (Text-CSV-Hashify-0.05.tar.gz) = 17870
Added: head/textproc/p5-Text-CSV-Hashify/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-Text-CSV-Hashify/pkg-descr Wed Jul 10 16:13:00 2013 (r322708)
@@ -0,0 +1,12 @@
+Text::CSV::Hashify is designed for the case where you simply want to turn a CSV
+file into a Perl hash. In particular, it is designed for the case where (a) the
+CSV file's first record is a list of fields in the ancestral database table and
+(b) one field (column) of which functions as a primary key, i.e., each record's
+entry in that field is distinct from every other record's entry therein.
+
+Text::CSV::Hashify turns that kind of CSV file into one big hash of hashes.
+Elements of this hash are keyed on the entries in the designated primary key
+field and the value for each element is a hash reference of all the data in a
+particular database record (including the primary key field and its value).
+
+WWW: http://search.cpan.org/dist/Text-CSV-Hashify/
Added: head/textproc/p5-Text-CSV-Hashify/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/p5-Text-CSV-Hashify/pkg-plist Wed Jul 10 16:13:00 2013 (r322708)
@@ -0,0 +1,7 @@
+%%SITE_PERL%%/Text/CSV/Hashify.pm
+%%SITE_PERL%%/mach/auto/Text/CSV/Hashify/.packlist
+ at dirrm %%SITE_PERL%%/mach/auto/Text/CSV/Hashify
+ at dirrmtry %%SITE_PERL%%/mach/auto/Text/CSV
+ at dirrmtry %%SITE_PERL%%/mach/auto/Text
+ at dirrmtry %%SITE_PERL%%/Text/CSV
+ at dirrmtry %%SITE_PERL%%/Text
More information about the svn-ports-head
mailing list