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