diff options
author | sno <sno@pkgsrc.org> | 2009-04-24 07:20:45 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-04-24 07:20:45 +0000 |
commit | c1fd1e87ce6688afb693b68547b12d4382939f00 (patch) | |
tree | 4fbb4b6bc8878409811b4f4904134f6cdbde7065 /textproc | |
parent | 9366428159cb6075fde26b931c65f79cf5150b17 (diff) | |
download | pkgsrc-c1fd1e87ce6688afb693b68547b12d4382939f00.tar.gz |
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 (limited to 'textproc')
-rw-r--r-- | textproc/p5-Pod-Tree/Makefile | 7 | ||||
-rw-r--r-- | textproc/p5-Pod-Tree/distinfo | 11 | ||||
-rw-r--r-- | textproc/p5-Pod-Tree/patches/patch-ab | 26 | ||||
-rw-r--r-- | textproc/p5-Pod-Tree/patches/patch-ac | 50 | ||||
-rw-r--r-- | textproc/p5-Pod-Tree/patches/patch-ad | 11 |
5 files changed, 7 insertions, 98 deletions
diff --git a/textproc/p5-Pod-Tree/Makefile b/textproc/p5-Pod-Tree/Makefile index 33e8d5ee51c..0d2f51389f3 100644 --- a/textproc/p5-Pod-Tree/Makefile +++ b/textproc/p5-Pod-Tree/Makefile @@ -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 @@ COMMENT= Create a static syntax tree for a POD 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 --git a/textproc/p5-Pod-Tree/distinfo b/textproc/p5-Pod-Tree/distinfo index 1d64b502e5c..889816a0a1b 100644 --- a/textproc/p5-Pod-Tree/distinfo +++ b/textproc/p5-Pod-Tree/distinfo @@ -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 --git a/textproc/p5-Pod-Tree/patches/patch-ab b/textproc/p5-Pod-Tree/patches/patch-ab deleted file mode 100644 index 77d7ec06fad..00000000000 --- a/textproc/p5-Pod-Tree/patches/patch-ab +++ /dev/null @@ -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 --git a/textproc/p5-Pod-Tree/patches/patch-ac b/textproc/p5-Pod-Tree/patches/patch-ac deleted file mode 100644 index 6419921f3b1..00000000000 --- a/textproc/p5-Pod-Tree/patches/patch-ac +++ /dev/null @@ -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 --git a/textproc/p5-Pod-Tree/patches/patch-ad b/textproc/p5-Pod-Tree/patches/patch-ad deleted file mode 100644 index 85fde7b57c6..00000000000 --- a/textproc/p5-Pod-Tree/patches/patch-ad +++ /dev/null @@ -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 }, - ); |