summaryrefslogtreecommitdiff
blob: d51ce4d5631fb03036bb981801210caaeafc110f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=5

# ebuild generated by hackport 0.4.5.9999

CABAL_FEATURES="bin"
inherit haskell-cabal

DESCRIPTION="A tool for testing command-line programs"
HOMEPAGE="http://joyful.com/shelltestrunner"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND=">=dev-haskell/cmdargs-0.7:= <dev-haskell/cmdargs-0.11:=
	>=dev-haskell/diff-0.2.0:= <dev-haskell/diff-0.4:=
	>=dev-haskell/filemanip-0.3:= <dev-haskell/filemanip-0.4:=
	dev-haskell/hunit:=
	<dev-haskell/parsec-3.2:=
	>=dev-haskell/pretty-show-1.6.5:=
	>=dev-haskell/regex-tdfa-1.1:= <dev-haskell/regex-tdfa-1.3:=
	dev-haskell/safe:=
	>=dev-haskell/test-framework-0.3.2:= <dev-haskell/test-framework-0.9:=
	>=dev-haskell/test-framework-hunit-0.2:= <dev-haskell/test-framework-hunit-0.4:=
	>=dev-haskell/utf8-string-0.3.5:= <dev-haskell/utf8-string-1.1:=
	>=dev-lang/ghc-7.4.1:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.6
"

src_prepare() {
	cabal_chdeps \
		'HUnit                            < 1.3' 'HUnit' \
		'process                          < 1.3' 'process'
}