1 |
commit: 68a25738863e82f1b41c05e5ca59739bb21b297a |
2 |
Author: Ettore Di Giacinto <mudler <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Mar 31 13:21:52 2017 +0000 |
4 |
Commit: Ettore Di Giacinto <mudler <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Mar 31 14:09:44 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68a25738 |
7 |
|
8 |
dev-vcs/git-lfs: Version bump to 2.0.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.3, Repoman-2.3.2 |
11 |
|
12 |
dev-vcs/git-lfs/Manifest | 1 + |
13 |
dev-vcs/git-lfs/git-lfs-2.0.2.ebuild | 47 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-vcs/git-lfs/Manifest b/dev-vcs/git-lfs/Manifest |
17 |
index 34b2033f331..9c28044f55b 100644 |
18 |
--- a/dev-vcs/git-lfs/Manifest |
19 |
+++ b/dev-vcs/git-lfs/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST git-lfs-1.5.6.tar.gz 604139 SHA256 4efbc806cde1ea6ab4e1d61db3e1f6939796fd53bf6e9c94ac564610147ea5cd SHA512 f5f2da9ac44647335b25cad3104027cf5476e25ef9763019744123f9e1ef81edadbf5b08a146b8070487b32a18aa202c799f910aee6f2f0144ca411ad6d7cfd2 WHIRLPOOL 2f785abffc917a322fe59f4354980d5f565572620569b9b53e85ecdf84b5d7ad407ced8853c897814daa816cac6efd1f85c9098cae9fe48b179cd3381c5f840d |
22 |
DIST git-lfs-2.0.1.tar.gz 629218 SHA256 62887214d90f0c1d1ba3da45112dffcc1d6bd1d1fabc9ef1e1ab85341242b11f SHA512 09653a59ac2d53964f3ccf07610918b1b37a782df5a984bd9680ff53361795f3c652081da78f26d6efb47fd8d8c6032933ce62f76ae9b48a977aace064d7773e WHIRLPOOL 1a8a808d83fa93a85a4ab9433e5e629d651954bc38c3dcd45e4539d7ec05897e7b712d9eeaf2c9ec0e2f5c65a3ccf17c193bdecef80b83c5d8b1cc872cd65055 |
23 |
+DIST git-lfs-2.0.2.tar.gz 633786 SHA256 e266bdffa53e947ba1d0bf8944d73029384bad2ed05af92bc10918d07eec6b63 SHA512 af5d82234b4136e8d5637c93f7786b56ef552ff30bff01c444ac6fa9685785225148f7a8714c108691195a6f720a7c22f3bcaccaed080cffecf011d8480781ed WHIRLPOOL e7706e7fe949c5d65b2acb34c73e9c1605d0cbe2c607baee93f3c6c67b183f8eb70be2abca3b3c549a26947aef32ddb65742aca33614b519611acdb6dae74f0c |
24 |
|
25 |
diff --git a/dev-vcs/git-lfs/git-lfs-2.0.2.ebuild b/dev-vcs/git-lfs/git-lfs-2.0.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..1cdcb5561c9 |
28 |
--- /dev/null |
29 |
+++ b/dev-vcs/git-lfs/git-lfs-2.0.2.ebuild |
30 |
@@ -0,0 +1,47 @@ |
31 |
+# Copyright 1999-2017 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+EGO_PN="github.com/git-lfs/${PN}" |
37 |
+ |
38 |
+if [[ ${PV} == *9999 ]]; then |
39 |
+ inherit golang-vcs |
40 |
+else |
41 |
+ SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ KEYWORDS="~amd64" |
43 |
+ inherit golang-vcs-snapshot |
44 |
+fi |
45 |
+ |
46 |
+DESCRIPTION="command line extension and specification for managing large files with Git" |
47 |
+HOMEPAGE="https://git-lfs.github.com/" |
48 |
+ |
49 |
+LICENSE="MIT BSD BSD-2 BSD-4 Apache-2.0" |
50 |
+SLOT="0" |
51 |
+IUSE="+doc" |
52 |
+ |
53 |
+# since version 2.0.2 git-lfs uses time.Until that was introduced in golang >=1.8 |
54 |
+# https://github.com/golang/go/commit/67ea710792eabdae1182e2bf4845f512136cccce |
55 |
+DEPEND=">=dev-lang/go-1.8:= |
56 |
+ doc? ( app-text/ronn )" |
57 |
+ |
58 |
+RDEPEND="dev-vcs/git" |
59 |
+ |
60 |
+S="${WORKDIR}/${P}/src/${EGO_PN}" |
61 |
+ |
62 |
+src_compile() { |
63 |
+ # can't use golang-build_src_compile for go generate |
64 |
+ # and others steps executed by build.go |
65 |
+ GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ |
66 |
+ go run script/*.go -cmd build || die "build failed" |
67 |
+ |
68 |
+ if use doc; then |
69 |
+ ronn docs/man/*.ronn || die "man building failed" |
70 |
+ fi |
71 |
+} |
72 |
+ |
73 |
+src_install() { |
74 |
+ dobin bin/git-lfs |
75 |
+ |
76 |
+ use doc && doman docs/man/*.1 |
77 |
+} |