pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/p5-Pod-Tree PkgSrc changes:
details: https://anonhg.NetBSD.org/pkgsrc/rev/23df529e73d9
branches: trunk
changeset: 392028:23df529e73d9
user: sno <sno%pkgsrc.org@localhost>
date: Fri Apr 24 07:20:45 2009 +0000
description:
PkgSrc changes:
- Updating package for p5 module Pod::Tree to 1.16 from 1.15
- Removing patches (applied upstream)
Upstream changes:
1.16 2009 Apr 10
Pod::Tree::HTML
- fix to work with IO::File 1.13 (RT 34755, 38307)
mod2html
- added to distribution
Makefile.PL
- added all required modules to PREREQ_PM
diffstat:
textproc/p5-Pod-Tree/Makefile | 7 ++--
textproc/p5-Pod-Tree/distinfo | 11 ++----
textproc/p5-Pod-Tree/patches/patch-ab | 26 ------------------
textproc/p5-Pod-Tree/patches/patch-ac | 50 -----------------------------------
textproc/p5-Pod-Tree/patches/patch-ad | 11 -------
5 files changed, 7 insertions(+), 98 deletions(-)
diffs (140 lines):
diff -r d4688ec5b613 -r 23df529e73d9 textproc/p5-Pod-Tree/Makefile
--- a/textproc/p5-Pod-Tree/Makefile Fri Apr 24 07:07:31 2009 +0000
+++ b/textproc/p5-Pod-Tree/Makefile Fri Apr 24 07:20:45 2009 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.5 2008/10/19 19:18:55 he Exp $
+# $NetBSD: Makefile,v 1.6 2009/04/24 07:20:45 sno Exp $
-DISTNAME= Pod-Tree-1.15
+DISTNAME= Pod-Tree-1.16
PKGNAME= p5-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= textproc devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Pod/}
@@ -13,9 +12,9 @@
PKG_DESTDIR_SUPPORT= user-destdir
DEPENDS+= p5-HTML-Stream>=1.49:../../www/p5-HTML-Stream
+DEPENDS+= p5-IO-String-[0-9]*:../../devel/p5-IO-String
DEPENDS+= p5-Pod-Escapes>=1.02:../../textproc/p5-Pod-Escapes
DEPENDS+= p5-Text-Template>=1.0:../../textproc/p5-Text-Template
-DEPENDS+= p5-IO-String-[0-9]*:../../devel/p5-IO-String
PERL5_PACKLIST= auto/Pod/Tree/.packlist
diff -r d4688ec5b613 -r 23df529e73d9 textproc/p5-Pod-Tree/distinfo
--- a/textproc/p5-Pod-Tree/distinfo Fri Apr 24 07:07:31 2009 +0000
+++ b/textproc/p5-Pod-Tree/distinfo Fri Apr 24 07:20:45 2009 +0000
@@ -1,8 +1,5 @@
-$NetBSD: distinfo,v 1.3 2008/08/07 23:26:01 he Exp $
+$NetBSD: distinfo,v 1.4 2009/04/24 07:20:45 sno Exp $
-SHA1 (Pod-Tree-1.15.tar.gz) = 408227e0ae5e828b9fce79c65f9aefc2ef7969fd
-RMD160 (Pod-Tree-1.15.tar.gz) = fb6e5bace9fbd91e4f05b171b583defcdd677b26
-Size (Pod-Tree-1.15.tar.gz) = 65505 bytes
-SHA1 (patch-ab) = 5b03d559a10071232b1ac162393d71ec42ce9cd7
-SHA1 (patch-ac) = e935edd9ca7eecc68b2d4fc0eea9795ecc1f594c
-SHA1 (patch-ad) = d3b22d9ed8f92930b6fa3244511c2fc69a2cac09
+SHA1 (Pod-Tree-1.16.tar.gz) = c3aca18309b21068dea66cd30bc732165441c03f
+RMD160 (Pod-Tree-1.16.tar.gz) = fe4edd8f7193e4b1f28484b9d905fdc099021eee
+Size (Pod-Tree-1.16.tar.gz) = 67067 bytes
diff -r d4688ec5b613 -r 23df529e73d9 textproc/p5-Pod-Tree/patches/patch-ab
--- a/textproc/p5-Pod-Tree/patches/patch-ab Fri Apr 24 07:07:31 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2008/08/07 23:26:01 he Exp $
-
---- lib/Pod/Tree/HTML.pm.orig 2007-06-24 16:51:41.000000000 +0200
-+++ lib/Pod/Tree/HTML.pm
-@@ -5,6 +5,7 @@
- use strict;
- use HTML::Stream;
- use IO::File;
-+use IO::String;
- use Pod::Tree;
- use Text::Template;
-
-@@ -120,7 +121,12 @@ sub _resolve_dest
- isa($dest, 'IO::File' ) and return ($dest, new HTML::Stream $dest);
- can($dest, 'print' ) and return ($dest, new HTML::Stream $dest);
-
-- if (ref $dest eq 'SCALAR' or ref $dest eq '' and $dest)
-+ if (ref $dest eq 'SCALAR')
-+ {
-+ my $fh = new IO::String $dest;
-+ return ($fh, new HTML::Stream $fh);
-+ }
-+ if (ref $dest eq '' and $dest)
- {
- my $fh = new IO::File;
- $fh->open($dest, '>') or die "Pod::Tree::HTML::new: Can't open $dest: $!\n";
diff -r d4688ec5b613 -r 23df529e73d9 textproc/p5-Pod-Tree/patches/patch-ac
--- a/textproc/p5-Pod-Tree/patches/patch-ac Fri Apr 24 07:07:31 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,50 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2008/08/07 23:26:01 he Exp $
-
---- t/html.t.orig 2007-06-24 16:57:52.000000000 +0200
-+++ t/html.t
-@@ -3,6 +3,7 @@
- use strict;
- use diagnostics;
- use HTML::Stream;
-+use IO::String;
- use Pod::Tree;
- use Pod::Tree::HTML;
-
-@@ -97,7 +98,7 @@ sub Dest1
- $html->translate;
-
- my $expected = ReadFile("$Dir/paragraph.exp");
-- $$actual eq $expected or Not; OK;
-+ ${$actual->string_ref} eq $expected or Not; OK;
- }
-
- sub Dest2
-@@ -122,7 +123,7 @@ sub Dest3
- $html->translate;
-
- my $expected = ReadFile("$Dir/paragraph.exp");
-- my $actual = $$string;
-+ my $actual = ${$string->string_ref};
- $actual eq $expected or Not; OK;
- }
-
-@@ -265,19 +266,3 @@ sub WriteFile
- close FILE;
- chmod 0644, $file or die "Can't chmod $file: $!\n";
- }
--
--
--package IO::String;
--
--sub new
--{
-- my $self = '';
-- bless \$self, shift;
--}
--
--sub print
--{
-- my $self = shift;
-- $$self .= join('', @_);
--}
--
diff -r d4688ec5b613 -r 23df529e73d9 textproc/p5-Pod-Tree/patches/patch-ad
--- a/textproc/p5-Pod-Tree/patches/patch-ad Fri Apr 24 07:07:31 2009 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2008/08/07 23:26:01 he Exp $
-
---- Makefile.PL.orig 2008-08-08 01:02:27.000000000 +0200
-+++ Makefile.PL
-@@ -16,5 +16,6 @@ WriteMakefile(NAME => 'Pod::Tree',
- EXE_FILES => [qw(podtree2html pods2html perl2html)],
- PREREQ_PM => { HTML::Stream => 1.49,
- Pod::Escapes => 1.02,
-+ IO::String => 0,
- Text::Template => 1 },
- );
Home |
Main Index |
Thread Index |
Old Index