summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-vcs/git-annex/Manifest1
-rw-r--r--dev-vcs/git-annex/git-annex-8.20200617.ebuild160
-rw-r--r--dev-vcs/git-annex/metadata.xml3
3 files changed, 164 insertions, 0 deletions
diff --git a/dev-vcs/git-annex/Manifest b/dev-vcs/git-annex/Manifest
index ab38727420f8..8f97fa423e27 100644
--- a/dev-vcs/git-annex/Manifest
+++ b/dev-vcs/git-annex/Manifest
@@ -1 +1,2 @@
DIST git-annex-6.20170818.tar.gz 1111837 BLAKE2B ff18ffd101b3f9dc2b74caaed57c8f8f568fc51beeedddccf7f76ef5a27a99801cb994a52f09e5467be2f030842f4fa3b38bfd0a19a207057ffe269dfc8f240c SHA512 06587bf0d3056e4b94d4c40aaae820efda133dcbc876a2ac3db3183fb511ec20aae4c495323b4886868a3e66b5b1f53a04c5f3abb0362c718bbadc8e2f6e15d0
+DIST git-annex-8.20200617.tar.gz 1296190 BLAKE2B 3731641ff6623d7f0b2ac5402fe6acb41e4c8210e958c5c4383f401486d4307a921cc9072023ec62fdf2da78ec432cf0707a06265345681d7646af2974917cbf SHA512 736d10c1442bb6d8eaf67337da6b606e8b79970f1bbd10cfc15caaaa0376780c14dee9ece066dbc6b378f0a750d11d5b7b87687252899e473748828939dc03ae
diff --git a/dev-vcs/git-annex/git-annex-8.20200617.ebuild b/dev-vcs/git-annex/git-annex-8.20200617.ebuild
new file mode 100644
index 000000000000..033a5d6cb5a8
--- /dev/null
+++ b/dev-vcs/git-annex/git-annex-8.20200617.ebuild
@@ -0,0 +1,160 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+# ebuild generated by hackport 0.6.4.9999
+#hackport: flags: -production,-android,-androidsplice,-testsuite,networkbsd:network-3
+
+CABAL_FEATURES=""
+inherit haskell-cabal bash-completion-r1 desktop
+
+DESCRIPTION="manage files with git, without checking their contents into git"
+HOMEPAGE="http://git-annex.branchable.com/"
+SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz"
+
+LICENSE="AGPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="+assistant benchmark +dbus debuglocks doc +magicmime +network-3 +pairing +s3 +torrentparser +webapp +webdav" # NOTE: add local USE flag 'doc' when bumping
+
+RESTRICT=test
+
+RDEPEND="dev-haskell/aeson:=
+ dev-haskell/async:=
+ dev-haskell/attoparsec:=
+ >=dev-haskell/bloomfilter-2.0.0:=
+ dev-haskell/byteable:=
+ dev-haskell/case-insensitive:=
+ >=dev-haskell/concurrent-output-1.10:=
+ dev-haskell/conduit:=
+ >=dev-haskell/connection-0.2.6:=
+ dev-haskell/crypto-api:=
+ >=dev-haskell/cryptonite-0.23:=
+ dev-haskell/data-default:=
+ dev-haskell/disk-free-space:=
+ dev-haskell/dlist:=
+ dev-haskell/edit-distance:=
+ >=dev-haskell/exceptions-0.6:=
+ >=dev-haskell/feed-1.0.0:=
+ >=dev-haskell/filepath-bytestring-1.4.2.1.1:=
+ dev-haskell/free:=
+ dev-haskell/hslogger:=
+ >=dev-haskell/http-client-0.5.0:=
+ 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:=
+ >=dev-haskell/mtl-2:=
+ >=dev-haskell/network-uri-2.6:=
+ dev-haskell/old-locale:=
+ >=dev-haskell/optparse-applicative-0.14.1:=
+ >=dev-haskell/persistent-2.8.1:=
+ >=dev-haskell/persistent-sqlite-2.8.1:=
+ dev-haskell/persistent-template:=
+ >=dev-haskell/quickcheck-2.10.0:2=
+ 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-2.3:=
+ dev-haskell/stm-chans:=
+ dev-haskell/tagsoup:=
+ >=dev-haskell/tasty-0.7:=
+ dev-haskell/tasty-hunit:=
+ dev-haskell/tasty-quickcheck:=
+ dev-haskell/tasty-rerun:=
+ dev-haskell/text:=
+ >=dev-haskell/unix-compat-0.5:=
+ 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.4.3:=
+ assistant? ( >=dev-haskell/hinotify-0.3.10:=
+ dev-haskell/mountpoints:= )
+ benchmark? ( dev-haskell/criterion:= )
+ dbus? ( >=dev-haskell/dbus-0.10.7:=
+ >=dev-haskell/fdo-notify-0.3:= )
+ magicmime? ( dev-haskell/magic:= )
+ network-3? ( >=dev-haskell/network-3.0.0.0:=
+ dev-haskell/network-bsd:= )
+ !network-3? ( >=dev-haskell/network-2.6.3.0:= <dev-haskell/network-3.0.0.0:= )
+ pairing? ( dev-haskell/network-info:=
+ dev-haskell/network-multicast:= )
+ s3? ( >=dev-haskell/aws-0.20:= )
+ torrentparser? ( >=dev-haskell/torrent-10000.0.0:= )
+ webapp? ( dev-haskell/blaze-builder:=
+ dev-haskell/clientsession:=
+ >=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:= )
+ webdav? ( >=dev-haskell/dav-1.0:= )
+"
+# not generated by hackport:
+RDEPEND+=" dev-vcs/git
+"
+DEPEND="${RDEPEND}
+ >=dev-haskell/cabal-2.2.0.1
+"
+# not generated by hackport:
+DEPEND+=" dev-lang/perl
+ doc? ( www-apps/ikiwiki net-misc/rsync )
+"
+
+src_configure() {
+ haskell-cabal_src_configure \
+ --flag=-android \
+ --flag=-androidsplice \
+ $(cabal_flag assistant assistant) \
+ $(cabal_flag benchmark benchmark) \
+ $(cabal_flag dbus dbus) \
+ $(cabal_flag debuglocks debuglocks) \
+ $(cabal_flag magicmime magicmime) \
+ $(cabal_flag network-3 networkbsd) \
+ $(cabal_flag pairing pairing) \
+ --flag=-production \
+ $(cabal_flag s3 s3) \
+ --flag=-testsuite \
+ $(cabal_flag torrentparser torrentparser) \
+ $(cabal_flag webapp webapp) \
+ $(cabal_flag webdav webdav)
+}
+
+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
+}
diff --git a/dev-vcs/git-annex/metadata.xml b/dev-vcs/git-annex/metadata.xml
index 556f1c584b7f..d3a3483550e2 100644
--- a/dev-vcs/git-annex/metadata.xml
+++ b/dev-vcs/git-annex/metadata.xml
@@ -23,6 +23,9 @@
<flag name="assistant">Enable git-annex assistant and watch command</flag>
<flag name="benchmark">Enable benchmarking</flag>
<flag name="concurrentoutput">Use concurrent-output library (experimental)</flag>
+ <flag name="debuglocks">Debug location of MVar/STM deadlocks</flag>
+ <flag name="magicmime">Use libmagic to determine file MIME types</flag>
+ <flag name="network-3">Use network-3</flag>
<flag name="network-uri">Get Network.URI from the network-uri package.</flag>
<flag name="pairing">Enable pairing of git annex repositories</flag>
<flag name="s3">Enable Amazon S3 remote</flag>