summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEttore Di Giacinto <mudler@gentoo.org>2017-09-24 11:18:52 +0200
committerEttore Di Giacinto <mudler@gentoo.org>2017-09-24 11:22:19 +0200
commite425aacf8b4276a5704ae6c66f7677de2fa14c49 (patch)
tree097c6d0ac82a0ec26d00dab3dd45e42fc19cd148 /dev-vcs/git-lfs
parentmail-client/mutt: version bump to 1.9.1 (diff)
downloadgentoo-e425aacf8b4276a5704ae6c66f7677de2fa14c49.tar.gz
gentoo-e425aacf8b4276a5704ae6c66f7677de2fa14c49.tar.bz2
gentoo-e425aacf8b4276a5704ae6c66f7677de2fa14c49.zip
dev-vcs/git-lfs: Bump to version 2.3.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-vcs/git-lfs')
-rw-r--r--dev-vcs/git-lfs/Manifest1
-rw-r--r--dev-vcs/git-lfs/git-lfs-2.3.0.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-vcs/git-lfs/Manifest b/dev-vcs/git-lfs/Manifest
index ba45847b2fdc..2917ab3fd696 100644
--- a/dev-vcs/git-lfs/Manifest
+++ b/dev-vcs/git-lfs/Manifest
@@ -2,3 +2,4 @@ DIST git-lfs-1.5.6.tar.gz 604139 SHA256 4efbc806cde1ea6ab4e1d61db3e1f6939796fd53
DIST git-lfs-2.1.1.tar.gz 649611 SHA256 655c1e9bf931afb958c2b81de5c1c38b3ebd6831a04ca5fdcf58cba05e2948d8 SHA512 9061cb9fdf93a0c119d5762ceebdbc0573491dedb1815512e7eae9da54574087c1e499ea97ba0a87d7356499314beb53d60d1800b5c85983ef835dae37e7dd84 WHIRLPOOL 0cfbb0912314ca1afbb426b73521c136d35d2da37ee71cc5a952b17ed0bc92b7706483923f2a701f0bfef1407c34b3f4f5f85f97a655efb7f4d3caf615a0c380
DIST git-lfs-2.2.0.tar.gz 713863 SHA256 d2a30b2e77510d0dc6a050f814909325879d9d8c7dde9eb5664486abdd0411e5 SHA512 2fa2136b933576aefbc2f9fab84c4f7d990b94f96129a9d02085aff397abb8e7a614747a656803e52ccb5fda4e17fcb685c4501fc81855953132efd010e54341 WHIRLPOOL a720601be197a2840cc36dadf469e1828bb69019e1b9287ee2497b46bafad111ca027c53186d17d36be3ee2f6f62a14bff41e08ca2abe890aa5708d98b57d4e8
DIST git-lfs-2.2.1.tar.gz 708806 SHA256 fede2b31b0539fd4a580f831867caac1b5d5dc4405e938c4ee0bfeacfb78ad7a SHA512 8e1edd588916e6a09c0fe84bdcd80b8773f3874554f941c65819bbb29cdce4846de6408dbb34b33e420d9bc768f6cd07c2dbb0979d243c98f25a32d4fc69dea4 WHIRLPOOL d4cd909f3b8ce8acf4e3f1e05423b53cce192fb5f88ba93a66ed083439503a176cad6fe180b4bd76d5d999fdadb7493255693f7ec3a80950365e5cd1df5d9541
+DIST git-lfs-2.3.0.tar.gz 749012 SHA256 4f972b4578d09a464cfc730df3a0ff6255d5ca0e09ea2913b3b6515d9c987d81 SHA512 5fc3c11e3308a32691ac677de5242c2c7bdf1c6a13d6b45259584d0c469c0eec4a33d4909fed48cfacfbbdcf28cf3b5bd27574568636dd07b4169b58e22e9aac WHIRLPOOL bfc0ff6d8b84b7f14ccf7d8e7406e24c59e764f38522641c6be5540b160b031db8f042985db2ba37ae165aaed854d8acc0b6e2cef659dbca32f5f4b0515ec412
diff --git a/dev-vcs/git-lfs/git-lfs-2.3.0.ebuild b/dev-vcs/git-lfs/git-lfs-2.3.0.ebuild
new file mode 100644
index 000000000000..7a32ca36cc92
--- /dev/null
+++ b/dev-vcs/git-lfs/git-lfs-2.3.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+EGO_PN="github.com/git-lfs/${PN}"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit golang-vcs
+else
+ SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ inherit golang-vcs-snapshot
+fi
+
+DESCRIPTION="command line extension and specification for managing large files with Git"
+HOMEPAGE="https://git-lfs.github.com/"
+
+LICENSE="MIT BSD BSD-2 BSD-4 Apache-2.0"
+SLOT="0"
+IUSE="+doc"
+
+# since version 2.0.2 git-lfs uses time.Until that was introduced in golang >=1.8
+# https://github.com/golang/go/commit/67ea710792eabdae1182e2bf4845f512136cccce
+DEPEND=">=dev-lang/go-1.8.1:=
+ doc? ( app-text/ronn )"
+
+RDEPEND="dev-vcs/git"
+
+S="${WORKDIR}/${P}/src/${EGO_PN}"
+
+src_compile() {
+ # can't use golang-build_src_compile for go generate
+ # and others steps executed by build.go
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \
+ go run script/*.go -cmd build || die "build failed"
+
+ if use doc; then
+ ronn docs/man/*.ronn || die "man building failed"
+ fi
+}
+
+src_install() {
+ dobin bin/git-lfs
+
+ use doc && doman docs/man/*.1
+}