diff options
Diffstat (limited to 'dev-haskell/vector-algorithms')
8 files changed, 232 insertions, 0 deletions
diff --git a/dev-haskell/vector-algorithms/Manifest b/dev-haskell/vector-algorithms/Manifest new file mode 100644 index 000000000000..3327b40ac593 --- /dev/null +++ b/dev-haskell/vector-algorithms/Manifest @@ -0,0 +1,5 @@ +DIST vector-algorithms-0.5.4.2.tar.gz 22938 SHA256 c42c35dcf23cb60b874e50d6fec894463c835d6e2ef71d02283039f86635eb22 SHA512 10f376697e39561eeb4f9148db5ba71fcc3eecb8d9bdc796d8edb4b39a0567592b7740c40ea3ba402d594b3e0b46c365d26776f8ea0cc675fd79ab3c6ecb17fe WHIRLPOOL c1eed67e47716f531e86c0bdd93ac83208e0ddfb4b357dd00b2560a1be62fb94b726ca73d3d3f66471cd32be74f959b3327afff0589f66aae5b5b5715317d694 +DIST vector-algorithms-0.6.0.1.tar.gz 20273 SHA256 85fd0d102b2f3bc61e2241959563e10b58f233d9fd96ff4b5083d55618f87136 SHA512 e38f25f51c347df844cff181ba99368ac2b7389fdb190ea5bec97fc8b4a26ba5ee2df27ab38884d38d505d88fefbc56be427724f05f85646906dd2d0d583fdcf WHIRLPOOL 2e47adbab21724e042e692577141dab45a3a33f4d726ac49acb82998a6c1fa7347ca8b71fb3eb2f6a5e7321836c92195f8b1b52ec9a1b8dc9c0f6cd47bbc0797 +DIST vector-algorithms-0.6.0.3.tar.gz 20273 SHA256 c42eaddf416b37c7c281eadb3ce845aa628a5853e381beaa698aebe30359e4cf SHA512 40743d262ac410c9863924572d62dd0bab87b07521ab0df29d4dfa8c35ea873483f9afa4cfef0dc51edeb725b662a49427781e3e66a4b4aff693784e36b030fc WHIRLPOOL 46c229d13ecb01d8295821a98a36485c5e2546c4bf3741745e176d163d60ce2efab84a526a6cde644612e4fd19a454136d1d80794d85523f5625b15c9f58906b +DIST vector-algorithms-0.6.0.4.tar.gz 20455 SHA256 5b8922154baa62c9239ed3efed94e890eeaf7e56f89d81a8c8407550749bc025 SHA512 5e99a77771831f0b9a4485f48aa7be5f5928e811512f0a68e18fa65ecace185dfea74ec09037b05d56e1a9208d2cdbcfed94ce2678d504f6d12267496a3616bf WHIRLPOOL f2e9d2abb74a0565d0a83b6384b7efb343ba485a7dd2ce97c7d5256800e441045fa5a6b456ce22fa99620a30f6edde54d7a5e66663c80ed9d9bb40a86f521dde +DIST vector-algorithms-0.7.tar.gz 25427 SHA256 9dfded48c97f4ff765b18ae5acd264361e1299736111ac73895848d8f6ab56c6 SHA512 f68818611d1688487303811a865f7bb2be6d0e66b5f68202418799f08f4018a07dc0a337771bca32b0a40acdcfb06e885d491a7cdb7f5f5ae7b150a58f73a2b1 WHIRLPOOL 8cec1088fd96f7c43109551be96fbd099fe3b33b809f84e3a9fa5eee1fb01fcff5ae17d398b0b5a884033bfb812d8ea65ba69656c595790bb53c2e1527bd85fc diff --git a/dev-haskell/vector-algorithms/files/vector-algorithms-0.5.4.1-ghc-7.4.patch b/dev-haskell/vector-algorithms/files/vector-algorithms-0.5.4.1-ghc-7.4.patch new file mode 100644 index 000000000000..edabcf2e8b54 --- /dev/null +++ b/dev-haskell/vector-algorithms/files/vector-algorithms-0.5.4.1-ghc-7.4.patch @@ -0,0 +1,21 @@ +--- vector-algorithms-0.5.4.1-orig/vector-algorithms.cabal 2012-08-16 06:39:54.000000000 +1000 ++++ vector-algorithms-0.5.4.1/vector-algorithms.cabal 2012-08-17 17:05:37.875993915 +1000 +@@ -52,9 +52,15 @@ + FlexibleContexts, + CPP + +- GHC-Options: +- -Odph +- -funbox-strict-fields ++ if impl(ghc >= 7.4.0) ++ GHC-Options: ++ -Odph ++ -funbox-strict-fields ++ -fsimpl-tick-factor=153 ++ else ++ GHC-Options: ++ -Odph ++ -funbox-strict-fields + + Include-Dirs: + include diff --git a/dev-haskell/vector-algorithms/metadata.xml b/dev-haskell/vector-algorithms/metadata.xml new file mode 100644 index 000000000000..8d94d901c80b --- /dev/null +++ b/dev-haskell/vector-algorithms/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>haskell</herd> + <use> + <flag name="bench">Build a benchmarking program.</flag> + <flag name="boundschecks">Enable bounds checking.</flag> + <flag name="internalchecks">Enable internal consistency checks at the cost of a significant performance penalty.</flag> + <flag name="properties">Enable quickcheck tests.</flag> + <flag name="unsafechecks">Enable bounds checking in unsafe operations at the cost of a significant performance penalty.</flag> + </use> + <longdescription> + Efficient algorithms for vector arrays + </longdescription> +</pkgmetadata> diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.5.4.2.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.5.4.2.ebuild new file mode 100644 index 000000000000..d5afc6a70c6a --- /dev/null +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.5.4.2.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +# ebuild generated by hackport 0.2.18.9999 + +CABAL_FEATURES="lib profile haddock hoogle hscolour" +inherit base haskell-cabal + +DESCRIPTION="Efficient algorithms for vector arrays" +HOMEPAGE="http://code.haskell.org/~dolio/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-haskell/primitive-0.3[profile?] + <dev-haskell/primitive-0.6[profile?] + >=dev-haskell/vector-0.6[profile?] + <dev-haskell/vector-0.11[profile?] + >=dev-lang/ghc-6.8.2" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.2.3" + +PATCHES=("${FILESDIR}/${PN}-0.5.4.1-ghc-7.4.patch") diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.1.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.1.ebuild new file mode 100644 index 000000000000..0f742d70072d --- /dev/null +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.1.ebuild @@ -0,0 +1,39 @@ +# 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.5.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient algorithms for vector arrays" +HOMEPAGE="http://code.haskell.org/~dolio/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="bench +boundschecks internalchecks +properties unsafechecks" + +RDEPEND="dev-haskell/mtl:=[profile?] + dev-haskell/mwc-random:=[profile?] + >=dev-haskell/primitive-0.3:=[profile?] <dev-haskell/primitive-0.6:=[profile?] + >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.11:=[profile?] + >=dev-lang/ghc-6.10.4:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.9.2 + test? ( properties? ( >=dev-haskell/quickcheck-2 ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag bench bench) \ + $(cabal_flag boundschecks boundschecks) \ + $(cabal_flag internalchecks internalchecks) \ + $(cabal_flag properties properties) \ + $(cabal_flag unsafechecks unsafechecks) +} diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.3.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.3.ebuild new file mode 100644 index 000000000000..6ce67cb90939 --- /dev/null +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.3.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.3.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient algorithms for vector arrays" +HOMEPAGE="http://code.haskell.org/~dolio/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="bench +boundschecks internalchecks +properties unsafechecks" + +RESTRICT=test # hangs + +RDEPEND="dev-haskell/mtl:=[profile?] + dev-haskell/mwc-random:=[profile?] + >=dev-haskell/primitive-0.3:=[profile?] <dev-haskell/primitive-0.6:=[profile?] + >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.11:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.9.2 + test? ( properties? ( >=dev-haskell/quickcheck-2 ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag bench bench) \ + $(cabal_flag boundschecks boundschecks) \ + $(cabal_flag internalchecks internalchecks) \ + $(cabal_flag properties properties) \ + $(cabal_flag unsafechecks unsafechecks) +} diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.4.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.4.ebuild new file mode 100644 index 000000000000..34f2f95fe46f --- /dev/null +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.4.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient algorithms for vector arrays" +HOMEPAGE="http://code.haskell.org/~dolio/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="bench +boundschecks internalchecks +properties unsafechecks" + +RESTRICT=test # hangs + +RDEPEND="dev-haskell/mtl:=[profile?] + dev-haskell/mwc-random:=[profile?] + >=dev-haskell/primitive-0.3:=[profile?] <dev-haskell/primitive-0.7:=[profile?] + >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.11:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.9.2 + test? ( properties? ( >=dev-haskell/quickcheck-2 ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag bench bench) \ + $(cabal_flag boundschecks boundschecks) \ + $(cabal_flag internalchecks internalchecks) \ + $(cabal_flag properties properties) \ + $(cabal_flag unsafechecks unsafechecks) +} diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.7.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.7.ebuild new file mode 100644 index 000000000000..78a8af4405da --- /dev/null +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.5.9999 + +CABAL_FEATURES="bin lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient algorithms for vector arrays" +HOMEPAGE="http://code.haskell.org/~dolio/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="bench +boundschecks internalchecks +properties unsafechecks" + +RESTRICT=test # hangs + +RDEPEND="dev-haskell/mtl:=[profile?] + dev-haskell/mwc-random:=[profile?] + >=dev-haskell/primitive-0.3:=[profile?] <dev-haskell/primitive-0.7:=[profile?] + >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.11:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.9.2 + test? ( properties? ( >=dev-haskell/quickcheck-2 ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag bench bench) \ + $(cabal_flag boundschecks boundschecks) \ + $(cabal_flag internalchecks internalchecks) \ + $(cabal_flag properties properties) \ + $(cabal_flag unsafechecks unsafechecks) +} |