diff options
author | Zac Medico <zmedico@gentoo.org> | 2018-08-19 18:45:38 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2018-08-19 18:46:44 -0700 |
commit | ab5977287ac36bb04fc325a53d41db6324644028 (patch) | |
tree | 5c34806a00bc201b65838a355c698c0323bcf3a6 /dev-go/go-tour | |
parent | dev-go/go-tour: version bump to 0_p20180810 (diff) | |
download | gentoo-ab5977287ac36bb04fc325a53d41db6324644028.tar.gz gentoo-ab5977287ac36bb04fc325a53d41db6324644028.tar.bz2 gentoo-ab5977287ac36bb04fc325a53d41db6324644028.zip |
dev-go/go-tour: remove old version
Package-Manager: Portage-2.3.47, Repoman-2.3.10
Diffstat (limited to 'dev-go/go-tour')
-rw-r--r-- | dev-go/go-tour/Manifest | 1 | ||||
-rw-r--r-- | dev-go/go-tour/go-tour-0_p20160209.ebuild | 36 |
2 files changed, 0 insertions, 37 deletions
diff --git a/dev-go/go-tour/Manifest b/dev-go/go-tour/Manifest index 59c520eda648..643f65b49e1c 100644 --- a/dev-go/go-tour/Manifest +++ b/dev-go/go-tour/Manifest @@ -1,2 +1 @@ -DIST go-tour-0_p20160209.tar.gz 275272 BLAKE2B c3d98bf839fc62a43eb7b994a798ab977c19756160930f7ecda39543e8bf4f793ec1eb4f2e3fb202e2bd9b1d8738eed02b40510047fcfe5274ae3c99410dde0a SHA512 bc9131e6173f72ea01c3062454a47a90301ad01bc1ea356ef09b81ad2d887759671ee9700f2c6b47821fc02c49297b8797d732ae0e9b414205e483d30579d2e9 DIST go-tour-0_p20180810.tar.gz 319048 BLAKE2B 43c4ca53d939cf7590c8e3607e2089974f1b40dc9268ccbf9100e36d258d76a828c5512e662f20d125c07d0a35d48d3004c8f06d6f80a6a1645099d4ca592c57 SHA512 73eb1b7a228d046d572b2c781cdd7b43ef57de982987ab5808cbb2775c34c9805fac3c52fd68edd34ccadec5169ce5d61234eee553daf0b9ef2d2529e2817b44 diff --git a/dev-go/go-tour/go-tour-0_p20160209.ebuild b/dev-go/go-tour/go-tour-0_p20160209.ebuild deleted file mode 100644 index 5dd5bec1b027..000000000000 --- a/dev-go/go-tour/go-tour-0_p20160209.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -EGO_PN="golang.org/x/tour/..." - -EGIT_COMMIT="6b2e5b35ce8ed092eaedc3d2a2294373a639f122" -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" -SLOT="0" -IUSE="" -DEPEND="dev-go/go-tools:=" - -src_compile() { - # Create a writable GOROOT in order to avoid sandbox violations. - cp -sR "$(go env GOROOT)" "${T}/goroot" || die - rm -rf "${T}/goroot/src/${EGO_PN%/*}" || die - GOROOT="${T}/goroot" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ - go build -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" - [[ -x $(find "${T}" -name a.out) ]] || die "a.out not found" -} - -src_install() { - GOROOT="${T}/goroot" GOPATH="${WORKDIR}/${P}:$(get_golibdir_gopath)" \ - go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}" - exeinto "$(go env GOTOOLDIR)" - newexe bin/gotour tour - insinto "$(go env GOROOT)" - doins -r src -} |