mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
Add p5-Parse-CSV 1.00, highly flexible CVS parser for large files.
PR: ports/104559 Submitted by: Jin-Shan Tseng <tjs at cdpa.nsysu.edu.tw>
This commit is contained in:
parent
cf429403cc
commit
4e8eca8e54
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=175970
5 changed files with 54 additions and 0 deletions
|
@ -400,6 +400,7 @@
|
|||
SUBDIR += p5-POSIX-Regex
|
||||
SUBDIR += p5-PPI
|
||||
SUBDIR += p5-PPI-HTML
|
||||
SUBDIR += p5-Parse-CSV
|
||||
SUBDIR += p5-Parse-FixedLength
|
||||
SUBDIR += p5-Parse-Flex
|
||||
SUBDIR += p5-Parse-PhoneNumber
|
||||
|
|
25
textproc/p5-Parse-CSV/Makefile
Normal file
25
textproc/p5-Parse-CSV/Makefile
Normal file
|
@ -0,0 +1,25 @@
|
|||
# New ports collection makefile for: p5-Parse-CSV
|
||||
# Date created: 2006-10-19
|
||||
# Whom: Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= Parse-CSV
|
||||
PORTVERSION= 1.00
|
||||
CATEGORIES= textproc perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= Parse
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= tjs@cdpa.nsysu.edu.tw
|
||||
COMMENT= Highly flexible CVS parser for large files
|
||||
|
||||
RUN_DEPENDS= p5-Text-CSV_XS>=0.23:${PORTSDIR}/textproc/p5-Text-CSV_XS \
|
||||
p5-Params-Util>=0.17:${PORTSDIR}/devel/p5-Params-Util
|
||||
|
||||
PERL_CONFIGURE= yes
|
||||
|
||||
MAN3= Parse::CSV.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
textproc/p5-Parse-CSV/distinfo
Normal file
3
textproc/p5-Parse-CSV/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (Parse-CSV-1.00.tar.gz) = 16089fae987c5d52c0a13acdfc478632
|
||||
SHA256 (Parse-CSV-1.00.tar.gz) = 2328a28e58929d2bfdcd143aa4c3c03400e25b4aac7c4969885e81d2bba04442
|
||||
SIZE (Parse-CSV-1.00.tar.gz) = 25448
|
19
textproc/p5-Parse-CSV/pkg-descr
Normal file
19
textproc/p5-Parse-CSV/pkg-descr
Normal file
|
@ -0,0 +1,19 @@
|
|||
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/
|
6
textproc/p5-Parse-CSV/pkg-plist
Normal file
6
textproc/p5-Parse-CSV/pkg-plist
Normal file
|
@ -0,0 +1,6 @@
|
|||
@comment $FreeBSD$
|
||||
%%SITE_PERL%%/Parse/CSV.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse/CSV/.packlist
|
||||
@dirrmtry %%SITE_PERL%%/Parse
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse/CSV
|
||||
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Parse
|
Loading…
Add table
Reference in a new issue