summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-02-15 22:37:10 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2017-02-16 10:21:31 +0000
commitf647c5732c07d9e8e6e7c89fa373e15b11a7ffc5 (patch)
tree48f73a00d74535e3af9c878335eef5597e745092 /dev-haskell/cryptonite
parentdev-haskell/optparse-applicative: bump up to 0.13.0.0 (diff)
downloadgentoo-f647c5732c07d9e8e6e7c89fa373e15b11a7ffc5.tar.gz
gentoo-f647c5732c07d9e8e6e7c89fa373e15b11a7ffc5.tar.bz2
gentoo-f647c5732c07d9e8e6e7c89fa373e15b11a7ffc5.zip
dev-haskell/cryptonite: bump up to 0.21
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-haskell/cryptonite')
-rw-r--r--dev-haskell/cryptonite/Manifest1
-rw-r--r--dev-haskell/cryptonite/cryptonite-0.21.ebuild44
-rw-r--r--dev-haskell/cryptonite/metadata.xml1
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-haskell/cryptonite/Manifest b/dev-haskell/cryptonite/Manifest
index 823cd1faaec2..5a0a99f066f2 100644
--- a/dev-haskell/cryptonite/Manifest
+++ b/dev-haskell/cryptonite/Manifest
@@ -1,2 +1,3 @@
+DIST cryptonite-0.21.tar.gz 615850 SHA256 639a66aee1c3fa64161b1886d319612b8ce92f751adde476fdc35aea730262ee SHA512 7f04ad5f7411bf90f343c13b71438fdd0e1e40cc5c9a5f1553c1f396a278f81cbe3a548ee8bc03b3b63bc66485ce36dc9a93c3dc3e5884f601bbae49efa98cc3 WHIRLPOOL 35f6a0af2999da83ff91c426f9a10e55ad016d0b911fdb001d28043666fee5be2518ac27ece43d57ca22ff0363b7e5028d08ce62bff9a3f1b13f1435397fef77
DIST cryptonite-0.7.tar.gz 324734 SHA256 6cd4d9ff100b06a08ceac56eb12153633957797b309032a963cdf3841f92ecd9 SHA512 077b181b1563087c6c04816a36bfd2efd7a732f72b02e5277f3d987093954ca8e420814b547c7c985418e74e8c838a3c8381b4821f3ed6fa8412b63078fade0e WHIRLPOOL d360075fbe8209adce66a8fa7072830149dd9f471152171f5dcda051f5f770876e543ecaa37ec9c5a65ad54afbf8cac47a8aba389537da0f75bdfac00aa8c66e
DIST cryptonite-0.8.tar.gz 325531 SHA256 6401745cab3b83e81b84c09336215f3f80f532b3cfd948c4c53e891aa9b69b07 SHA512 c393e7a93f8d4368ae9ee3130eb44cbc0a4937fdbe27bb918a8900716d9946bae39897717b1c2b3c2531ce69562df3d3260177fa76a6f90ee53ace206fe382a3 WHIRLPOOL 04f04041227e42be0fd78196f1b34debe3effb3587463671c94ff866760ecac0e7b2590c9ba28368f951b354fefb03358b2ec38d300938d99f837a57e25f9437
diff --git a/dev-haskell/cryptonite/cryptonite-0.21.ebuild b/dev-haskell/cryptonite/cryptonite-0.21.ebuild
new file mode 100644
index 000000000000..876fa7bd156b
--- /dev/null
+++ b/dev-haskell/cryptonite/cryptonite-0.21.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+# ebuild generated by hackport 0.5.1.9999
+#hackport: flags: -check_alignment,-old_toolchain_inliner
+
+CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
+inherit haskell-cabal
+
+DESCRIPTION="Cryptography Primitives sink"
+HOMEPAGE="https://github.com/haskell-crypto/cryptonite"
+SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+integer-gmp +support_aesni support_blake2_sse +support_deepseq support_pclmuldq +support_rdrand"
+
+RDEPEND=">=dev-haskell/memory-0.8:=[profile?]
+ >=dev-lang/ghc-7.4.1:=
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.10
+ test? ( dev-haskell/byteable
+ dev-haskell/tasty
+ dev-haskell/tasty-hunit
+ dev-haskell/tasty-kat
+ dev-haskell/tasty-quickcheck )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-check_alignment \
+ $(cabal_flag integer-gmp integer-gmp) \
+ --flag=-old_toolchain_inliner \
+ $(cabal_flag support_aesni support_aesni) \
+ $(cabal_flag support_blake2_sse support_blake2_sse) \
+ $(cabal_flag support_deepseq support_deepseq) \
+ $(cabal_flag support_pclmuldq support_pclmuldq) \
+ $(cabal_flag support_rdrand support_rdrand)
+}
diff --git a/dev-haskell/cryptonite/metadata.xml b/dev-haskell/cryptonite/metadata.xml
index 4aca4f05fbd3..3eb47a393790 100644
--- a/dev-haskell/cryptonite/metadata.xml
+++ b/dev-haskell/cryptonite/metadata.xml
@@ -34,5 +34,6 @@
<flag name="support_pclmuldq">Allow compilation with pclmuldq on architecture that supports it</flag>
<flag name="integer-gmp">Whether or not to use GMP for some functions</flag>
<flag name="support_deepseq">add deepseq instances for cryptographic types</flag>
+ <flag name="support_blake2_sse">Use SSE optimized version of BLAKE2</flag>
</use>
</pkgmetadata>