summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-03-12 16:15:40 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2016-03-12 16:15:55 +0000
commit7a64f19cd764c16bf20f20178118df47bd3e8ba3 (patch)
treea1a636b73ff58ced60cc1fb04d550b16c1ee8d7f /dev-haskell/mersenne-random-pure64
parentdev-haskell/mersenne-random-pure64: bump up to 0.2.0.3, bug #577146 (diff)
downloadgentoo-7a64f19cd764c16bf20f20178118df47bd3e8ba3.tar.gz
gentoo-7a64f19cd764c16bf20f20178118df47bd3e8ba3.tar.bz2
gentoo-7a64f19cd764c16bf20f20178118df47bd3e8ba3.zip
dev-haskell/mersenne-random-pure64: drop old
Package-Manager: portage-2.2.28
Diffstat (limited to 'dev-haskell/mersenne-random-pure64')
-rw-r--r--dev-haskell/mersenne-random-pure64/Manifest2
-rw-r--r--dev-haskell/mersenne-random-pure64/files/mersenne-random-pure64-0.2.0.3-double-for-32bits.patch67
-rw-r--r--dev-haskell/mersenne-random-pure64/mersenne-random-pure64-0.2.0.3.ebuild30
-rw-r--r--dev-haskell/mersenne-random-pure64/mersenne-random-pure64-0.2.0.4.ebuild26
4 files changed, 0 insertions, 125 deletions
diff --git a/dev-haskell/mersenne-random-pure64/Manifest b/dev-haskell/mersenne-random-pure64/Manifest
index 0883f949c6b3..95702c62d78f 100644
--- a/dev-haskell/mersenne-random-pure64/Manifest
+++ b/dev-haskell/mersenne-random-pure64/Manifest
@@ -1,3 +1 @@
-DIST mersenne-random-pure64-0.2.0.3.tar.gz 8758 SHA256 1fe7174cad1763875d5ac9ee00c48098d97f2ae8d347ba09a0aad8136873d233 SHA512 df3c33da7d3c3f83203183f9ec51731acc1c1c35122d8bbf70e60640a547bfd19cde1c88af2bd3ac6e790966d08c7bf3d767b3825fb52a123138523e45365aa0 WHIRLPOOL 48a9d28080c7287e3a10842f7eb230aa113d37905ae34f78851334a76162390a9cb5e9be096d12fbc9e40f021cd47d6a9d0390780337bd3e258ae3173bb215d9
-DIST mersenne-random-pure64-0.2.0.4.tar.gz 6900 SHA256 302534036199a7835841f1a52668ec9ea71e9c51fab78ec1616486e7ac170762 SHA512 1997f9d03f10131c472e7ca22574059e2618a94271f00093e1687063f042602a4e8a5670387afab3e8f77d0d4cc6347dfac2e4064453fd5095c8a996fa7491d5 WHIRLPOOL 2af652e4b3034467b2b9c7ff600848e49d1f6b3c4e3c6e8d01be4f075f817e3e1b8687b68110fc8dd8542d64a3d4c0dd0fb00cdd487d789d816a425aa332c799
DIST mersenne-random-pure64-0.2.0.5.tar.gz 7094 SHA256 3ca131d6c26fe8a086c40c6e79459149286c31083e0e110f7032aeba8038346e SHA512 1dd09fc1bad2ce9c847f7815f6fbc60556bb10fa4a01b30d3ad53dacd560392a866f8f13b334f0bba8f87490ff3d4ab54a054300d7682d4b73d33f6c161cb022 WHIRLPOOL 4328d3235fb102596dbc554252d26a6b6fe2162442188a225750b3ec90109be35048f11dde4c192f7026719115498b67219dc17fa3de0107d5cb34d92a25dcfe
diff --git a/dev-haskell/mersenne-random-pure64/files/mersenne-random-pure64-0.2.0.3-double-for-32bits.patch b/dev-haskell/mersenne-random-pure64/files/mersenne-random-pure64-0.2.0.3-double-for-32bits.patch
deleted file mode 100644
index 96e8165b08f2..000000000000
--- a/dev-haskell/mersenne-random-pure64/files/mersenne-random-pure64-0.2.0.3-double-for-32bits.patch
+++ /dev/null
@@ -1,67 +0,0 @@
-diff -rN -u old-mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64/Base.hsc mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64/Base.hsc
---- old-mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64/Base.hsc 2008-10-16 11:01:29.000000000 +0200
-+++ mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64/Base.hsc 2008-10-16 11:01:29.000000000 +0200
-@@ -48,6 +48,9 @@
- foreign import ccall unsafe "mix_bits"
- c_mix_word64 :: Word64 -> Word64
-
-+foreign import ccall unsafe "double_from_long_long"
-+ c_double_from_long_long :: Word64 -> Double
-+
- foreign import ccall unsafe "seed_genrand64_block"
- c_seed_genrand64_block :: Ptr a -> Word64 -> IO ()
-
-diff -rN -u old-mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64/MTBlock.hs mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64/MTBlock.hs
---- old-mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64/MTBlock.hs 2008-10-16 11:01:29.000000000 +0200
-+++ mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64/MTBlock.hs 2008-10-16 11:01:29.000000000 +0200
-@@ -27,6 +27,7 @@
- -- * Misc functions
- blockLen,
- mixWord64,
-+ word64ToDouble,
- ) where
-
- import GHC.Exts
-@@ -92,3 +93,8 @@
- in
- W64# x4
- -}
-+
-+word64ToDouble :: Word64 -> Double
-+word64ToDouble = c_double_from_long_long
-+
-+-- word64ToDouble i = fromIntegral (i `div` 2048) / 9007199254740992
-diff -rN -u old-mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64.hs mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64.hs
---- old-mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64.hs 2008-10-16 11:01:29.000000000 +0200
-+++ mersenne-random-pure64-0.2.0.2/System/Random/Mersenne/Pure64.hs 2008-10-16 11:01:29.000000000 +0200
-@@ -98,7 +98,7 @@
-
- -- | Efficiently yield a new 53-bit precise 'Double' value, and a new generator.
- randomDouble :: PureMT -> (Double,PureMT)
--randomDouble g = (fromIntegral (i `div` 2048) / 9007199254740992, g')
-+randomDouble g = (word64ToDouble i, g')
- where (i, g') = randomWord64 g
- {-# INLINE randomDouble #-}
-
-diff -rN -u old-mersenne-random-pure64-0.2.0.2/cbits/mt19937-64-block.c mersenne-random-pure64-0.2.0.2/cbits/mt19937-64-block.c
---- old-mersenne-random-pure64-0.2.0.2/cbits/mt19937-64-block.c 2008-10-16 11:01:29.000000000 +0200
-+++ mersenne-random-pure64-0.2.0.2/cbits/mt19937-64-block.c 2008-10-16 11:01:29.000000000 +0200
-@@ -97,3 +97,8 @@
- x ^= (x >> 43);
- return x;
- }
-+
-+double double_from_long_long(unsigned long long x)
-+{
-+ return (x >> 11) * (1.0L/9007199254740992.0);
-+}
-diff -rN -u old-mersenne-random-pure64-0.2.0.2/include/mt19937-64-block.h mersenne-random-pure64-0.2.0.2/include/mt19937-64-block.h
---- old-mersenne-random-pure64-0.2.0.2/include/mt19937-64-block.h 2008-10-16 11:01:29.000000000 +0200
-+++ mersenne-random-pure64-0.2.0.2/include/mt19937-64-block.h 2008-10-16 11:01:29.000000000 +0200
-@@ -71,3 +71,5 @@
- void next_genrand64_block(mt_block st, mt_block newst);
-
- unsigned long long mix_bits(unsigned long long x);
-+
-+double double_from_long_long(unsigned long long x);
-
diff --git a/dev-haskell/mersenne-random-pure64/mersenne-random-pure64-0.2.0.3.ebuild b/dev-haskell/mersenne-random-pure64/mersenne-random-pure64-0.2.0.3.ebuild
deleted file mode 100644
index bbd2c85f3080..000000000000
--- a/dev-haskell/mersenne-random-pure64/mersenne-random-pure64-0.2.0.3.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-
-CABAL_FEATURES="lib profile haddock hscolour hoogle"
-inherit haskell-cabal eutils
-
-DESCRIPTION="Generate high quality pseudorandom numbers purely using a Mersenne Twister"
-HOMEPAGE="http://code.haskell.org/~dons/code/mersenne-random-pure64/"
-SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND=">=dev-lang/ghc-6.8.2
- dev-haskell/random"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.2.0"
-
-src_prepare() {
- if use x86; then
- # int-e's patch to improve 32-bit performance.
- # this might be applicable to other arches as well, not sure
- epatch "${FILESDIR}/${P}-double-for-32bits.patch"
- fi
-}
diff --git a/dev-haskell/mersenne-random-pure64/mersenne-random-pure64-0.2.0.4.ebuild b/dev-haskell/mersenne-random-pure64/mersenne-random-pure64-0.2.0.4.ebuild
deleted file mode 100644
index 92f7a4f97cf2..000000000000
--- a/dev-haskell/mersenne-random-pure64/mersenne-random-pure64-0.2.0.4.ebuild
+++ /dev/null
@@ -1,26 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-# ebuild generated by hackport 0.3.4.9999
-
-CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal
-
-DESCRIPTION="Generate high quality pseudorandom numbers purely using a Mersenne Twister"
-HOMEPAGE="http://code.haskell.org/~dons/code/mersenne-random-pure64/"
-SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-RDEPEND="dev-haskell/random:=[profile?]
- >=dev-lang/ghc-6.10.4:=
-"
-DEPEND="${RDEPEND}
- >=dev-haskell/cabal-1.6.0.3
-"