summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-11-29 10:17:03 -0800
committerZac Medico <zmedico@gentoo.org>2019-11-29 10:17:03 -0800
commitb5d623d17bf432a2ed955da6bf9b5df4d19c6aa9 (patch)
tree4c01174af442a5188fd8a27ed018f3b1ef3088fa /dev-go
parentdev-go/go-net: Remove old version 0_pre20160216 (diff)
downloadgentoo-b5d623d17bf432a2ed955da6bf9b5df4d19c6aa9.tar.gz
gentoo-b5d623d17bf432a2ed955da6bf9b5df4d19c6aa9.tar.bz2
gentoo-b5d623d17bf432a2ed955da6bf9b5df4d19c6aa9.zip
dev-go/go-tour: Remove old version 0_p20180810
Package-Manager: Portage-2.3.80, Repoman-2.3.19 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-tour/Manifest1
-rw-r--r--dev-go/go-tour/go-tour-0_p20180810.ebuild47
2 files changed, 0 insertions, 48 deletions
diff --git a/dev-go/go-tour/Manifest b/dev-go/go-tour/Manifest
index c28b8cf7843c..4790cfab02c5 100644
--- a/dev-go/go-tour/Manifest
+++ b/dev-go/go-tour/Manifest
@@ -1,4 +1,3 @@
DIST github.com-golang-net-3b0461eec859c4b73bb64fdc8285971fd33e3938.tar.gz 1099680 BLAKE2B 989a8d6c9166696bef1aff398acc8cd1e41e1240c5c113be030c80355cdf96eaa6d5f231c99f2c44d8eacf199579804c59fc45f999862bc4bf057b694841c8dc SHA512 5e42e26ac17f52d6408b63eebd740bedc5a78b8023b675688d7b39b20afa53b34ffde764b693828143483c8f5450180f6a00e9eb28b8f3f6e14303cc4cd7c62b
DIST github.com-golang-tools-7b79afddac434519a8ca775cc575fddb0d162aab.tar.gz 2682003 BLAKE2B 60d9981b9fcc47077bc0dc1179e518ba2f2373595d5798eb6aa37a832ce72f475b0808b2030919f141cd978533792294fdd8528e1d52b4eeec6e9f1a3b6e772d SHA512 5b7af03d138567edaa70e1b3555b8a9c4822f33c3fb14e8ec435499d21f46d61f44b62fddcec3ecc6f75d4e9a6dfb6b2a7526ddf8785d933941d64e646dc1b9b
-DIST go-tour-0_p20180810.tar.gz 319048 BLAKE2B 43c4ca53d939cf7590c8e3607e2089974f1b40dc9268ccbf9100e36d258d76a828c5512e662f20d125c07d0a35d48d3004c8f06d6f80a6a1645099d4ca592c57 SHA512 73eb1b7a228d046d572b2c781cdd7b43ef57de982987ab5808cbb2775c34c9805fac3c52fd68edd34ccadec5169ce5d61234eee553daf0b9ef2d2529e2817b44
DIST go-tour-0_p20190829.tar.gz 321179 BLAKE2B 56fad2c3608aec9653e31a59e8696aa445375de88f17e72a95620b4b375c88b8e45838360c09a1c53184e5a20c1a5ca044f6ad055de3736e675d3faf3fd52a91 SHA512 2701234788810a8fdb932faae666ec89796664e078b3170344b8c219a2247a510df66bff825bdc458ba062bd4b3f5dccd07dbf88a092053b1ea791c2f50248f4
diff --git a/dev-go/go-tour/go-tour-0_p20180810.ebuild b/dev-go/go-tour/go-tour-0_p20180810.ebuild
deleted file mode 100644
index 331a91b1bb01..000000000000
--- a/dev-go/go-tour/go-tour-0_p20180810.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-EGO_PN="golang.org/x/tour/..."
-
-EGIT_COMMIT="d642b9371986f5bb2152547a0d525a57f634c3ef"
-ARCHIVE_URI="https://github.com/golang/tour/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
-KEYWORDS="~amd64"
-inherit golang-vcs-snapshot golang-build
-
-DESCRIPTION="A Tour of Go"
-HOMEPAGE="https://tour.golang.org"
-SRC_URI="${ARCHIVE_URI}"
-LICENSE="BSD MIT"
-SLOT="0"
-IUSE=""
-DEPEND="dev-go/go-net:=
- dev-go/go-tools:="
-
-src_compile() {
- local x
- # Create a temporary GOROOT, since otherwise the executable is not
- # built if it happens to be installed already.
- cp -rs "$(go env GOROOT)" "${T}/goroot" || die
- rm -rf "${T}/goroot/"{pkg/tool/$(go env GOOS)_$(go env GOARCH)/tour,src/${EGO_PN%/...}} || die
- mkdir -p "${T}/golibdir/src/golang.org/x" || die
- for x in net tools; do
- ln -s "$(get_golibdir_gopath)/src/golang.org/x/${x}" "${T}/golibdir/src/golang.org/x/${x}" || die
- done
- export -n GOCACHE XDG_CACHE_HOME #567192
- GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" GOROOT=${T}/goroot \
- go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
- [[ -x bin/gotour ]] || die "gotour not found"
-}
-
-src_install() {
- exeinto "$(go env GOTOOLDIR)"
- newexe bin/gotour tour
- insinto "$(go env GOROOT)"
- doins -r src
-}
-
-src_test() {
- GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" \
- go test -v -work -x "${EGO_PN}" || die
-}