Permalink
Browse files

updates to package files

  • Loading branch information...
barbie committed Apr 22, 2012
1 parent d7c4fca commit 33357517b1fbb184672d535db1eb9c3b4ad5c7ff
Showing with 53 additions and 40 deletions.
  1. +4 −1 Changes
  2. +2 −0 META.json
  3. +2 −0 META.yml
  4. +45 −39 Makefile.PL
View
@@ -1,6 +1,6 @@
Revision history for CPAN-Testers-WWW-Statistics
-0.98 current
+0.98 22/04/2012
- SEE ALSO package name fixes.
- reworded index and failure pages.
- removed requirement on local SQLite database.
@@ -14,6 +14,9 @@ Revision history for CPAN-Testers-WWW-Statistics
- t/data/21config08.ini
- t/data/21config09.ini
- added CPAN Testers Sponsors and Perl adverts.
+ - added minimum perl version (5.006).
+ - fixed test pre-requisites.
+ - reworked Makefile.PL for clarity.
0.97 31/01/2012
- final leaderboard fixes (os and total).
View
@@ -23,6 +23,7 @@
"prereqs" : {
"runtime" : {
"requires" : {
+ "perl": "5.006",
"CGI": "0",
"Class::Accessor::Fast": "0",
"Config::IniFiles": "0",
@@ -53,6 +54,7 @@
"Archive::Extract": "0",
"Archive::Zip": "0",
"File::Spec": "0",
+ "IO::File": "0",
"Test::Differences": "0",
"Test::More": "0.70"
},
View
@@ -10,6 +10,7 @@ distribution_type: module
installdirs: site
requires:
+ perl: 5.006
CGI: 0
Class::Accessor::Fast: 0
Config::IniFiles: 0
@@ -44,6 +45,7 @@ build_requires:
Archive::Extract: 0
Archive::Zip: 0
File::Spec: 0
+ IO::File: 0
Test::Differences: 0
Test::More: 0.70
View
@@ -1,52 +1,58 @@
-use 5.006; #due to 'warnings' pragma
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use 5.006;
+
use ExtUtils::MakeMaker;
WriteMakefile(
- 'NAME' => 'CPAN::Testers::WWW::Statistics',
- 'VERSION_FROM' => 'lib/CPAN/Testers/WWW/Statistics.pm',
- 'PREREQ_PM' => {
-
- Class::Accessor::Fast => 0,
- Config::IniFiles => 0,
- GD::Graph::lines => 0,
- File::Basename => 0,
- File::Copy => 0,
- File::Path => 0,
- File::Slurp => 0,
- Getopt::ArgvFile => 0,
- Getopt::Long => 0,
- HTML::Entities => 0,
- HTTP::Request => 0,
- IO::File => 0,
- JSON => 0,
- LWP::UserAgent => 0,
- Regexp::Assemble => 0,
- Sort::Versions => 0,
- Template => 2.19,
- Time::Piece => 0,
+ AUTHOR => 'Barbie <barbie@cpan.org>',
+ NAME => 'CPAN::Testers::WWW::Statistics',
+ VERSION_FROM => 'lib/CPAN/Testers/WWW/Statistics.pm',
+ ABSTRACT => 'Scripts to create the CPAN Testers Statistics website',
+ NO_META => 1,
+ PREREQ_PM => {
+
+ # prereqs
+ 'Class::Accessor::Fast' => 0,
+ 'Config::IniFiles' => 0,
+ 'GD::Graph::lines' => 0,
+ 'File::Basename' => 0,
+ 'File::Copy' => 0,
+ 'File::Path' => 0,
+ 'File::Slurp' => 0,
+ 'Getopt::ArgvFile' => 0,
+ 'Getopt::Long' => 0,
+ 'HTML::Entities' => 0,
+ 'HTTP::Request' => 0,
+ 'IO::File' => 0,
+ 'JSON' => 0,
+ 'LWP::UserAgent' => 0,
+ 'Regexp::Assemble' => 0,
+ 'Sort::Versions' => 0,
+ 'Template' => 2.19,
+ 'Time::Piece' => 0,
# for getmailrc.pl
- WWW::Mechanize => 0,
+ 'WWW::Mechanize' => 0,
# for cgimail.pl
- CGI => 0,
+ 'CGI' => 0,
# for database access
- CPAN::Testers::Common::DBUtils => 0.03,
- DBI => 0,
- DBD::mysql => 0,
- DBD::SQLite => 0,
+ 'CPAN::Testers::Common::DBUtils' => 0.03,
+ 'DBI' => 0,
+ 'DBD::mysql' => 0,
+ 'DBD::SQLite' => 0,
# for testing
- Archive::Zip => 0, # for testing
- Archive::Extract => 0, # for testing
- File::Spec => 0, # for testing
- Test::Differences => 0, # for testing
- },
+ 'Archive::Zip' => 0, # for testing
+ 'Archive::Extract' => 0, # for testing
+ 'File::Spec' => 0, # for testing
+ 'IO::File' => 0,
+ 'Test::Differences' => 0, # for testing
+ 'Test::More' => 0.70
- NO_META => 1,
-
- ($] >= 5.005 ? ## Add these new keywords supported since 5.005
- (ABSTRACT => 'Scripts to create the CPAN Testers Statistics website',
- AUTHOR => 'Barbie <barbie@cpan.org>') : ()),
+ },
);

0 comments on commit 3335751

Please sign in to comment.