summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2014-07-02 04:12:41 +0000
committerMark Wright <gienah@gentoo.org>2014-07-02 04:12:41 +0000
commit070ed6a5b092e7480523b37e12e1b8ed0bb3021e (patch)
treedc3fe9761b27c39909f9b140bbad3420f1960410 /dev-haskell/crypto
parentBump criterion to 0.8.1.0 (diff)
downloadgentoo-2-070ed6a5b092e7480523b37e12e1b8ed0bb3021e.tar.gz
gentoo-2-070ed6a5b092e7480523b37e12e1b8ed0bb3021e.tar.bz2
gentoo-2-070ed6a5b092e7480523b37e12e1b8ed0bb3021e.zip
Specify the quickcheck slot 2 in crypto-4.2.5.1-r1
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'dev-haskell/crypto')
-rw-r--r--dev-haskell/crypto/ChangeLog9
-rw-r--r--dev-haskell/crypto/crypto-4.2.5.1-r1.ebuild47
2 files changed, 54 insertions, 2 deletions
diff --git a/dev-haskell/crypto/ChangeLog b/dev-haskell/crypto/ChangeLog
index 0bc6894c2140..375c0703e990 100644
--- a/dev-haskell/crypto/ChangeLog
+++ b/dev-haskell/crypto/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-haskell/crypto
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/crypto/ChangeLog,v 1.7 2012/12/22 21:23:34 slyfox Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/crypto/ChangeLog,v 1.8 2014/07/02 04:12:41 gienah Exp $
+
+*crypto-4.2.5.1-r1 (02 Jul 2014)
+
+ 02 Jul 2014; Mark Wright <gienah@gentoo.org> +crypto-4.2.5.1-r1.ebuild:
+ Specify the quickcheck slot 2 in crypto-4.2.5.1-r1
*crypto-4.2.5.1 (22 Dec 2012)
diff --git a/dev-haskell/crypto/crypto-4.2.5.1-r1.ebuild b/dev-haskell/crypto/crypto-4.2.5.1-r1.ebuild
new file mode 100644
index 000000000000..fda460491491
--- /dev/null
+++ b/dev-haskell/crypto/crypto-4.2.5.1-r1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/crypto/crypto-4.2.5.1-r1.ebuild,v 1.1 2014/07/02 04:12:41 gienah Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.9999
+
+CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
+inherit haskell-cabal
+
+MY_PN="Crypto"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Collects together existing Haskell cryptographic functions into a package"
+HOMEPAGE="http://hackage.haskell.org/package/Crypto"
+SRC_URI="mirror://hackage/packages/archive/${MY_PN}/${PV}/${MY_P}.tar.gz"
+
+LICENSE="BSD GPL-2"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="dev-haskell/hunit:=[profile?]
+ >=dev-haskell/quickcheck-2.4.0.1:2=[profile?]
+ dev-haskell/random:=[profile?]
+ >=dev-lang/ghc-6.10.4:="
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-1.2"
+
+S="${WORKDIR}/${MY_P}"
+
+src_test() {
+ TESTS="SymmetricTest SHA1Test RSATest QuickTest HMACTest WordListTest"
+
+ for t in $TESTS; do
+ einfo "Running test $t..."
+ # the quickcheck tests doesn't fail when the test fails...
+ "${S}/dist/build/$t/$t" || die "Test $t failed"
+ done
+}
+
+src_install() {
+ cabal_src_install
+
+ rm -rf "${D}/usr/bin" 2>/dev/null
+}