p5-Text-RecordParser: update to 1.6.5

Also improve DESCR to mention optional depends and bundled utils.
Changelog:
https://metacpan.org/source/KCLARK/Text-RecordParser-1.6.5/Changes

OK afresh1@ sthen@
This commit is contained in:
cwen 2019-05-01 00:32:16 +00:00
parent b5b2ef07a8
commit 7033a6f5c8
4 changed files with 30 additions and 24 deletions

View File

@ -1,25 +1,26 @@
# $OpenBSD: Makefile,v 1.13 2016/03/20 19:57:10 naddy Exp $
# $OpenBSD: Makefile,v 1.14 2019/05/01 00:32:16 cwen Exp $
COMMENT= parse records in CSV-like formats
MODULES= cpan
PKG_ARCH= *
DISTNAME= Text-RecordParser-v1.5.0
PKGNAME= p5-Text-RecordParser-1.5.0
DISTNAME= Text-RecordParser-1.6.5
CATEGORIES= textproc devel
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= devel/p5-List-MoreUtils \
devel/p5-Readonly \
devel/p5-Class-Accessor \
devel/p5-IO-stringy
RUN_DEPENDS= devel/p5-Class-Accessor \
devel/p5-IO-stringy \
devel/p5-List-MoreUtils \
devel/p5-Readonly \
textproc/p5-Text-Autoformat
TEST_DEPENDS=devel/p5-Test-Exception \
textproc/p5-Text-TabularDisplay
TEST_DEPENDS= devel/p5-Test-Exception \
textproc/p5-Text-TabularDisplay
CONFIGURE_STYLE= modbuild
MAKE_ENV += TEST_POD=Yes
CONFIGURE_STYLE= modinst
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (Text-RecordParser-v1.5.0.tar.gz) = VR45G0q90QYZEJx3dq8rdsQDxDnxwbFHtEpeK726nH4=
SIZE (Text-RecordParser-v1.5.0.tar.gz) = 72369
SHA256 (Text-RecordParser-1.6.5.tar.gz) = 2juBQUxj+NkhjRFnRaiLlIxGyYsYdjT2KYkuVAAbw1o=
SIZE (Text-RecordParser-1.6.5.tar.gz) = 83653

View File

@ -1,9 +1,15 @@
Text::RecordParser is used to read record-oriented data in a delimited text
file. The most common example have records separated by newlines and
fields separated by commas or tabs, but this module aims at providing a
consistent interface for handling sequential records in a file in more
generality. Typically the first record lists the field names,
in which case you should call "bind_header" to bind the field names.
If the first line contains data, you can still bind your own field names via
"bind_fields". In both cases, you may afterwards use many methods to get
at the data as arrays or hashes.
Text::RecordParser reads record-oriented data in a delimited text
file. The most common example have records separated by newlines
and fields separated by commas or tabs, but this module aims to
provide a consistent interface for handling sequential records in
a file however they may be delimited.
This module also includes three tools:
- tab2graph: turn tabular data into a graph (requires p5-GraphViz)
- tablify: turn a delimited text file into a text table (requires
p5-Text-TabularDisplay)
- tabmerge: unify delimited files on common fields (requires
p5-Text-TabularDisplay)

View File

@ -1,8 +1,7 @@
@comment $OpenBSD: PLIST,v 1.2 2011/01/07 09:59:09 benoit Exp $
@comment $OpenBSD: PLIST,v 1.3 2019/05/01 00:32:16 cwen Exp $
bin/tab2graph
bin/tablify
bin/tabmerge
${P5SITE}/Text/
${P5SITE}/Text/RecordParser/
${P5SITE}/Text/RecordParser.pm
${P5SITE}/Text/RecordParser/Object.pm