| 1 |
|
# Copyright 1999-2023 Gentoo Authors
|
|
1 |
# Copyright 1999-2026 Gentoo Authors
|
| 2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
3 |
|
| 4 |
4 |
EAPI=8
|
| 5 |
5 |
|
| 6 |
|
# ebuild generated by hackport 0.6.6.9999
|
|
6 |
# ebuild generated by hackport 0.9.0.0.9999
|
| 7 |
7 |
#hackport: flags: build-example:examples
|
| 8 |
8 |
|
| 9 |
9 |
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
|
| ... | ... | |
| 11 |
11 |
|
| 12 |
12 |
DESCRIPTION="Provides some basic WAI handlers and middleware"
|
| 13 |
13 |
HOMEPAGE="https://github.com/yesodweb/wai"
|
| 14 |
|
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
|
| 15 |
14 |
|
| 16 |
15 |
LICENSE="MIT"
|
| 17 |
16 |
SLOT="0/${PV}"
|
| 18 |
17 |
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
|
| 19 |
18 |
IUSE="examples"
|
| 20 |
19 |
|
|
20 |
CABAL_CHBINS=(
|
|
21 |
'example' "${PN}-example"
|
|
22 |
)
|
|
23 |
|
| 21 |
24 |
RDEPEND="dev-haskell/aeson:=[profile?]
|
| 22 |
|
dev-haskell/ansi-terminal:=[profile?]
|
|
25 |
>=dev-haskell/ansi-terminal-0.4:=[profile?]
|
| 23 |
26 |
dev-haskell/base64-bytestring:=[profile?]
|
| 24 |
27 |
dev-haskell/call-stack:=[profile?]
|
| 25 |
28 |
>=dev-haskell/case-insensitive-0.2:=[profile?]
|
| 26 |
29 |
dev-haskell/cookie:=[profile?]
|
| 27 |
|
dev-haskell/data-default-class:=[profile?]
|
|
30 |
dev-haskell/data-default:=[profile?]
|
| 28 |
31 |
>=dev-haskell/fast-logger-2.4.5:=[profile?]
|
| 29 |
32 |
>=dev-haskell/http-types-0.7:=[profile?]
|
| 30 |
|
dev-haskell/http2:=[profile?]
|
| 31 |
33 |
dev-haskell/hunit:=[profile?]
|
| 32 |
|
dev-haskell/iproute:=[profile?]
|
|
34 |
>=dev-haskell/iproute-1.7.8:=[profile?]
|
| 33 |
35 |
>=dev-haskell/network-2.6.1.0:=[profile?]
|
| 34 |
|
>=dev-haskell/old-locale-1.0.0.2:=[profile?] <dev-haskell/old-locale-1.1:=[profile?]
|
| 35 |
|
>=dev-haskell/resourcet-0.4.6:=[profile?] <dev-haskell/resourcet-1.3:=[profile?]
|
|
36 |
>=dev-haskell/resourcet-0.4.6:=[profile?] <dev-haskell/resourcet-1.4:=[profile?]
|
| 36 |
37 |
>=dev-haskell/streaming-commons-0.2:=[profile?]
|
| 37 |
38 |
>=dev-haskell/text-0.7:=[profile?]
|
| 38 |
|
dev-haskell/unix-compat:=[profile?]
|
| 39 |
39 |
dev-haskell/vault:=[profile?]
|
| 40 |
|
>=dev-haskell/void-0.5:=[profile?]
|
| 41 |
|
>=dev-haskell/wai-3.0.3.0:=[profile?] <dev-haskell/wai-3.3:=[profile?]
|
| 42 |
|
>=dev-haskell/wai-logger-2.3.2:=[profile?]
|
|
40 |
>=dev-haskell/wai-3.2.4:=[profile?] <dev-haskell/wai-3.3:=[profile?]
|
|
41 |
>=dev-haskell/wai-logger-2.3.7:=[profile?]
|
|
42 |
>=dev-haskell/warp-3.3.22:=[profile?]
|
| 43 |
43 |
dev-haskell/word8:=[profile?]
|
| 44 |
|
dev-haskell/zlib:=[profile?]
|
| 45 |
|
>=dev-lang/ghc-8.2.1:=
|
| 46 |
|
examples? ( dev-haskell/warp:=[profile?] )
|
|
44 |
>=dev-lang/ghc-9.0.2:=
|
| 47 |
45 |
"
|
| 48 |
46 |
DEPEND="${RDEPEND}
|
| 49 |
|
>=dev-haskell/cabal-2.0.0.2
|
| 50 |
|
test? ( >=dev-haskell/hspec-1.3 )
|
|
47 |
>=dev-haskell/cabal-3.4.1.0
|
|
48 |
test? (
|
|
49 |
>=dev-haskell/hspec-1.3
|
|
50 |
dev-haskell/temporary
|
|
51 |
dev-haskell/zlib
|
|
52 |
)
|
|
53 |
"
|
|
54 |
BDEPEND="
|
|
55 |
test? (
|
|
56 |
dev-haskell/hspec-discover
|
|
57 |
)
|
| 51 |
58 |
"
|
| 52 |
59 |
|
| 53 |
60 |
src_configure() {
|