diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2016-09-11 10:34:26 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2016-09-11 11:01:28 +0100 |
commit | 2436fc318c87e3e0a7faae9d907251dcc23a0218 (patch) | |
tree | 669bc9588a0c1c4874ce474b51557b5049fd8967 /dev-haskell | |
parent | dev-haskell/base-orphans: bump up to 0.5.4 (diff) | |
download | gentoo-2436fc318c87e3e0a7faae9d907251dcc23a0218.tar.gz gentoo-2436fc318c87e3e0a7faae9d907251dcc23a0218.tar.bz2 gentoo-2436fc318c87e3e0a7faae9d907251dcc23a0218.zip |
dev-haskell/bytes: serialization library, a depend of dev-haskell/linear
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-haskell')
-rw-r--r-- | dev-haskell/bytes/Manifest | 1 | ||||
-rw-r--r-- | dev-haskell/bytes/bytes-0.15.2.ebuild | 43 | ||||
-rw-r--r-- | dev-haskell/bytes/metadata.xml | 14 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-haskell/bytes/Manifest b/dev-haskell/bytes/Manifest new file mode 100644 index 000000000000..f2d5c15b288f --- /dev/null +++ b/dev-haskell/bytes/Manifest @@ -0,0 +1 @@ +DIST bytes-0.15.2.tar.gz 18834 SHA256 0bfaaf70154d3622be1ee620dd75e9c93cf4d4a21544d83f281d01439f261f34 SHA512 339da2fe49a6acd307057bfcc79e7ac09eefb9a93ec60cd52a8d425337e7bf355ca8aa42f304863df773b0ef2c459b53571920611cf1ef8f98e78d112cc6ad29 WHIRLPOOL f9f335dc194f9ee89c11471185dd9ea7da31c4c710dc54dbbfb74212e5deab924e9e0e5f54bf0d4fbc83446974d3a0871ef554f4473523c14d9ae4789c242e36 diff --git a/dev-haskell/bytes/bytes-0.15.2.ebuild b/dev-haskell/bytes/bytes-0.15.2.ebuild new file mode 100644 index 000000000000..da94ff9872e0 --- /dev/null +++ b/dev-haskell/bytes/bytes-0.15.2.ebuild @@ -0,0 +1,43 @@ +# 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.6.9999 +#hackport: flags: -lib-werror + +CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" +inherit haskell-cabal + +DESCRIPTION="Sharing code for serialization between binary and cereal" +HOMEPAGE="https://github.com/ekmett/bytes" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+test-doctests" + +RDEPEND=">=dev-haskell/binary-0.5.1:=[profile?] <dev-haskell/binary-0.9:=[profile?] + >=dev-haskell/cereal-0.3.5:=[profile?] <dev-haskell/cereal-0.6:=[profile?] + >=dev-haskell/hashable-1.0.1.1:=[profile?] <dev-haskell/hashable-1.4:=[profile?] + >=dev-haskell/mtl-2.0:=[profile?] <dev-haskell/mtl-2.3:=[profile?] + >=dev-haskell/scientific-0.0:=[profile?] <dev-haskell/scientific-1:=[profile?] + >=dev-haskell/text-0.2:=[profile?] <dev-haskell/text-1.3:=[profile?] + >=dev-haskell/transformers-0.2:=[profile?] <dev-haskell/transformers-0.6:=[profile?] + >=dev-haskell/transformers-compat-0.3:=[profile?] <dev-haskell/transformers-compat-1:=[profile?] + >=dev-haskell/unordered-containers-0.2:=[profile?] <dev-haskell/unordered-containers-0.3:=[profile?] + >=dev-haskell/void-0.6:=[profile?] <dev-haskell/void-1:=[profile?] + >=dev-lang/ghc-7.4.1:= +" +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.8 + test? ( test-doctests? ( >=dev-haskell/doctest-0.9.1 ) ) +" + +src_configure() { + haskell-cabal_src_configure \ + --flag=-lib-werror \ + $(cabal_flag test-doctests test-doctests) +} diff --git a/dev-haskell/bytes/metadata.xml b/dev-haskell/bytes/metadata.xml new file mode 100644 index 000000000000..920edccd0ad6 --- /dev/null +++ b/dev-haskell/bytes/metadata.xml @@ -0,0 +1,14 @@ +<?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="test-doctests">Enable the doctest suite when using the enable-tests option for cabal.</flag> + </use> + <longdescription> + Sharing code for serialization between binary and cereal + </longdescription> +</pkgmetadata> |