From 0d4e672ff1255f464a8f5fd5e084548ba8a01288 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 11 Sep 2016 10:44:35 +0100 Subject: dev-haskell/thyme: faster time library, a depend of app-forensics/quickfuzz Package-Manager: portage-2.3.0 --- dev-haskell/thyme/Manifest | 1 + dev-haskell/thyme/metadata.xml | 19 +++++++++++++ dev-haskell/thyme/thyme-0.3.5.5.ebuild | 49 ++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 dev-haskell/thyme/Manifest create mode 100644 dev-haskell/thyme/metadata.xml create mode 100644 dev-haskell/thyme/thyme-0.3.5.5.ebuild (limited to 'dev-haskell') diff --git a/dev-haskell/thyme/Manifest b/dev-haskell/thyme/Manifest new file mode 100644 index 000000000000..56337ee3619c --- /dev/null +++ b/dev-haskell/thyme/Manifest @@ -0,0 +1 @@ +DIST thyme-0.3.5.5.tar.gz 37220 SHA256 84c6701fb7b40841d22582202382c362fd9e0d6e5f1c959b7e0f2f91a85c796c SHA512 2f8bb307a49e441b3fe2a0337a25ef9adc94d3fe2f04369759bbdfba9ee788568016e8e9ce6dde2ef1ba51c61f98621f4dd35b833cab1757b022bf43524174b5 WHIRLPOOL f2b37a317436edceffabed6234a4768b45942138438316331218b9caf27c4f8773ee23f77876cf9d3e7cdd6496bdf257c12a4b769a90e632bb7b69367253a3b7 diff --git a/dev-haskell/thyme/metadata.xml b/dev-haskell/thyme/metadata.xml new file mode 100644 index 000000000000..04e71262935f --- /dev/null +++ b/dev-haskell/thyme/metadata.xml @@ -0,0 +1,19 @@ + + + + + haskell@gentoo.org + Gentoo Haskell + + + Thyme is a rewrite of the fine @time@ library, with a particular focus + on performance for applications that make heavy use of timestamps. + + See "Data.Thyme" for a full description. + + + bug-for-bug compatibility with time + use the full lens package + instance Show of internal representation + + diff --git a/dev-haskell/thyme/thyme-0.3.5.5.ebuild b/dev-haskell/thyme/thyme-0.3.5.5.ebuild new file mode 100644 index 000000000000..7b673a14eb83 --- /dev/null +++ b/dev-haskell/thyme/thyme-0.3.5.5.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +# ebuild generated by hackport 0.4.4.9999 +#hackport: flags: -werror,-hlint + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="A faster time library" +HOMEPAGE="https://github.com/liyang/thyme" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+bug-for-bug lens show-internal" + +RESTRICT=test # optimization-dependent + +RDEPEND=">=dev-haskell/aeson-0.6:=[profile?] + >=dev-haskell/attoparsec-0.10:=[profile?] + >=dev-haskell/mtl-1.1:=[profile?] + >=dev-haskell/quickcheck-2.4:2=[profile?] + dev-haskell/random:=[profile?] + >=dev-haskell/text-0.11:=[profile?] + >=dev-haskell/vector-0.9:=[profile?] + >=dev-haskell/vector-space-0.8:=[profile?] + >=dev-haskell/vector-th-unbox-0.2.1.0:=[profile?] + >=dev-lang/ghc-7.4.1:= + lens? ( >=dev-haskell/lens-3.9:=[profile?] ) + !lens? ( >=dev-haskell/profunctors-3.1.2:=[profile?] ) +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.10 + test? ( >=dev-haskell/system-posix-redirect-1.1 ) +" + +src_configure() { + haskell-cabal_src_configure \ + $(cabal_flag bug-for-bug bug-for-bug) \ + --flag=-hlint \ + $(cabal_flag lens lens) \ + $(cabal_flag show-internal show-internal) \ + --flag=-werror +} -- cgit v1.2.3-65-gdbad