From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E7718138330 for ; Sat, 24 Sep 2016 10:09:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 116F0E0983; Sat, 24 Sep 2016 10:08:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0E985E0983 for ; Sat, 24 Sep 2016 10:08:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6319F340A15 for ; Sat, 24 Sep 2016 10:08:55 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E19232474 for ; Sat, 24 Sep 2016 10:08:52 +0000 (UTC) From: "Sergei Trofimovich" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sergei Trofimovich" Message-ID: <1474711725.725eadedbeb20ce266bfb381735bf61303ed0437.slyfox@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-annex/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/git-annex/git-annex-6.20160923-r1.ebuild X-VCS-Directories: dev-vcs/git-annex/ X-VCS-Committer: slyfox X-VCS-Committer-Name: Sergei Trofimovich X-VCS-Revision: 725eadedbeb20ce266bfb381735bf61303ed0437 X-VCS-Branch: master Date: Sat, 24 Sep 2016 10:08:52 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 36d27f5a-cedd-4836-acb3-addbb63f6b0a X-Archives-Hash: 1361bc702764e8e8489bba119d399867 commit: 725eadedbeb20ce266bfb381735bf61303ed0437 Author: Sergei Trofimovich gentoo org> AuthorDate: Sat Sep 24 10:08:45 2016 +0000 Commit: Sergei Trofimovich gentoo org> CommitDate: Sat Sep 24 10:08:45 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=725eaded dev-vcs/git-annex: restore manpage installation Drop git-annex-5.20150731-no-strange-installs.patch as git-annex is now respecting $(DISTDIR). Woohoo! Reported-by: Jan Kundrát Bug: https://github.com/gentoo-haskell/gentoo-haskell/issues/506 Package-Manager: portage-2.3.1 dev-vcs/git-annex/git-annex-6.20160923-r1.ebuild | 171 +++++++++++++++++++++++ 1 file changed, 171 insertions(+) diff --git a/dev-vcs/git-annex/git-annex-6.20160923-r1.ebuild b/dev-vcs/git-annex/git-annex-6.20160923-r1.ebuild new file mode 100644 index 00000000..281e2ea --- /dev/null +++ b/dev-vcs/git-annex/git-annex-6.20160923-r1.ebuild @@ -0,0 +1,171 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +# ebuild generated by hackport 0.4.7.9999 +#hackport: flags: -production,-android,-androidsplice,-testsuite + +CABAL_FEATURES="bin" +inherit haskell-cabal bash-completion-r1 + +DESCRIPTION="manage files with git, without checking their contents into git" +HOMEPAGE="http://git-annex.branchable.com/" +SRC_URI="mirror://hackage/packages/archive/${PN}/${PV}/${P}.tar.gz" +RESTRICT="test" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="+assistant benchmark +concurrentoutput +cryptonite doc +dbus +magicmime +network-uri +pairing +s3 +torrentparser +webapp +webdav +xmpp" + +RDEPEND="dev-haskell/aeson:= + dev-haskell/async:= + dev-haskell/bloomfilter:= + dev-haskell/case-insensitive:= + dev-haskell/data-default:= + dev-haskell/disk-free-space:= + dev-haskell/dlist:= + dev-haskell/edit-distance:= + dev-haskell/esqueleto:= + >=dev-haskell/exceptions-0.6:= + dev-haskell/feed:= + dev-haskell/hslogger:= + dev-haskell/http-client:= + dev-haskell/http-conduit:= + dev-haskell/http-types:= + dev-haskell/ifelse:= + dev-haskell/missingh:= + dev-haskell/monad-control:= + dev-haskell/monad-logger:= + >=dev-haskell/mtl-2:= + dev-haskell/old-locale:= + >=dev-haskell/optparse-applicative-0.11.0:= + dev-haskell/persistent:= + dev-haskell/persistent-sqlite:= + dev-haskell/persistent-template:= + >=dev-haskell/quickcheck-2.1:2= + dev-haskell/random:= + dev-haskell/regex-tdfa:= + dev-haskell/resourcet:= + dev-haskell/safesemaphore:= + dev-haskell/sandi:= + >=dev-haskell/stm-2.3:= + dev-haskell/text:= + dev-haskell/transformers:= + dev-haskell/unix-compat:= + dev-haskell/unordered-containers:= + dev-haskell/utf8-string:= + >=dev-haskell/uuid-1.2.6:= + >=dev-lang/ghc-7.6.1:= + assistant? ( dev-haskell/dns:= + dev-haskell/hinotify:= + dev-haskell/mountpoints:= + sys-process/lsof ) + benchmark? ( dev-haskell/criterion:= ) + concurrentoutput? ( >=dev-haskell/concurrent-output-1.6:= ) + cryptonite? ( dev-haskell/cryptonite:= ) + !cryptonite? ( >=dev-haskell/cryptohash-0.11.0:= ) + dbus? ( >=dev-haskell/dbus-0.10.7:= + >=dev-haskell/fdo-notify-0.3:= ) + magicmime? ( dev-haskell/magic:= ) + network-uri? ( >=dev-haskell/network-2.6:= + >=dev-haskell/network-uri-2.6:= ) + !network-uri? ( >=dev-haskell/network-2.4:= =dev-haskell/aws-0.9.2:= + dev-haskell/conduit:= + dev-haskell/conduit-extra:= ) + torrentparser? ( >=dev-haskell/torrent-10000.0.0:= ) + webapp? ( dev-haskell/blaze-builder:= + dev-haskell/byteable:= + dev-haskell/clientsession:= + dev-haskell/crypto-api:= + >=dev-haskell/path-pieces-0.1.4:= + dev-haskell/securemem:= + >=dev-haskell/shakespeare-2.0.0:= + dev-haskell/wai:= + dev-haskell/wai-extra:= + >=dev-haskell/warp-3.0.0.5:= + >=dev-haskell/warp-tls-1.4:= + >=dev-haskell/yesod-1.2.6:= + >=dev-haskell/yesod-core-1.2.19:= + >=dev-haskell/yesod-default-1.2.0:= + >=dev-haskell/yesod-form-1.3.15:= + >=dev-haskell/yesod-static-1.2.4:= ) + webdav? ( >=dev-haskell/dav-1.0:= ) + xmpp? ( >=dev-haskell/gnutls-0.1.4:= + dev-haskell/network-protocol-xmpp:= + dev-haskell/xml-types:= ) +" +# not generated by hackport: +RDEPEND="${RDEPEND} + dev-vcs/git +" + +DEPEND="${RDEPEND} + >=dev-haskell/cabal-1.16.0 +" + +# not generated by hackport: +DEPEND="${DEPEND} + dev-lang/perl + doc? ( www-apps/ikiwiki net-misc/rsync ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-6.20160114-QC-2.8.2.patch +) + +src_prepare() { + default + + cabal_chdeps \ + 'http-conduit (<2.2.0)' 'http-conduit' \ + 'persistent (< 2.5)' 'persistent' +} + +src_configure() { + haskell-cabal_src_configure \ + --flag=-android \ + --flag=-androidsplice \ + $(cabal_flag assistant assistant) \ + $(cabal_flag benchmark benchmark) \ + $(cabal_flag concurrentoutput concurrentoutput) \ + $(cabal_flag cryptonite cryptonite) \ + $(cabal_flag dbus dbus) \ + $(cabal_flag magicmime magicmime) \ + $(cabal_flag network-uri network-uri) \ + $(cabal_flag pairing pairing) \ + --flag=-production \ + $(cabal_flag s3 s3) \ + --flag=-testsuite \ + $(cabal_flag torrentparser torrentparser) \ + $(cabal_flag webapp webapp) \ + $(cabal_flag webdav webdav) \ + $(cabal_flag xmpp xmpp) +} + +src_test() { + if use webapp; then + export GIT_CONFIG=${T}/temp-git-config + git config user.email "git@src_test" + git config user.name "Mr. ${P} The Test" + + emake test + fi +} + +src_install() { + haskell-cabal_src_install + + newbashcomp "${FILESDIR}"/${PN}.bash ${PN} + + dodoc CHANGELOG README + if use webapp ; then + doicon "${FILESDIR}"/${PN}.xpm + make_desktop_entry "${PN} webapp" "git-annex" ${PN}.xpm "Office" + fi +}