Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-annex/
Date: Sat, 24 Sep 2016 10:09:00
Message-Id: 1474711725.725eadedbeb20ce266bfb381735bf61303ed0437.slyfox@gentoo
1 commit: 725eadedbeb20ce266bfb381735bf61303ed0437
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Sat Sep 24 10:08:45 2016 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Sat Sep 24 10:08:45 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=725eaded
7
8 dev-vcs/git-annex: restore manpage installation
9
10 Drop git-annex-5.20150731-no-strange-installs.patch
11 as git-annex is now respecting $(DISTDIR). Woohoo!
12
13 Reported-by: Jan Kundrát
14 Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/506
15
16 Package-Manager: portage-2.3.1
17
18 dev-vcs/git-annex/git-annex-6.20160923-r1.ebuild | 171 +++++++++++++++++++++++
19 1 file changed, 171 insertions(+)
20
21 diff --git a/dev-vcs/git-annex/git-annex-6.20160923-r1.ebuild b/dev-vcs/git-annex/git-annex-6.20160923-r1.ebuild
22 new file mode 100644
23 index 00000000..281e2ea
24 --- /dev/null
25 +++ b/dev-vcs/git-annex/git-annex-6.20160923-r1.ebuild
26 @@ -0,0 +1,171 @@
27 +# Copyright 1999-2016 Gentoo Foundation
28 +# Distributed under the terms of the GNU General Public License v2
29 +# $Id$
30 +
31 +EAPI=6
32 +
33 +# ebuild generated by hackport 0.4.7.9999
34 +#hackport: flags: -production,-android,-androidsplice,-testsuite
35 +
36 +CABAL_FEATURES="bin"
37 +inherit haskell-cabal bash-completion-r1
38 +
39 +DESCRIPTION="manage files with git, without checking their contents into git"
40 +HOMEPAGE="http://git-annex.branchable.com/"
41 +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz"
42 +RESTRICT="test"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86 ~amd64-linux"
47 +IUSE="+assistant benchmark +concurrentoutput +cryptonite doc +dbus +magicmime +network-uri +pairing +s3 +torrentparser +webapp +webdav +xmpp"
48 +
49 +RDEPEND="dev-haskell/aeson:=
50 + dev-haskell/async:=
51 + dev-haskell/bloomfilter:=
52 + dev-haskell/case-insensitive:=
53 + dev-haskell/data-default:=
54 + dev-haskell/disk-free-space:=
55 + dev-haskell/dlist:=
56 + dev-haskell/edit-distance:=
57 + dev-haskell/esqueleto:=
58 + >=dev-haskell/exceptions-0.6:=
59 + dev-haskell/feed:=
60 + dev-haskell/hslogger:=
61 + dev-haskell/http-client:=
62 + dev-haskell/http-conduit:=
63 + dev-haskell/http-types:=
64 + dev-haskell/ifelse:=
65 + dev-haskell/missingh:=
66 + dev-haskell/monad-control:=
67 + dev-haskell/monad-logger:=
68 + >=dev-haskell/mtl-2:=
69 + dev-haskell/old-locale:=
70 + >=dev-haskell/optparse-applicative-0.11.0:=
71 + dev-haskell/persistent:=
72 + dev-haskell/persistent-sqlite:=
73 + dev-haskell/persistent-template:=
74 + >=dev-haskell/quickcheck-2.1:2=
75 + dev-haskell/random:=
76 + dev-haskell/regex-tdfa:=
77 + dev-haskell/resourcet:=
78 + dev-haskell/safesemaphore:=
79 + dev-haskell/sandi:=
80 + >=dev-haskell/stm-2.3:=
81 + dev-haskell/text:=
82 + dev-haskell/transformers:=
83 + dev-haskell/unix-compat:=
84 + dev-haskell/unordered-containers:=
85 + dev-haskell/utf8-string:=
86 + >=dev-haskell/uuid-1.2.6:=
87 + >=dev-lang/ghc-7.6.1:=
88 + assistant? ( dev-haskell/dns:=
89 + dev-haskell/hinotify:=
90 + dev-haskell/mountpoints:=
91 + sys-process/lsof )
92 + benchmark? ( dev-haskell/criterion:= )
93 + concurrentoutput? ( >=dev-haskell/concurrent-output-1.6:= )
94 + cryptonite? ( dev-haskell/cryptonite:= )
95 + !cryptonite? ( >=dev-haskell/cryptohash-0.11.0:= )
96 + dbus? ( >=dev-haskell/dbus-0.10.7:=
97 + >=dev-haskell/fdo-notify-0.3:= )
98 + magicmime? ( dev-haskell/magic:= )
99 + network-uri? ( >=dev-haskell/network-2.6:=
100 + >=dev-haskell/network-uri-2.6:= )
101 + !network-uri? ( >=dev-haskell/network-2.4:= <dev-haskell/network-2.6:= )
102 + pairing? ( dev-haskell/network-info:=
103 + dev-haskell/network-multicast:= )
104 + s3? ( >=dev-haskell/aws-0.9.2:=
105 + dev-haskell/conduit:=
106 + dev-haskell/conduit-extra:= )
107 + torrentparser? ( >=dev-haskell/torrent-10000.0.0:= )
108 + webapp? ( dev-haskell/blaze-builder:=
109 + dev-haskell/byteable:=
110 + dev-haskell/clientsession:=
111 + dev-haskell/crypto-api:=
112 + >=dev-haskell/path-pieces-0.1.4:=
113 + dev-haskell/securemem:=
114 + >=dev-haskell/shakespeare-2.0.0:=
115 + dev-haskell/wai:=
116 + dev-haskell/wai-extra:=
117 + >=dev-haskell/warp-3.0.0.5:=
118 + >=dev-haskell/warp-tls-1.4:=
119 + >=dev-haskell/yesod-1.2.6:=
120 + >=dev-haskell/yesod-core-1.2.19:=
121 + >=dev-haskell/yesod-default-1.2.0:=
122 + >=dev-haskell/yesod-form-1.3.15:=
123 + >=dev-haskell/yesod-static-1.2.4:= )
124 + webdav? ( >=dev-haskell/dav-1.0:= )
125 + xmpp? ( >=dev-haskell/gnutls-0.1.4:=
126 + dev-haskell/network-protocol-xmpp:=
127 + dev-haskell/xml-types:= )
128 +"
129 +# not generated by hackport:
130 +RDEPEND="${RDEPEND}
131 + dev-vcs/git
132 +"
133 +
134 +DEPEND="${RDEPEND}
135 + >=dev-haskell/cabal-1.16.0
136 +"
137 +
138 +# not generated by hackport:
139 +DEPEND="${DEPEND}
140 + dev-lang/perl
141 + doc? ( www-apps/ikiwiki net-misc/rsync )
142 +"
143 +
144 +PATCHES=(
145 + "${FILESDIR}"/${PN}-6.20160114-QC-2.8.2.patch
146 +)
147 +
148 +src_prepare() {
149 + default
150 +
151 + cabal_chdeps \
152 + 'http-conduit (<2.2.0)' 'http-conduit' \
153 + 'persistent (< 2.5)' 'persistent'
154 +}
155 +
156 +src_configure() {
157 + haskell-cabal_src_configure \
158 + --flag=-android \
159 + --flag=-androidsplice \
160 + $(cabal_flag assistant assistant) \
161 + $(cabal_flag benchmark benchmark) \
162 + $(cabal_flag concurrentoutput concurrentoutput) \
163 + $(cabal_flag cryptonite cryptonite) \
164 + $(cabal_flag dbus dbus) \
165 + $(cabal_flag magicmime magicmime) \
166 + $(cabal_flag network-uri network-uri) \
167 + $(cabal_flag pairing pairing) \
168 + --flag=-production \
169 + $(cabal_flag s3 s3) \
170 + --flag=-testsuite \
171 + $(cabal_flag torrentparser torrentparser) \
172 + $(cabal_flag webapp webapp) \
173 + $(cabal_flag webdav webdav) \
174 + $(cabal_flag xmpp xmpp)
175 +}
176 +
177 +src_test() {
178 + if use webapp; then
179 + export GIT_CONFIG=${T}/temp-git-config
180 + git config user.email "git@src_test"
181 + git config user.name "Mr. ${P} The Test"
182 +
183 + emake test
184 + fi
185 +}
186 +
187 +src_install() {
188 + haskell-cabal_src_install
189 +
190 + newbashcomp "${FILESDIR}"/${PN}.bash ${PN}
191 +
192 + dodoc CHANGELOG README
193 + if use webapp ; then
194 + doicon "${FILESDIR}"/${PN}.xpm
195 + make_desktop_entry "${PN} webapp" "git-annex" ${PN}.xpm "Office"
196 + fi
197 +}