blob: e0981c217a50c07c7a3d91fd76185d5fb8cdc735 (
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-haskell/lens/lens-3.9.0.2-r1.ebuild,v 1.1 2013/08/26 10:52:15 qnikst Exp $
EAPI=5
# ebuild generated by hackport 0.3.2.9999
CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite"
inherit haskell-cabal
DESCRIPTION="Lenses, Folds and Traversals"
HOMEPAGE="http://github.com/ekmett/lens/"
SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~x86"
IUSE="benchmark-uniplate dump-splices +inlining lib-werror old-inline-pragmas safe +test-doctests +test-hunit +test-properties +trustworthy"
RDEPEND="=dev-haskell/bifunctors-3*:=[profile?]
=dev-haskell/comonad-3*:=[profile?]
=dev-haskell/comonad-transformers-3*:=[profile?]
=dev-haskell/comonads-fd-3*:=[profile?]
>=dev-haskell/contravariant-0.3:=[profile?]
<dev-haskell/contravariant-1:=[profile?]
>=dev-haskell/distributive-0.3:=[profile?]
<dev-haskell/distributive-1:=[profile?]
>=dev-haskell/generic-deriving-1.4:=[profile?]
<dev-haskell/generic-deriving-1.7:=[profile?]
>=dev-haskell/hashable-1.1.2.3:=[profile?]
<dev-haskell/hashable-1.3:=[profile?]
=dev-haskell/monadcatchio-transformers-0.3*:=[profile?]
>=dev-haskell/mtl-2.0.1:=[profile?]
<dev-haskell/mtl-2.2:=[profile?]
>=dev-haskell/parallel-3.1.0.1:=[profile?]
<dev-haskell/parallel-3.3:=[profile?]
>=dev-haskell/profunctor-extras-3.3:=[profile?]
<dev-haskell/profunctor-extras-4:=[profile?]
>=dev-haskell/profunctors-3.2:=[profile?]
<dev-haskell/profunctors-4:=[profile?]
>=dev-haskell/reflection-1.1.6:=[profile?]
<dev-haskell/reflection-2:=[profile?]
>=dev-haskell/semigroupoids-3.0.2:=[profile?]
<dev-haskell/semigroupoids-4:=[profile?]
>=dev-haskell/semigroups-0.8.4:=[profile?]
<dev-haskell/semigroups-1:=[profile?]
=dev-haskell/split-0.2*:=[profile?]
>=dev-haskell/tagged-0.4.4:=[profile?]
<dev-haskell/tagged-1:=[profile?]
=dev-haskell/text-0.11*:=[profile?]
>=dev-haskell/transformers-0.2:=[profile?]
<dev-haskell/transformers-0.4:=[profile?]
>=dev-haskell/transformers-compat-0.1:=[profile?]
<dev-haskell/transformers-compat-1:=[profile?]
=dev-haskell/unordered-containers-0.2*:=[profile?]
>=dev-haskell/vector-0.9:=[profile?]
<dev-haskell/vector-0.11:=[profile?]
>=dev-haskell/void-0.5:=[profile?]
<dev-haskell/void-1:=[profile?]
>=dev-lang/ghc-7.0.1:="
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.8
test-doctests? ( test-hunit? ( test-properties? ( test? ( dev-haskell/deepseq
>=dev-haskell/doctest-0.9.1
>=dev-haskell/hunit-1.2
dev-haskell/nats
>=dev-haskell/quickcheck-2.4
>=dev-haskell/simple-reflect-0.3.1
>=dev-haskell/test-framework-0.6
>=dev-haskell/test-framework-hunit-0.2
>=dev-haskell/test-framework-quickcheck2-0.2
>=dev-haskell/test-framework-th-0.2
)
)
!test-properties? ( test? ( dev-haskell/deepseq
>=dev-haskell/doctest-0.9.1
>=dev-haskell/hunit-1.2
dev-haskell/nats
>=dev-haskell/simple-reflect-0.3.1
>=dev-haskell/test-framework-0.6
>=dev-haskell/test-framework-hunit-0.2
>=dev-haskell/test-framework-th-0.2
)
)
)
!test-hunit? ( test-properties? ( test? ( dev-haskell/deepseq
>=dev-haskell/doctest-0.9.1
dev-haskell/nats
>=dev-haskell/quickcheck-2.4
>=dev-haskell/simple-reflect-0.3.1
>=dev-haskell/test-framework-0.6
>=dev-haskell/test-framework-quickcheck2-0.2
>=dev-haskell/test-framework-th-0.2
)
)
!test-properties? ( test? ( dev-haskell/deepseq
>=dev-haskell/doctest-0.9.1
dev-haskell/nats
>=dev-haskell/simple-reflect-0.3.1
)
)
)
)
!test-doctests? ( test-hunit? ( test-properties? ( test? ( >=dev-haskell/hunit-1.2
>=dev-haskell/quickcheck-2.4
>=dev-haskell/test-framework-0.6
>=dev-haskell/test-framework-hunit-0.2
>=dev-haskell/test-framework-quickcheck2-0.2
>=dev-haskell/test-framework-th-0.2
)
)
!test-properties? ( test? ( >=dev-haskell/hunit-1.2
>=dev-haskell/test-framework-0.6
>=dev-haskell/test-framework-hunit-0.2
>=dev-haskell/test-framework-th-0.2
)
)
)
!test-hunit? ( test-properties? ( test? ( >=dev-haskell/quickcheck-2.4
>=dev-haskell/test-framework-0.6
>=dev-haskell/test-framework-quickcheck2-0.2
>=dev-haskell/test-framework-th-0.2
)
)
)
)"
src_prepare() {
cabal_chdeps \
'generic-deriving >= 1.4 && < 1.6' 'generic-deriving >= 1.4 && < 1.7'
}
src_configure() {
haskell-cabal_src_configure \
$(cabal_flag benchmark-uniplate benchmark-uniplate) \
$(cabal_flag dump-splices dump-splices) \
$(cabal_flag inlining inlining) \
$(cabal_flag lib-werror lib-werror) \
$(cabal_flag old-inline-pragmas old-inline-pragmas) \
$(cabal_flag safe safe) \
$(cabal_flag test-doctests test-doctests) \
$(cabal_flag test-hunit test-hunit) \
$(cabal_flag test-properties test-properties) \
$(cabal_flag trustworthy trustworthy)
}
|