pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/p5-Data-ShowTable Update 3.3 to 4.6



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80269db674cd
branches:  trunk
changeset: 648505:80269db674cd
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Mar 15 13:37:08 2015 +0000

description:
Update 3.3 to 4.6
(Initial import was 3.3, and this is the first version update after that,
and following Changes File inserted below is not really sure for diffs, but)
---------------------------------------------------------------------------
Modified "ShowTable.pm":

  Added "showmode" argument to ShowTableValue so it could handle HTML
  embedded text correctly.  ShowTableValue now uses a string substitution
  "%s" for any values with embedded HTML tokens, even if defined as an
  integer or real.

  Changed how URLs work: now %K and %V are substituted into the URL
  corresponding to the given field name key.  No other insertions are
  done, so the URL is completely specified by the user otherwise.

  Added tableAttrs argument to ShowHTMLTable allowing other stuff to be
  inserted within the TABLE token (ie: <TABLE $table_attrs>).

  Changed the regexp in &PlainText to avoid the multiple null string
  matches.

  Changed htmltext to substitute blanks if the optional second argument
  is non-null (which is used when creating URLs).

  Allow column indexes, as well as column names, to be mapped to URLs.

  Added %I (column index) key to the url substitutions.

  Removed Sys::OutPut usage.  Added "put" and "out" subs directly.

  Fixed small documentation problems.

Modified "showtable":

  Added -urls option to support URL mappings for fields.

  Added -attributes option to support table_attributes argument.

Added Changes file.

Added t/html-urls.t test file.

diffstat:

 devel/p5-Data-ShowTable/Makefile         |   5 ++---
 devel/p5-Data-ShowTable/distinfo         |   9 ++++-----
 devel/p5-Data-ShowTable/patches/patch-aa |  13 -------------
 3 files changed, 6 insertions(+), 21 deletions(-)

diffs (45 lines):

diff -r a9af36390ddf -r 80269db674cd devel/p5-Data-ShowTable/Makefile
--- a/devel/p5-Data-ShowTable/Makefile  Sun Mar 15 13:29:52 2015 +0000
+++ b/devel/p5-Data-ShowTable/Makefile  Sun Mar 15 13:37:08 2015 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.24 2014/10/09 14:06:15 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2015/03/15 13:37:08 mef Exp $
 
-DISTNAME=      Data-ShowTable-3.3
+DISTNAME=      Data-ShowTable-4.6
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   10
 CATEGORIES=    devel perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Data/}
 
diff -r a9af36390ddf -r 80269db674cd devel/p5-Data-ShowTable/distinfo
--- a/devel/p5-Data-ShowTable/distinfo  Sun Mar 15 13:29:52 2015 +0000
+++ b/devel/p5-Data-ShowTable/distinfo  Sun Mar 15 13:37:08 2015 +0000
@@ -1,6 +1,5 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 22:24:24 agc Exp $
+$NetBSD: distinfo,v 1.4 2015/03/15 13:37:08 mef Exp $
 
-SHA1 (Data-ShowTable-3.3.tar.gz) = f8adb78d8eb3c012fe692632b08518ece513fb4d
-RMD160 (Data-ShowTable-3.3.tar.gz) = 8df2944653cf96731728a87af6e004f990bde793
-Size (Data-ShowTable-3.3.tar.gz) = 94369 bytes
-SHA1 (patch-aa) = 6970446aaedd817df35bd3ec4b15fe741be0c5db
+SHA1 (Data-ShowTable-4.6.tar.gz) = 70a5d4107645cd1f82457237a8173c2d1d8d27fe
+RMD160 (Data-ShowTable-4.6.tar.gz) = b9cc7fe24e6306599e9551f573bc545f7efa9421
+Size (Data-ShowTable-4.6.tar.gz) = 60826 bytes
diff -r a9af36390ddf -r 80269db674cd devel/p5-Data-ShowTable/patches/patch-aa
--- a/devel/p5-Data-ShowTable/patches/patch-aa  Sun Mar 15 13:29:52 2015 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2000/08/28 23:35:57 jlam Exp $
-
---- ShowTable.pm.orig  Sun Mar  2 17:04:50 1997
-+++ ShowTable.pm
-@@ -721,7 +721,7 @@
- 
- S<  >B<ShowHTMLTable> I<\@titles>, I<\@types>, I<\@widths>, I<\&row_sub>
- [, I<\&fmt_sub> [, I<$max_width> [, I<\%URL_Keys> [, I<$no_escape> 
--[, I<\@title_formats [, I<\@data_formats [, I<$table_attrs> ] ] ] ] ] ] ];
-+[, I<\@title_formats> [, I<\@data_formats> [, I<$table_attrs> ] ] ] ] ] ] ];
- 
- The B<ShowHTMLTable> displays one or more rows of columns of data using
- the HTML C<\<TABLE\>> feature.  In addition to the usual parameter arguments



Home | Main Index | Thread Index | Old Index