Hello community,
here is the log from the commit of package perl-Statistics-Descriptive for openSUSE:Factory checked in at 2015-02-08 11:42:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Statistics-Descriptive (Old)
and /work/SRC/openSUSE:Factory/.perl-Statistics-Descriptive.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Statistics-Descriptive"
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Statistics-Descriptive/perl-Statistics-Descriptive.changes 2014-02-12 09:48:50.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Statistics-Descriptive.new/perl-Statistics-Descriptive.changes 2015-02-08 11:42:46.000000000 +0100
@@ -1,0 +2,8 @@
+Sat Feb 7 07:21:45 UTC 2015 - coolo@suse.com
+
+- updated to 3.0608
+ - Apply patch to speed up skewness calculations.
+ - https://rt.cpan.org/Public/Bug/Display.html?id=101422
+ - Thanks to Shawn (SLAFFAN).
+
+-------------------------------------------------------------------
Old:
----
Statistics-Descriptive-3.0607.tar.gz
New:
----
Statistics-Descriptive-3.0608.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Statistics-Descriptive.spec ++++++
--- /var/tmp/diff_new_pack.FiIbFe/_old 2015-02-08 11:42:47.000000000 +0100
+++ /var/tmp/diff_new_pack.FiIbFe/_new 2015-02-08 11:42:47.000000000 +0100
@@ -1,7 +1,7 @@
#
# spec file for package perl-Statistics-Descriptive
#
-# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: perl-Statistics-Descriptive
-Version: 3.0607
+Version: 3.0608
Release: 0
%define cpan_name Statistics-Descriptive
Summary: Module of basic descriptive statistical functions.
++++++ Statistics-Descriptive-3.0607.tar.gz -> Statistics-Descriptive-3.0608.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Statistics-Descriptive-3.0607/Changes new/Statistics-Descriptive-3.0608/Changes
--- old/Statistics-Descriptive-3.0607/Changes 2014-02-01 09:42:51.000000000 +0100
+++ new/Statistics-Descriptive-3.0608/Changes 2015-01-14 11:30:08.000000000 +0100
@@ -1,5 +1,10 @@
Revision history for Perl extension Statistics::Descriptive.
+3.0608 2015-01-14
+ - Apply patch to speed up skewness calculations.
+ - https://rt.cpan.org/Public/Bug/Display.html?id=101422
+ - Thanks to Shawn (SLAFFAN).
+
3.0607 2014-02-01
- Fix the List::MoreUtils prereqs.
- http://www.cpantesters.org/cpan/report/365b752c-8adf-11e3-bd14-e3bee4621ba3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Statistics-Descriptive-3.0607/META.json new/Statistics-Descriptive-3.0608/META.json
--- old/Statistics-Descriptive-3.0607/META.json 2014-02-01 09:42:51.000000000 +0100
+++ new/Statistics-Descriptive-3.0608/META.json 2015-01-14 11:30:08.000000000 +0100
@@ -4,7 +4,7 @@
"Shlomi Fish "
],
"dynamic_config" : 1,
- "generated_by" : "Module::Build version 0.4007, CPAN::Meta::Converter version 2.132830",
+ "generated_by" : "Module::Build version 0.421",
"keywords" : [
"average",
"distribution",
@@ -52,27 +52,27 @@
"provides" : {
"Statistics::Descriptive" : {
"file" : "lib/Statistics/Descriptive.pm",
- "version" : "3.0607"
+ "version" : "3.0608"
},
"Statistics::Descriptive::Full" : {
"file" : "lib/Statistics/Descriptive.pm",
- "version" : "3.0607"
+ "version" : "3.0608"
},
"Statistics::Descriptive::Smoother" : {
"file" : "lib/Statistics/Descriptive/Smoother.pm",
- "version" : "3.0607"
+ "version" : "3.0608"
},
"Statistics::Descriptive::Smoother::Exponential" : {
"file" : "lib/Statistics/Descriptive/Smoother/Exponential.pm",
- "version" : "3.0607"
+ "version" : "3.0608"
},
"Statistics::Descriptive::Smoother::Weightedexponential" : {
"file" : "lib/Statistics/Descriptive/Smoother/Weightedexponential.pm",
- "version" : "3.0607"
+ "version" : "3.0608"
},
"Statistics::Descriptive::Sparse" : {
"file" : "lib/Statistics/Descriptive.pm",
- "version" : "3.0607"
+ "version" : "3.0608"
}
},
"release_status" : "stable",
@@ -85,5 +85,5 @@
"url" : "https://bitbucket.org/shlomif/perl-statistics-descriptive"
}
},
- "version" : "3.0607"
+ "version" : "3.0608"
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Statistics-Descriptive-3.0607/META.yml new/Statistics-Descriptive-3.0608/META.yml
--- old/Statistics-Descriptive-3.0607/META.yml 2014-02-01 09:42:51.000000000 +0100
+++ new/Statistics-Descriptive-3.0608/META.yml 2015-01-14 11:30:08.000000000 +0100
@@ -3,13 +3,13 @@
author:
- 'Shlomi Fish '
build_requires:
- Benchmark: 0
- Test::More: 0
- lib: 0
+ Benchmark: '0'
+ Test::More: '0'
+ lib: '0'
configure_requires:
- Module::Build: 0.36
+ Module::Build: '0.36'
dynamic_config: 1
-generated_by: 'Module::Build version 0.4007, CPAN::Meta::Converter version 2.132830'
+generated_by: 'Module::Build version 0.421, CPAN::Meta::Converter version 2.142060'
keywords:
- average
- distribution
@@ -22,38 +22,38 @@
license: perl
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.4.html
- version: 1.4
+ version: '1.4'
name: Statistics-Descriptive
provides:
Statistics::Descriptive:
file: lib/Statistics/Descriptive.pm
- version: 3.0607
+ version: '3.0608'
Statistics::Descriptive::Full:
file: lib/Statistics/Descriptive.pm
- version: 3.0607
+ version: '3.0608'
Statistics::Descriptive::Smoother:
file: lib/Statistics/Descriptive/Smoother.pm
- version: 3.0607
+ version: '3.0608'
Statistics::Descriptive::Smoother::Exponential:
file: lib/Statistics/Descriptive/Smoother/Exponential.pm
- version: 3.0607
+ version: '3.0608'
Statistics::Descriptive::Smoother::Weightedexponential:
file: lib/Statistics/Descriptive/Smoother/Weightedexponential.pm
- version: 3.0607
+ version: '3.0608'
Statistics::Descriptive::Sparse:
file: lib/Statistics/Descriptive.pm
- version: 3.0607
+ version: '3.0608'
requires:
- Carp: 0
- List::MoreUtils: 0
- List::Util: 0
- POSIX: 0
- perl: 5.006
- strict: 0
- vars: 0
- warnings: 0
+ Carp: '0'
+ List::MoreUtils: '0'
+ List::Util: '0'
+ POSIX: '0'
+ perl: '5.006'
+ strict: '0'
+ vars: '0'
+ warnings: '0'
resources:
homepage: http://web-cpan.berlios.de/modules/Statistics-Descriptive/
license: http://dev.perl.org/licenses/
repository: https://bitbucket.org/shlomif/perl-statistics-descriptive
-version: 3.0607
+version: '3.0608'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Statistics-Descriptive-3.0607/Makefile.PL new/Statistics-Descriptive-3.0608/Makefile.PL
--- old/Statistics-Descriptive-3.0607/Makefile.PL 2014-02-01 09:42:51.000000000 +0100
+++ new/Statistics-Descriptive-3.0608/Makefile.PL 2015-01-14 11:30:08.000000000 +0100
@@ -1,4 +1,4 @@
-# Note: this file was auto-generated by Module::Build::Compat version 0.4007
+# Note: this file was auto-generated by Module::Build::Compat version 0.4210
require 5.006;
use ExtUtils::MakeMaker;
WriteMakefile
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Statistics-Descriptive-3.0607/lib/Statistics/Descriptive/Smoother/Exponential.pm new/Statistics-Descriptive-3.0608/lib/Statistics/Descriptive/Smoother/Exponential.pm
--- old/Statistics-Descriptive-3.0607/lib/Statistics/Descriptive/Smoother/Exponential.pm 2014-02-01 09:42:51.000000000 +0100
+++ new/Statistics-Descriptive-3.0608/lib/Statistics/Descriptive/Smoother/Exponential.pm 2015-01-14 11:30:08.000000000 +0100
@@ -4,7 +4,7 @@
use base 'Statistics::Descriptive::Smoother';
-our $VERSION = '3.0607';
+our $VERSION = '3.0608';
sub _new {
my ($class, $args) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Statistics-Descriptive-3.0607/lib/Statistics/Descriptive/Smoother/Weightedexponential.pm new/Statistics-Descriptive-3.0608/lib/Statistics/Descriptive/Smoother/Weightedexponential.pm
--- old/Statistics-Descriptive-3.0607/lib/Statistics/Descriptive/Smoother/Weightedexponential.pm 2014-02-01 09:42:51.000000000 +0100
+++ new/Statistics-Descriptive-3.0608/lib/Statistics/Descriptive/Smoother/Weightedexponential.pm 2015-01-14 11:30:08.000000000 +0100
@@ -5,7 +5,7 @@
use Carp;
use base 'Statistics::Descriptive::Smoother';
-our $VERSION = '3.0607';
+our $VERSION = '3.0608';
sub _new {
my ($class, $args) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Statistics-Descriptive-3.0607/lib/Statistics/Descriptive/Smoother.pm new/Statistics-Descriptive-3.0608/lib/Statistics/Descriptive/Smoother.pm
--- old/Statistics-Descriptive-3.0607/lib/Statistics/Descriptive/Smoother.pm 2014-02-01 09:42:51.000000000 +0100
+++ new/Statistics-Descriptive-3.0608/lib/Statistics/Descriptive/Smoother.pm 2015-01-14 11:30:08.000000000 +0100
@@ -5,7 +5,7 @@
use Carp;
-our $VERSION = '3.0607';
+our $VERSION = '3.0608';
sub instantiate {
my ($class, $args) = @_;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Statistics-Descriptive-3.0607/lib/Statistics/Descriptive.pm new/Statistics-Descriptive-3.0608/lib/Statistics/Descriptive.pm
--- old/Statistics-Descriptive-3.0607/lib/Statistics/Descriptive.pm 2014-02-01 09:42:51.000000000 +0100
+++ new/Statistics-Descriptive-3.0608/lib/Statistics/Descriptive.pm 2015-01-14 11:30:08.000000000 +0100
@@ -9,7 +9,7 @@
use vars (qw($VERSION $Tolerance $Min_samples_number));
-$VERSION = '3.0607';
+$VERSION = '3.0608';
$Tolerance = 0.0;
$Min_samples_number = 4;
@@ -18,7 +18,7 @@
use vars qw($VERSION);
-$VERSION = '3.0607';
+$VERSION = '3.0608';
use vars qw(%fields);
use Carp;
@@ -238,7 +238,7 @@
use vars qw($VERSION);
-$VERSION = '3.0607';
+$VERSION = '3.0608';
use Carp;
use POSIX ();
@@ -823,12 +823,11 @@
my $mean = $self->mean();
my $sum_pow3;
-
foreach my $rec ( $self->get_data ) {
- my $value = (($rec - $mean) / $sd);
- $sum_pow3 += $value ** 3;
+ $sum_pow3 += (($rec - $mean) / $sd) ** 3;
}
+
my $correction = $n / ( ($n-1) * ($n-2) );
$skew = $correction * $sum_pow3;
@@ -848,7 +847,7 @@
my $kurt;
my $n = $self->count();
- my $sd = $self->standard_deviation();
+ my $sd = $self->standard_deviation();
if ( $sd && $n > 3) {
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org