From: "Zac Medico" <zmedico@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
Date: Mon, 20 Aug 2018 01:46:52 +0000 (UTC) [thread overview]
Message-ID: <1534729602.e49cc9f7451bea442690b23bb187af3b382efdf3.zmedico@gentoo> (raw)
commit: e49cc9f7451bea442690b23bb187af3b382efdf3
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 20 01:31:46 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Aug 20 01:46:42 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e49cc9f7
dev-go/go-tour: version bump to 0_p20180810
Package-Manager: Portage-2.3.47, Repoman-2.3.10
dev-go/go-tour/Manifest | 1 +
dev-go/go-tour/go-tour-0_p20180810.ebuild | 38 +++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+)
diff --git a/dev-go/go-tour/Manifest b/dev-go/go-tour/Manifest
index 37588d9ffd1..59c520eda64 100644
--- a/dev-go/go-tour/Manifest
+++ b/dev-go/go-tour/Manifest
@@ -1 +1,2 @@
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_p20180810.ebuild b/dev-go/go-tour/go-tour-0_p20180810.ebuild
new file mode 100644
index 00000000000..b97a2e598af
--- /dev/null
+++ b/dev-go/go-tour/go-tour-0_p20180810.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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"
+SLOT="0"
+IUSE=""
+DEPEND="dev-go/go-tools:="
+
+src_compile() {
+ GOPATH="${S}:$(get_golibdir_gopath)" GOBIN="${S}/bin" \
+ go build -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
+ [[ -x $(find "${T}" -name a.out) ]] || die "a.out not found"
+}
+
+src_install() {
+ GOPATH="${S}:$(get_golibdir_gopath)" GOBIN="${S}/bin" \
+ 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
+}
+
+src_test() {
+ GOPATH="${S}:$(get_golibdir_gopath)" GOBIN="${S}/bin" \
+ go test -v -work -x "${EGO_PN}" || die
+}
next reply other threads:[~2018-08-20 1:46 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-20 1:46 Zac Medico [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-05-15 22:37 [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/ Zac Medico
2020-03-08 23:54 Zac Medico
2020-03-08 23:54 Zac Medico
2019-11-29 18:17 Zac Medico
2019-09-15 6:40 Zac Medico
2019-09-15 5:35 Zac Medico
2019-03-16 23:32 Zac Medico
2019-03-16 23:19 Zac Medico
2018-08-23 17:50 Zac Medico
2018-08-20 1:46 Zac Medico
2016-02-11 9:37 Zac Medico
2016-02-11 9:26 Zac Medico
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1534729602.e49cc9f7451bea442690b23bb187af3b382efdf3.zmedico@gentoo \
--to=zmedico@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox