[libcatmandu-perl] 46/85: different build

Jonas Smedegaard dr at jones.dk
Tue May 20 09:56:18 UTC 2014


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

js pushed a commit to tag 0.91
in repository libcatmandu-perl.

commit 968e3884e2b2608133f871417473ddb4620dc96c
Author: vpeil <vitali.peil at uni-bielefeld.de>
Date:   Wed May 14 15:01:57 2014 +0200

    different build
---
 .travis.yml |  5 +---
 Build.PL    | 85 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---
 META.json   |  7 ++++-
 dist.ini    |  1 +
 4 files changed, 90 insertions(+), 8 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 7a0c2c4..9ed9ad0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -10,10 +10,7 @@ install:
   - cpanm --quiet --notest --force --skip-satisfied .
   - cpanm --quiet --notest --skip-satisfied Devel::Cover
 script:
-  - perl Build.PL
-  - ./Build installdeps
-  - ./Build test
-  - ./Build testcover
+  - perl Build.PL && cover -test
 after_success:
   - cpanm --quiet --notest --skip-satisfied Devel::Cover::Report::Coveralls
   - cover -report coveralls
diff --git a/Build.PL b/Build.PL
index e2076e5..c54c4ec 100644
--- a/Build.PL
+++ b/Build.PL
@@ -1,3 +1,82 @@
-use v5.10.1;
-use Module::Build::Tiny 0.030;
-Build_PL();
+
+# This file was automatically generated by Dist::Zilla::Plugin::ModuleBuild v5.016.
+use strict;
+use warnings;
+
+use Module::Build 0.3601;
+
+
+my %module_build_args = (
+  "build_requires" => {
+    "Module::Build" => "0.3601"
+  },
+  "configure_requires" => {
+    "Module::Build" => "0.3601"
+  },
+  "dist_abstract" => "a data toolkit",
+  "dist_author" => [
+    "Nicolas Steenlant, C<< <nicolas.steenlant at ugent.be> >>"
+  ],
+  "dist_name" => "Catmandu",
+  "dist_version" => "0.9",
+  "license" => "perl",
+  "module_name" => "Catmandu",
+  "recommends" => {
+    "JSON::XS" => "2.3",
+    "YAML::XS" => "0.34"
+  },
+  "recursive_test_files" => 1,
+  "requires" => {
+    "App::Cmd" => "0.323",
+    "CGI::Expand" => "2.02",
+    "Clone" => "0.31",
+    "Config::Onion" => "1.004",
+    "Data::Compare" => "1.22",
+    "Data::UUID" => "1.217",
+    "Data::Util" => "0.59",
+    "IO::Handle::Util" => "0.01",
+    "JSON" => "2.51",
+    "List::MoreUtils" => "0.33",
+    "Log::Any::Adapter" => "0.11",
+    "Marpa::R2" => "2.084000",
+    "Moo" => "1.000008",
+    "MooX::Log::Any" => 0,
+    "Sub::Exporter" => "0.982",
+    "Sub::Quote" => 0,
+    "Text::CSV" => "1.21",
+    "Throwable" => "0.200004",
+    "Time::HiRes" => 0,
+    "Try::Tiny::ByClass" => "0.01",
+    "YAML::Any" => "0.90",
+    "namespace::clean" => "0.24",
+    "perl" => "v5.10.1"
+  },
+  "script_files" => [],
+  "test_requires" => {
+    "Log::Any::Adapter" => "0.11",
+    "Log::Any::Test" => "0.15",
+    "Test::Deep" => "0.112",
+    "Test::Exception" => "0.32",
+    "Test::More" => "1.001003"
+  }
+);
+
+
+my %fallback_build_requires = (
+  "Log::Any::Adapter" => "0.11",
+  "Log::Any::Test" => "0.15",
+  "Module::Build" => "0.3601",
+  "Test::Deep" => "0.112",
+  "Test::Exception" => "0.32",
+  "Test::More" => "1.001003"
+);
+
+
+unless ( eval { Module::Build->VERSION(0.4004) } ) {
+  delete $module_build_args{test_requires};
+  $module_build_args{build_requires} = \%fallback_build_requires;
+}
+
+my $build = Module::Build->new(%module_build_args);
+
+$build->create_build_script;
diff --git a/META.json b/META.json
index 2bb099c..a67bd18 100644
--- a/META.json
+++ b/META.json
@@ -36,9 +36,14 @@
       }
    },
    "prereqs" : {
+      "build" : {
+         "requires" : {
+            "Module::Build" : "0.3601"
+         }
+      },
       "configure" : {
          "requires" : {
-            "Module::Build::Tiny" : "0.030"
+            "Module::Build" : "0.3601"
          }
       },
       "develop" : {
diff --git a/dist.ini b/dist.ini
index a4dbffa..e6536a0 100644
--- a/dist.ini
+++ b/dist.ini
@@ -1 +1,2 @@
 [@Milla]
+installer = ModuleBuild

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



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