diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/vector-algorithms | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/vector-algorithms')
7 files changed, 200 insertions, 0 deletions
diff --git a/dev-haskell/vector-algorithms/Manifest b/dev-haskell/vector-algorithms/Manifest new file mode 100644 index 000000000000..04d0d34be775 --- /dev/null +++ b/dev-haskell/vector-algorithms/Manifest @@ -0,0 +1,9 @@ +AUX vector-algorithms-0.5.4.1-ghc-7.4.patch 572 BLAKE2B a15668a5a6d0bc85e2a9b864cd81cc3b55949f9eb949001fc7fa92a9d724f900847febe95e42056d16778a9c6186024b713a0c0faceaac1d99a44a3cc97ffa7b SHA512 51b42eadba9515a9e0bfae85b1b24c0567f54a8d526380e30566abc50ebc0d8063cdf23321986524abf7a3f72a874582848ffe69d80a15eade6d60045612481f +AUX vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch 2344 BLAKE2B 8902fb6e1946589e79577408d6a4c34b7512f3dea6bad7ab73a95498ca41e758d8115d7c005ad83ef14a845df792009bb9190f8b584086c9dc63898f481a5940 SHA512 f92d82039f56c9ae5cba5c93e0df041877dba1a3f5be7a8be1efd9f5a652ff2c1a06c7091faab76247876b9018614688d404aa6542b59ccedc3b199bad3dcf2c +DIST vector-algorithms-0.5.4.2.tar.gz 22938 BLAKE2B f2af4c6ef45d6af25e750ef497c15b4d80767aadc37c3ef05a6d893515b340297777064f9c8ef406ff7881b0c72c39c01727e2ee50b39ecbfab5daebd3ebb7a5 SHA512 10f376697e39561eeb4f9148db5ba71fcc3eecb8d9bdc796d8edb4b39a0567592b7740c40ea3ba402d594b3e0b46c365d26776f8ea0cc675fd79ab3c6ecb17fe +DIST vector-algorithms-0.6.0.4.tar.gz 20455 BLAKE2B 0d0c4ef7ed8996d1ebe65971a451d4cb49118faedbf9cb4a987afb281adf563808778a689df608d2fb3c8fe9398af995d1c5e31cc89fd4f2075c2ebdd7ca4277 SHA512 5e99a77771831f0b9a4485f48aa7be5f5928e811512f0a68e18fa65ecace185dfea74ec09037b05d56e1a9208d2cdbcfed94ce2678d504f6d12267496a3616bf +DIST vector-algorithms-0.7.0.1.tar.gz 25435 BLAKE2B f9cb3bf592316c92bff4313d264370cc35d62c64e7dec6f14ee9954c0fc12f573e799172793501e1b4f9c556fa1ea8e3db1ac3381ff71bb143e33520c69c18b8 SHA512 1ea718eeb062defee830fa7dba323981678691c5d320b8929dcd695af17f82d65007cfd35103310026dab51cf10462dbead09082fc0ba5ddd0c2e18e305c4c6a +EBUILD vector-algorithms-0.5.4.2.ebuild 746 BLAKE2B b5236d575dd91c9dd92c917a2b56c5ac59900e8a97c322e41f791644aa12cea52f9d6fb48bf7e7717e58ab54ded322822bdd7dc2ed08ff2451582f3aaf84d81a SHA512 ab5da6bfc564100184de7368051efef42776f112df906cd9346dab1168e1d87335cbf69a2e289c28c662e425a584b4b64b274f8117dca374ef530da3592f32e3 +EBUILD vector-algorithms-0.6.0.4.ebuild 1170 BLAKE2B bcb30ced4652e5f3ef1eea77cb99bb02a0c94841f1c494849fe1615e0a067c927d21f8db4764d503007644361da721f8023593aeaeb40e65f0a313c46de820c0 SHA512 35e418b1ec4d05e99395aadf2d52e858d3c2bfa41e68e9ba9e79851b7ccf5a6e9d3dcf6e1558fa2fbddc0893aba36ebb2baac15924518e06499f8cf7e4185c83 +EBUILD vector-algorithms-0.7.0.1.ebuild 1197 BLAKE2B 92022eb10e507f3a2c4ecfbda0c47da9f14bb365b825941a340e15ea8cf30bdb216b17048ddf17334942de7dc67d2a7fb84c3777920f35b3ec94e1671e2e1dea SHA512 8973c52e6709587e097ccbb92e568a08936b7fd61b93e4e03f5cb4ad21e8c690d0b024ae0f7ac9877b1e4bdd91b7b671f212bcf0c442048f867b77b032c0c08f +MISC metadata.xml 770 BLAKE2B 1d7320d9f761a8668d4cdb7868edc4eb543841ca23849fc16ee451a7c1ada0b531ca7f05129a144c67319b67b2948caf31b10d45f04775e0abf13de70ee5d334 SHA512 081492732eda3a8884417445a79cec19f7f84cdfe3c3e84743f86d00a5051c7e936d3c286ba414c13a6813d7cf1d740408c44a597aa82e3489d012c75c9eeef8 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/files/vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch b/dev-haskell/vector-algorithms/files/vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch new file mode 100644 index 000000000000..3616dd76d82c --- /dev/null +++ b/dev-haskell/vector-algorithms/files/vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch @@ -0,0 +1,44 @@ +diff --git a/tests/properties/Tests.hs b/tests/properties/Tests.hs +index a0b7d35..8fcfd36 100644 +--- a/tests/properties/Tests.hs ++++ b/tests/properties/Tests.hs +@@ -1,2 +1,2 @@ +-{-# LANGUAGE ImpredicativeTypes, RankNTypes, TypeOperators, FlexibleContexts #-} ++{-# LANGUAGE ImpredicativeTypes, RankNTypes, TypeOperators, FlexibleContexts, ScopedTypeVariables #-} + +@@ -44,4 +44,4 @@ args = stdArgs + +-check_Int_sort = forM_ algos $ \(name,algo) -> +- quickCheckWith args (label name . prop_fullsort algo) ++check_Int_sort = forM_ algos (\(name,algo :: Algo Int ()) -> ++ quickCheckWith args (label name . prop_fullsort algo)) + where +@@ -55,4 +55,4 @@ check_Int_sort = forM_ algos $ \(name,algo) -> + +-check_Int_partialsort = forM_ algos $ \(name,algo) -> +- quickCheckWith args (label name . prop_partialsort algo) ++check_Int_partialsort = forM_ algos (\(name,algo :: SizeAlgo Int ()) -> ++ quickCheckWith args (label name . prop_partialsort algo)) + where +@@ -63,4 +63,4 @@ check_Int_partialsort = forM_ algos $ \(name,algo) -> + +-check_Int_select = forM_ algos $ \(name,algo) -> +- quickCheckWith args (label name . prop_select algo) ++check_Int_select = forM_ algos (\(name,algo :: SizeAlgo Int ()) -> ++ quickCheckWith args (label name . prop_select algo)) + where +@@ -119,10 +119,10 @@ check_permutation = do + qc $ label "introsort" . prop_permutation (INT.sort :: Algo Int ()) +- qc $ label "intropartial" . prop_sized (const . prop_permutation) ++ qc $ label "intropartial" . prop_sized (\x -> const (prop_permutation x)) + (INT.partialSort :: SizeAlgo Int ()) +- qc $ label "introselect" . prop_sized (const . prop_permutation) ++ qc $ label "introselect" . prop_sized (\x -> const (prop_permutation x)) + (INT.select :: SizeAlgo Int ()) + qc $ label "heapsort" . prop_permutation (H.sort :: Algo Int ()) +- qc $ label "heappartial" . prop_sized (const . prop_permutation) ++ qc $ label "heappartial" . prop_sized (\x -> const (prop_permutation x)) + (H.partialSort :: SizeAlgo Int ()) +- qc $ label "heapselect" . prop_sized (const . prop_permutation) ++ qc $ label "heapselect" . prop_sized (\x -> const (prop_permutation x)) + (H.select :: SizeAlgo Int ()) diff --git a/dev-haskell/vector-algorithms/metadata.xml b/dev-haskell/vector-algorithms/metadata.xml new file mode 100644 index 000000000000..4a0d9fc89df7 --- /dev/null +++ b/dev-haskell/vector-algorithms/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>haskell@gentoo.org</email> + <name>Gentoo Haskell</name> + </maintainer> + <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..4c05e7e221ee --- /dev/null +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.5.4.2.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.4.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.4.ebuild new file mode 100644 index 000000000000..71ad325f4b94 --- /dev/null +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.6.0.4.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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.0.1.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.7.0.1.ebuild new file mode 100644 index 000000000000..131da53ff676 --- /dev/null +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.7.0.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +# ebuild generated by hackport 0.4.6.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.7:=[profile?] + >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.12:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.9.2 + test? ( properties? ( >=dev-haskell/quickcheck-2 ) ) +" + +PATCHES=("${FILESDIR}"/${P}-ghc-8.0.2_rc1.patch) + +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) +} |