r59493 - in /branches/upstream/libstatistics-descriptive-perl/current: Changes MANIFEST META.yml Makefile.PL lib/Statistics/Descriptive.pm rejects/ rejects/descr.t t/descr.t
ansgar-guest at users.alioth.debian.org
ansgar-guest at users.alioth.debian.org
Fri Jun 18 06:38:16 UTC 2010
Author: ansgar-guest
Date: Fri Jun 18 06:37:45 2010
New Revision: 59493
URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=59493
Log:
[svn-upgrade] new version libstatistics-descriptive-perl (3.0102)
Added:
branches/upstream/libstatistics-descriptive-perl/current/rejects/
branches/upstream/libstatistics-descriptive-perl/current/rejects/descr.t
Modified:
branches/upstream/libstatistics-descriptive-perl/current/Changes
branches/upstream/libstatistics-descriptive-perl/current/MANIFEST
branches/upstream/libstatistics-descriptive-perl/current/META.yml
branches/upstream/libstatistics-descriptive-perl/current/Makefile.PL
branches/upstream/libstatistics-descriptive-perl/current/lib/Statistics/Descriptive.pm
branches/upstream/libstatistics-descriptive-perl/current/t/descr.t
Modified: branches/upstream/libstatistics-descriptive-perl/current/Changes
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libstatistics-descriptive-perl/current/Changes?rev=59493&op=diff
==============================================================================
--- branches/upstream/libstatistics-descriptive-perl/current/Changes (original)
+++ branches/upstream/libstatistics-descriptive-perl/current/Changes Fri Jun 18 06:37:45 2010
@@ -1,4 +1,12 @@
Revision history for Perl extension Statistics::Descriptive.
+
+3.0102 June 15, 2010
+ - Add the $VERSION variable to Statistics::Descriptive::Sparse and
+ Statistics::Descriptive::Full. This was done to silence the CPAN indexer.
+
+3.0101 June 15, 2010
+ - Moved the trimmed_mean caching test (that used the Benchmark.pm module)
+ to rejects/descr.t , because it kept failing.
3.0100 July 20, 2009
- Added the quantile method - thanks to Djibril Ousmanou (DJIBEL).
Modified: branches/upstream/libstatistics-descriptive-perl/current/MANIFEST
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libstatistics-descriptive-perl/current/MANIFEST?rev=59493&op=diff
==============================================================================
--- branches/upstream/libstatistics-descriptive-perl/current/MANIFEST (original)
+++ branches/upstream/libstatistics-descriptive-perl/current/MANIFEST Fri Jun 18 06:37:45 2010
@@ -7,6 +7,7 @@
MANIFEST
META.yml
README
+rejects/descr.t
t/00-load.t
t/descr.t
t/freq_distribution-1-rt-34999.t
Modified: branches/upstream/libstatistics-descriptive-perl/current/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libstatistics-descriptive-perl/current/META.yml?rev=59493&op=diff
==============================================================================
--- branches/upstream/libstatistics-descriptive-perl/current/META.yml (original)
+++ branches/upstream/libstatistics-descriptive-perl/current/META.yml Fri Jun 18 06:37:45 2010
@@ -1,38 +1,14 @@
---
-name: Statistics-Descriptive
-version: 3.0100
+abstract: 'Module of basic descriptive statistical functions.'
author:
- 'Shlomi Fish <shlomif at iglu.org.il>'
-abstract: Module of basic descriptive statistical functions.
-license: perl
-resources:
- homepage: http://web-cpan.berlios.de/modules/Statistics-Descriptive/
- license: http://dev.perl.org/licenses/
- repository: http://svn.berlios.de/svnroot/repos/web-cpan/Statistics-Descriptive/
build_requires:
Benchmark: 0
Test::More: 0
lib: 0
-requires:
- Carp: 0
- POSIX: 0
- strict: 0
- vars: 0
- warnings: 0
configure_requires:
- Module::Build: 0.34
-provides:
- Statistics::Descriptive:
- file: lib/Statistics/Descriptive.pm
- version: 3.0100
- Statistics::Descriptive::Full:
- file: lib/Statistics/Descriptive.pm
- Statistics::Descriptive::Sparse:
- file: lib/Statistics/Descriptive.pm
-generated_by: Module::Build version 0.34
-meta-spec:
- url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ Module::Build: 0.36
+generated_by: 'Module::Build version 0.3607'
keywords:
- average
- distribution
@@ -41,4 +17,30 @@
- statistics
- stats
- stddev
- - standard deviation
+ - 'standard deviation'
+license: perl
+meta-spec:
+ url: http://module-build.sourceforge.net/META-spec-v1.4.html
+ version: 1.4
+name: Statistics-Descriptive
+provides:
+ Statistics::Descriptive:
+ file: lib/Statistics/Descriptive.pm
+ version: 3.0102
+ Statistics::Descriptive::Full:
+ file: lib/Statistics/Descriptive.pm
+ version: 3.0102
+ Statistics::Descriptive::Sparse:
+ file: lib/Statistics/Descriptive.pm
+ version: 3.0102
+requires:
+ Carp: 0
+ POSIX: 0
+ strict: 0
+ vars: 0
+ warnings: 0
+resources:
+ homepage: http://web-cpan.berlios.de/modules/Statistics-Descriptive/
+ license: http://dev.perl.org/licenses/
+ repository: http://svn.berlios.de/svnroot/repos/web-cpan/Statistics-Descriptive/
+version: 3.0102
Modified: branches/upstream/libstatistics-descriptive-perl/current/Makefile.PL
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libstatistics-descriptive-perl/current/Makefile.PL?rev=59493&op=diff
==============================================================================
--- branches/upstream/libstatistics-descriptive-perl/current/Makefile.PL (original)
+++ branches/upstream/libstatistics-descriptive-perl/current/Makefile.PL Fri Jun 18 06:37:45 2010
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.34
+# Note: this file was auto-generated by Module::Build::Compat version 0.3607
use ExtUtils::MakeMaker;
WriteMakefile
(
Modified: branches/upstream/libstatistics-descriptive-perl/current/lib/Statistics/Descriptive.pm
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libstatistics-descriptive-perl/current/lib/Statistics/Descriptive.pm?rev=59493&op=diff
==============================================================================
--- branches/upstream/libstatistics-descriptive-perl/current/lib/Statistics/Descriptive.pm (original)
+++ branches/upstream/libstatistics-descriptive-perl/current/lib/Statistics/Descriptive.pm Fri Jun 18 06:37:45 2010
@@ -10,11 +10,15 @@
##Perl5. 01-03 weren't bug free.
use vars (qw($VERSION $Tolerance));
-$VERSION = '3.0100';
+$VERSION = '3.0102';
$Tolerance = 0.0;
package Statistics::Descriptive::Sparse;
+
+use vars qw($VERSION);
+
+$VERSION = '3.0102';
use vars qw(%fields);
use Carp;
@@ -227,6 +231,10 @@
1;
package Statistics::Descriptive::Full;
+
+use vars qw($VERSION);
+
+$VERSION = '3.0102';
use Carp;
Added: branches/upstream/libstatistics-descriptive-perl/current/rejects/descr.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libstatistics-descriptive-perl/current/rejects/descr.t?rev=59493&op=file
==============================================================================
--- branches/upstream/libstatistics-descriptive-perl/current/rejects/descr.t (added)
+++ branches/upstream/libstatistics-descriptive-perl/current/rejects/descr.t Fri Jun 18 06:37:45 2010
@@ -1,0 +1,25 @@
+{
+ # tests #14
+ # Make sure that trimmed_mean caching works but checking execution times
+ # This test may fail on very fast machines but I'm not sure how to get
+ # better timing without requiring extra modules to be added.
+
+ my $stat = Statistics::Descriptive::Full->new();
+ ##Make this a really big array so that it takes some time to execute!
+ $stat->add_data((1,2,3,4,5,6,7,8,9,10,11,12,13) x 10000);
+
+ my ($t0,$t1,$td);
+ my @t = ();
+ foreach (0..1) {
+ $t0 = new Benchmark;
+ $stat->trimmed_mean(0.1,0.1);
+ $t1 = new Benchmark;
+ $td = timediff($t1,$t0);
+ push @t, $td->cpu_p();
+ }
+
+ # TEST
+ ok ($t[1] < $t[0],
+ "trimmed_mean caching works",
+ );
+}
Modified: branches/upstream/libstatistics-descriptive-perl/current/t/descr.t
URL: http://svn.debian.org/wsvn/pkg-perl/branches/upstream/libstatistics-descriptive-perl/current/t/descr.t?rev=59493&op=diff
==============================================================================
--- branches/upstream/libstatistics-descriptive-perl/current/t/descr.t (original)
+++ branches/upstream/libstatistics-descriptive-perl/current/t/descr.t Fri Jun 18 06:37:45 2010
@@ -3,7 +3,7 @@
use strict;
use warnings;
-use Test::More tests => 23;
+use Test::More tests => 22;
use Benchmark;
use Statistics::Descriptive;
@@ -241,32 +241,6 @@
}
{
- # tests #14
- # Make sure that trimmed_mean caching works but checking execution times
- # This test may fail on very fast machines but I'm not sure how to get
- # better timing without requiring extra modules to be added.
-
- my $stat = Statistics::Descriptive::Full->new();
- ##Make this a really big array so that it takes some time to execute!
- $stat->add_data((1,2,3,4,5,6,7,8,9,10,11,12,13) x 10000);
-
- my ($t0,$t1,$td);
- my @t = ();
- foreach (0..1) {
- $t0 = new Benchmark;
- $stat->trimmed_mean(0.1,0.1);
- $t1 = new Benchmark;
- $td = timediff($t1,$t0);
- push @t, $td->cpu_p();
- }
-
- # TEST
- ok ($t[1] < $t[0],
- "trimmed_mean caching works",
- );
-}
-
-{
my $stat = Statistics::Descriptive::Full->new();
$stat->add_data((0.001) x 6);
More information about the Pkg-perl-cvs-commits
mailing list