| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/text/text-0.11.1.12.ebuild,v 1.3 2012/03/04 12:53:21 slyfox Exp $
|
| 4 |
|
| 5 |
# ebuild generated by hackport 0.2.13
|
| 6 |
|
| 7 |
EAPI="3"
|
| 8 |
|
| 9 |
CABAL_FEATURES="lib profile haddock hscolour hoogle"
|
| 10 |
inherit eutils haskell-cabal
|
| 11 |
|
| 12 |
DESCRIPTION="An efficient packed Unicode text type."
|
| 13 |
HOMEPAGE="https://github.com/bos/text"
|
| 14 |
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
| 15 |
|
| 16 |
LICENSE="BSD"
|
| 17 |
SLOT="0"
|
| 18 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-macos"
|
| 19 |
IUSE="test"
|
| 20 |
|
| 21 |
RDEPEND=">=dev-haskell/deepseq-1.1.0.0
|
| 22 |
>=dev-lang/ghc-6.10.1"
|
| 23 |
DEPEND="${RDEPEND}
|
| 24 |
>=dev-haskell/cabal-1.10
|
| 25 |
test? ( >=dev-haskell/quickcheck-2.4.0.1
|
| 26 |
<dev-haskell/test-framework-0.5
|
| 27 |
<dev-haskell/test-framework-hunit-0.3
|
| 28 |
<dev-haskell/test-framework-quickcheck2-0.3
|
| 29 |
)"
|
| 30 |
|
| 31 |
src_prepare() {
|
| 32 |
epatch "${FILESDIR}/${PN}-0.11.1.6-disable-tests-that-fail-in-non-latin1-locales.patch"
|
| 33 |
}
|
| 34 |
|
| 35 |
src_configure() {
|
| 36 |
cabal_src_configure $(use_enable test tests)
|
| 37 |
}
|