Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated package files

  • Loading branch information...
commit 3bdcf3c49ffda0322b045b1757ff61b29cab731d 1 parent b1784de
@barbie authored
View
4 Changes
@@ -7,6 +7,10 @@ Revision history for Perl library Devel-Platform-Info
- added Red Hat Enterprise Linux & Red Hat Linux codenames.
- added CrunchBang Linux codenames.
- updated versions and codenames.
+ - META tests no longer require specific versions.
+ - added minimum perl version (5.006).
+ - reworked Makefile.PL for clarity.
+ - Test-JSON-Meta => Test-CPAN-Meta-JSON.
0.09 25/05/2011
- remove trailing newlines from Mac command results (JJ)
View
27 META.json
@@ -1,6 +1,6 @@
{
"name": "Devel-Platform-Info",
- "version": "0.09",
+ "version": "0.10",
"abstract": "Unified framework for obtaining common platform metadata.",
"author": [
"Barbie (BARBIE) <barbie@cpan.org>",
@@ -38,6 +38,11 @@
},
"prereqs" : {
+ "runtime" : {
+ "requires" : {
+ "perl": "5.006"
+ }
+ },
"test" : {
"requires": {
"IO::File": "0",
@@ -47,8 +52,8 @@
"recommends": {
"Test::Pod": "1.00",
"Test::Pod::Coverage": "0.08",
- "Test::CPAN::Meta": "0.13",
- "Test::JSON::Meta": "0.08"
+ "Test::CPAN::Meta": "0",
+ "Test::CPAN::Meta::JSON": "0"
}
}
},
@@ -56,35 +61,35 @@
"provides": {
"Devel::Platform::Info": {
"file": "lib/Devel/Platform/Info.pm",
- "version": "0.09"
+ "version": "0.10"
},
"Devel::Platform::Info::BSD": {
"file": "lib/Devel/Platform/Info/BSD.pm",
- "version": "0.09"
+ "version": "0.10"
},
"Devel::Platform::Info::Irix": {
"file": "lib/Devel/Platform/Info/Irix.pm",
- "version": "0.09"
+ "version": "0.10"
},
"Devel::Platform::Info::Linux": {
"file": "lib/Devel/Platform/Info/Linux.pm",
- "version": "0.09"
+ "version": "0.10"
},
"Devel::Platform::Info::Mac": {
"file": "lib/Devel/Platform/Info/Mac.pm",
- "version": "0.09"
+ "version": "0.10"
},
"Devel::Platform::Info::SCO": {
"file": "lib/Devel/Platform/Info/SCO.pm",
- "version": "0.09"
+ "version": "0.10"
},
"Devel::Platform::Info::Solaris": {
"file": "lib/Devel/Platform/Info/Solaris.pm",
- "version": "0.09"
+ "version": "0.10"
},
"Devel::Platform::Info::Win32": {
"file": "lib/Devel/Platform/Info/Win32.pm",
- "version": "0.09"
+ "version": "0.10"
}
},
"no_index": {
View
24 META.yml
@@ -1,6 +1,6 @@
--- #YAML:1.0
name: Devel-Platform-Info
-version: 0.09
+version: 0.10
abstract: Unified framework for obtaining common platform metadata
author:
- Barbie (BARBIE) <barbie@cpan.org>
@@ -12,14 +12,16 @@ license: artistic_2
distribution_type: module
installdirs: site
+requires:
+ perl: 5.006
recommends:
Win32: 0
POSIX: 0
Test::More: 0.70
Test::Pod: 1.00
Test::Pod::Coverage: 0.08
- Test::CPAN::Meta: 0.13
- Test::JSON::Meta: 0.08
+ Test::CPAN::Meta: 0
+ Test::CPAN::Meta::JSON: 0
build_requires:
IO::File: 0
Test::More: 0.70
@@ -27,28 +29,28 @@ build_requires:
provides:
Devel::Platform::Info:
file: lib/Devel/Platform/Info.pm
- version: 0.09
+ version: 0.10
Devel::Platform::Info::BSD:
file: lib/Devel/Platform/Info/BSD.pm
- version: 0.09
+ version: 0.10
Devel::Platform::Info::Irix:
file: lib/Devel/Platform/Info/Irix.pm
- version: 0.09
+ version: 0.10
Devel::Platform::Info::Linux:
file: lib/Devel/Platform/Info/Linux.pm
- version: 0.09
+ version: 0.10
Devel::Platform::Info::Mac:
file: lib/Devel/Platform/Info/Mac.pm
- version: 0.09
+ version: 0.10
Devel::Platform::Info::SCO:
file: lib/Devel/Platform/Info/SCO.pm
- version: 0.09
+ version: 0.10
Devel::Platform::Info::Solaris:
file: lib/Devel/Platform/Info/Solaris.pm
- version: 0.09
+ version: 0.10
Devel::Platform::Info::Win32:
file: lib/Devel/Platform/Info/Win32.pm
- version: 0.09
+ version: 0.10
no_index:
directory:
View
26 Makefile.PL
@@ -1,14 +1,22 @@
+#!/usr/bin/perl
+
+use strict;
+use warnings;
+use 5.006;
+
use ExtUtils::MakeMaker;
+
WriteMakefile(
- 'NAME' => 'Devel::Platform::Info',
- 'VERSION_FROM' => 'lib/Devel/Platform/Info.pm',
- 'PREREQ_PM' => {
- 'Test::More' => 0, # only for testing
- },
+ AUTHOR => 'Barbie <barbie@cpan.org>',
+ NAME => 'Devel::Platform::Info',
+ VERSION_FROM => 'lib/Devel/Platform/Info.pm',
+ ABSTRACT => 'Unified framework for obtaining common platform metadata',
+ NO_META => 1,
+ PREREQ_PM => {
- NO_META => 1,
+ # build/test prereqs
+ 'Test::More' => '0.70',
+ 'IO::File' => '0'
- ($] >= 5.005 ? ## Add these new keywords supported since 5.005
- (ABSTRACT => 'Unified framework for obtaining common platform metadata',
- AUTHOR => 'Barbie <barbie@cpan.org>') : ()),
+ }
);
View
10 README
@@ -1,7 +1,3 @@
-Devel::Platform::Info Devel::Platform::Info(3)
-
-
-
NAME
Devel::Platform::Info - Unified framework for obtaining common platform
metadata
@@ -76,11 +72,7 @@ AUTHORS
Jon 'JJ' Allen (JONALLEN) <jj@jonallen.info>
COPYRIGHT & LICENSE
- Copyright (C) 2010-2011 Birmingham Perl Mongers
+ Copyright (C) 2010-2012 Birmingham Perl Mongers
This module is free software; you can redistribute it and/or
modify it under the Artistic License 2.0.
-
-
-
-perl v5.8.8 2011-01-13 Devel::Platform::Info(3)
View
4 t/96metatest.t
@@ -4,8 +4,8 @@ use Test::More;
plan skip_all => "Author tests not required for installation"
unless ( $ENV{AUTOMATED_TESTING} );
-eval "use Test::JSON::Meta 0.08";
-plan skip_all => "Test::JSON::Meta 0.08 required for testing META.json files" if $@;
+eval "use Test::CPAN::Meta::JSON";
+plan skip_all => "Test::CPAN::Meta::JSON required for testing META.json files" if $@;
plan no_plan;
Please sign in to comment.
Something went wrong with that request. Please try again.