Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Removed developer-only POD tests; simplified Build.PL.

Added 5.6.2 dependency.
  • Loading branch information...
commit 4dd30b9e978fdb1b63498007d317ef691aec975e 1 parent c1c495f
chromatic authored
View
54 Build.PL
@@ -1,56 +1,34 @@
#! perl
+BEGIN { require 5.006002 }
+
use strict;
use warnings;
use Module::Build;
use File::Spec::Functions;
-my $class = Module::Build->subclass(
- class => 'Module::Build::FilterTests',
- code => <<'END_HERE',
-
- use File::Glob;
- use File::Spec::Functions;
-
- sub ACTION_disttest
- {
- my $self = shift;
- local $ENV{PERL_RUN_ALL_TESTS} = 1;
- $self->SUPER::ACTION_disttest( @_ );
- }
-
- sub find_test_files
- {
- my $self = shift;
- my $tests = $self->SUPER::find_test_files( @_ );
-
- return $tests unless $ENV{PERL_RUN_ALL_TESTS};
-
- my $test_pattern = catfile(qw( t developer *.t ) );
- unshift @$tests, File::Glob::bsd_glob( $test_pattern );
- return $tests;
- }
-END_HERE
-);
-
-my $builder = $class->new(
+my $builder = Module::Build->new(
module_name => 'Pod::PseudoPod::LaTeX',
license => 'perl',
dist_author => 'chromatic <chromatic@wgz.org>',
dist_version_from => 'lib/Pod/PseudoPod/LaTeX.pm',
- requires =>
- {
- 'Pod::PseudoPod' => 0,
- },
+ requires =>
+ {
+ 'Pod::PseudoPod' => '0.15',
+ 'perl' => '5.6.2',
+ },
build_requires =>
- {
- 'Test::More' => 0,
+ {
+ 'Test::More' => '0.60',
+ 'IO::String' => 0,
+ },
+ config_requires =>
+ {
+ 'Module::Build' => '0.33',
},
add_to_cleanup => [ 'Pod-PseudoPod-LaTeX-*' ],
- create_makefile_pl => 'traditional',
- sign => 1,
- script_files => [ catfile(qw( scripts ppod2latex )) ],
+ script_files => [ catfile(qw( scripts ppod2latex )) ],
);
$builder->create_build_script();
View
16 META.yml
@@ -7,15 +7,19 @@ abstract: convert Pod::PseudoPod documents into LaTeX
license: perl
resources:
license: http://dev.perl.org/licenses/
-requires:
- Pod::PseudoPod: 0
build_requires:
- Test::More: 0
+ IO::String: 0
+ Test::More: 0.60
+requires:
+ Pod::PseudoPod: 0.15
+ perl: v5.6.2
+configure_requires:
+ Module::Build: 0.34
provides:
Pod::PseudoPod::LaTeX:
file: lib/Pod/PseudoPod/LaTeX.pm
version: 0.10
-generated_by: Module::Build version 0.2801
+generated_by: Module::Build version 0.34
meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.2.html
- version: 1.2
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
View
17 Makefile.PL
@@ -1,17 +1,18 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.03
+# Note: this file was auto-generated by Module::Build::Compat version 0.34
use ExtUtils::MakeMaker;
WriteMakefile
(
- 'NAME' => 'Pod::PseudoPod::LaTeX',
- 'VERSION_FROM' => 'lib/Pod/PseudoPod/LaTeX.pm',
- 'PREREQ_PM' => {
- 'Pod::PseudoPod' => '0',
- 'Test::More' => '0'
- },
+ 'PL_FILES' => {},
'INSTALLDIRS' => 'site',
+ 'NAME' => 'Pod::PseudoPod::LaTeX',
'EXE_FILES' => [
'scripts/ppod2latex'
],
- 'PL_FILES' => {}
+ 'VERSION_FROM' => 'lib/Pod/PseudoPod/LaTeX.pm',
+ 'PREREQ_PM' => {
+ 'Test::More' => 0,
+ 'Pod::PseudoPod' => 0,
+ 'IO::String' => 0
+ }
)
;
View
8 t/developer/pod-coverage.t
@@ -1,8 +0,0 @@
-#!perl -T
-
-use Test::More;
-plan skip_all => 'This is silly; there are no user-servicable parts inside';
-
-# unreachable code; look at that Kwalitee fly!
-eval "use Test::Pod::Coverage 1.04";
-all_pod_coverage_ok();
View
6 t/developer/pod.t
@@ -1,6 +0,0 @@
-#!perl -T
-
-use Test::More;
-eval "use Test::Pod 1.14";
-plan skip_all => "Test::Pod 1.14 required for testing POD" if $@;
-all_pod_files_ok();
Please sign in to comment.
Something went wrong with that request. Please try again.