diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2017-02-16 09:06:56 +0000 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2017-02-16 10:21:59 +0000 |
commit | 76d0f3c2db168a6682d40504cd320edd9deaa347 (patch) | |
tree | 938deb0e6530679cdb96dbbec59d03c562f57333 /dev-haskell/vector | |
parent | dev-haskell/dlist: bump up to 0.8.0.2 (diff) | |
download | gentoo-76d0f3c2db168a6682d40504cd320edd9deaa347.tar.gz gentoo-76d0f3c2db168a6682d40504cd320edd9deaa347.tar.bz2 gentoo-76d0f3c2db168a6682d40504cd320edd9deaa347.zip |
dev-haskell/vector: bump up to 0.11.0.0
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-haskell/vector')
-rw-r--r-- | dev-haskell/vector/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/vector/files/vector-0.11.0.0-primitive-0.6.2.0.patch | 21 | ||||
-rw-r--r-- | dev-haskell/vector/vector-0.11.0.0.ebuild | 51 |
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-haskell/vector/Manifest b/dev-haskell/vector/Manifest index f890ce744148..18e7902a9c32 100644 --- a/dev-haskell/vector/Manifest +++ b/dev-haskell/vector/Manifest @@ -1 +1,2 @@ DIST vector-0.10.12.3.tar.gz 103617 SHA256 0f765ce0238d89ffdb67656a364f7bf5012d68de9642da6bb2a425b61f88e89a SHA512 2b2c98f1fbaaf4f5e7243e18a08e373e85acb06dddf73a48d34b966bfd736efc72880babec9c47859bd8d6d6928a28ac9acd9134eb0ef61b2f88fa31bf18811b WHIRLPOOL b572031197f4992ad322c0d47843dbe20dc48372c0e3d1d53a6a0fe03a0c0c3d8f99ce7f13994bb5f5998bb8e9ee1fc225a67b15e63421484a8c371aebec5021 +DIST vector-0.11.0.0.tar.gz 115558 SHA256 0a5320ed44c3f2b04b7f61e0f63f4fcd5b337524e601e01d5813ace3f5a432e4 SHA512 4f31e45d08a08c09e5ce73cca4da70e954bf3921d05130b9458c7f2ba267602e0aafc96496595000fd7b82f80aa9147c880917dc64086dab7bf5b2cd426539e0 WHIRLPOOL cef8a25523f751a06ecc76a9d9f864c0c37fdf812cb9bd848ce98bca5a8261c247a1dd2402dfcdb8908c7a79016ce4909d81b9ea6c28dd257f481b76bc00a1ad diff --git a/dev-haskell/vector/files/vector-0.11.0.0-primitive-0.6.2.0.patch b/dev-haskell/vector/files/vector-0.11.0.0-primitive-0.6.2.0.patch new file mode 100644 index 000000000000..3b78ad74efc3 --- /dev/null +++ b/dev-haskell/vector/files/vector-0.11.0.0-primitive-0.6.2.0.patch @@ -0,0 +1,21 @@ +diff --git a/Data/Vector.hs b/Data/Vector.hs +index db6dfb7..f074bf0 100644 +--- a/Data/Vector.hs ++++ b/Data/Vector.hs +@@ -152,3 +152,3 @@ module Data.Vector ( + -- ** Lists +- toList, fromList, fromListN, ++ toList, Data.Vector.fromList, Data.Vector.fromListN, + +@@ -222,4 +222,4 @@ instance Exts.IsList (Vector a) where + type Item (Vector a) = a +- fromList = fromList +- fromListN = fromListN ++ fromList = Data.Vector.fromList ++ fromListN = Data.Vector.fromListN + toList = toList +@@ -343,3 +343,3 @@ instance Traversable.Traversable Vector where + {-# INLINE traverse #-} +- traverse f xs = fromList Applicative.<$> Traversable.traverse f (toList xs) ++ traverse f xs = Data.Vector.fromList Applicative.<$> Traversable.traverse f (toList xs) + diff --git a/dev-haskell/vector/vector-0.11.0.0.ebuild b/dev-haskell/vector/vector-0.11.0.0.ebuild new file mode 100644 index 000000000000..13fa33eed23c --- /dev/null +++ b/dev-haskell/vector/vector-0.11.0.0.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# ebuild generated by hackport 0.4.6.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient Arrays" +HOMEPAGE="https://github.com/haskell/vector" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris" +IUSE="+boundschecks internalchecks unsafechecks" + +RESTRICT=test # -O2 -g makes tests build hang + +RDEPEND=">=dev-haskell/primitive-0.5.0.1:=[profile?] <dev-haskell/primitive-0.7:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + test? ( >=dev-haskell/quickcheck-2.7 + dev-haskell/random + dev-haskell/test-framework + dev-haskell/test-framework-quickcheck2 + >=dev-haskell/transformers-0.2.0.0 ) +" + +PATCHES=("${FILESDIR}"/${P}-primitive-0.6.2.0.patch) + +src_prepare() { + default + + cabal_chdeps \ + "QuickCheck >= 2.7 && < 2.8" "QuickCheck >= 2.7" \ + 'base >= 4.3 && < 4.9' 'base >= 4.3' \ + 'ghc-prim >= 0.2 && < 0.5' 'ghc-prim >= 0.2' +} + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag boundschecks boundschecks) \ + $(cabal_flag internalchecks internalchecks) \ + $(cabal_flag unsafechecks unsafechecks) +} |