/
hackport.cabal
142 lines (130 loc) · 3.01 KB
/
hackport.cabal
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
Name: hackport
Version: 0.2.17
License: GPL
License-file: LICENSE
Author: Henning Günther, Duncan Coutts, Lennart Kolmodin
Maintainer: Gentoo Haskell team <haskell@gentoo.org>
Category: Distribution
Synopsis: Hackage and Portage integration tool
Description: A command line tool to manage an overlay of Gentoo ebuilds
that are generated from a hackage repo of Cabal packages.
Build-Type: Simple
Cabal-Version: >=1.10
source-repository head
type: git
location: git://github.com/gentoo-haskell/hackport.git
Flag split-base
Executable hackport
Main-Is: Main.hs
Default-Language: Haskell98
Hs-Source-Dirs: ., cabal/cabal, cabal/cabal-install
Build-Depends:
base >= 2.0 && < 5,
filepath,
parsec,
mtl,
network,
pretty,
regex-compat,
HTTP >= 4000.0.3,
zlib,
tar,
xml>1.3.5,
array,
extensible-exceptions,
-- cabal depends
unix
-- extensions due to hackport
other-extensions:
DeriveDataTypeable,
PatternGuards
-- extensions due to bundled cabal-install
other-extensions:
CPP,
ForeignFunctionInterface,
PatternGuards
if flag(split-base)
Build-Depends:
base >= 3 && < 5,
directory,
containers,
process,
old-time,
bytestring
else
Build-Depends: base < 3
ghc-options: -Wall
other-modules:
AnsiColor
BlingBling
Cabal2Ebuild
CacheFile
Diff
Error
Hackage
Main
Overlays
Paths_hackport
Portage.Version
Portage.Dependency
Portage.GHCCore
Portage.PackageId
Portage.Overlay
Portage.Resolve
Portage.Host
Merge.Dependencies
Setup
Status
Merge
Util
Executable hackport-guess-ghc-version
Main-Is: Main-GuessGHC.hs
Default-Language: Haskell98
Buildable: False
-- this was used as a test while developing the
-- ghc-guessfeature. now we can disable building
Build-Depends:
base >= 2.0 && < 5,
filepath,
parsec,
mtl,
network,
pretty,
regex-compat,
HTTP >= 4000.0.3,
zlib,
tar,
array,
-- array is inherited from cabal-install
-- tar >= 0.3.0.0 && < 0.4
extensible-exceptions
if flag(split-base)
Build-Depends:
base >= 3 && < 5,
directory,
containers,
process,
old-time,
bytestring
else
Build-Depends: base < 3
ghc-options: -Wall
other-modules:
Portage.GHCCore
Test-Suite test-resolve-category
Type: exitcode-stdio-1.0
Default-Language: Haskell98
Main-Is: tests/resolveCat.hs
Hs-Source-Dirs: ., cabal/cabal, cabal/cabal-install
Build-Depends: base >= 3 && < 5,
bytestring,
containers,
directory,
extensible-exceptions,
filepath,
HUnit,
mtl,
pretty,
process,
unix,
xml