Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tidy up Makefile.PL and META.yml.

Also move typemap into the utils directory and make cpancover executable.
  • Loading branch information...
commit b71a1ba5e3923057d99b5cc95d6081a4348df832 1 parent 8fcaad1
@pjcj authored
View
2  MANIFEST
@@ -99,7 +99,6 @@ tests/t1
tests/t2
tests/trivial
tests/uncoverable
-typemap
utils/all_versions
utils/create_gold
utils/Devel/Cover/BuildUtils.pm
@@ -108,6 +107,7 @@ utils/install/System.pm
utils/makeh
utils/scanuncov
utils/session.vim
+utils/typemap
test_output/cover/alias.5.006001
test_output/cover/alias1.5.006001
test_output/cover/alias1.5.008
View
51 META.yml
@@ -1,15 +1,44 @@
-# http://module-build.sourceforge.net/META-spec.html
-#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
-name: Devel-Cover
-version: 0.58
-version_from:
-installdirs: site
+--- #YAML:1.0
+name: Devel-Cover
+version: 0.72
+abstract: Code coverage metrics for Perl
+author:
+ - Paul Johnson (pjcj@cpan.org)
+license: perl
+distribution_type: module
+configure_requires:
+ ExtUtils::MakeMaker: 0
+build_requires:
+ ExtUtils::MakeMaker: 0
+ Test::More: 0
+ Test::Warn: 0
requires:
- Digest::MD5: 0
- Storable: 0
+ Digest::MD5: 0
+ perl: 5.006001
+ Storable: 0
+resources:
+ bugtracker: http://rt.cpan.org/NoAuth/Bugs.html?Dist=Devel-Cover
+ homepage: http://www.pjcj.net/perl.html
+ license: http://dev.perl.org/licenses
+ MailingList: http://lists.perl.org/list/perl-qa.html
+ repository: http://github.com/pjcj/Devel--Cover
no_index:
directory:
+ - t
+ - inc
- tests
-
-distribution_type: module
-generated_by: ExtUtils::MakeMaker version 6.17
+ - utils
+generated_by: ExtUtils::MakeMaker version 6.56
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+dynamic_config: 1
+recommends:
+ Parallel::Iterator: 0
+ perl: 5.008002
+ Perl::Tidy: 20060719
+ Pod::Coverage: 0.06
+ Pod::Coverage::CountParents: 0
+ PPI::HTML: 1.07
+ Template: 2
+ Test::Differences: 0
View
109 Makefile.PL
@@ -204,6 +204,26 @@ else
print "not found\n\n$e\n";
}
+print "checking for Test::Warn ........ ";
+
+$e = <<EOM;
+
+Test::Warn is required to run some of the Devel::Cover tests. You can
+download Test::Warn from CPAN.
+
+EOM
+
+eval "use Test::Warn";
+if (my $m = $INC{"Test/Warn.pm"})
+{
+ my $v = eval { no warnings; $Test::Warn::VERSION };
+ print "$v $m\n";
+}
+else
+{
+ print "not found\n\n$e\n";
+}
+
print "checking for Template version 2.00 ........ ";
$e = <<EOM;
@@ -376,28 +396,73 @@ $ExtUtils::MakeMaker::Verbose = 0;
WriteMakefile
(
- NAME => "Devel::Cover",
- VERSION => $Version,
- AUTHOR => 'Paul Johnson (pjcj@cpan.org)',
- ABSTRACT => "Code coverage metrics for Perl",
- DIR => [],
- EXE_FILES => [ qw( cover gcov2perl cpancover ) ],
- PREREQ_PM => {
- Storable => 0,
- "Digest::MD5" => 0,
- "Test::More" => 0,
- "Test::Warn" => 0,
- },
- dist => { COMPRESS => "gzip --best --force" },
- test => { TESTS => "t/*/*.t" },
- clean => { FILES => join " ", "t/e2e/*" },
- depend => { distdir => "@files" },
- realclean => $] < 5.008008 ?
- {
- FILES => "lib/Devel/Cover/Inc.pm",
- POSTOP => "\$(RM_RF) cover_db t/e2e"
- } :
- { FILES => "lib/Devel/Cover/Inc.pm cover_db t/e2e" },
+ NAME => "Devel::Cover",
+ VERSION => $Version,
+ AUTHOR => 'Paul Johnson (pjcj@cpan.org)',
+ ABSTRACT_FROM => "lib/Devel/Cover.pm",
+ DIR => [],
+ EXE_FILES => [ qw( cover gcov2perl cpancover ) ],
+ LICENSE => "perl",
+ META_ADD =>
+ {
+ requires =>
+ {
+ perl => 5.006001,
+ Storable => 0,
+ "Digest::MD5" => 0,
+ },
+ dynamic_config => 1,
+ },
+ META_MERGE =>
+ {
+ recommends =>
+ {
+ perl => 5.008002,
+ Template => 2.00,
+ "PPI::HTML" => 1.07,
+ "Perl::Tidy" => 20060719,
+ "Pod::Coverage" => 0.06,
+ "Pod::Coverage::CountParents" => 0,
+ "Test::Differences" => 0,
+ "Parallel::Iterator" => 0,
+ },
+ build_requires =>
+ {
+ "Test::More" => 0,
+ "Test::Warn" => 0,
+ },
+ no_index =>
+ {
+ directory => [ "tests", "utils" ],
+ },
+ resources =>
+ {
+ license => "http://dev.perl.org/licenses",
+ homepage => "http://www.pjcj.net/perl.html",
+ bugtracker => "http://rt.cpan.org/NoAuth/Bugs.html?Dist=Devel-Cover",
+ repository => "http://github.com/pjcj/Devel--Cover",
+ MailingList => "http://lists.perl.org/list/perl-qa.html",
+ },
+ },
+ MIN_PERL_VERSION => "5.6.1",
+ PERL_MALLOC_OK => 1,
+ PREREQ_PM => {
+ Storable => 0,
+ "Digest::MD5" => 0,
+ "Test::More" => 0,
+ "Test::Warn" => 0,
+ },
+ TYPEMAPS => [ "utils/typemap" ],
+ clean => { FILES => "t/e2e/* cover_db* t/e2e/*cover_db" },
+ depend => { distdir => "@files" },
+ dist => { COMPRESS => "gzip --best --force" },
+ test => { TESTS => "t/*/*.t" },
+ realclean => $] < 5.008008 ?
+ {
+ FILES => "lib/Devel/Cover/Inc.pm",
+ POSTOP => "\$(RM_RF) cover_db t/e2e"
+ } :
+ { FILES => "lib/Devel/Cover/Inc.pm cover_db t/e2e" },
);
print "\n";
View
0  cpancover 100644 → 100755
File mode changed
View
0  typemap → utils/typemap
File renamed without changes
Please sign in to comment.
Something went wrong with that request. Please try again.