From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Oct 19 03:20:23 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E27F316A40F for ; Thu, 19 Oct 2006 03:20:23 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2F9843D5D for ; Thu, 19 Oct 2006 03:20:22 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k9J3KMcv081132 for ; Thu, 19 Oct 2006 03:20:22 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k9J3KMoY081131; Thu, 19 Oct 2006 03:20:22 GMT (envelope-from gnats) Resent-Date: Thu, 19 Oct 2006 03:20:22 GMT Resent-Message-Id: <200610190320.k9J3KMoY081131@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jin-Shan Tseng Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B017016A416 for ; Thu, 19 Oct 2006 03:19:03 +0000 (UTC) (envelope-from tjs@pluto.cdpa.nsysu.edu.tw) Received: from pluto.cdpa.nsysu.edu.tw (Pluto.CDPA.nsysu.edu.tw [140.117.205.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3E80543D55 for ; Thu, 19 Oct 2006 03:19:03 +0000 (GMT) (envelope-from tjs@pluto.cdpa.nsysu.edu.tw) Received: from pluto.cdpa.nsysu.edu.tw (localhost [127.0.0.1]) by pluto.cdpa.nsysu.edu.tw (8.13.8/8.13.8) with ESMTP id k9J3IsFR064795 for ; Thu, 19 Oct 2006 11:18:54 +0800 (CST) (envelope-from tjs@pluto.cdpa.nsysu.edu.tw) Received: (from root@localhost) by pluto.cdpa.nsysu.edu.tw (8.13.8/8.13.8/Submit) id k9J3IsuL064794; Thu, 19 Oct 2006 11:18:54 +0800 (CST) (envelope-from tjs) Message-Id: <200610190318.k9J3IsuL064794@pluto.cdpa.nsysu.edu.tw> Date: Thu, 19 Oct 2006 11:18:54 +0800 (CST) From: Jin-Shan Tseng To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/104559: [NEW PORT] textproc/p5-Parse-CSV: Highly flexible CVS parser for large files X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Oct 2006 03:20:24 -0000 >Number: 104559 >Category: ports >Synopsis: [NEW PORT] textproc/p5-Parse-CSV: Highly flexible CVS parser for large files >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Oct 19 03:20:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Jin-Shan Tseng >Release: FreeBSD 6.2-PRERELEASE i386 >Organization: FreeBSD @ Taiwan >Environment: System: FreeBSD Pluto.CDPA.nsysu.edu.tw 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Thu Oct 12 11:54:24 CST 2006 >Description: Surely the CPAN doesn't need yet another CSV parsing module. Text::CSV_XS is the standard parser for CSV files. It is fast as hell, but unfortunately it can be a bit verbose to use. A number of other modules have attempted to put usability wrappers around this venerable module, but they have all focussed on parsing the entire file into memory at once. This method is fine unless your CSV files start to get large. Once that happens, the only existing option is to fall back on the relatively slow and heavyweight XML::SAXDriver::CSV module. Parse::CSV fills this functionality gap. It provides a flexible and light-weight streaming parser for large, extremely large, or arbitrarily large CSV files. WWW: http://search.cpan.org/dist/Parse-CSV/ Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Parse-CSV-1.00.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # p5-Parse-CSV # p5-Parse-CSV/pkg-descr # p5-Parse-CSV/Makefile # p5-Parse-CSV/pkg-plist # p5-Parse-CSV/distinfo # echo c - p5-Parse-CSV mkdir -p p5-Parse-CSV > /dev/null 2>&1 echo x - p5-Parse-CSV/pkg-descr sed 's/^X//' >p5-Parse-CSV/pkg-descr << 'END-of-p5-Parse-CSV/pkg-descr' XSurely the CPAN doesn't need yet another CSV parsing module. X XText::CSV_XS is the standard parser for CSV files. It is fast Xas hell, but unfortunately it can be a bit verbose to use. X XA number of other modules have attempted to put usability Xwrappers around this venerable module, but they have all Xfocussed on parsing the entire file into memory at once. X XThis method is fine unless your CSV files start to get large. XOnce that happens, the only existing option is to fall back Xon the relatively slow and heavyweight XML::SAXDriver::CSV Xmodule. X XParse::CSV fills this functionality gap. It provides a flexible Xand light-weight streaming parser for large, extremely large, Xor arbitrarily large CSV files. X XWWW: http://search.cpan.org/dist/Parse-CSV/ END-of-p5-Parse-CSV/pkg-descr echo x - p5-Parse-CSV/Makefile sed 's/^X//' >p5-Parse-CSV/Makefile << 'END-of-p5-Parse-CSV/Makefile' X# New ports collection makefile for: p5-Parse-CSV X# Date created: 2006-10-19 X# Whom: Jin-Shan Tseng X# X# $FreeBSD$ X# X XPORTNAME= Parse-CSV XPORTVERSION= 1.00 XCATEGORIES= textproc perl5 XMASTER_SITES= ${MASTER_SITE_PERL_CPAN} XMASTER_SITE_SUBDIR= Parse XPKGNAMEPREFIX= p5- X XMAINTAINER= tjs@cdpa.nsysu.edu.tw XCOMMENT= Highly flexible CVS parser for large files X XRUN_DEPENDS= p5-Text-CSV_XS>=0.23:${PORTSDIR}/textproc/p5-Text-CSV_XS \ X p5-Params-Util>=0.17:${PORTSDIR}/devel/p5-Params-Util X XPERL_CONFIGURE= yes X XMAN3= Parse::CSV.3 X X.include END-of-p5-Parse-CSV/Makefile echo x - p5-Parse-CSV/pkg-plist sed 's/^X//' >p5-Parse-CSV/pkg-plist << 'END-of-p5-Parse-CSV/pkg-plist' X@comment $FreeBSD$ X%%SITE_PERL%%/Parse/CSV.pm X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse/CSV/.packlist X@dirrmtry %%SITE_PERL%%/Parse X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse/CSV X@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse END-of-p5-Parse-CSV/pkg-plist echo x - p5-Parse-CSV/distinfo sed 's/^X//' >p5-Parse-CSV/distinfo << 'END-of-p5-Parse-CSV/distinfo' XMD5 (Parse-CSV-1.00.tar.gz) = 16089fae987c5d52c0a13acdfc478632 XSHA256 (Parse-CSV-1.00.tar.gz) = 2328a28e58929d2bfdcd143aa4c3c03400e25b4aac7c4969885e81d2bba04442 XSIZE (Parse-CSV-1.00.tar.gz) = 25448 END-of-p5-Parse-CSV/distinfo exit --- p5-Parse-CSV-1.00.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: