blob: 6d160a5cd4e096da559b30eae9d86210da710219 (
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
|
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
# ebuild generated by hackport 0.8.4.0.9999
#hackport: flags: -production,-android,-androidsplice,-testsuite,+networkbsd
CABAL_FEATURES=""
inherit haskell-cabal bash-completion-r1 desktop
DESCRIPTION="manage files with git, without checking their contents into git"
HOMEPAGE="https://git-annex.branchable.com/"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux"
IUSE="+assistant +benchmark +dbus debug +gitlfs +magicmime +pairing +torrentparser"
GHC_BOOTSTRAP_PACKAGES=(
async
filepath-bytestring
split
unix-compat
)
RDEPEND="dev-haskell/aeson:=
>=dev-haskell/ansi-terminal-0.9:=
dev-haskell/async:=
>=dev-haskell/attoparsec-0.13.2.2:=
>=dev-haskell/aws-0.20:=
>=dev-haskell/bloomfilter-2.0.0:=
dev-haskell/byteable:=
dev-haskell/case-insensitive:=
>=dev-haskell/concurrent-output-1.10:=
dev-haskell/conduit:=
dev-haskell/crypto-api:=
>=dev-haskell/cryptonite-0.23:=
dev-haskell/data-default:=
>=dev-haskell/dav-1.0:=
dev-haskell/disk-free-space:=
dev-haskell/dlist:=
dev-haskell/edit-distance:=
>=dev-haskell/feed-1.0.0:=
>=dev-haskell/filepath-bytestring-1.4.2.1.1:=
dev-haskell/free:=
>=dev-haskell/http-client-0.5.3:=
>=dev-haskell/http-client-restricted-0.0.2:=
dev-haskell/http-client-tls:=
>=dev-haskell/http-conduit-2.3.0:=
>=dev-haskell/http-types-0.7:=
dev-haskell/ifelse:=
dev-haskell/memory:=
dev-haskell/microlens:=
dev-haskell/monad-control:=
>=dev-haskell/monad-logger-0.3.10:=
>=dev-haskell/network-3.0.0.0:=
dev-haskell/network-bsd:=
>=dev-haskell/network-uri-2.6:=
dev-haskell/old-locale:=
>=dev-haskell/optparse-applicative-0.14.2:=
>=dev-haskell/persistent-2.8.1:=
>=dev-haskell/persistent-sqlite-2.8.1:=
dev-haskell/persistent-template:=
>=dev-haskell/quickcheck-2.10.0:=
dev-haskell/random:=
dev-haskell/regex-tdfa:=
dev-haskell/resourcet:=
dev-haskell/safesemaphore:=
dev-haskell/sandi:=
dev-haskell/securemem:=
dev-haskell/socks:=
dev-haskell/split:=
dev-haskell/stm-chans:=
dev-haskell/tagsoup:=
>=dev-haskell/tasty-1.2:=
dev-haskell/tasty-hunit:=
dev-haskell/tasty-quickcheck:=
dev-haskell/tasty-rerun:=
dev-haskell/text:=
>=dev-haskell/unix-compat-0.5:= <dev-haskell/unix-compat-0.8:=
dev-haskell/unliftio-core:=
dev-haskell/unordered-containers:=
dev-haskell/utf8-string:=
>=dev-haskell/uuid-1.2.6:=
dev-haskell/vector:=
>=dev-lang/ghc-8.10.1:=
assistant? ( dev-haskell/blaze-builder:=
dev-haskell/clientsession:=
>=dev-haskell/hinotify-0.3.10:=
dev-haskell/mountpoints:=
>=dev-haskell/path-pieces-0.2.1:=
>=dev-haskell/shakespeare-2.0.11:=
dev-haskell/wai:=
dev-haskell/wai-extra:=
>=dev-haskell/warp-3.2.8:=
>=dev-haskell/warp-tls-3.2.2:=
>=dev-haskell/yesod-1.4.3:=
>=dev-haskell/yesod-core-1.6.0:=
>=dev-haskell/yesod-form-1.4.8:=
>=dev-haskell/yesod-static-1.5.1:= )
benchmark? ( dev-haskell/criterion:= )
dbus? ( >=dev-haskell/dbus-0.10.7:=
>=dev-haskell/fdo-notify-0.3:= )
gitlfs? ( >=dev-haskell/git-lfs-1.2.0:= )
magicmime? ( dev-haskell/magic:= )
pairing? ( dev-haskell/network-info:=
dev-haskell/network-multicast:= )
torrentparser? ( >=dev-haskell/torrent-10000.0.0:= )
"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-3.2.0.0 <dev-haskell/cabal-4.0
>=dev-haskell/filepath-bytestring-1.4.2.1.4
"
src_configure() {
haskell-cabal_src_configure \
--flag=-android \
--flag=-androidsplice \
$(cabal_flag assistant assistant) \
$(cabal_flag benchmark benchmark) \
$(cabal_flag dbus dbus) \
$(cabal_flag debug debuglocks) \
$(cabal_flag gitlfs gitlfs) \
$(cabal_flag magicmime magicmime) \
--flag=networkbsd \
$(cabal_flag pairing pairing) \
--flag=-production \
--flag=-testsuite \
$(cabal_flag torrentparser torrentparser)
}
src_install() {
haskell-cabal_src_install
newbashcomp "${FILESDIR}"/${PN}.bash ${PN}
dodoc CHANGELOG README
doicon "${FILESDIR}"/${PN}.xpm
make_desktop_entry "${PN} webapp" "git-annex" ${PN}.xpm "Office"
}
|