From 623ee73d661e5ed8475cb264511f683407d87365 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 12 Apr 2020 03:41:30 +0100 Subject: gentoo Easter resync : 12.04.2020 --- dev-perl/Statistics-Basic/Manifest | 4 + .../Statistics-Basic-1.661.100.ebuild | 29 ++ .../files/Statistics-Basic-1.6611-no-dot-inc.patch | 436 +++++++++++++++++++++ dev-perl/Statistics-Basic/metadata.xml | 22 ++ 4 files changed, 491 insertions(+) create mode 100644 dev-perl/Statistics-Basic/Manifest create mode 100644 dev-perl/Statistics-Basic/Statistics-Basic-1.661.100.ebuild create mode 100644 dev-perl/Statistics-Basic/files/Statistics-Basic-1.6611-no-dot-inc.patch create mode 100644 dev-perl/Statistics-Basic/metadata.xml (limited to 'dev-perl/Statistics-Basic') diff --git a/dev-perl/Statistics-Basic/Manifest b/dev-perl/Statistics-Basic/Manifest new file mode 100644 index 000000000000..55e8a2d32379 --- /dev/null +++ b/dev-perl/Statistics-Basic/Manifest @@ -0,0 +1,4 @@ +AUX Statistics-Basic-1.6611-no-dot-inc.patch 11963 BLAKE2B 5e22ed4e23fd2115f47b1e851093e146522e2fcb1a3ce211546f629753ae31a404ac1b7be3f26e557c1489b24441c8a45d79503d37670c3c8ee4d828ed9f1ad1 SHA512 ebec049a41cbe4b98ce02f5b63084b1d40d4e3a10736a80efce785a436c4619036602c7e886bb86ba9455dd567266abbeea03a6d1551782aa735871f59d4d6bd +DIST Statistics-Basic-1.6611.tar.gz 30630 BLAKE2B 7b233404166d134f4f710e8cf29cd9b66703b82e15ab49d2c5eb05d155985c85df30e789033b936de1b9545add11733749eb8761ce2c865da1048899b86d818e SHA512 10d726f9ace2a78753ec6cd91bd2c7cc7958eac11de762c3f4deff1a90e0837269484b7adc2ba22f3de128c3bf3a626cb70a9fd752a3eff5fd60db52cb7a7d68 +EBUILD Statistics-Basic-1.661.100.ebuild 536 BLAKE2B 4bf37509b7a6351d23f1ae20574a880a86b8b59f6278acfefbea123da6be42e4cdea94679d015bda1bc4bb28b006f120e7a84b9fe83dd4b7b30481a3479f6877 SHA512 e3a5f6062a673edd2cd71ff1dd30cbdf46ae38bcc6002c2a9ff58b2c386f38c8aea0db9a3f7ae271c3ee80a9e06cb50305c75fb0cc30577d15f9918a7d335180 +MISC metadata.xml 1147 BLAKE2B d43b06018b5b80b1f48c8bd130743f1d8a9ec4246cff6f112fc9e13ab5eb8d2c710f69766aefe4f1af4396b8365a6b59cef79fcdd316c16c430636bbd4bed593 SHA512 7fbc94117b75ff23925eb3c035ef1a26642c2ebb283432aa539ccdaf4b9dbb9a94e362182f2ae46c0d3bb3cf3030ea0937ebb6df7305020cae7512d6979ed276 diff --git a/dev-perl/Statistics-Basic/Statistics-Basic-1.661.100.ebuild b/dev-perl/Statistics-Basic/Statistics-Basic-1.661.100.ebuild new file mode 100644 index 000000000000..86e11b2c710e --- /dev/null +++ b/dev-perl/Statistics-Basic/Statistics-Basic-1.661.100.ebuild @@ -0,0 +1,29 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=JETTERO +DIST_VERSION=1.6611 +inherit perl-module + +DESCRIPTION="A collection of very basic statistics modules" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-perl/Number-Format-1.420.0 + virtual/perl-Scalar-List-Utils +" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker +" +PATCHES=( + "${FILESDIR}/${PN}-${DIST_VERSION}-no-dot-inc.patch" +) +PERL_RM_FILES=( + "t/pod_coverage.t" + "t/pod.t" + "t/critic.t" +) diff --git a/dev-perl/Statistics-Basic/files/Statistics-Basic-1.6611-no-dot-inc.patch b/dev-perl/Statistics-Basic/files/Statistics-Basic-1.6611-no-dot-inc.patch new file mode 100644 index 000000000000..b4816cb6c37f --- /dev/null +++ b/dev-perl/Statistics-Basic/files/Statistics-Basic-1.6611-no-dot-inc.patch @@ -0,0 +1,436 @@ +From fb35de2d10ce7894e46e3b9088a670416d09ffc9 Mon Sep 17 00:00:00 2001 +From: Kent Fredric +Date: Wed, 8 Apr 2020 19:48:41 +1200 +Subject: Fix test failures without '.' present in '@INC' + +Since Perl 5.26.0, under default conditions, '.' is no longer in @INC + +This issue is however presently hidden, as unless somebody explicitly +sets PERL_UNSAFE_INC=0: +- CPAN tools set PERL_USE_UNSAFE_INC=1 when running "./Makefile.PL" +- Test::Harness sets PERL_USE_UNSAFE_INC=1 + +Its anticipated that in a future perl version, the PERL_USE_UNSAFE_INC +mechansim will go away, leading to these failures. + +Without this patch, the issue is always visible when testing via: + + perl Makefile.PL + make + perl -Mblib t/foo.t + +But is not visible with a standard + + make test + +( A good way to see where it gets turned on automatically is put a + throw-away test somewhere with the code: + + die "BAD PROGRAMMER, NO COOKIE" if $ENV{PERL_USE_UNSAFE_INC}; + +Then it barfs every time your toolchain hid this problem from you. + +Just don't ship that in a test or you will have a bad day ) + +Bug: https://github.com/jettero/statistics--basic/pull/3 +--- + t/05_load_them.t | 3 +-- + t/07_vector.t | 2 +- + t/08_cvec.t | 2 +- + t/08_filter_outliers.t | 2 +- + t/09_test_importer_vars_debug.t | 2 +- + t/09_test_importer_vars_debug0.t | 2 +- + t/09_test_importer_vars_debug1.t | 2 +- + t/09_test_importer_vars_ipres.t | 2 +- + t/09_test_importer_vars_ipres1.t | 2 +- + t/09_test_importer_vars_ipres2.t | 2 +- + t/09_test_importer_vars_nofill.t | 2 +- + t/09_test_importer_vars_nofill0.t | 2 +- + t/09_test_importer_vars_nofill1.t | 2 +- + t/09_test_importer_vars_toler.t | 2 +- + t/09_test_importer_vars_toler1.t | 2 +- + t/10_mean.t | 2 +- + t/10_median.t | 2 +- + t/10_mode.t | 2 +- + t/10_moving_average.t | 2 +- + t/15_covariance.t | 2 +- + t/15_variance.t | 2 +- + t/17_stddev.t | 3 ++- + t/19_combo.t | 2 +- + t/20_LSF.t | 2 +- + t/20_correlation.t | 2 +- + t/25_correlate_computed.t | 2 +- + t/30_empty_constructor_tests.t | 2 +- + t/53_co_persistance.t | 2 +- + t/53_persistance.t | 2 +- + t/54_doc_example.t | 2 +- + t/60_bigfloats.t | 2 +- + t/75_filtered_missings.t | 2 +- + t/75_missing_correlated.t | 2 +- + 33 files changed, 34 insertions(+), 34 deletions(-) + +diff --git a/t/05_load_them.t b/t/05_load_them.t +index f5f2979..ee76bcc 100644 +--- a/t/05_load_them.t ++++ b/t/05_load_them.t +@@ -1,5 +1,4 @@ +- +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + +diff --git a/t/07_vector.t b/t/07_vector.t +index 2672718..73ba75f 100644 +--- a/t/07_vector.t ++++ b/t/07_vector.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic qw(:all ignore_env); +diff --git a/t/08_cvec.t b/t/08_cvec.t +index 9783422..171e17d 100644 +--- a/t/08_cvec.t ++++ b/t/08_cvec.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic qw(:all ignore_env); +diff --git a/t/08_filter_outliers.t b/t/08_filter_outliers.t +index 16f3b7d..ecb13a9 100644 +--- a/t/08_filter_outliers.t ++++ b/t/08_filter_outliers.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic qw(:all ignore_env); +diff --git a/t/09_test_importer_vars_debug.t b/t/09_test_importer_vars_debug.t +index d8747d2..0c8266f 100644 +--- a/t/09_test_importer_vars_debug.t ++++ b/t/09_test_importer_vars_debug.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all debug); + +diff --git a/t/09_test_importer_vars_debug0.t b/t/09_test_importer_vars_debug0.t +index 9c7041e..b657032 100644 +--- a/t/09_test_importer_vars_debug0.t ++++ b/t/09_test_importer_vars_debug0.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all debug=0); + +diff --git a/t/09_test_importer_vars_debug1.t b/t/09_test_importer_vars_debug1.t +index 1e6702e..a37a931 100644 +--- a/t/09_test_importer_vars_debug1.t ++++ b/t/09_test_importer_vars_debug1.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all debug=1); + +diff --git a/t/09_test_importer_vars_ipres.t b/t/09_test_importer_vars_ipres.t +index 8045d21..c2cc9d8 100644 +--- a/t/09_test_importer_vars_ipres.t ++++ b/t/09_test_importer_vars_ipres.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all ipres); + +diff --git a/t/09_test_importer_vars_ipres1.t b/t/09_test_importer_vars_ipres1.t +index 1ea991b..f076f7a 100644 +--- a/t/09_test_importer_vars_ipres1.t ++++ b/t/09_test_importer_vars_ipres1.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all ipres=1); + +diff --git a/t/09_test_importer_vars_ipres2.t b/t/09_test_importer_vars_ipres2.t +index c908c26..5fdf76c 100644 +--- a/t/09_test_importer_vars_ipres2.t ++++ b/t/09_test_importer_vars_ipres2.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all ipres=2); + +diff --git a/t/09_test_importer_vars_nofill.t b/t/09_test_importer_vars_nofill.t +index 461f843..eda5ec6 100644 +--- a/t/09_test_importer_vars_nofill.t ++++ b/t/09_test_importer_vars_nofill.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all nofill); + +diff --git a/t/09_test_importer_vars_nofill0.t b/t/09_test_importer_vars_nofill0.t +index 53bb877..52725f4 100644 +--- a/t/09_test_importer_vars_nofill0.t ++++ b/t/09_test_importer_vars_nofill0.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all nofill=0); + +diff --git a/t/09_test_importer_vars_nofill1.t b/t/09_test_importer_vars_nofill1.t +index 87f6300..42f3280 100644 +--- a/t/09_test_importer_vars_nofill1.t ++++ b/t/09_test_importer_vars_nofill1.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all nofill=1); + +diff --git a/t/09_test_importer_vars_toler.t b/t/09_test_importer_vars_toler.t +index 9af2659..0b44e3a 100644 +--- a/t/09_test_importer_vars_toler.t ++++ b/t/09_test_importer_vars_toler.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + + BEGIN { $ENV{TOLER} = 1 } + +diff --git a/t/09_test_importer_vars_toler1.t b/t/09_test_importer_vars_toler1.t +index dacc30c..85094a7 100644 +--- a/t/09_test_importer_vars_toler1.t ++++ b/t/09_test_importer_vars_toler1.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all toler=0); + +diff --git a/t/10_mean.t b/t/10_mean.t +index 322d3f5..777cdf3 100644 +--- a/t/10_mean.t ++++ b/t/10_mean.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic; +diff --git a/t/10_median.t b/t/10_median.t +index dc1b6d4..73527da 100644 +--- a/t/10_median.t ++++ b/t/10_median.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic qw(:all); +diff --git a/t/10_mode.t b/t/10_mode.t +index 0b053cc..e27220f 100644 +--- a/t/10_mode.t ++++ b/t/10_mode.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic qw(:all ignore_env); +diff --git a/t/10_moving_average.t b/t/10_moving_average.t +index eea4667..3a2587b 100644 +--- a/t/10_moving_average.t ++++ b/t/10_moving_average.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic qw(:all nofill); +diff --git a/t/15_covariance.t b/t/15_covariance.t +index 1f2868a..4d13ed0 100644 +--- a/t/15_covariance.t ++++ b/t/15_covariance.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic; +diff --git a/t/15_variance.t b/t/15_variance.t +index fbd4cec..24073db 100644 +--- a/t/15_variance.t ++++ b/t/15_variance.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic; +diff --git a/t/17_stddev.t b/t/17_stddev.t +index 681aa32..11fa423 100644 +--- a/t/17_stddev.t ++++ b/t/17_stddev.t +@@ -1,5 +1,6 @@ + +-use t::locale_hack; ++ ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic; +diff --git a/t/19_combo.t b/t/19_combo.t +index 483e14b..5fba593 100644 +--- a/t/19_combo.t ++++ b/t/19_combo.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic qw(:all); +diff --git a/t/20_LSF.t b/t/20_LSF.t +index 9941053..e3c14ea 100644 +--- a/t/20_LSF.t ++++ b/t/20_LSF.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic; +diff --git a/t/20_correlation.t b/t/20_correlation.t +index 629373a..015d12d 100644 +--- a/t/20_correlation.t ++++ b/t/20_correlation.t +@@ -1,5 +1,5 @@ + use strict; +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all toler=0.000_001); + +diff --git a/t/25_correlate_computed.t b/t/25_correlate_computed.t +index 3b79a06..2fa0c98 100644 +--- a/t/25_correlate_computed.t ++++ b/t/25_correlate_computed.t +@@ -1,4 +1,4 @@ +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic qw(:all toler=0.05); +diff --git a/t/30_empty_constructor_tests.t b/t/30_empty_constructor_tests.t +index b603e74..6cd5557 100644 +--- a/t/30_empty_constructor_tests.t ++++ b/t/30_empty_constructor_tests.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Test; + use Statistics::Basic qw(:all); + +diff --git a/t/53_co_persistance.t b/t/53_co_persistance.t +index 827069d..94c0ed3 100644 +--- a/t/53_co_persistance.t ++++ b/t/53_co_persistance.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic qw(:all ignore_env); +diff --git a/t/53_persistance.t b/t/53_persistance.t +index c71ab29..1007610 100644 +--- a/t/53_persistance.t ++++ b/t/53_persistance.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic qw(:all); +diff --git a/t/54_doc_example.t b/t/54_doc_example.t +index 3237e82..a66c290 100644 +--- a/t/54_doc_example.t ++++ b/t/54_doc_example.t +@@ -1,5 +1,5 @@ + +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use Statistics::Basic qw(:all); + + my $v1 = vector(1,2,3,4,5); +diff --git a/t/60_bigfloats.t b/t/60_bigfloats.t +index d2f04b1..b052435 100644 +--- a/t/60_bigfloats.t ++++ b/t/60_bigfloats.t +@@ -1,4 +1,4 @@ +-use t::locale_hack; ++BEGIN { require "./t/locale_hack.pm" } + use strict; + use Test; + use Statistics::Basic qw(:all toler=0.000_001); +diff --git a/t/75_filtered_missings.t b/t/75_filtered_missings.t +index 0874446..862ca5a 100644 +--- a/t/75_filtered_missings.t ++++ b/t/75_filtered_missings.t +@@ -1,5 +1,5 @@ ++BEGIN { require "./t/locale_hack.pm" } + +-use t::locale_hack; + use Test; + use Statistics::Basic qw(:all); + +diff --git a/t/75_missing_correlated.t b/t/75_missing_correlated.t +index 2b16719..1532e81 100644 +--- a/t/75_missing_correlated.t ++++ b/t/75_missing_correlated.t +@@ -1,5 +1,5 @@ ++BEGIN { require "./t/locale_hack.pm" } + +-use t::locale_hack; + use Test; + use Statistics::Basic qw(:all); + +-- +2.26.0 + diff --git a/dev-perl/Statistics-Basic/metadata.xml b/dev-perl/Statistics-Basic/metadata.xml new file mode 100644 index 000000000000..667e09a99bf9 --- /dev/null +++ b/dev-perl/Statistics-Basic/metadata.xml @@ -0,0 +1,22 @@ + + + + + perl@gentoo.org + Gentoo Perl Project + + + Statistics-Basic + Statistics::Basic + Statistics::Basic::ComputedVector + Statistics::Basic::Correlation + Statistics::Basic::Covariance + Statistics::Basic::LeastSquareFit + Statistics::Basic::Mean + Statistics::Basic::Median + Statistics::Basic::Mode + Statistics::Basic::StdDev + Statistics::Basic::Variance + Statistics::Basic::Vector + + -- cgit v1.2.3