[libmodule-install-trustmetayml-perl] 04/24: reduce dependencies, particularly Perl version
Jonas Smedegaard
js at alioth.debian.org
Fri Aug 9 15:18:38 UTC 2013
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libmodule-install-trustmetayml-perl.
commit ab884d692714ecf2f6d4ec1c2646d2a35ea4a335
Author: Toby Inkster <mail at tobyinkster.co.uk>
Date: Thu Jul 5 11:34:31 2012 +0100
reduce dependencies, particularly Perl version
--HG--
branch : Module-Install-TrustMetaYml
---
lib/Module/Install/TrustMetaYml.pm | 16 +++++++---------
meta/changes.ttl | 10 ++++++++++
meta/makefile.ttl | 12 ++++++------
3 files changed, 23 insertions(+), 15 deletions(-)
diff --git a/lib/Module/Install/TrustMetaYml.pm b/lib/Module/Install/TrustMetaYml.pm
index 967a78a..fa2a607 100644
--- a/lib/Module/Install/TrustMetaYml.pm
+++ b/lib/Module/Install/TrustMetaYml.pm
@@ -1,25 +1,21 @@
package Module::Install::TrustMetaYml;
-use 5.008;
-use constant { FALSE => 0, TRUE => 1 };
+use 5.005;
use strict;
-use utf8;
BEGIN {
$Module::Install::TrustMetaYml::AUTHORITY = 'cpan:TOBYINK';
-}
-BEGIN {
$Module::Install::TrustMetaYml::VERSION = '0.001';
}
-use parent qw(Module::Install::Base);
+use base qw(Module::Install::Base);
sub trust_meta_yml
{
my ($self, $where) = @_;
$where ||= 'META.yml';
- $self->perl_version('5.006') unless defined $self->perl_version;
+ $self->perl_version('5.005') unless defined $self->perl_version;
$self->include_deps('YAML::Tiny', 0);
return $self if $self->is_admin;
@@ -27,7 +23,7 @@ sub trust_meta_yml
require YAML::Tiny;
my $data = YAML::Tiny::LoadFile($where);
- $self->perl_version($data->{requires}{perl} || '5.006');
+ $self->perl_version($data->{requires}{perl} || '5.005');
KEY: foreach my $key (qw(requires recommends build_requires))
{
@@ -49,6 +45,8 @@ TRUE;
__END__
+=encoding utf8
+
=head1 NAME
Module::Install::TrustMetaYml - trusts META.yml list of dependencies
@@ -102,7 +100,7 @@ weren't working.
=head1 COPYRIGHT AND LICENCE
-This software is copyright (c) 2011 by Toby Inkster.
+This software is copyright (c) 2011-2012 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
diff --git a/meta/changes.ttl b/meta/changes.ttl
index 9161adb..3d3ae47 100644
--- a/meta/changes.ttl
+++ b/meta/changes.ttl
@@ -15,3 +15,13 @@ dist:v_0-001
:file-release <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-TrustMetaYml-0.001.tar.gz> ;
rdfs:label "Initial release" .
+dist:project :release dist:v_0-002 .
+dist:v_0-002
+ a :Version ;
+ dc:issued "2012-07-05"^^xsd:date ;
+ :revision "0.002"^^xsd:string ;
+ :file-release <http://backpan.cpan.org/authors/id/T/TO/TOBYINK/Module-Install-TrustMetaYml-0.002.tar.gz> ;
+ dcs:changeset [
+ dcs:item [ rdfs:label "Reduce list of dependencies." ];
+ dcs:item [ rdfs:label "Support Perls prior to 5.8." ];
+ ].
diff --git a/meta/makefile.ttl b/meta/makefile.ttl
index 19614f8..213f5ac 100644
--- a/meta/makefile.ttl
+++ b/meta/makefile.ttl
@@ -3,11 +3,11 @@
@prefix : <http://purl.org/NET/cpan-uri/terms#> .
<http://purl.org/NET/cpan-uri/dist/Module-Install-TrustMetaYml/project>
- :perl_version_from _:main ;
- :version_from _:main ;
- :readme_from _:main ;
- :test_requires "Test::More 0.61" ;
- :requires "common::sense" , "parent" .
+ :perl_version_from _:main;
+ :version_from _:main;
+ :readme_from _:main;
+ :requires "YAML::Tiny";
+ :test_requires "Test::More 0.61".
-_:main <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileName> "lib/Module/Install/TrustMetaYml.pm" .
+_:main <http://www.semanticdesktop.org/ontologies/2007/03/22/nfo#fileName> "lib/Module/Install/TrustMetaYml.pm".
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmodule-install-trustmetayml-perl.git
More information about the Pkg-perl-cvs-commits
mailing list