blob: b07f783fd220878e8157b945c79007e993ae92f8 (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
# ebuild generated by hackport 0.3.2.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
MY_PN="HTTP"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="A library for client-side HTTP"
HOMEPAGE="https://github.com/haskell/HTTP"
SRC_URI="https://hackage.haskell.org/package/${MY_P}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~alpha amd64 ia64 ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos ~x86-macos"
# hackport-args: --always-disabled='mtl1 network23 old-base warn-as-error'
IUSE=""
RDEPEND="<dev-haskell/network-2.5:=[profile?]
dev-haskell/parsec:=[profile?]
>=dev-lang/ghc-6.10.4:=
>=dev-haskell/mtl-2.0:=[profile?]
<dev-haskell/mtl-2.2:=[profile?]"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8"
RESTRICT=test # missing modules: Could not find module `Httpd'
# test? ( =dev-haskell/case-insensitive-0.4*
# >=dev-haskell/conduit-0.4
# <dev-haskell/conduit-0.6
# =dev-haskell/deepseq-1.3*
# >=dev-haskell/http-types-0.6
# <dev-haskell/http-types-0.8
# dev-haskell/httpd-shed
# dev-haskell/hunit
# =dev-haskell/puremd5-2.1*
# >=dev-haskell/split-0.1
# <dev-haskell/split-0.3
# dev-haskell/test-framework
# dev-haskell/test-framework-hunit
# >=dev-haskell/wai-1.2
# <dev-haskell/wai-1.4
# >=dev-haskell/warp-1.2
# <dev-haskell/warp-1.4
# )
S="${WORKDIR}/${MY_P}"
src_configure() {
haskell-cabal_src_configure \
--flag=-network23 \
--flag=-warn-as-error \
--flag=-mtl1 \
--flag=-old-base \
--disable-tests
}
|