You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.4 KiB
46 lines
1.4 KiB
11 years ago
|
# Copyright 1999-2013 Gentoo Foundation
|
||
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/test-framework/test-framework-0.8.0.3.ebuild,v 1.1 2013/10/19 09:55:56 gienah Exp $
|
||
|
|
||
|
EAPI=5
|
||
|
|
||
|
# ebuild generated by hackport 0.3.4.9999
|
||
|
|
||
|
CABAL_FEATURES="bin lib profile haddock hoogle hscolour"
|
||
|
inherit base haskell-cabal
|
||
|
|
||
|
DESCRIPTION="Framework for running and organising tests, with HUnit and QuickCheck support"
|
||
|
HOMEPAGE="https://batterseapower.github.io/test-framework/"
|
||
|
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="BSD"
|
||
|
SLOT="0/${PV}"
|
||
|
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
|
||
|
IUSE="test"
|
||
|
RESTRICT="test" # tests are missing
|
||
|
|
||
|
RDEPEND=">=dev-haskell/ansi-terminal-0.4.0:=[profile?]
|
||
|
>=dev-haskell/ansi-wl-pprint-0.5.1:=[profile?]
|
||
|
>=dev-haskell/hostname-1.0:=[profile?]
|
||
|
>=dev-haskell/random-1.0:=[profile?]
|
||
|
>=dev-haskell/regex-posix-0.72:=[profile?]
|
||
|
>=dev-haskell/xml-1.3.5:=[profile?]
|
||
|
>=dev-lang/ghc-7.0.1:=
|
||
|
"
|
||
|
DEPEND="${RDEPEND}
|
||
|
>=dev-haskell/cabal-1.10.0.0
|
||
|
test? ( >=dev-haskell/hunit-1.2:=[profile?]
|
||
|
>=dev-haskell/libxml-0.1.1:=[profile?]
|
||
|
>=dev-haskell/quickcheck-2.3:=[profile?] <dev-haskell/quickcheck-2.7:=[profile?] )
|
||
|
"
|
||
|
|
||
|
src_prepare() {
|
||
|
cabal_chdeps \
|
||
|
'QuickCheck >= 2.3 && < 2.5' 'QuickCheck >= 2.3 && < 2.7'
|
||
|
}
|
||
|
|
||
|
src_configure() {
|
||
|
haskell-cabal_src_configure \
|
||
|
$(cabal_flag test tests)
|
||
|
}
|