# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

# ebuild generated by hackport 0.3.9999

CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal

DESCRIPTION="Unit tests for Network.Transport implementations"
HOMEPAGE="http://github.com/haskell-distributed/distributed-process"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"

LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-haskell/ansi-terminal-0.5:=[profile?]
		=dev-haskell/mtl-2.1*:=[profile?]
		=dev-haskell/network-transport-0.3*:=[profile?]
		=dev-haskell/random-1.0*:=[profile?]
		>=dev-lang/ghc-7.4.2:="
DEPEND="${RDEPEND}
		>=dev-haskell/cabal-1.8"

src_prepare() {
	cabal_chdeps \
		'ansi-terminal >= 0.5 && < 0.6' 'ansi-terminal >= 0.5'
}