1 |
commit: b5d623d17bf432a2ed955da6bf9b5df4d19c6aa9 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 29 18:17:03 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 29 18:17:03 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d623d1 |
7 |
|
8 |
dev-go/go-tour: Remove old version 0_p20180810 |
9 |
|
10 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
11 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
12 |
|
13 |
dev-go/go-tour/Manifest | 1 - |
14 |
dev-go/go-tour/go-tour-0_p20180810.ebuild | 47 ------------------------------- |
15 |
2 files changed, 48 deletions(-) |
16 |
|
17 |
diff --git a/dev-go/go-tour/Manifest b/dev-go/go-tour/Manifest |
18 |
index c28b8cf7843..4790cfab02c 100644 |
19 |
--- a/dev-go/go-tour/Manifest |
20 |
+++ b/dev-go/go-tour/Manifest |
21 |
@@ -1,4 +1,3 @@ |
22 |
DIST github.com-golang-net-3b0461eec859c4b73bb64fdc8285971fd33e3938.tar.gz 1099680 BLAKE2B 989a8d6c9166696bef1aff398acc8cd1e41e1240c5c113be030c80355cdf96eaa6d5f231c99f2c44d8eacf199579804c59fc45f999862bc4bf057b694841c8dc SHA512 5e42e26ac17f52d6408b63eebd740bedc5a78b8023b675688d7b39b20afa53b34ffde764b693828143483c8f5450180f6a00e9eb28b8f3f6e14303cc4cd7c62b |
23 |
DIST github.com-golang-tools-7b79afddac434519a8ca775cc575fddb0d162aab.tar.gz 2682003 BLAKE2B 60d9981b9fcc47077bc0dc1179e518ba2f2373595d5798eb6aa37a832ce72f475b0808b2030919f141cd978533792294fdd8528e1d52b4eeec6e9f1a3b6e772d SHA512 5b7af03d138567edaa70e1b3555b8a9c4822f33c3fb14e8ec435499d21f46d61f44b62fddcec3ecc6f75d4e9a6dfb6b2a7526ddf8785d933941d64e646dc1b9b |
24 |
-DIST go-tour-0_p20180810.tar.gz 319048 BLAKE2B 43c4ca53d939cf7590c8e3607e2089974f1b40dc9268ccbf9100e36d258d76a828c5512e662f20d125c07d0a35d48d3004c8f06d6f80a6a1645099d4ca592c57 SHA512 73eb1b7a228d046d572b2c781cdd7b43ef57de982987ab5808cbb2775c34c9805fac3c52fd68edd34ccadec5169ce5d61234eee553daf0b9ef2d2529e2817b44 |
25 |
DIST go-tour-0_p20190829.tar.gz 321179 BLAKE2B 56fad2c3608aec9653e31a59e8696aa445375de88f17e72a95620b4b375c88b8e45838360c09a1c53184e5a20c1a5ca044f6ad055de3736e675d3faf3fd52a91 SHA512 2701234788810a8fdb932faae666ec89796664e078b3170344b8c219a2247a510df66bff825bdc458ba062bd4b3f5dccd07dbf88a092053b1ea791c2f50248f4 |
26 |
|
27 |
diff --git a/dev-go/go-tour/go-tour-0_p20180810.ebuild b/dev-go/go-tour/go-tour-0_p20180810.ebuild |
28 |
deleted file mode 100644 |
29 |
index 331a91b1bb0..00000000000 |
30 |
--- a/dev-go/go-tour/go-tour-0_p20180810.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,47 +0,0 @@ |
33 |
-# Copyright 1999-2019 Gentoo Authors |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-EAPI=6 |
37 |
-EGO_PN="golang.org/x/tour/..." |
38 |
- |
39 |
-EGIT_COMMIT="d642b9371986f5bb2152547a0d525a57f634c3ef" |
40 |
-ARCHIVE_URI="https://github.com/golang/tour/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" |
41 |
-KEYWORDS="~amd64" |
42 |
-inherit golang-vcs-snapshot golang-build |
43 |
- |
44 |
-DESCRIPTION="A Tour of Go" |
45 |
-HOMEPAGE="https://tour.golang.org" |
46 |
-SRC_URI="${ARCHIVE_URI}" |
47 |
-LICENSE="BSD MIT" |
48 |
-SLOT="0" |
49 |
-IUSE="" |
50 |
-DEPEND="dev-go/go-net:= |
51 |
- dev-go/go-tools:=" |
52 |
- |
53 |
-src_compile() { |
54 |
- local x |
55 |
- # Create a temporary GOROOT, since otherwise the executable is not |
56 |
- # built if it happens to be installed already. |
57 |
- cp -rs "$(go env GOROOT)" "${T}/goroot" || die |
58 |
- rm -rf "${T}/goroot/"{pkg/tool/$(go env GOOS)_$(go env GOARCH)/tour,src/${EGO_PN%/...}} || die |
59 |
- mkdir -p "${T}/golibdir/src/golang.org/x" || die |
60 |
- for x in net tools; do |
61 |
- ln -s "$(get_golibdir_gopath)/src/golang.org/x/${x}" "${T}/golibdir/src/golang.org/x/${x}" || die |
62 |
- done |
63 |
- export -n GOCACHE XDG_CACHE_HOME #567192 |
64 |
- GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" GOROOT=${T}/goroot \ |
65 |
- go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" |
66 |
- [[ -x bin/gotour ]] || die "gotour not found" |
67 |
-} |
68 |
- |
69 |
-src_install() { |
70 |
- exeinto "$(go env GOTOOLDIR)" |
71 |
- newexe bin/gotour tour |
72 |
- insinto "$(go env GOROOT)" |
73 |
- doins -r src |
74 |
-} |
75 |
- |
76 |
-src_test() { |
77 |
- GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" \ |
78 |
- go test -v -work -x "${EGO_PN}" || die |
79 |
-} |