r51262 - in /trunk/libtext-multimarkdown-perl: Changes META.yml Makefile.PL debian/changelog debian/control lib/Text/MultiMarkdown.pm t/20fulldocs-text-multimarkdown.t t/35commandlinemultimarkdown.t

jawnsy-guest at users.alioth.debian.org jawnsy-guest at users.alioth.debian.org
Tue Jan 19 17:51:17 UTC 2010


Author: jawnsy-guest
Date: Tue Jan 19 17:51:07 2010
New Revision: 51262

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=51262
Log:
Upstream drops build-only dependency on File::Slurp
IGNORE-VERSION: 1.000032-1
* No longer depends on File::Slurp

Modified:
    trunk/libtext-multimarkdown-perl/Changes
    trunk/libtext-multimarkdown-perl/META.yml
    trunk/libtext-multimarkdown-perl/Makefile.PL
    trunk/libtext-multimarkdown-perl/debian/changelog
    trunk/libtext-multimarkdown-perl/debian/control
    trunk/libtext-multimarkdown-perl/lib/Text/MultiMarkdown.pm
    trunk/libtext-multimarkdown-perl/t/20fulldocs-text-multimarkdown.t
    trunk/libtext-multimarkdown-perl/t/35commandlinemultimarkdown.t

Modified: trunk/libtext-multimarkdown-perl/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/Changes?rev=51262&op=diff
==============================================================================
--- trunk/libtext-multimarkdown-perl/Changes (original)
+++ trunk/libtext-multimarkdown-perl/Changes Tue Jan 19 17:51:07 2010
@@ -1,4 +1,8 @@
 This file documents the revision history for Perl extension Text::MultiMarkdown.
+
+1.0.32 2010-12-19T10:31:00
+       - Removed File::Slurp dependency (v. 9999.13 fails tests on Strawberry
+         5.10.1) (dandv)
 
 1.0.31 2009-10-25T19:19:30
        - Version bump to depend on 2 part version number in latest
@@ -230,4 +234,3 @@
 
 1.0.0   2006-08-22T00:00:00
         - first release
-

Modified: trunk/libtext-multimarkdown-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/META.yml?rev=51262&op=diff
==============================================================================
--- trunk/libtext-multimarkdown-perl/META.yml (original)
+++ trunk/libtext-multimarkdown-perl/META.yml Tue Jan 19 17:51:07 2010
@@ -4,7 +4,6 @@
   - 'Tomas Doran <bobtfish at bobtfish.net>'
 build_requires:
   ExtUtils::MakeMaker: 6.42
-  File::Slurp: 9999.08
   FindBin: 0
   List::MoreUtils: 0
   Test::Exception: 0
@@ -32,4 +31,4 @@
   bugtracker: http://github.com/bobtfish/text-multimarkdown/issues
   license: http://opensource.org/licenses/bsd-license.php
   repository: http://github.com/bobtfish/text-multimarkdown/
-version: 1.000031
+version: 1.000032

Modified: trunk/libtext-multimarkdown-perl/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/Makefile.PL?rev=51262&op=diff
==============================================================================
--- trunk/libtext-multimarkdown-perl/Makefile.PL (original)
+++ trunk/libtext-multimarkdown-perl/Makefile.PL Tue Jan 19 17:51:07 2010
@@ -17,7 +17,6 @@
 build_requires  'Test::More'      => '0.42';
 build_requires  'Test::Exception' => undef;
 build_requires  'List::MoreUtils' => undef;
-build_requires  'File::Slurp'     => '9999.08';
 build_requires  'FindBin'         => undef;
 
 if ($Module::Install::AUTHOR) {
@@ -29,4 +28,3 @@
 prompt_script('script/MultiMarkdown.pl');
 
 WriteAll;
-

Modified: trunk/libtext-multimarkdown-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/debian/changelog?rev=51262&op=diff
==============================================================================
--- trunk/libtext-multimarkdown-perl/debian/changelog (original)
+++ trunk/libtext-multimarkdown-perl/debian/changelog Tue Jan 19 17:51:07 2010
@@ -1,12 +1,12 @@
-libtext-multimarkdown-perl (1.000031-1) UNRELEASED; urgency=low
+libtext-multimarkdown-perl (1.000032-1) UNRELEASED; urgency=low
 
-  Only changes version numbering scheme. It's strange that there
-  are now two tarballs bundled in the new upstream release.
-  IGNORE-VERSION: 1.000031-1
+  Upstream drops build-only dependency on File::Slurp
+  IGNORE-VERSION: 1.000032-1
 
   * New upstream release
+  * No longer depends on File::Slurp
 
- -- Jonathan Yu <jawnsy at cpan.org>  Sun, 25 Oct 2009 20:27:44 -0400
+ -- Jonathan Yu <jawnsy at cpan.org>  Tue, 19 Jan 2010 11:08:08 -0500
 
 libtext-multimarkdown-perl (1.0.30-1) unstable; urgency=low
 

Modified: trunk/libtext-multimarkdown-perl/debian/control
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/debian/control?rev=51262&op=diff
==============================================================================
--- trunk/libtext-multimarkdown-perl/debian/control (original)
+++ trunk/libtext-multimarkdown-perl/debian/control Tue Jan 19 17:51:07 2010
@@ -3,7 +3,7 @@
 Priority: optional
 Build-Depends: debhelper (>= 7.0.50), quilt (>= 0.46-7)
 Build-Depends-Indep: perl, libtest-exception-perl, liblist-moreutils-perl,
- libfile-slurp-perl, libtext-markdown-perl (>= 1.0.26), libtest-pod-coverage-perl,
+ libtext-markdown-perl (>= 1.0.26), libtest-pod-coverage-perl,
  libhtml-tidy-perl, libtest-pod-perl, libtext-diff-perl
 Maintainer: Debian Perl Group <pkg-perl-maintainers at lists.alioth.debian.org>
 Uploaders: Jonathan Yu <jawnsy at cpan.org>, gregor herrmann <gregoa at debian.org>

Modified: trunk/libtext-multimarkdown-perl/lib/Text/MultiMarkdown.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/lib/Text/MultiMarkdown.pm?rev=51262&op=diff
==============================================================================
--- trunk/libtext-multimarkdown-perl/lib/Text/MultiMarkdown.pm (original)
+++ trunk/libtext-multimarkdown-perl/lib/Text/MultiMarkdown.pm Tue Jan 19 17:51:07 2010
@@ -9,7 +9,7 @@
 use Carp        qw(croak);
 use base        qw(Text::Markdown);
 
-our $VERSION   = '1.000031'; # 1.0.31
+our $VERSION   = '1.000032'; # 1.0.32
 $VERSION = eval $VERSION;
 our @EXPORT_OK = qw(markdown);
 

Modified: trunk/libtext-multimarkdown-perl/t/20fulldocs-text-multimarkdown.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/t/20fulldocs-text-multimarkdown.t?rev=51262&op=diff
==============================================================================
--- trunk/libtext-multimarkdown-perl/t/20fulldocs-text-multimarkdown.t (original)
+++ trunk/libtext-multimarkdown-perl/t/20fulldocs-text-multimarkdown.t Tue Jan 19 17:51:07 2010
@@ -3,7 +3,6 @@
 use Test::More;
 use FindBin qw($Bin);
 use List::MoreUtils qw(uniq);
-use File::Slurp qw(slurp);
 use Encode;
 
 our $TIDY = 0;
@@ -76,6 +75,13 @@
     return @files;
 }
 
+sub slurp {
+    my ($filename) = @_;
+    open my $file, '<', $filename or die "Couldn't open $filename: $!";
+    local $/ = undef;
+    return <$file>;
+}    
+
 sub run_tests {
     my ($m, $docsdir, @files) = @_;
     foreach my $test (@files) {

Modified: trunk/libtext-multimarkdown-perl/t/35commandlinemultimarkdown.t
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libtext-multimarkdown-perl/t/35commandlinemultimarkdown.t?rev=51262&op=diff
==============================================================================
--- trunk/libtext-multimarkdown-perl/t/35commandlinemultimarkdown.t (original)
+++ trunk/libtext-multimarkdown-perl/t/35commandlinemultimarkdown.t Tue Jan 19 17:51:07 2010
@@ -1,15 +1,16 @@
 use strict;
 use warnings;
 use FindBin qw($Bin);
-use File::Slurp qw(slurp);
 use Test::More tests => 2;
 use Test::Exception;
 
-unshift(@ARGV, "$Bin/Text-MultiMarkdown.mdtest/Markdown_Documentation_-_Syntax.text");
-my $expected = slurp("$Bin/Text-MultiMarkdown.mdtest/Markdown_Documentation_-_Syntax.xhtml");
+my $filename = "$Bin/Text-MultiMarkdown.mdtest/Markdown_Documentation_-_Syntax";
+unshift(@ARGV, "$filename.text");
+open my $file, '<', "$filename.xhtml" or die "Couldn't open $filename: $!";
+my $expected = do {local $/ = undef; <$file>};
 
 lives_ok {
     require "$Bin/../script/MultiMarkdown.pl";
 } 'require MultiMarkdown.pl works';
 my $out = main();
-is($out, $expected, 'MultiMarkdown.pl does the right thing with the syntax guide');
+is($out, $expected, 'MultiMarkdown.pl does the right thing with the syntax guide');




More information about the Pkg-perl-cvs-commits mailing list