update to 0.15.0.1
This commit is contained in:
parent
5f43a98e6f
commit
6bcb01b5d6
1
.gitignore
vendored
1
.gitignore
vendored
@ -8,3 +8,4 @@
|
||||
/mwc-random-0.13.5.0.tar.gz
|
||||
/mwc-random-0.13.6.0.tar.gz
|
||||
/mwc-random-0.14.0.0.tar.gz
|
||||
/mwc-random-0.15.0.1.tar.gz
|
||||
|
@ -4,25 +4,38 @@
|
||||
%global pkg_name mwc-random
|
||||
%global pkgver %{pkg_name}-%{version}
|
||||
|
||||
%bcond_without tests
|
||||
|
||||
Name: ghc-%{pkg_name}
|
||||
Version: 0.14.0.0
|
||||
Release: 8%{?dist}
|
||||
Version: 0.15.0.1
|
||||
Release: 1%{?dist}
|
||||
Summary: Fast, high quality pseudo random number generation
|
||||
|
||||
License: BSD
|
||||
Url: https://hackage.haskell.org/package/%{pkg_name}
|
||||
# Begin cabal-rpm sources:
|
||||
Source0: https://hackage.haskell.org/package/%{pkgver}/%{pkgver}.tar.gz
|
||||
Source1: https://hackage.haskell.org/package/%{pkgver}/%{pkg_name}.cabal#/%{pkgver}.cabal
|
||||
# End cabal-rpm sources
|
||||
|
||||
# Begin cabal-rpm deps:
|
||||
BuildRequires: dos2unix
|
||||
BuildRequires: ghc-Cabal-devel
|
||||
BuildRequires: ghc-rpm-macros
|
||||
BuildRequires: ghc-base-prof
|
||||
BuildRequires: ghc-math-functions-prof
|
||||
BuildRequires: ghc-primitive-prof
|
||||
BuildRequires: ghc-random-prof
|
||||
BuildRequires: ghc-time-prof
|
||||
BuildRequires: ghc-vector-prof
|
||||
%if %{with tests}
|
||||
BuildRequires: ghc-QuickCheck-devel
|
||||
BuildRequires: ghc-bytestring-devel
|
||||
BuildRequires: ghc-doctest-devel
|
||||
BuildRequires: ghc-tasty-devel
|
||||
BuildRequires: ghc-tasty-hunit-devel
|
||||
BuildRequires: ghc-tasty-quickcheck-devel
|
||||
%endif
|
||||
# End cabal-rpm deps
|
||||
|
||||
%description
|
||||
@ -77,6 +90,7 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
%prep
|
||||
# Begin cabal-rpm setup:
|
||||
%setup -q -n %{pkgver}
|
||||
dos2unix -k -n %{SOURCE1} %{pkg_name}.cabal
|
||||
# End cabal-rpm setup
|
||||
|
||||
|
||||
@ -92,6 +106,12 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
# End cabal-rpm install
|
||||
|
||||
|
||||
%check
|
||||
%if %{with tests}
|
||||
%cabal_test
|
||||
%endif
|
||||
|
||||
|
||||
%files -f %{name}.files
|
||||
# Begin cabal-rpm files:
|
||||
%license LICENSE
|
||||
@ -114,6 +134,9 @@ This package provides the Haskell %{pkg_name} profiling library.
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Aug 5 2021 Jens Petersen <petersen@redhat.com> - 0.15.0.1-1
|
||||
- update to 0.15.0.1
|
||||
|
||||
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0.0-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
|
112
mwc-random-0.15.0.1.cabal
Normal file
112
mwc-random-0.15.0.1.cabal
Normal file
@ -0,0 +1,112 @@
|
||||
name: mwc-random
|
||||
version: 0.15.0.1
|
||||
x-revision: 2
|
||||
synopsis: Fast, high quality pseudo random number generation
|
||||
description:
|
||||
This package contains code for generating high quality random
|
||||
numbers that follow either a uniform or normal distribution. The
|
||||
generated numbers are suitable for use in statistical applications.
|
||||
.
|
||||
The uniform PRNG uses Marsaglia's MWC256 (also known as MWC8222)
|
||||
multiply-with-carry generator, which has a period of 2^8222 and
|
||||
fares well in tests of randomness. It is also extremely fast,
|
||||
between 2 and 3 times faster than the Mersenne Twister.
|
||||
.
|
||||
Compared to the mersenne-random package, this package has a more
|
||||
convenient API, is faster, and supports more statistical
|
||||
distributions.
|
||||
|
||||
license: BSD3
|
||||
license-file: LICENSE
|
||||
homepage: https://github.com/bos/mwc-random
|
||||
bug-reports: https://github.com/bos/mwc-random/issues
|
||||
author: Bryan O'Sullivan <bos@serpentine.com>
|
||||
maintainer: Bryan O'Sullivan <bos@serpentine.com>
|
||||
copyright: 2009, 2010, 2011 Bryan O'Sullivan
|
||||
category: Math, Statistics
|
||||
build-type: Simple
|
||||
cabal-version: >= 1.10
|
||||
extra-source-files:
|
||||
changelog.md
|
||||
README.markdown
|
||||
|
||||
tested-with:
|
||||
GHC ==7.10.3
|
||||
|| ==8.0.2
|
||||
|| ==8.2.2
|
||||
|| ==8.4.4
|
||||
|| ==8.6.5
|
||||
|| ==8.8.3
|
||||
|| ==8.10.1
|
||||
, GHCJS ==8.4
|
||||
|
||||
library
|
||||
default-language: Haskell2010
|
||||
exposed-modules: System.Random.MWC
|
||||
System.Random.MWC.Distributions
|
||||
System.Random.MWC.CondensedTable
|
||||
System.Random.MWC.SeedSource
|
||||
build-depends: base >= 4.8 && < 5
|
||||
, primitive >= 0.6.2
|
||||
, random >= 1.2
|
||||
, time
|
||||
, vector >= 0.7
|
||||
, math-functions >= 0.2.1.0
|
||||
|
||||
ghc-options: -Wall -funbox-strict-fields -fwarn-tabs
|
||||
|
||||
|
||||
source-repository head
|
||||
type: git
|
||||
location: git://github.com/bos/mwc-random
|
||||
|
||||
source-repository head
|
||||
type: mercurial
|
||||
location: https://bitbucket.org/bos/mwc-random
|
||||
|
||||
|
||||
benchmark mwc-bench
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: bench
|
||||
main-is: Benchmark.hs
|
||||
default-language: Haskell2010
|
||||
build-depends: base < 5
|
||||
, vector >= 0.11
|
||||
, gauge >= 0.2.5
|
||||
, mersenne-random
|
||||
, mwc-random
|
||||
, random
|
||||
|
||||
|
||||
test-suite mwc-prop-tests
|
||||
type: exitcode-stdio-1.0
|
||||
hs-source-dirs: tests
|
||||
main-is: props.hs
|
||||
default-language: Haskell2010
|
||||
ghc-options:
|
||||
-Wall -threaded -rtsopts
|
||||
|
||||
build-depends: base
|
||||
, mwc-random
|
||||
, QuickCheck >=2.2
|
||||
, vector >=0.12.1
|
||||
, tasty >=1.3.1
|
||||
, tasty-quickcheck
|
||||
, tasty-hunit
|
||||
|
||||
test-suite mwc-doctests
|
||||
type: exitcode-stdio-1.0
|
||||
main-is: doctests.hs
|
||||
hs-source-dirs: tests
|
||||
default-language: Haskell2010
|
||||
if impl(ghcjs) || impl(ghc < 8.0)
|
||||
Buildable: False
|
||||
build-depends:
|
||||
base -any
|
||||
, mwc-random -any
|
||||
, doctest >=0.15 && <0.19
|
||||
--
|
||||
, bytestring
|
||||
, primitive
|
||||
, vector >=0.11
|
||||
, random >=1.2
|
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (mwc-random-0.14.0.0.tar.gz) = bb262d6f4a37d91e4c0667ec5140894ed36bf3ef4b90e487f4d689a6bc4eddd09dcdc3c8b75013124908ca1642e990c3e074fb728acc1b36f63b3db66528301d
|
||||
SHA512 (mwc-random-0.15.0.1.tar.gz) = 54cb806d9c54e7ae7be73981c40ec03a3ca0660deb4d7d2c3659eaa30fb67086ff9a8bc3093170581da16e37cff8fe4507ddc4c30059c65323ea02ac1013c572
|
||||
|
Loading…
Reference in New Issue
Block a user