summaryrefslogtreecommitdiff
blob: 5a74aa2efb67d071924ce60744cad6e1c53ff223 (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
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

# ebuild generated by hackport 0.6.3.9999

CABAL_FEATURES="test-suite"
inherit haskell-cabal

DESCRIPTION="Hackage and Portage integration tool"
HOMEPAGE="http://hackage.haskell.org/package/hackport"
SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RESTRICT=test # tests are broken: need path to ebuild tree

RDEPEND="
	app-portage/repoman
	dev-haskell/async:=
	dev-haskell/base16-bytestring:=
	dev-haskell/base64-bytestring:=
	dev-haskell/cryptohash:=
	dev-haskell/ed25519:=
	dev-haskell/extensible-exceptions:=
	dev-haskell/hashable:=
	>=dev-haskell/http-4000.0.3:=
	dev-haskell/missingh:=
	dev-haskell/mtl:=
	>=dev-haskell/network-2.6:=
	>=dev-haskell/network-uri-2.6:=
	dev-haskell/old-locale:=
	dev-haskell/old-time:=
	dev-haskell/parsec:=
	dev-haskell/random:=
	dev-haskell/regex-compat:=
	dev-haskell/split:=
	dev-haskell/stm:=
	>=dev-haskell/tar-0.5:=
	dev-haskell/text:=
	>=dev-haskell/xml-1.3.7:=
	dev-haskell/zlib:=
	>=dev-lang/ghc-7.8.2:=
"
DEPEND="${RDEPEND}
	>=dev-haskell/cabal-1.18.1.3
	test? ( dev-haskell/hunit )
"

PATCHES=(
	"${FILESDIR}"/${P}-missing-ffi.patch
	"${FILESDIR}"/${P}-missing-test-deps.patch
	"${FILESDIR}"/${P}-old-filepath.patch
)

src_install() {
	haskell-cabal_src_install
	doman man/hackport.1
}