summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhololeap <hololeap@protonmail.com>2023-10-02 23:09:47 -0600
committerSam James <sam@gentoo.org>2023-10-23 04:10:08 +0100
commitfbf82d2b105ead45d3c112da42d2df1d9a0f22fe (patch)
tree4675f1d73e41a99431d6a6be46da75d6b94ebe24 /dev-haskell/statistics
parentdev-haskell/statevar: add 1.2.2 (diff)
downloadgentoo-fbf82d2b105ead45d3c112da42d2df1d9a0f22fe.tar.gz
gentoo-fbf82d2b105ead45d3c112da42d2df1d9a0f22fe.tar.bz2
gentoo-fbf82d2b105ead45d3c112da42d2df1d9a0f22fe.zip
dev-haskell/statistics: add 0.16.2.0
Signed-off-by: hololeap <hololeap@protonmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/statistics')
-rw-r--r--dev-haskell/statistics/Manifest1
-rw-r--r--dev-haskell/statistics/metadata.xml97
-rw-r--r--dev-haskell/statistics/statistics-0.16.2.0.ebuild44
3 files changed, 47 insertions, 95 deletions
diff --git a/dev-haskell/statistics/Manifest b/dev-haskell/statistics/Manifest
index 09182e1159e1..4c1216e28321 100644
--- a/dev-haskell/statistics/Manifest
+++ b/dev-haskell/statistics/Manifest
@@ -1 +1,2 @@
DIST statistics-0.15.2.0.tar.gz 98424 BLAKE2B 36a1b59e7db9e20ee9960f89794c2222ac8db7fa40f44b166e2d92a501b44d8d5ec06bab96b9e89bb7417852a98890bdf140f3b1a7fb27f0e034490615d84131 SHA512 7afa3e3edb15e02ff59c72601175d25f1a8baeaa1dd8561322e8e26781dbfbfcc03b2ade773269bab027d7399375f01595145fd2e2f252f3e73abc87f9baed41
+DIST statistics-0.16.2.0.tar.gz 107609 BLAKE2B c5a5fe29ec68600ecf5d15855537672432ba09edff26a36387224d1e295cbd6a57a6025b2774f47fd56c9809f4b8b1889bf7aa1240d83eecb4a4d82933ca6223 SHA512 934928e5f8f4f38fe1755a5d16d9a4653401a983d86b2f0fc7f9d4ba90b0b05cf19caec2f4e48874fc7995450a016fa9b45dadc0d6316807fbf19ed75d14c38b
diff --git a/dev-haskell/statistics/metadata.xml b/dev-haskell/statistics/metadata.xml
index 8085f8ca3142..e25f1d14aa33 100644
--- a/dev-haskell/statistics/metadata.xml
+++ b/dev-haskell/statistics/metadata.xml
@@ -5,101 +5,8 @@
<email>haskell@gentoo.org</email>
<name>Gentoo Haskell</name>
</maintainer>
- <longdescription>
- This library provides a number of common functions and types useful
- in statistics. We focus on high performance, numerical robustness,
- and use of good algorithms. Where possible, we provide
- references to the statistical literature.
-
- The library's facilities can be divided into four broad categories:
-
- * Working with widely used discrete and continuous probability
- distributions. (There are dozens of exotic distributions in use;
- we focus on the most common.)
-
- * Computing with sample data: quantile estimation, kernel density
- estimation, histograms, bootstrap methods, significance testing,
- and autocorrelation analysis.
-
- * Random variate generation under several different distributions.
-
- * Common statistical tests for significant differences between
- samples.
-
- Changes in 0.10.0.0:
-
- * The type classes @Mean@ and @Variance@ are split in two. This is
- required for distributions which do not have finite variance or
- mean.
-
- * The @S.Sample.KernelDensity@ module has been renamed, and
- completely rewritten to be much more robust. The older module
- oversmoothed multi-modal data. (The older module is still
- available under the name @S.Sample.KernelDensity.Simple@).
-
- * Histogram computation is added, in @S.Sample.Histogram@.
-
- * Forward and inverse discrete Fourier and cosine transforms are
- added, in @S.Transform@.
-
- * Root finding is added, in @S.Math.RootFinding@.
-
- * The @complCumulative@ function is added to the @Distribution@
- class in order to accurately assess probalities P(X&gt;x) which are
- used in one-tailed tests.
-
- * A @stdDev@ function is added to the @Variance@ class for
- distributions.
-
- * The constructor @S.Distribution.normalDistr@ now takes standard
- deviation instead of variance as its parameter.
-
- * A bug in @S.Quantile.weightedAvg@ is fixed. It produced a wrong
- answer if a sample contained only one element.
-
- * Bugs in quantile estimations for chi-square and gamma distribution
- are fixed.
-
- * Integer overlow in @mannWhitneyUCriticalValue@ is fixed. It
- produced incorrect critical values for moderately large
- samples. Something around 20 for 32-bit machines and 40 for 64-bit
- ones.
-
- * A bug in @mannWhitneyUSignificant@ is fixed. If either sample was
- larger than 20, it produced a completely incorrect answer.
-
- * One- and two-tailed tests in @S.Tests.NonParametric@ are selected
- with sum types instead of @Bool@.
-
- * Test results returned as enumeration instead of @Bool@.
-
- * Performance improvements for Mann-Whitney U and Wilcoxon tests.
-
- * Module @S.Tests.NonParamtric@ is split into @S.Tests.MannWhitneyU@
- and @S.Tests.WilcoxonT@
-
- * @sortBy@ is added to @S.Function@.
-
- * Mean and variance for gamma distribution are fixed.
-
- * Much faster cumulative probablity functions for Poisson and
- hypergeometric distributions.
-
- * Better density functions for gamma and Poisson distributions.
-
- * Student-T, Fisher-Snedecor F-distributions and Cauchy-Lorentz
- distrbution are added.
-
- * The function @S.Function.create@ is removed. Use @generateM@ from
- the @vector@ package instead.
-
- * Function to perform approximate comparion of doubles is added to
- @S.Function.Comparison@
-
- * Regularized incomplete beta function and its inverse are added to
- @S.Function@.
- </longdescription>
<upstream>
- <remote-id type="github">bos/statistics</remote-id>
+ <remote-id type="hackage">statistics</remote-id>
+ <remote-id type="github">haskell/statistics</remote-id>
</upstream>
</pkgmetadata>
diff --git a/dev-haskell/statistics/statistics-0.16.2.0.ebuild b/dev-haskell/statistics/statistics-0.16.2.0.ebuild
new file mode 100644
index 000000000000..d9f0ecac3978
--- /dev/null
+++ b/dev-haskell/statistics/statistics-0.16.2.0.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+# ebuild generated by hackport 0.8.4.0.9999
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="A library of statistical types, data, and functions"
+HOMEPAGE="https://github.com/haskell/statistics"
+
+LICENSE="BSD-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+
+RESTRICT=test # likes to fail under a load
+
+RDEPEND=">=dev-haskell/aeson-0.6.0.0:=[profile?]
+ >=dev-haskell/async-2.2.2:=[profile?] <dev-haskell/async-2.3:=[profile?]
+ >=dev-haskell/data-default-class-0.1.2:=[profile?]
+ >=dev-haskell/dense-linear-algebra-0.1:=[profile?] <dev-haskell/dense-linear-algebra-0.2:=[profile?]
+ >=dev-haskell/math-functions-0.3.4.1:=[profile?]
+ >=dev-haskell/mwc-random-0.15.0.0:=[profile?]
+ >=dev-haskell/parallel-3.2.2.0:=[profile?] <dev-haskell/parallel-3.3:=[profile?]
+ >=dev-haskell/primitive-0.3:=[profile?]
+ >=dev-haskell/random-1.2:=[profile?]
+ >=dev-haskell/vector-0.10:=[profile?]
+ >=dev-haskell/vector-algorithms-0.4:=[profile?]
+ >=dev-haskell/vector-binary-instances-0.2.1:=[profile?]
+ dev-haskell/vector-th-unbox:=[profile?]
+ >=dev-lang/ghc-8.8.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-3.0.0.0
+ test? ( dev-haskell/erf
+ >=dev-haskell/ieee754-0.7.3
+ >=dev-haskell/quickcheck-2.7.5
+ dev-haskell/tasty
+ dev-haskell/tasty-expected-failure
+ dev-haskell/tasty-hunit
+ dev-haskell/tasty-quickcheck )
+"