Hi ports, 

Here is an update for Text::RecordParser.

What's new upstream [0]:

- Made output of "tablify -v" prettier using Text::Autoformat
- There are distribution changes: remove 'v' in version, also use
  Module::Install, and more.


What's new in the port: 

- Rewrote DESCR, as there was room for improvement: mention optional 
  dependencies and that it installs end-user tools
- keep textproc/p5-Text-TabularDisplay as a test only dependency,
  it's not strictly necessary to the runtime, and now users are 
  informed in a more civilised way than a Perl error message :)
- The PLIST change is due to textproc/p5-Text-Autoformat being added to 
  RUN_DEPENDS, it gets ${P5SITE}/Text/ from textproc/p5-Text-Reform.


Testing: 

- 'make test' passes. The warning was already here with 1.5.0.
- There are 27 consumers, there is no new failures [1] due to this
  update.

Comments/feedback are welcome! 


Charlène.


[0] https://metacpan.org/source/KCLARK/Text-RecordParser-1.6.5/Changes
[1] http://0x0.st/zc-V.tgz


Index: Makefile
===================================================================
RCS file: /cvs/ports/textproc/p5-Text-RecordParser/Makefile,v
retrieving revision 1.13
diff -u -p -u -p -r1.13 Makefile
--- Makefile    20 Mar 2016 19:57:10 -0000      1.13
+++ Makefile    29 Apr 2019 18:45:10 -0000
@@ -4,22 +4,23 @@ COMMENT=      parse records in CSV-like form
 
 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>
Index: distinfo
===================================================================
RCS file: /cvs/ports/textproc/p5-Text-RecordParser/distinfo,v
retrieving revision 1.4
diff -u -p -u -p -r1.4 distinfo
--- distinfo    18 Jan 2015 03:15:26 -0000      1.4
+++ distinfo    29 Apr 2019 18:45:10 -0000
@@ -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
Index: pkg/DESCR
===================================================================
RCS file: /cvs/ports/textproc/p5-Text-RecordParser/pkg/DESCR,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 DESCR
--- pkg/DESCR   15 Apr 2010 14:29:17 -0000      1.2
+++ pkg/DESCR   29 Apr 2019 18:45:10 -0000
@@ -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)
+
+
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/textproc/p5-Text-RecordParser/pkg/PLIST,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 PLIST
--- pkg/PLIST   7 Jan 2011 09:59:09 -0000       1.2
+++ pkg/PLIST   29 Apr 2019 18:45:10 -0000
@@ -2,7 +2,6 @@
 bin/tab2graph
 bin/tablify
 bin/tabmerge
-${P5SITE}/Text/
 ${P5SITE}/Text/RecordParser/
 ${P5SITE}/Text/RecordParser.pm
 ${P5SITE}/Text/RecordParser/Object.pm

Reply via email to