[SCM] Packaging of MooseX::SimpleConfig in Debian branch, master, updated. debian/0.09-1-4-g072bb92

Nicholas Bamber nicholas at periapt.co.uk
Wed Jun 20 07:51:26 UTC 2012


The following commit has been merged in the master branch:
commit 75c692ca88c857c0db585441161191eed6b76a07
Author: Nicholas Bamber <nicholas at periapt.co.uk>
Date:   Wed Jun 20 08:47:22 2012 +0100

    loosened test sanity checks

diff --git a/debian/control b/debian/control
index ce5254a..dcfbbb8 100644
--- a/debian/control
+++ b/debian/control
@@ -6,7 +6,7 @@ Uploaders: Nicholas Bamber <nicholas at periapt.co.uk>
 Build-Depends: debhelper (>= 8)
 Build-Depends-Indep: perl, libmoosex-configfromfile-perl, libmoose-perl,
  libconfig-any-perl (>= 0.13), perl (>= 5.10.1) | libtest-simple-perl (>= 0.88),
- libyaml-libyaml-perl, libconfig-general-perl
+ libyaml-libyaml-perl | libyaml-syck-perl | libyaml-perl, libconfig-general-perl
 Standards-Version: 3.9.3
 Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-perl/packages/libmoosex-simpleconfig-perl.git
 Vcs-Git: git://git.debian.org/pkg-perl/packages/libmoosex-simpleconfig-perl.git
@@ -16,7 +16,9 @@ Package: libmoosex-simpleconfig-perl
 Architecture: all
 Depends: ${misc:Depends}, ${perl:Depends}, libmoosex-configfromfile-perl,
  libmoose-perl, libconfig-any-perl (>= 0.13)
-Recommends: libyaml-libyaml-perl, libconfig-general-perl
+Recommends: libyaml-libyaml-perl | libyaml-syck-perl | libyaml-perl,
+ libconfig-general-perl
+Suggests: libconfig-tiny-perl
 Description: Moose role for setting attributes from a simple configfile
  The MooseX::SimpleConfig role loads simple configuration files to set object
  attributes. It uses Config::Any to actually parse the config files.
diff --git a/debian/patches/allow_yaml_xs.patch b/debian/patches/allow_yaml_xs.patch
new file mode 100644
index 0000000..0f4db75
--- /dev/null
+++ b/debian/patches/allow_yaml_xs.patch
@@ -0,0 +1,66 @@
+Author: Nicholas Bamber <nicholas at periapt.co.uk>
+Subject: Test scripts stooping too low
+ Config::Any allows YAML::XS, YAML::Syck and YAML and prefers YAML::XS.
+ However the upstream test scripts are not allowing YAML::XS.
+Forwarded: no
+Last-Update:  2012-06-20
+--- a/t/10simple.t
++++ b/t/10simple.t
+@@ -9,11 +9,14 @@
+ BEGIN {
+     use Test::More;
+ 
+-    eval "use YAML::Syck ()";
++    eval "use YAML::XS()";
+     if($@) {
+-        eval "use YAML ()";
++        eval "use YAML::Syck ()";
+         if($@) {
+-            plan skip_all => "YAML or YAML::Syck required for this test";
++            eval "use YAML ()";
++            if($@) {
++                plan skip_all => "YAML::XS or YAML or YAML::Syck required for this test";
++            }
+         }
+     }
+     
+--- a/t/11default.t
++++ b/t/11default.t
+@@ -11,11 +11,14 @@
+ 
+     @classes = qw/ MXDefaultConfigTest MXDefaultMultipleConfigsTest /;
+ 
+-    eval "use YAML::Syck ()";
++    eval "use YAML::XS()";
+     if($@) {
+-        eval "use YAML ()";
++        eval "use YAML::Syck ()";
+         if($@) {
+-            plan skip_all => "YAML or YAML::Syck required for this test";
++            eval "use YAML ()";
++            if($@) {
++                plan skip_all => "YAML::XS or YAML or YAML::Syck required for this test";
++            }
+         }
+     }
+ 
+--- a/t/multiple.t
++++ b/t/multiple.t
+@@ -9,11 +9,14 @@
+ BEGIN {
+     use Test::More;
+ 
+-    eval "use YAML::Syck ()";
++    eval "use YAML::XS()";
+     if($@) {
+-        eval "use YAML ()";
++        eval "use YAML::Syck ()";
+         if($@) {
+-            plan skip_all => "YAML or YAML::Syck required for this test";
++            eval "use YAML ()";
++            if($@) {
++                plan skip_all => "YAML::XS or YAML or YAML::Syck required for this test";
++            }
+         }
+     }
+     
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..703500c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+allow_yaml_xs.patch

-- 
Packaging of MooseX::SimpleConfig in Debian



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