blob: 56c307106f3298b89c92f8edf37b0f34de765d51 (
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
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.9.1.0.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Cross platform library for file change notification"
HOMEPAGE="https://github.com/haskell-fswatch/hfsnotify"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
IUSE="examples"
PATCHES=(
"${FILESDIR}/${PN}-0.4.3.0-add-examples-flag.patch"
)
CABAL_CHBINS=(
'example' "haskell-${PN}-example"
)
RDEPEND=">=dev-haskell/async-2.0.0.0:=[profile?]
>=dev-haskell/hinotify-0.3.9:=[profile?]
>=dev-haskell/monad-control-1.0.0.0:=[profile?]
>=dev-haskell/safe-exceptions-0.1.0.0:=[profile?]
>=dev-haskell/text-0.11.0:=[profile?] <dev-haskell/text-2.2:=[profile?]
>=dev-haskell/unix-compat-0.2:=[profile?]
>=dev-lang/ghc-9.0.2:=
examples? ( dev-haskell/monad-logger:=[profile?]
dev-haskell/random:=[profile?]
dev-haskell/retry:=[profile?]
dev-haskell/string-interpolate:=[profile?]
dev-haskell/temporary:=[profile?]
dev-haskell/unliftio:=[profile?] )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.4.1.0
test? ( dev-haskell/sandwich
>=dev-haskell/unliftio-0.2.20
!examples? ( dev-haskell/monad-logger
dev-haskell/random
dev-haskell/retry
dev-haskell/string-interpolate
dev-haskell/temporary ) )
"
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag examples examples)
}
|