1 |
commit: 8155d746b7318d3f5926a0ecef906694fc007837 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 14 03:15:26 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 14 03:15:26 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8155d746 |
7 |
|
8 |
dev-go/golint: version bump to 0_pre20180702 |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
dev-go/golint/Manifest | 1 + |
13 |
dev-go/golint/golint-0_pre20180702.ebuild | 37 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 38 insertions(+) |
15 |
|
16 |
diff --git a/dev-go/golint/Manifest b/dev-go/golint/Manifest |
17 |
index ab66258ca99..9679d298325 100644 |
18 |
--- a/dev-go/golint/Manifest |
19 |
+++ b/dev-go/golint/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST golint-0_pre20161114.tar.gz 30204 BLAKE2B 40bc84a2daa86c2956332ffe46dba45d2cdb0826b31251bed3e94f6f794c1f6d41f009b8ad807ec864198e96899aee09e8a189416e398c3386fbf556d12fee5a SHA512 6ba92ade7a84ab587383ce5fe857ac4d6f731a75390ff52ede0bf0ef85b4eea7ebb33282b8332727bf94461891e098700de6d8e8b625f580e4cf791ab436278b |
22 |
+DIST golint-0_pre20180702.tar.gz 31957 BLAKE2B fb3129918bf352ab75f617d933902055877473ca9269b0e5bf91a727e88b579b7b6ced6255d845364405a749ef0aae1f8f67bab0cf97916b39fd7e8f4be54f74 SHA512 bbf550927f547950e0a8270eaf4981cf51b799998e2154058aad3345579ea3a70581cdc13cc36345ca82cf3513a88092f0f5d453895768d05b25a4c47f030fb0 |
23 |
|
24 |
diff --git a/dev-go/golint/golint-0_pre20180702.ebuild b/dev-go/golint/golint-0_pre20180702.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..bad045aaac6 |
27 |
--- /dev/null |
28 |
+++ b/dev-go/golint/golint-0_pre20180702.ebuild |
29 |
@@ -0,0 +1,37 @@ |
30 |
+# Copyright 1999-2018 Gentoo Foundation |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=6 |
34 |
+EGO_PN="golang.org/x/lint/..." |
35 |
+ |
36 |
+if [[ ${PV} = *9999* ]]; then |
37 |
+ inherit golang-vcs |
38 |
+else |
39 |
+ EGIT_COMMIT=06c8688 |
40 |
+ SRC_URI="https://github.com/golang/lint/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
41 |
+ KEYWORDS="~amd64" |
42 |
+ inherit golang-vcs-snapshot |
43 |
+fi |
44 |
+inherit golang-build |
45 |
+ |
46 |
+DESCRIPTION="a linter for Go" |
47 |
+HOMEPAGE="https://godoc.org/golang.org/x/tools" |
48 |
+LICENSE="BSD" |
49 |
+SLOT="0/${PVR}" |
50 |
+IUSE="" |
51 |
+DEPEND=">=dev-lang/go-1.6 |
52 |
+ dev-go/go-tools" |
53 |
+RDEPEND="!<dev-lang/go-1.6 |
54 |
+ dev-go/go-tools:=" |
55 |
+ |
56 |
+DOCS=( |
57 |
+ src/golang.org/x/lint/CONTRIBUTING.md |
58 |
+ src/golang.org/x/lint/README.md |
59 |
+ src/golang.org/x/lint/misc |
60 |
+) |
61 |
+ |
62 |
+src_install() { |
63 |
+ golang-build_src_install |
64 |
+ einstalldocs |
65 |
+ dobin bin/* |
66 |
+} |