Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-lfs/
Date: Sun, 24 May 2020 20:01:42
Message-Id: 1590350478.f8b02cf014715e4d9140c1c4f3abd706707d4e81.williamh@gentoo
1 commit: f8b02cf014715e4d9140c1c4f3abd706707d4e81
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 24 20:01:18 2020 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Sun May 24 20:01:18 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8b02cf0
7
8 dev-vcs/git-lfs: sync live
9
10 Signed-off-by: William Hubbs <williamh <AT> gentoo.org>
11
12 dev-vcs/git-lfs/git-lfs-9999.ebuild | 122 ++++--------------------------------
13 1 file changed, 11 insertions(+), 111 deletions(-)
14
15 diff --git a/dev-vcs/git-lfs/git-lfs-9999.ebuild b/dev-vcs/git-lfs/git-lfs-9999.ebuild
16 index 049bc10b64a..001d987aa95 100644
17 --- a/dev-vcs/git-lfs/git-lfs-9999.ebuild
18 +++ b/dev-vcs/git-lfs/git-lfs-9999.ebuild
19 @@ -2,129 +2,29 @@
20 # Distributed under the terms of the GNU General Public License v2
21
22 EAPI=7
23 +EGO_PN=github.com/git-lfs/git-lfs
24 +inherit go-module
25
26 -EGO_PN="github.com/${PN}/${PN}"
27 -
28 -inherit golang-base go-module
29 -
30 -EGO_SUM=(
31 - "github.com/alexbrainman/sspi v0.0.0-20180125232955-4729b3d4d858"
32 - "github.com/alexbrainman/sspi v0.0.0-20180125232955-4729b3d4d858/go.mod"
33 - "github.com/avast/retry-go v2.4.2+incompatible"
34 - "github.com/avast/retry-go v2.4.2+incompatible/go.mod"
35 - "github.com/davecgh/go-spew v1.1.0/go.mod"
36 - "github.com/davecgh/go-spew v1.1.1"
37 - "github.com/davecgh/go-spew v1.1.1/go.mod"
38 - "github.com/dpotapov/go-spnego v0.0.0-20190506202455-c2c609116ad0"
39 - "github.com/dpotapov/go-spnego v0.0.0-20190506202455-c2c609116ad0/go.mod"
40 - "github.com/git-lfs/gitobj v1.4.1"
41 - "github.com/git-lfs/gitobj v1.4.1/go.mod"
42 - "github.com/git-lfs/go-netrc v0.0.0-20180525200031-e0e9ca483a18"
43 - "github.com/git-lfs/go-netrc v0.0.0-20180525200031-e0e9ca483a18/go.mod"
44 - "github.com/git-lfs/go-ntlm v0.0.0-20190401175752-c5056e7fa066"
45 - "github.com/git-lfs/go-ntlm v0.0.0-20190401175752-c5056e7fa066/go.mod"
46 - "github.com/git-lfs/wildmatch v1.0.4"
47 - "github.com/git-lfs/wildmatch v1.0.4/go.mod"
48 - "github.com/hashicorp/go-uuid v1.0.1"
49 - "github.com/hashicorp/go-uuid v1.0.1/go.mod"
50 - "github.com/inconshreveable/mousetrap v1.0.0"
51 - "github.com/inconshreveable/mousetrap v1.0.0/go.mod"
52 - "github.com/jcmturner/gofork v0.0.0-20190328161633-dc7c13fece03"
53 - "github.com/jcmturner/gofork v0.0.0-20190328161633-dc7c13fece03/go.mod"
54 - "github.com/jcmturner/gofork v1.0.0"
55 - "github.com/jcmturner/gofork v1.0.0/go.mod"
56 - "github.com/mattn/go-isatty v0.0.4"
57 - "github.com/mattn/go-isatty v0.0.4/go.mod"
58 - "github.com/olekukonko/ts v0.0.0-20171002115256-78ecb04241c0"
59 - "github.com/olekukonko/ts v0.0.0-20171002115256-78ecb04241c0/go.mod"
60 - "github.com/pkg/errors v0.0.0-20170505043639-c605e284fe17"
61 - "github.com/pkg/errors v0.0.0-20170505043639-c605e284fe17/go.mod"
62 - "github.com/pmezard/go-difflib v1.0.0"
63 - "github.com/pmezard/go-difflib v1.0.0/go.mod"
64 - "github.com/rubyist/tracerx v0.0.0-20170927163412-787959303086"
65 - "github.com/rubyist/tracerx v0.0.0-20170927163412-787959303086/go.mod"
66 - "github.com/spf13/cobra v0.0.3"
67 - "github.com/spf13/cobra v0.0.3/go.mod"
68 - "github.com/spf13/pflag v1.0.3"
69 - "github.com/spf13/pflag v1.0.3/go.mod"
70 - "github.com/ssgelm/cookiejarparser v1.0.1"
71 - "github.com/ssgelm/cookiejarparser v1.0.1/go.mod"
72 - "github.com/stretchr/objx v0.1.0"
73 - "github.com/stretchr/objx v0.1.0/go.mod"
74 - "github.com/stretchr/objx v0.2.0"
75 - "github.com/stretchr/objx v0.2.0/go.mod"
76 - "github.com/stretchr/testify v1.2.2"
77 - "github.com/stretchr/testify v1.2.2/go.mod"
78 - "github.com/stretchr/testify v1.3.0/go.mod"
79 - "github.com/stretchr/testify v1.5.1"
80 - "github.com/stretchr/testify v1.5.1/go.mod"
81 - "github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f"
82 - "github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod"
83 - "github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415"
84 - "github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod"
85 - "github.com/xeipuuv/gojsonschema v0.0.0-20170210233622-6b67b3fab74d"
86 - "github.com/xeipuuv/gojsonschema v0.0.0-20170210233622-6b67b3fab74d/go.mod"
87 - "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2"
88 - "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
89 - "golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734"
90 - "golang.org/x/crypto v0.0.0-20190426145343-a29dc8fdc734/go.mod"
91 - "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3"
92 - "golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
93 - "golang.org/x/net v0.0.0-20191027093000-83d349e8ac1a"
94 - "golang.org/x/net v0.0.0-20191027093000-83d349e8ac1a/go.mod"
95 - "golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4"
96 - "golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
97 - "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a"
98 - "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
99 - "golang.org/x/sys v0.0.0-20190412213103-97732733099d"
100 - "golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
101 - "golang.org/x/text v0.3.0"
102 - "golang.org/x/text v0.3.0/go.mod"
103 - "gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
104 - "gopkg.in/jcmturner/aescts.v1 v1.0.1"
105 - "gopkg.in/jcmturner/aescts.v1 v1.0.1/go.mod"
106 - "gopkg.in/jcmturner/dnsutils.v1 v1.0.1"
107 - "gopkg.in/jcmturner/dnsutils.v1 v1.0.1/go.mod"
108 - "gopkg.in/jcmturner/goidentity.v2 v2.0.0"
109 - "gopkg.in/jcmturner/goidentity.v2 v2.0.0/go.mod"
110 - "gopkg.in/jcmturner/gokrb5.v5 v5.3.0"
111 - "gopkg.in/jcmturner/gokrb5.v5 v5.3.0/go.mod"
112 - "gopkg.in/jcmturner/rpc.v0 v0.0.2"
113 - "gopkg.in/jcmturner/rpc.v0 v0.0.2/go.mod"
114 - "gopkg.in/yaml.v2 v2.2.2"
115 - "gopkg.in/yaml.v2 v2.2.2/go.mod"
116 - "gopkg.in/yaml.v2 v2.2.8"
117 - "gopkg.in/yaml.v2 v2.2.8/go.mod"
118 - )
119 -go-module_set_globals
120 +DESCRIPTION="Command line extension and specification for managing large files with git"
121 +HOMEPAGE="https://git-lfs.github.com/"
122
123 -if [[ ${PV} == *9999 ]]; then
124 - inherit golang-vcs
125 - # Upstream deps for testing change to fast to track them here.
126 - RESTRICT="test"
127 +if [[ "${PV}" = 9999* ]]; then
128 + EGIT_REPO_URI="https://${EGO_PN}"
129 + inherit git-r3
130 else
131 - SRC_URI="
132 - https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
133 - test? ( ${EGO_SUM_SRC_URI} )
134 - "
135 + SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
136 KEYWORDS="~amd64 ~amd64-linux ~x86-linux"
137 fi
138
139 -HOMEPAGE="https://git-lfs.github.com/"
140 -DESCRIPTION="Command line extension and specification for managing large files with git"
141 -
142 LICENSE="Apache-2.0 BSD BSD-2 BSD-4 ISC MIT"
143 SLOT="0"
144 IUSE="doc test"
145
146 -RESTRICT="!test? ( test )"
147 -
148 -BDEPEND="
149 - dev-lang/go
150 - doc? ( app-text/ronn )
151 -"
152 +BDEPEND="doc? ( app-text/ronn )"
153 RDEPEND="dev-vcs/git"
154
155 +RESTRICT+=" !test? ( test )"
156 +
157 src_compile() {
158 set -- go build \
159 -ldflags="-X ${EGO_PN}/config.GitCommit=${GIT_COMMIT}" \