[SCM] Debian packaging of libstatistics-basic-perl branch, master, updated. e01dfcf33b0bf28dc98a1fedef8c09a7fcac161c

gregor herrmann gregoa at debian.org
Sun Jan 22 16:21:51 UTC 2012


The following commit has been merged in the master branch:
commit 59d4f028a456babf2ba94b81ab2cd3bc4c12f218
Author: gregor herrmann <gregoa at debian.org>
Date:   Sun Jan 22 16:58:10 2012 +0100

    Imported Upstream version 1.6605

diff --git a/Basic.pm b/Basic.pm
index 62ecf11..4f6d22b 100644
--- a/Basic.pm
+++ b/Basic.pm
@@ -7,15 +7,15 @@ use Carp;
 
 use Number::Format;
 
-our $VERSION = '1.6602';
+our $VERSION = '1.6605';
 our $fmt = new Number::Format;
 
 our( $NOFILL, $DEBUG, $IPRES, $TOLER, $UNBIAS );
 
 BEGIN {
-    $NOFILL = exists($ENV{NOFILL}) ? $ENV{NOFILL} : 0;
-    $DEBUG  = exists($ENV{DEBUG})  ? $ENV{DEBUG}  : 0;
-    $IPRES  = exists($ENV{IPRES})  ? $ENV{IPRES}  : 2;
+    $NOFILL = exists($ENV{NOFILL})        ? $ENV{NOFILL}        : 0;
+    $DEBUG  = exists($ENV{DEBUG_STATS_B}) ? $ENV{DEBUG_STATS_B} : 0;
+    $IPRES  = exists($ENV{IPRES})         ? $ENV{IPRES}         : 2;
     $TOLER  = $ENV{TOLER} if exists $ENV{TOLER};
 }
 
diff --git a/Changes b/Changes
index 7f90055..9d75ef0 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,10 @@
+1.6605: Sat Jan 21 2012
+   - change env var DEBUG to DEBUG_STATS_B (cpan698301 at mstier.de)
+
+1.6603: Mon Jan 24 2011
+   - fail to load Test::More gracefully, but don't require it
+     even for build.
+
 1.6602: Thu Sep 30 2010
    - changes to make this work again in 5.6.x
      (hint provided by Jerome Provensal)
diff --git a/MANIFEST b/MANIFEST
index 99ff0f4..92311a6 100644
--- a/MANIFEST
+++ b/MANIFEST
@@ -65,4 +65,5 @@ t/75_missing_correlated.t
 t/critic.t
 t/pod.t
 t/pod_coverage.t
-META.yml                                 Module meta-data (added by MakeMaker)
+META.yml                                 Module YAML meta-data (added by MakeMaker)
+META.json                                Module JSON meta-data (added by MakeMaker)
diff --git a/META.json b/META.json
new file mode 100644
index 0000000..f5cd6b6
--- /dev/null
+++ b/META.json
@@ -0,0 +1,55 @@
+{
+   "abstract" : "unknown",
+   "author" : [
+      "unknown"
+   ],
+   "dynamic_config" : 1,
+   "generated_by" : "ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112150",
+   "keywords" : [
+      "stats",
+      "statistics",
+      "mean",
+      "average",
+      "correlation"
+   ],
+   "license" : [
+      "open_source"
+   ],
+   "meta-spec" : {
+      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
+      "version" : "2"
+   },
+   "name" : "Statistics-Basic",
+   "no_index" : {
+      "directory" : [
+         "t",
+         "inc"
+      ]
+   },
+   "prereqs" : {
+      "build" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : 0
+         }
+      },
+      "configure" : {
+         "requires" : {
+            "ExtUtils::MakeMaker" : 0
+         }
+      },
+      "runtime" : {
+         "requires" : {
+            "Number::Format" : "1.42",
+            "Scalar::Util" : 0,
+            "perl" : "5.006"
+         }
+      }
+   },
+   "release_status" : "stable",
+   "resources" : {
+      "repository" : {
+         "url" : "http://github.com/jettero/statistics--basic"
+      }
+   },
+   "version" : "1.6605"
+}
diff --git a/META.yml b/META.yml
index 6c26390..409d18a 100644
--- a/META.yml
+++ b/META.yml
@@ -1,31 +1,32 @@
---- #YAML:1.0
-name:               Statistics-Basic
-version:            1.6602
-abstract:           ~
-author:  []
-license:            LGPL
-distribution_type:  module
-configure_requires:
-    ExtUtils::MakeMaker:  0
+---
+abstract: unknown
+author:
+  - unknown
 build_requires:
-    ExtUtils::MakeMaker:  0
+  ExtUtils::MakeMaker: 0
+configure_requires:
+  ExtUtils::MakeMaker: 0
+dynamic_config: 1
+generated_by: 'ExtUtils::MakeMaker version 6.62, CPAN::Meta::Converter version 2.112150'
+keywords:
+  - stats
+  - statistics
+  - mean
+  - average
+  - correlation
+license: open_source
+meta-spec:
+  url: http://module-build.sourceforge.net/META-spec-v1.4.html
+  version: 1.4
+name: Statistics-Basic
+no_index:
+  directory:
+    - t
+    - inc
 requires:
-    Number::Format:  1.42
-    perl:            5.006
-    Scalar::Util:    0
+  Number::Format: 1.42
+  Scalar::Util: 0
+  perl: 5.006
 resources:
-    repository:  http://github.com/jettero/statistics--basic
-no_index:
-    directory:
-        - t
-        - inc
-generated_by:       ExtUtils::MakeMaker version 6.56
-meta-spec:
-    url:      http://module-build.sourceforge.net/META-spec-v1.4.html
-    version:  1.4
-keywords:
-    - stats
-    - statistics
-    - mean
-    - average
-    - correlation
+  repository: http://github.com/jettero/statistics--basic
+version: 1.6605
diff --git a/lib/Statistics/Basic.pod b/lib/Statistics/Basic.pod
index 936696b..6a36a3c 100644
--- a/lib/Statistics/Basic.pod
+++ b/lib/Statistics/Basic.pod
@@ -533,7 +533,7 @@ package variables of the same name in all upper case.  Example:
     # code code code
 
     { 
-        local $Statistics::Basic::DEBUG = 1; # debug, this block only
+        local $Statistics::Basic::DEBUG_STATS_B = 1; # debug, this block only
     }
  
 Special caveat: L</toler> can in fact be changed via the package var (e.g.,
@@ -606,7 +606,7 @@ option.  It can be changed at any time.
 Enable debugging with C<use Statistics::Basic qw(debug)> or disable a specific
 level (including C<0> to disable) with C<use Statistics::Basic qw(debug=2)>.
 
-This is also accessible at runtime using C<$Statistics::Basic::DEBUG> and can be
+This is also accessible at runtime using C<$Statistics::Basic::DEBUG_STATS_B> and can be
 switched on and off at any time.
 
 =item B<ignore_env>
@@ -629,11 +629,11 @@ this option.
 You can change the defaults (assuming L<ignore_env|/ignore_env> is not used)
 from your bash prompt.  Example:
 
-    DEBUG=1 perl ./myprog.pl
+    DEBUG_STATS_B=1 perl ./myprog.pl
 
 =over 4
 
-=item B<$ENV{DEBUG}>
+=item B<$ENV{DEBUG_STATS_B}>
 
 Sets the default value of L</debug>.
 
@@ -674,7 +674,7 @@ all.  Half the fun of releasing this stuff is knowing that people use it.
 
 =head1 COPYRIGHT
 
-Copyright 2009 Paul Miller -- Licensed under the LGPL
+Copyright 2009 Paul Miller -- Licensed under the LGPL version 2.
 
 =head1 SEE ALSO
 
diff --git a/t/critic.t b/t/critic.t
index c0697c2..1f1239c 100644
--- a/t/critic.t
+++ b/t/critic.t
@@ -1,19 +1,22 @@
 #!/usr/bin/perl -w
 use strict;
-use Test::More;
-use File::Spec;
+
+unless( eval { require Test::More; 1} ) {
+    print "1..0 # SKIP Author test.\n";
+    exit 0;
+}
+
+Test::More->import();
 
 no warnings;
 
 # NOTE: please do not blame me for suggetions from this test.  Do not set
 # TEST_AUTHOR and then tell me about it.  Use test at your own risk.
 if ($ENV{TEST_AUTHOR} ne "author972") {
-    plan( skip_all => 'Author test.  Set $ENV{TEST_AUTHOR} to true to run.');
+    plan( skip_all => 'Author test.' );
 }
 
-eval { require Test::Perl::Critic; };
-
-if ($@) {
+unless( eval { require Test::Perl::Critic; 1 } ) {
     plan( skip_all => 'Test::Perl::Critic required for test.');
 }
 
diff --git a/t/pod.t b/t/pod.t
index 130b3a7..5f32aed 100644
--- a/t/pod.t
+++ b/t/pod.t
@@ -1,14 +1,21 @@
 #!/usr/bin/perl -w
 use strict;
-use Test::More;
+
+unless( eval { require Test::More; 1} ) {
+    print "1..0 # SKIP Author test.\n";
+    exit 0;
+}
+
+Test::More->import();
+
 no warnings;
 
 # NOTE: please do not blame me for suggetions from this test.  Do not set
 # TEST_AUTHOR and then tell me about it.  Use test at your own risk.
 if ($ENV{TEST_AUTHOR} ne "author972") {
-    plan( skip_all => 'Author test.  Set $ENV{TEST_AUTHOR} to true to run.');
+    plan( skip_all => 'Author test.' );
 }
 
 eval "use Test::Pod 1.00";  ## no critic
-plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
+plan( skip_all => "Test::Pod 1.00 required for testing POD" ) if $@;
 all_pod_files_ok();
diff --git a/t/pod_coverage.t b/t/pod_coverage.t
index fb67910..bc7932c 100644
--- a/t/pod_coverage.t
+++ b/t/pod_coverage.t
@@ -1,17 +1,24 @@
 #!/usr/bin/perl -w
 
 use strict;
-use Test::More;
+
+unless( eval { require Test::More; 1} ) {
+    print "1..0 # SKIP Author test.\n";
+    exit 0;
+}
+
+Test::More->import();
+
 no warnings;
 
 # NOTE: please do not blame me for suggetions from this test.  Do not set
 # TEST_AUTHOR and then tell me about it.  Use test at your own risk.
 if ($ENV{TEST_AUTHOR} ne "author972" ) {
-    plan( skip_all => 'Author test.  Set $ENV{TEST_AUTHOR} to true to run.');
+    plan( skip_all => 'Author test.' );
 }
 
 eval "use Test::Pod::Coverage 1.00";
-plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD" if $@;
+plan( skip_all => "Test::Pod::Coverage 1.00 required for testing POD" ) if $@;
 
 
 all_pod_coverage_ok();

-- 
Debian packaging of libstatistics-basic-perl



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