diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-haskell/vector-algorithms |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-haskell/vector-algorithms')
7 files changed, 202 insertions, 0 deletions
diff --git a/dev-haskell/vector-algorithms/Manifest b/dev-haskell/vector-algorithms/Manifest new file mode 100644 index 000000000000..663efb463aa6 --- /dev/null +++ b/dev-haskell/vector-algorithms/Manifest @@ -0,0 +1,11 @@ +AUX vector-algorithms-0.5.4.1-ghc-7.4.patch 572 SHA256 2d9acd10582445f910d3196354b7da079e3146d0792d82ecc1fa95999653c1ef SHA512 51b42eadba9515a9e0bfae85b1b24c0567f54a8d526380e30566abc50ebc0d8063cdf23321986524abf7a3f72a874582848ffe69d80a15eade6d60045612481f WHIRLPOOL 3bfb8a6bd1c80fad5a0df146cf35ee28f5343aedd35ee8c2b557148ec5f97f847c472391d38404576b1943e08e31ea555928ac6600eda48e9c63cdc6df8f3eb2 +AUX vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch 2344 SHA256 db3b1d57b89187f33b423653d66f1bdd6144b4bdf305231617e5bfb9f52209c1 SHA512 f92d82039f56c9ae5cba5c93e0df041877dba1a3f5be7a8be1efd9f5a652ff2c1a06c7091faab76247876b9018614688d404aa6542b59ccedc3b199bad3dcf2c WHIRLPOOL f50630f4fdafdd9dcafad29624876382044e300871dce4537b18dadafd4ca7529937285bcd42cd8fe8e40cc8be029e5bb0fb35e9d0bfc755ddd9ac3dcacffa4c +DIST vector-algorithms-0.5.4.2.tar.gz 22938 SHA256 c42c35dcf23cb60b874e50d6fec894463c835d6e2ef71d02283039f86635eb22 SHA512 10f376697e39561eeb4f9148db5ba71fcc3eecb8d9bdc796d8edb4b39a0567592b7740c40ea3ba402d594b3e0b46c365d26776f8ea0cc675fd79ab3c6ecb17fe WHIRLPOOL c1eed67e47716f531e86c0bdd93ac83208e0ddfb4b357dd00b2560a1be62fb94b726ca73d3d3f66471cd32be74f959b3327afff0589f66aae5b5b5715317d694 +DIST vector-algorithms-0.6.0.4.tar.gz 20455 SHA256 5b8922154baa62c9239ed3efed94e890eeaf7e56f89d81a8c8407550749bc025 SHA512 5e99a77771831f0b9a4485f48aa7be5f5928e811512f0a68e18fa65ecace185dfea74ec09037b05d56e1a9208d2cdbcfed94ce2678d504f6d12267496a3616bf WHIRLPOOL f2e9d2abb74a0565d0a83b6384b7efb343ba485a7dd2ce97c7d5256800e441045fa5a6b456ce22fa99620a30f6edde54d7a5e66663c80ed9d9bb40a86f521dde +DIST vector-algorithms-0.7.0.1.tar.gz 25435 SHA256 ed460a41ca068f568bc2027579ab14185fbb72c7ac469b5179ae5f8a52719070 SHA512 1ea718eeb062defee830fa7dba323981678691c5d320b8929dcd695af17f82d65007cfd35103310026dab51cf10462dbead09082fc0ba5ddd0c2e18e305c4c6a WHIRLPOOL eec4273551ae162b628e85378b4cdd252501e9ced416e16fcce59ce09ce490dc43649f9918237b438d33e12e962fd2cd6e79179a8e9243d6a3618bf19a32ff91 +EBUILD vector-algorithms-0.5.4.2.ebuild 746 SHA256 2441acb1ec161271a7fec613cd83a59502bc7dce9ad2c0e6a1f8f99101083db3 SHA512 ab5da6bfc564100184de7368051efef42776f112df906cd9346dab1168e1d87335cbf69a2e289c28c662e425a584b4b64b274f8117dca374ef530da3592f32e3 WHIRLPOOL 171b240cdda7021a7aea6249f999ff913414bac65da449336762ce7d260e27ed1bf8fee98fbdd5a3dfddf17ef6de65c0b6f48a8f3bef6e95cb6b92dca8cc11c2 +EBUILD vector-algorithms-0.6.0.4.ebuild 1170 SHA256 c299a4a6a770c9af35b2d8d2ef61dce4673a47b3f8c576ce6394093359414b8b SHA512 35e418b1ec4d05e99395aadf2d52e858d3c2bfa41e68e9ba9e79851b7ccf5a6e9d3dcf6e1558fa2fbddc0893aba36ebb2baac15924518e06499f8cf7e4185c83 WHIRLPOOL d2b387299c978b8b6c047d54f2c560ce05cdb81ca02eb3513fbe8edf83ef8694abfdda5aa6b871bd60f524c038b018e170d11838d6f4fe4ce17b1eb8ba0665b8 +EBUILD vector-algorithms-0.7.0.1.ebuild 1197 SHA256 174f1f39ea9972760eb4b6c3c9c1318d5666cf63cc26bb7deaf9c6b5db569851 SHA512 8973c52e6709587e097ccbb92e568a08936b7fd61b93e4e03f5cb4ad21e8c690d0b024ae0f7ac9877b1e4bdd91b7b671f212bcf0c442048f867b77b032c0c08f WHIRLPOOL 76354550477fdf0e84609599f0ef5c2e006441dd3fb003f241ed68f42714b70d253dbe7dc0e92e6b95997f9cd105539dcc000c93c0fc7b0687814f272ba234cb +MISC ChangeLog 3210 SHA256 6cee1b83cca5e62d97711366cb512c02727181a0e3eff76cc659c9a4b18a1336 SHA512 bc445fc191b03c991b030ebe2048dc51abdbc2db1a040f8e3561e1003437969a4d89931f503106075794e574e4714c9762da97b9f8036155505fe71ace950a1d WHIRLPOOL fa5daa7f41a9fd360a43ab86092eba0534b6d2d7120fff30230177225b2328c26bf85b539e5f7aa4021036660af02599432baeb92a724ba9dd449b951a3b0175 +MISC ChangeLog-2015 1245 SHA256 00b33cbd1cdaec85f33a1845f15a533d56c1521bbd330e05e206b2bdf0360f24 SHA512 05519a76a3a5c2b507cc339e41899a11fb5f6189ff4539bd1f146f93fb03d31187830c9fe8fed79c4d620fbd5193c013b060581fa1706a7d86789875190c5fbe WHIRLPOOL 667f901bc7a71ca4316c746b21ffde3833119cc964ab53641f2ed7ae9ed0fcaed63832eb0bb2e4adff5cc0e86697a9335e4efdd7fa16b1021452ee561bce99dd +MISC metadata.xml 770 SHA256 04a228795a7ddaf8bf7586eb2e18d20ba0b7fdaabfe80a1ccfb345e16ab72d34 SHA512 081492732eda3a8884417445a79cec19f7f84cdfe3c3e84743f86d00a5051c7e936d3c286ba414c13a6813d7cf1d740408c44a597aa82e3489d012c75c9eeef8 WHIRLPOOL b9d7957f1686b6c334a12b0aa99ec90fe6b35ab3cf062d1a5fcddf0f34c2821d1a1cb3e9cf1a79f69d0b38eadb0baebff4d102d755596e802c592bcaa48e0202 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) +} |