Permalink
Browse files

git-annex bump

  • Loading branch information...
1 parent 1f05031 commit 8774f816de0b43cb86855efefcaea39a89dd2003 @qnikst qnikst committed May 5, 2013
Showing with 133 additions and 0 deletions.
  1. +1 −0 dev-vcs/git-annex/Manifest
  2. +132 −0 dev-vcs/git-annex/git-annex-4.20130501.1.ebuild
@@ -1 +1,2 @@
DIST git-annex-4.20130417.tar.gz 2933565 SHA256 128814026ff39983960b081d751b6e4fc44073fc1c2ee59989da7f5d999b8b9a SHA512 d08ccb3588a6426a14eeb4fcd7afd5f0cdc232593b36e7c94012201a29fc7c591db1f44f273fb9a7776dea80d0d2361366fff3dad01094272ee0aa41ce1aa74b WHIRLPOOL 5abd1a7f48a7f34e7cbc50137593109cd8aece6479a47f121b68e8866e639fdcbf8b3fdccf3fe49ca4bb9f69a8f14a0e6f600133bc65ac19d3cb72c5f1945122
+DIST git-annex-4.20130501.1.tar.gz 21259691 SHA256 484189588d29e8924038efb2c5e2aa64105dc5a318a0437c80f2cdb9ea462c3e SHA512 ade3da9bd06d46722304a0bc6a261cf1eb0c7f287e66a87b2e1f67c51baf52f2ad98afc90a02de10c2a0d18a70ea697f258ede6d660fe4d6555a6e9b90274705 WHIRLPOOL ff533ec522f7e44b1bc6844e9b63b8ea275353c200b8ae2391690ed762faceb77b9f5a03707a8e1b6146b608729374d7dd681397309efc8cce21c28340af464f
@@ -0,0 +1,132 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+# ebuild generated by hackport 0.3.2.9999
+
+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"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="android +assistant +dbus +dns +inotify +pairing +production +s3 +testsuite +webapp +webdav +xmpp"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+ dev-haskell/bloomfilter
+ >=dev-haskell/cabal-1.8
+ dev-haskell/dataenc
+ dev-haskell/dlist
+ dev-haskell/edit-distance
+ dev-haskell/extensible-exceptions
+ dev-haskell/hslogger
+ dev-haskell/http
+ dev-haskell/ifelse
+ dev-haskell/json
+ dev-haskell/lifted-base
+ dev-haskell/missingh
+ dev-haskell/monad-control
+ >=dev-haskell/mtl-2
+ >=dev-haskell/network-2.0
+ >=dev-haskell/quickcheck-2.1
+ dev-haskell/random
+ dev-haskell/regex-tdfa
+ dev-haskell/safesemaphore
+ dev-haskell/sha
+ dev-haskell/text
+ dev-haskell/transformers-base
+ dev-haskell/utf8-string
+ dev-haskell/uuid
+ >=dev-lang/ghc-7.4.1
+ android? ( dev-haskell/data-endian
+ )
+ assistant? ( dev-haskell/async
+ >=dev-haskell/stm-2.3
+ )
+ dbus? ( >=dev-haskell/dbus-0.10.3
+ )
+ dns? ( dev-haskell/dns
+ )
+ inotify? ( dev-haskell/hinotify
+ )
+ pairing? ( dev-haskell/network-info
+ dev-haskell/network-multicast
+ )
+ s3? ( dev-haskell/hs3
+ )
+ testsuite? ( dev-haskell/hunit
+ )
+ webapp? ( dev-haskell/aeson
+ dev-haskell/blaze-builder
+ dev-haskell/case-insensitive
+ dev-haskell/clientsession
+ dev-haskell/crypto-api
+ dev-haskell/data-default
+ dev-haskell/hamlet
+ dev-haskell/transformers
+ dev-haskell/wai
+ dev-haskell/wai-logger
+ dev-haskell/warp
+ <dev-haskell/yesod-1.2
+ dev-haskell/yesod-default
+ dev-haskell/yesod-form
+ dev-haskell/yesod-static
+ s3? ( !webdav? ( dev-haskell/http-types
+ )
+ )
+ )
+ webdav? ( >=dev-haskell/dav-0.3
+ dev-haskell/http-conduit
+ dev-haskell/xml-conduit
+ )
+ xmpp? ( >=dev-haskell/gnutls-0.1.4
+ dev-haskell/network-protocol-xmpp
+ dev-haskell/xml-types
+ )"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ $(cabal_flag android android) \
+ $(cabal_flag assistant assistant) \
+ $(cabal_flag dbus dbus) \
+ $(cabal_flag dns dns) \
+ $(cabal_flag inotify inotify) \
+ $(cabal_flag pairing pairing) \
+ $(cabal_flag production production) \
+ $(cabal_flag s3 s3) \
+ $(cabal_flag testsuite testsuite) \
+ $(cabal_flag webapp webapp) \
+ $(cabal_flag webdav webdav) \
+ $(cabal_flag xmpp xmpp)
+}
+
+src_compile() {
+ haskell-cabal_src_compile
+ use doc && emake docs
+ emake mans
+}
+
+src_test() {
+ export GIT_CONFIG=${T}/temp-git-config
+ git config user.email "git@src_test"
+ git config user.name "Mr. ${P} The Test"
+
+ emake test
+}
+
+src_install() {
+ haskell-cabal_src_install
+ dosym git-annex /usr/bin/git-annex-shell # standard make install does more, than needed
+
+ 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
+}

0 comments on commit 8774f81

Please sign in to comment.