summaryrefslogtreecommitdiff
blob: de3935c12d39ba940a7e767bb84b6cee5d4c42cb (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
42
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

# ebuild generated by hackport 0.5.1.9999

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

DESCRIPTION="Converting to/from HTTP API data like URL pieces, headers and query parameters"
HOMEPAGE="https://github.com/fizruk/http-api-data"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"

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

RDEPEND="dev-haskell/hashable:=[profile?]
	>=dev-haskell/text-0.5:=[profile?]
	>=dev-haskell/time-locale-compat-0.1.1.0:=[profile?] <dev-haskell/time-locale-compat-0.2:=[profile?]
	dev-haskell/unordered-containers:=[profile?]
	dev-haskell/uri-bytestring:=[profile?]
	>=dev-haskell/uuid-types-1.0.2:=[profile?] <dev-haskell/uuid-types-1.1:=[profile?]
	>=dev-lang/ghc-7.6.1:=
	use-text-show? ( >=dev-haskell/text-show-2:=[profile?] )
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.16.0
	test? ( >=dev-haskell/doctest-0.11 <dev-haskell/doctest-0.12
		>=dev-haskell/hspec-1.3
		dev-haskell/hunit
		>=dev-haskell/quickcheck-2.9
		>=dev-haskell/quickcheck-instances-0.3.12
		dev-haskell/uuid )
"

src_configure() {
	haskell-cabal_src_configure \
		$(cabal_flag use-text-show use-text-show)
}