# Copyright 1999-2015 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-biology/flower/flower-0.7.2.ebuild,v 1.2 2015/01/19 22:44:09 slyfox Exp $ # ebuild generated by hackport 0.2.17.9999 EAPI=5 CABAL_FEATURES="bin" inherit eutils haskell-cabal DESCRIPTION="Analyze 454 flowgrams (.SFF files)" HOMEPAGE="http://biohaskell.org/Applications/Flower" SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="" DEPEND="${RDEPEND} >=dev-haskell/binary-0.4 =dev-haskell/bio-0.4.9 >=dev-haskell/cabal-1.6 >=dev-haskell/cmdargs-0.5 dev-haskell/mtl dev-haskell/random >=dev-lang/ghc-6.10.1" src_prepare() { epatch "${FILESDIR}"/${P}-ghc-7.8.patch cabal_chdeps \ 'binary == 0.4.*' 'binary >= 0.4 && <0.8' }