summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEttore Di Giacinto <mudler@gentoo.org>2017-10-01 10:21:23 +0200
committerEttore Di Giacinto <mudler@gentoo.org>2017-10-01 10:26:52 +0200
commit76bd22b99a00ed5ef03a30997cd24b145c799a0a (patch)
tree8a02be3a311fc16ba0daf17f12be61e21919a2ae /dev-vcs
parentwww-servers/uwsgi: drop obsolete ruby21 target, bug 630310 (diff)
downloadgentoo-76bd22b99a00ed5ef03a30997cd24b145c799a0a.tar.gz
gentoo-76bd22b99a00ed5ef03a30997cd24b145c799a0a.tar.bz2
gentoo-76bd22b99a00ed5ef03a30997cd24b145c799a0a.zip
dev-vcs/git-lfs: Bump version to 2.3.1
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-vcs')
-rw-r--r--dev-vcs/git-lfs/Manifest1
-rw-r--r--dev-vcs/git-lfs/git-lfs-2.3.1.ebuild47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-vcs/git-lfs/Manifest b/dev-vcs/git-lfs/Manifest
index f1381946ab86..48182a584108 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.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
+DIST git-lfs-2.3.1.tar.gz 746077 SHA256 bb30538dffc48a224e167ac520d3de677b835964b38afa94667e0559c7556844 SHA512 677d963162fdaa8e1de3ecd7f3b86818ee075dc8a293752f89ce67439eebbb32a2d590b19f29547676bf2eb5090b284d5d90c029fe580a6bfbeddb47153936e9 WHIRLPOOL 87af85eeab456d9b658920a015a8fbc9bea0db66312fed65d3b0d4e57e8f22942aca41d08e3338e99040327aacb7d0b30f3d5151d62bed8ba2c7d17f44ca71bd
diff --git a/dev-vcs/git-lfs/git-lfs-2.3.1.ebuild b/dev-vcs/git-lfs/git-lfs-2.3.1.ebuild
new file mode 100644
index 000000000000..7a32ca36cc92
--- /dev/null
+++ b/dev-vcs/git-lfs/git-lfs-2.3.1.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
+}