From owner-svn-ports-all@FreeBSD.ORG Wed Jul 10 16:13:02 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 3683F685; Wed, 10 Jul 2013 16:13:02 +0000 (UTC) (envelope-from tj@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 2926C1B20; Wed, 10 Jul 2013 16:13:02 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r6AGD2B7096806; Wed, 10 Jul 2013 16:13:02 GMT (envelope-from tj@svn.freebsd.org) Received: (from tj@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r6AGD1Cd096797; Wed, 10 Jul 2013 16:13:01 GMT (envelope-from tj@svn.freebsd.org) Message-Id: <201307101613.r6AGD1Cd096797@svn.freebsd.org> From: Tom Judge Date: Wed, 10 Jul 2013 16:13:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r322708 - in head/textproc: . p5-Text-CSV-Hashify X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Jul 2013 16:13:02 -0000 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@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@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 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 +@dirrm %%SITE_PERL%%/mach/auto/Text/CSV/Hashify +@dirrmtry %%SITE_PERL%%/mach/auto/Text/CSV +@dirrmtry %%SITE_PERL%%/mach/auto/Text +@dirrmtry %%SITE_PERL%%/Text/CSV +@dirrmtry %%SITE_PERL%%/Text