[libclass-errorhandler-perl] 01/09: New upstream version 0.04

dom at earth.li dom at earth.li
Sun Aug 6 03:41:53 UTC 2017


This is an automated email from the git hooks/post-receive script.

dom pushed a commit to branch master
in repository libclass-errorhandler-perl.

commit c334ed4c8ef80a3bc5e69628df43863d3156bfa5
Author: Dominic Hargreaves <dom at earth.li>
Date:   Sat Aug 5 23:08:17 2017 -0400

    New upstream version 0.04
---
 Build.PL                  | 69 -----------------------------------------------
 Changes                   |  4 +++
 MANIFEST                  |  3 ++-
 META.json                 | 22 ++++++++-------
 META.yml                  | 15 +++++------
 Makefile.PL               | 52 +++++++++++++++++++++++++++++++++++
 README.md                 |  2 +-
 lib/Class/ErrorHandler.pm |  2 +-
 minil.toml                |  1 +
 9 files changed, 80 insertions(+), 90 deletions(-)

diff --git a/Build.PL b/Build.PL
deleted file mode 100644
index 28687ca..0000000
--- a/Build.PL
+++ /dev/null
@@ -1,69 +0,0 @@
-# =========================================================================
-# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
-# DO NOT EDIT DIRECTLY.
-# =========================================================================
-
-use 5.008_001;
-
-use strict;
-use warnings;
-use utf8;
-
-use Module::Build;
-use File::Basename;
-use File::Spec;
-use CPAN::Meta;
-use CPAN::Meta::Prereqs;
-
-my %args = (
-    license              => 'perl',
-    dynamic_config       => 0,
-
-    configure_requires => {
-        'Module::Build' => 0.38,
-    },
-
-    name            => 'Class-ErrorHandler',
-    module_name     => 'Class::ErrorHandler',
-    allow_pureperl => 0,
-
-    script_files => [glob('script/*'), glob('bin/*')],
-    c_source     => [qw()],
-
-    test_files           => ((-d '.git' || $ENV{RELEASE_TESTING}) && -d 'xt') ? 't/ xt/' : 't/',
-    recursive_test_files => 1,
-);
-if (-d 'share') {
-    $args{share_dir} = 'share';
-}
-
-my $builder = Module::Build->subclass(
-    class => 'MyBuilder',
-    code => q{
-        sub ACTION_distmeta {
-            die "Do not run distmeta. Install Minilla and `minil install` instead.\n";
-        }
-        sub ACTION_installdeps {
-            die "Do not run installdeps. Run `cpanm --installdeps .` instead.\n";
-        }
-    }
-)->new(%args);
-$builder->create_build_script();
-
-my $mbmeta = CPAN::Meta->load_file('MYMETA.json');
-my $meta = CPAN::Meta->load_file('META.json');
-my $prereqs_hash = CPAN::Meta::Prereqs->new(
-    $meta->prereqs
-)->with_merged_prereqs(
-    CPAN::Meta::Prereqs->new($mbmeta->prereqs)
-)->as_string_hash;
-my $mymeta = CPAN::Meta->new(
-    {
-        %{$meta->as_struct},
-        prereqs => $prereqs_hash
-    }
-);
-print "Merging cpanfile prereqs to MYMETA.yml\n";
-$mymeta->save('MYMETA.yml', { version => 1.4 });
-print "Merging cpanfile prereqs to MYMETA.json\n";
-$mymeta->save('MYMETA.json', { version => 2 });
diff --git a/Changes b/Changes
index f2c90c5..15b679f 100644
--- a/Changes
+++ b/Changes
@@ -2,6 +2,10 @@
 
 Revision history for Class::ErrorHandler
 
+0.04 2015-05-10T22:08:23Z
+
+    - use EU::MM
+
 0.03 2013-08-14T03:15:44Z
 
     - minl migrate
diff --git a/MANIFEST b/MANIFEST
index 9c10951..0c45e30 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,10 +1,11 @@
-Build.PL
 Changes
 LICENSE
 META.json
+Makefile.PL
 README.md
 cpanfile
 lib/Class/ErrorHandler.pm
+minil.toml
 t/00-compile.t
 t/01-errors.t
 META.yml
diff --git a/META.json b/META.json
index a0de139..5136ac7 100644
--- a/META.json
+++ b/META.json
@@ -4,8 +4,10 @@
       "Benjamin Trott, cpan at stupidfool.org. All rights reserved."
    ],
    "dynamic_config" : 0,
-   "generated_by" : "Minilla/v0.5.6",
-   "license" : "perl_5",
+   "generated_by" : "Minilla/v2.4.1",
+   "license" : [
+      "perl_5"
+   ],
    "meta-spec" : {
       "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
       "version" : "2"
@@ -19,21 +21,21 @@
          "share",
          "eg",
          "examples",
-         "author"
+         "author",
+         "builder"
       ]
    },
    "prereqs" : {
       "configure" : {
          "requires" : {
-            "CPAN::Meta" : "0",
-            "CPAN::Meta::Prereqs" : "0",
-            "Module::Build" : "0.38"
+            "ExtUtils::MakeMaker" : "0"
          }
       },
       "develop" : {
          "requires" : {
             "Test::CPAN::Meta" : "0",
-            "Test::MinimumVersion" : "0.10108",
+            "Test::MinimumVersion::Fast" : "0.04",
+            "Test::PAUSE::Permissions" : "0.04",
             "Test::Pod" : "1.41",
             "Test::Spellunker" : "v0.2.7"
          }
@@ -47,7 +49,7 @@
    "provides" : {
       "Class::ErrorHandler" : {
          "file" : "lib/Class/ErrorHandler.pm",
-         "version" : "0.03"
+         "version" : "0.04"
       }
    },
    "release_status" : "stable",
@@ -61,8 +63,8 @@
          "web" : "https://github.com/tokuhirom/Class-ErrorHandler"
       }
    },
-   "version" : "0.03",
+   "version" : "0.04",
    "x_contributors" : [
-      "tokuhirom <tokuhirom at gmail.com>"
+      "Tokuhiro Matsuno <tokuhirom at gmail.com>"
    ]
 }
diff --git a/META.yml b/META.yml
index abd8293..39f988d 100644
--- a/META.yml
+++ b/META.yml
@@ -4,15 +4,13 @@ author:
   - 'Benjamin Trott, cpan at stupidfool.org. All rights reserved.'
 build_requires: {}
 configure_requires:
-  CPAN::Meta: 0
-  CPAN::Meta::Prereqs: 0
-  Module::Build: 0.38
+  ExtUtils::MakeMaker: '0'
 dynamic_config: 0
-generated_by: 'Minilla/v0.5.6, CPAN::Meta::Converter version 2.131560'
+generated_by: 'Minilla/v2.4.1, CPAN::Meta::Converter version 2.150001'
 license: perl
 meta-spec:
   url: http://module-build.sourceforge.net/META-spec-v1.4.html
-  version: 1.4
+  version: '1.4'
 name: Class-ErrorHandler
 no_index:
   directory:
@@ -23,16 +21,17 @@ no_index:
     - eg
     - examples
     - author
+    - builder
 provides:
   Class::ErrorHandler:
     file: lib/Class/ErrorHandler.pm
-    version: 0.03
+    version: '0.04'
 requires:
   perl: 5.008_001
 resources:
   bugtracker: https://github.com/tokuhirom/Class-ErrorHandler/issues
   homepage: https://github.com/tokuhirom/Class-ErrorHandler
   repository: git://github.com/tokuhirom/Class-ErrorHandler.git
-version: 0.03
+version: '0.04'
 x_contributors:
-  - 'tokuhirom <tokuhirom at gmail.com>'
+  - 'Tokuhiro Matsuno <tokuhirom at gmail.com>'
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644
index 0000000..2746a7a
--- /dev/null
+++ b/Makefile.PL
@@ -0,0 +1,52 @@
+# =========================================================================
+# THIS FILE IS AUTOMATICALLY GENERATED BY MINILLA.
+# DO NOT EDIT DIRECTLY.
+# =========================================================================
+
+use 5.008_001;
+use strict;
+
+use ExtUtils::MakeMaker;
+
+
+my %WriteMakefileArgs = (
+    NAME     => 'Class::ErrorHandler',
+    DISTNAME => 'Class-ErrorHandler',
+    VERSION  => '0.04',
+    CONFIGURE_REQUIRES => {
+  "ExtUtils::MakeMaker" => 0
+}
+,
+    BUILD_REQUIRES     => {}
+,
+    TEST_REQUIRES      => {}
+,
+    PREREQ_PM          => {
+  "perl" => "5.008_001"
+}
+,
+);
+
+my $full_prereqs = {
+  "ExtUtils::MakeMaker" => 0,
+  "perl" => "5.008_001"
+}
+;
+
+unless (eval { ExtUtils::MakeMaker->VERSION(6.63_03) }) {
+    delete $WriteMakefileArgs{TEST_REQUIRES};
+    delete $WriteMakefileArgs{BUILD_REQUIRES};
+    $WriteMakefileArgs{PREREQ_PM} = $full_prereqs;
+}
+
+unless (eval { ExtUtils::MakeMaker->VERSION(6.52) }) {
+    delete $WriteMakefileArgs{CONFIGURE_REQUIRES};
+}
+
+unless (eval { ExtUtils::MakeMaker->VERSION(6.57_01) }) {
+    use File::Copy;
+    copy('META.yml', 'MYMETA.yml')   or warn "META.yml: $!";
+    copy('META.json', 'MYMETA.json') or warn "META.json: $!";
+}
+
+WriteMakefile(%WriteMakefileArgs);
diff --git a/README.md b/README.md
index 131963a..dc688f8 100644
--- a/README.md
+++ b/README.md
@@ -43,7 +43,7 @@ returns `undef`. This has the effect of the method that failed returning
 return value of `undef`, and calling _errstr_ to get the value of the
 error message on an error.
 
-As demonstrated in the [SYNOPSIS](http://search.cpan.org/perldoc?SYNOPSIS), _error_ and _errstr_ work as both class
+As demonstrated in the [SYNOPSIS](https://metacpan.org/pod/SYNOPSIS), _error_ and _errstr_ work as both class
 methods and object methods.
 
 # USAGE
diff --git a/lib/Class/ErrorHandler.pm b/lib/Class/ErrorHandler.pm
index 4948774..321d73b 100644
--- a/lib/Class/ErrorHandler.pm
+++ b/lib/Class/ErrorHandler.pm
@@ -4,7 +4,7 @@ package Class::ErrorHandler;
 use strict;
 
 use vars qw( $VERSION $ERROR );
-$VERSION = '0.03';
+$VERSION = '0.04';
 
 sub error {
     my $msg = $_[1] || '';
diff --git a/minil.toml b/minil.toml
new file mode 100644
index 0000000..93f71be
--- /dev/null
+++ b/minil.toml
@@ -0,0 +1 @@
+module_maker="ExtUtilsMakeMaker"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libclass-errorhandler-perl.git



More information about the Pkg-perl-cvs-commits mailing list