summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2014-07-19 06:27:45 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2014-07-19 06:27:45 +0000
commit2d75cdf5a62873b4864dffcf5f9135bd0fce7034 (patch)
tree178faf151e4da83297a2a941723c6256278c40b9 /dev-vcs
parentStable on x86, bug 508218. (diff)
downloadgentoo-2-2d75cdf5a62873b4864dffcf5f9135bd0fce7034.tar.gz
gentoo-2-2d75cdf5a62873b4864dffcf5f9135bd0fce7034.tar.bz2
gentoo-2-2d75cdf5a62873b4864dffcf5f9135bd0fce7034.zip
Version bump.
(Portage version: 2.2.10_p39/cvs/Linux x86_64, signed Manifest commit with key 611FF3AA)
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git-annex/ChangeLog8
-rw-r--r--dev-vcs/git-annex/git-annex-5.20140717.ebuild172
2 files changed, 179 insertions, 1 deletions
diff --git a/dev-vcs/git-annex/ChangeLog b/dev-vcs/git-annex/ChangeLog
index 8e1932c0440b..0a9411db23ae 100644
--- a/dev-vcs/git-annex/ChangeLog
+++ b/dev-vcs/git-annex/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-vcs/git-annex
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-annex/ChangeLog,v 1.27 2014/07/10 13:55:40 gienah Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-annex/ChangeLog,v 1.28 2014/07/19 06:27:45 slyfox Exp $
+
+*git-annex-5.20140717 (19 Jul 2014)
+
+ 19 Jul 2014; Sergei Trofimovich <slyfox@gentoo.org>
+ +git-annex-5.20140717.ebuild:
+ Version bump.
*git-annex-5.20140709 (10 Jul 2014)
diff --git a/dev-vcs/git-annex/git-annex-5.20140717.ebuild b/dev-vcs/git-annex/git-annex-5.20140717.ebuild
new file mode 100644
index 000000000000..b8b5bf759d19
--- /dev/null
+++ b/dev-vcs/git-annex/git-annex-5.20140717.ebuild
@@ -0,0 +1,172 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-vcs/git-annex/git-annex-5.20140717.ebuild,v 1.1 2014/07/19 06:27:45 slyfox Exp $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.5
+
+CABAL_FEATURES="bin"
+inherit haskell-cabal
+
+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="android androidsplice +assistant +cryptohash +dbus +dns doc +desktop-notify ekg +feed +inotify +pairing +production +quvi +s3 +tahoe +tdfa +testsuite +webapp +webapp-secure +webdav +xmpp"
+
+RDEPEND="dev-vcs/git
+"
+DEPEND="${RDEPEND}
+ dev-haskell/async
+ dev-haskell/bloomfilter
+ >=dev-haskell/cabal-1.8
+ dev-haskell/case-insensitive
+ dev-haskell/dataenc
+ dev-haskell/data-default
+ dev-haskell/dlist
+ dev-haskell/edit-distance
+ >=dev-haskell/exceptions-0.5
+ dev-haskell/extensible-exceptions
+ dev-haskell/hslogger
+ dev-haskell/http
+ dev-haskell/ifelse
+ dev-haskell/json[generic]
+ dev-haskell/missingh
+ dev-haskell/monad-control
+ >=dev-haskell/mtl-2
+ >=dev-haskell/network-2.0
+ >=dev-haskell/quickcheck-2.1:2
+ dev-haskell/random
+ dev-haskell/safesemaphore
+ dev-haskell/sha
+ >=dev-haskell/stm-2.3
+ dev-haskell/text
+ dev-haskell/unix-compat
+ dev-haskell/utf8-string
+ dev-haskell/uuid
+ >=dev-lang/ghc-7.4.1
+ android? ( dev-haskell/data-endian )
+ assistant? ( >=dev-haskell/stm-2.3
+ inotify? ( dev-haskell/hinotify ) )
+ cryptohash? ( >=dev-haskell/cryptohash-0.10.0 )
+ dbus? ( >=dev-haskell/dbus-0.10.3 )
+ dns? ( dev-haskell/dns )
+ ekg? ( dev-haskell/aeson
+ dev-haskell/ekg
+ dev-haskell/http-types )
+ feed? ( dev-haskell/feed )
+ pairing? ( dev-haskell/network-info
+ dev-haskell/network-multicast )
+ quvi? ( dev-haskell/aeson )
+ s3? ( dev-haskell/hs3 )
+ tdfa? ( dev-haskell/regex-tdfa )
+ tahoe? ( dev-haskell/aeson )
+ testsuite? ( >=dev-haskell/tasty-0.7
+ dev-haskell/tasty-hunit
+ dev-haskell/tasty-quickcheck
+ dev-haskell/tasty-rerun
+ dev-haskell/optparse-applicative
+ )
+ webapp? ( dev-haskell/blaze-builder
+ dev-haskell/aeson
+ dev-haskell/clientsession
+ dev-haskell/crypto-api
+ dev-haskell/hamlet
+ dev-haskell/http-types
+ dev-haskell/path-pieces
+ dev-haskell/transformers
+ dev-haskell/shakespeare
+ dev-haskell/wai
+ dev-haskell/wai-extra
+ dev-haskell/warp
+ dev-haskell/warp-tls
+ dev-haskell/yesod
+ dev-haskell/yesod-core
+ dev-haskell/yesod-default
+ dev-haskell/yesod-form
+ dev-haskell/yesod-static
+ webapp-secure? ( dev-haskell/warp-tls
+ dev-haskell/securemem
+ dev-haskell/byteable ) )
+ webdav? ( >=dev-haskell/dav-0.3
+ dev-haskell/http-conduit
+ dev-haskell/http-client
+ dev-haskell/http-types
+ dev-haskell/lifted-base
+ dev-haskell/xml-conduit )
+ xmpp? ( >=dev-haskell/gnutls-0.1.4
+ dev-haskell/network-protocol-xmpp
+ dev-haskell/xml-types )
+ dev-lang/perl
+ doc? ( www-apps/ikiwiki net-misc/rsync )
+"
+
+src_prepare() {
+ # at least USE="cryptohash dbus dns inotify pairing production quvi s3 tdfa testsuite -xmpp -webdav -webapp -feed -assistant"
+ # need STM via Remote.External
+ cabal_chdeps \
+ 'MissingH, hslogger, directory, filepath,' 'MissingH, hslogger, directory, filepath, stm,'
+
+ cabal_chdeps \
+ 'hamlet' 'hamlet, shakespeare'
+}
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag android android) \
+ $(cabal_flag androidsplice androidsplice) \
+ $(cabal_flag assistant assistant) \
+ $(cabal_flag cryptohash cryptohash) \
+ $(cabal_flag dbus dbus) \
+ $(cabal_flag desktop-notify desktop-notify) \
+ $(cabal_flag dns dns) \
+ $(cabal_flag ekg ekg) \
+ $(cabal_flag feed feed) \
+ $(cabal_flag inotify inotify) \
+ $(cabal_flag pairing pairing) \
+ $(cabal_flag production production) \
+ $(cabal_flag quvi quvi) \
+ $(cabal_flag s3 s3) \
+ $(cabal_flag tahoe tahoe) \
+ $(cabal_flag tdfa tdfa) \
+ $(cabal_flag testsuite testsuite) \
+ $(cabal_flag webapp webapp) \
+ $(cabal_flag webapp-secure webapp-secure) \
+ $(cabal_flag webdav webdav) \
+ $(cabal_flag xmpp xmpp)
+}
+
+src_compile() {
+ haskell-cabal_src_compile
+ use doc && emake docs
+}
+
+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
+ dosym git-annex /usr/bin/git-annex-shell # standard make install does more, than needed
+
+ # install-mans wants ikiwiki. It returns 0 and builds the man pages without ikiwiki.
+ emake install-mans DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
+ use doc && emake install-docs DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
+ mv "${ED}"/usr/share/doc/{${PN},${PF}}
+ dodoc CHANGELOG README
+ if use webapp ; then
+ doicon "${FILESDIR}"/${PN}.xpm
+ make_desktop_entry "${PN} webapp" "git-annex" ${PN}.xpm "Office"
+ fi
+}