diff options
author | hololeap <hololeap@protonmail.com> | 2023-10-02 23:10:49 -0600 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-10-23 04:10:23 +0100 |
commit | f656444ce53ca59eb128cd4dbb9c9e871ee109a6 (patch) | |
tree | 18544f2f95cd8f3ba1e09c45842229fbadb9d5b9 /dev-haskell/vector-algorithms | |
parent | dev-haskell/bitvec: new package, add 1.1.3.0 (diff) | |
download | gentoo-f656444ce53ca59eb128cd4dbb9c9e871ee109a6.tar.gz gentoo-f656444ce53ca59eb128cd4dbb9c9e871ee109a6.tar.bz2 gentoo-f656444ce53ca59eb128cd4dbb9c9e871ee109a6.zip |
dev-haskell/vector-algorithms: add 0.9.0.1
Signed-off-by: hololeap <hololeap@protonmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-haskell/vector-algorithms')
-rw-r--r-- | dev-haskell/vector-algorithms/Manifest | 2 | ||||
-rw-r--r-- | dev-haskell/vector-algorithms/metadata.xml | 10 | ||||
-rw-r--r-- | dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild | 40 |
3 files changed, 49 insertions, 3 deletions
diff --git a/dev-haskell/vector-algorithms/Manifest b/dev-haskell/vector-algorithms/Manifest index 5da079923901..a0704f6820b1 100644 --- a/dev-haskell/vector-algorithms/Manifest +++ b/dev-haskell/vector-algorithms/Manifest @@ -1 +1,3 @@ DIST vector-algorithms-0.8.0.4.tar.gz 26681 BLAKE2B fde5a8a9663e5e94e340f4edb1c1d17a47e7b561013982b5bf7711fe595913280476de629470ec9a049a6bd277587b1dc5390ec9e6dd0d7da87eb7f48ab891c8 SHA512 da5f52493c7f68df0a2c718724dcac9be758b09b14c8fa913aa328ee4c1286893fb239882018202d0fcd56709364ccddf3d620ff3b886d830102ef52a0868d42 +DIST vector-algorithms-0.9.0.1-rev1.cabal 3670 BLAKE2B ebb640235c30c3689dc4abe7e5978b435f6f3adb481b595f6ea8d3e702902fc815a07a7cf3569e1a7f82e25a9553bc0432a9897e39626a0813987bbc6947bffb SHA512 1cd195b4ea8c8245d832107c8fb3a58998b461a3973affce983ba802e300d05e8b45c58836d5623073cd4395c196a0d43f1c9648e834cb0d7c4aebf9e97409fd +DIST vector-algorithms-0.9.0.1.tar.gz 29149 BLAKE2B 4d1e713845c311ca6eea96ad6f42ee53e4fc115b5abe77fd582c5904e3fe8c6c6006a5f4adb0353919931b8f9c99aed812128bca36362e9571d4848ac00a7af6 SHA512 007a0aeac87ca6596cae0f67e8ab5cd3ac4120df940dd221745d86c6500fa1e732d6096248ba613472c57825283cae6a2d67d2d2a5a652496f9ad17c91f9b620 diff --git a/dev-haskell/vector-algorithms/metadata.xml b/dev-haskell/vector-algorithms/metadata.xml index 440975499a71..7d5210abf463 100644 --- a/dev-haskell/vector-algorithms/metadata.xml +++ b/dev-haskell/vector-algorithms/metadata.xml @@ -6,10 +6,14 @@ <name>Gentoo Haskell</name> </maintainer> <use> - <flag name="bench">Build a benchmarking program.</flag> - <flag name="boundschecks">Enable bounds checking.</flag> + <flag name="bench">Build a benchmarking program to test vector-algorithms performance</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="properties">Enable the quickcheck tests</flag> <flag name="unsafechecks">Enable bounds checking in unsafe operations at the cost of a significant performance penalty.</flag> </use> + <upstream> + <remote-id type="hackage">vector-algorithms</remote-id> + <remote-id type="github">erikd/vector-algorithms</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild b/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild new file mode 100644 index 000000000000..46514559ce74 --- /dev/null +++ b/dev-haskell/vector-algorithms/vector-algorithms-0.9.0.1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.7.3.0 +#hackport: flags: -llvm + +CABAL_HACKAGE_REVISION=1 + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Efficient algorithms for vector arrays" +HOMEPAGE="https://github.com/erikd/vector-algorithms/" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" +IUSE="+bench +boundschecks internalchecks +properties unsafechecks" + +RDEPEND=">=dev-haskell/bitvec-1.0:=[profile?] <dev-haskell/bitvec-1.2:=[profile?] + >=dev-haskell/primitive-0.6.2.0:=[profile?] <dev-haskell/primitive-0.8:=[profile?] + >=dev-haskell/vector-0.6:=[profile?] <dev-haskell/vector-0.14:=[profile?] + >=dev-lang/ghc-8.4.3:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-2.2.0.1 + test? ( properties? ( >dev-haskell/quickcheck-2.9 <dev-haskell/quickcheck-2.15 ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag bench bench) \ + $(cabal_flag boundschecks boundschecks) \ + $(cabal_flag internalchecks internalchecks) \ + --flag=-llvm \ + $(cabal_flag properties properties) \ + $(cabal_flag unsafechecks unsafechecks) +} |