* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2018-08-20 1:46 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2018-08-20 1:46 UTC (permalink / raw
To: gentoo-commits
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
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2022-05-15 22:37 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2022-05-15 22:37 UTC (permalink / raw
To: gentoo-commits
commit: 2d2c37fae624630588e5cb980ca7c2d6f2c034c6
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun May 15 22:35:30 2022 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun May 15 22:35:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d2c37fa
dev-go/go-tour: Eliminate EGO_SUM
Closes: https://bugs.gentoo.org/844421
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tour/Manifest | 8 +-------
dev-go/go-tour/go-tour-0_pre20200201.ebuild | 15 ++-------------
2 files changed, 3 insertions(+), 20 deletions(-)
diff --git a/dev-go/go-tour/Manifest b/dev-go/go-tour/Manifest
index 24483f4408dd..a5cc69588297 100644
--- a/dev-go/go-tour/Manifest
+++ b/dev-go/go-tour/Manifest
@@ -1,8 +1,2 @@
+DIST go-tour-0_pre20200201-deps.tar.xz 6819500 BLAKE2B 5623dfc81326a01ed300268a1bf6e21a8d6ab0c29c56618c69a125652324af11cab71d06d67dd1f1f564c940119976c9599f60ac0c4dce48f65f73d5c46d10bb SHA512 e4eff2eab036abbd3f9016398c50a3eb9887c40aeab94512d490d60c274290bd2e1c7e81120b79934c4c835ce29618dac68b4cefa94bc632e9b85fb0990c4e22
DIST go-tour-0_pre20200201.tar.gz 322147 BLAKE2B 9c3862fc091c0d3c4a40c9d7dad8c1379b4886788acff75b324eb7252965032a4ac6ad411b9b3d33269f453f23a8516cb3b1cc84e3cd4c9823c00a91844f8423 SHA512 133b87ed87a7d7a584a3a4d42df60563afca67daf780b6d5e8bcf2bcf9c299e843b024e1cd7c95d57e8eb05f364b3449a353f81f7caa2a94a7de4f83d5441e54
-DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
-DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190311183353-d8887717615a.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
-DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190311183353-d8887717615a.zip 1273340 BLAKE2B 7d42472afb905448b6ae6f66258dc805fa7c4b9c8dffb230ad6458b250fe5d564a3f6e2bf97b241ac9293c9f5885f28cc996ab7953a0ba9e97b8731911b982d5 SHA512 57852d3cd066a9eb279f909b464824041e138db1eb98c66ffbbc81259cb3f94da8ecd4d2b961646fbbe0c05156785ab2f44408b19d9f467001627d7b12fed4af
-DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
-DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
-DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20190312164927-7b79afddac43.mod 87 BLAKE2B 32cb406deea05323b1121386bf61f344f8eda0b5370e95bb73828ce0bea50bee375ae3e9b076b9d683a4d89561709c5e97e45e6b08344fbdf6b03b3ce4398dcd SHA512 18ae9b2f54109b4ec5cdea433ee0e3b7006e4d5ea57022d6e8151d4d364735a6b55cf7b5eb2f43b602ec786b2b6819ad78dfc33151ee1a63a0b1199f54ce34a1
-DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20190312164927-7b79afddac43.zip 3200356 BLAKE2B 8ebbd9b772d54bfa39de2319a583c5d80cf6580456a4da5043a5b9a49450c3dcc5eba68ac7726dd7771c0855032294b2ee6a9df738780e87c312935fbc94e5a8 SHA512 5e56ee0659802472d5187c0fe65c6e2b93478cf968b95c2c79db3d458844c38b18a597ad032cfe3a712a5516215d6010f1efcf36db2aa2bb2d29bf337819969d
diff --git a/dev-go/go-tour/go-tour-0_pre20200201.ebuild b/dev-go/go-tour/go-tour-0_pre20200201.ebuild
index a6c9bc503f39..af7e68bec8e6 100644
--- a/dev-go/go-tour/go-tour-0_pre20200201.ebuild
+++ b/dev-go/go-tour/go-tour-0_pre20200201.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -8,19 +8,8 @@ EGO_PN="golang.org/x/tour"
DESCRIPTION="A Tour of Go"
HOMEPAGE="https://tour.golang.org"
-
-EGO_SUM=(
- "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
- "golang.org/x/net v0.0.0-20190311183353-d8887717615a"
- "golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
- "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
- "golang.org/x/text v0.3.0/go.mod"
- "golang.org/x/tools v0.0.0-20190312164927-7b79afddac43"
- "golang.org/x/tools v0.0.0-20190312164927-7b79afddac43/go.mod"
- )
-go-module_set_globals
SRC_URI="https://github.com/golang/tour/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
- ${EGO_SUM_SRC_URI}"
+ https://dev.gentoo.org/~zmedico/dist/${P}-deps.tar.xz"
LICENSE="BSD Apache-2.0 MIT"
SLOT="0"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2020-03-08 23:54 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2020-03-08 23:54 UTC (permalink / raw
To: gentoo-commits
commit: e297904dd3162d49194e22d69a3c2adbc3912e1a
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 8 23:49:56 2020 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Mar 8 23:54:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e297904d
dev-go/go-tour: Remove old version 0_p20190829
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tour/Manifest | 3 --
dev-go/go-tour/go-tour-0_p20190829.ebuild | 51 -------------------------------
2 files changed, 54 deletions(-)
diff --git a/dev-go/go-tour/Manifest b/dev-go/go-tour/Manifest
index 1fc03b3b11c..24483f4408d 100644
--- a/dev-go/go-tour/Manifest
+++ b/dev-go/go-tour/Manifest
@@ -1,6 +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_p20190829.tar.gz 321179 BLAKE2B 56fad2c3608aec9653e31a59e8696aa445375de88f17e72a95620b4b375c88b8e45838360c09a1c53184e5a20c1a5ca044f6ad055de3736e675d3faf3fd52a91 SHA512 2701234788810a8fdb932faae666ec89796664e078b3170344b8c219a2247a510df66bff825bdc458ba062bd4b3f5dccd07dbf88a092053b1ea791c2f50248f4
DIST go-tour-0_pre20200201.tar.gz 322147 BLAKE2B 9c3862fc091c0d3c4a40c9d7dad8c1379b4886788acff75b324eb7252965032a4ac6ad411b9b3d33269f453f23a8516cb3b1cc84e3cd4c9823c00a91844f8423 SHA512 133b87ed87a7d7a584a3a4d42df60563afca67daf780b6d5e8bcf2bcf9c299e843b024e1cd7c95d57e8eb05f364b3449a353f81f7caa2a94a7de4f83d5441e54
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190311183353-d8887717615a.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
diff --git a/dev-go/go-tour/go-tour-0_p20190829.ebuild b/dev-go/go-tour/go-tour-0_p20190829.ebuild
deleted file mode 100644
index 0581e076b79..00000000000
--- a/dev-go/go-tour/go-tour-0_p20190829.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-EGO_PN="golang.org/x/tour"
-
-EGO_VENDOR=(
- "golang.org/x/tools 7b79afddac434519a8ca775cc575fddb0d162aab github.com/golang/tools"
- "golang.org/x/net 3b0461eec859c4b73bb64fdc8285971fd33e3938 github.com/golang/net"
-)
-
-EGIT_COMMIT="3c9f1af8b2da3b3661a39ee550190917c0cf5208"
-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}
- ${EGO_VENDOR_URI}"
-LICENSE="BSD Apache-2.0 MIT"
-SLOT="0"
-IUSE=""
-S=${WORKDIR}/${P}/src/${EGO_PN}
-
-src_compile() {
- # 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
- export -n GOCACHE XDG_CACHE_HOME #567192
- export GOPATH="${WORKDIR}/${P}" \
- GO111MODULE=on \
- GOFLAGS="-mod=vendor -v -x" \
- GOBIN="${WORKDIR}/${P}/bin"
- GOROOT=${T}/goroot \
- go install -work ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die
-}
-
-src_install() {
- exeinto "$(go env GOTOOLDIR)"
- doexe "${GOBIN}/tour"
-
- rm -rf vendor || die
- insinto "$(go env GOROOT)"
- doins -r "${WORKDIR}/${P}/src"
-}
-
-src_test() {
- go test -work "${EGO_PN}/..." || die
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2020-03-08 23:54 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2020-03-08 23:54 UTC (permalink / raw
To: gentoo-commits
commit: 7b5c05ee1e0b39f94441696f8074c43c8e5db22c
Author: William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 8 23:43:39 2020 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Mar 8 23:54:01 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5c05ee
dev-go/go-tour: Bump to version 0_pre20200201
Closes: https://bugs.gentoo.org/711912
Package-Manager: Portage-2.3.93, Repoman-2.3.20
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tour/Manifest | 8 +++++
dev-go/go-tour/go-tour-0_pre20200201.ebuild | 46 +++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-go/go-tour/Manifest b/dev-go/go-tour/Manifest
index 4790cfab02c..1fc03b3b11c 100644
--- a/dev-go/go-tour/Manifest
+++ b/dev-go/go-tour/Manifest
@@ -1,3 +1,11 @@
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_p20190829.tar.gz 321179 BLAKE2B 56fad2c3608aec9653e31a59e8696aa445375de88f17e72a95620b4b375c88b8e45838360c09a1c53184e5a20c1a5ca044f6ad055de3736e675d3faf3fd52a91 SHA512 2701234788810a8fdb932faae666ec89796664e078b3170344b8c219a2247a510df66bff825bdc458ba062bd4b3f5dccd07dbf88a092053b1ea791c2f50248f4
+DIST go-tour-0_pre20200201.tar.gz 322147 BLAKE2B 9c3862fc091c0d3c4a40c9d7dad8c1379b4886788acff75b324eb7252965032a4ac6ad411b9b3d33269f453f23a8516cb3b1cc84e3cd4c9823c00a91844f8423 SHA512 133b87ed87a7d7a584a3a4d42df60563afca67daf780b6d5e8bcf2bcf9c299e843b024e1cd7c95d57e8eb05f364b3449a353f81f7caa2a94a7de4f83d5441e54
+DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
+DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190311183353-d8887717615a.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
+DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190311183353-d8887717615a.zip 1273340 BLAKE2B 7d42472afb905448b6ae6f66258dc805fa7c4b9c8dffb230ad6458b250fe5d564a3f6e2bf97b241ac9293c9f5885f28cc996ab7953a0ba9e97b8731911b982d5 SHA512 57852d3cd066a9eb279f909b464824041e138db1eb98c66ffbbc81259cb3f94da8ecd4d2b961646fbbe0c05156785ab2f44408b19d9f467001627d7b12fed4af
+DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
+DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
+DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20190312164927-7b79afddac43.mod 87 BLAKE2B 32cb406deea05323b1121386bf61f344f8eda0b5370e95bb73828ce0bea50bee375ae3e9b076b9d683a4d89561709c5e97e45e6b08344fbdf6b03b3ce4398dcd SHA512 18ae9b2f54109b4ec5cdea433ee0e3b7006e4d5ea57022d6e8151d4d364735a6b55cf7b5eb2f43b602ec786b2b6819ad78dfc33151ee1a63a0b1199f54ce34a1
+DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20190312164927-7b79afddac43.zip 3200356 BLAKE2B 8ebbd9b772d54bfa39de2319a583c5d80cf6580456a4da5043a5b9a49450c3dcc5eba68ac7726dd7771c0855032294b2ee6a9df738780e87c312935fbc94e5a8 SHA512 5e56ee0659802472d5187c0fe65c6e2b93478cf968b95c2c79db3d458844c38b18a597ad032cfe3a712a5516215d6010f1efcf36db2aa2bb2d29bf337819969d
diff --git a/dev-go/go-tour/go-tour-0_pre20200201.ebuild b/dev-go/go-tour/go-tour-0_pre20200201.ebuild
new file mode 100644
index 00000000000..a6c9bc503f3
--- /dev/null
+++ b/dev-go/go-tour/go-tour-0_pre20200201.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit go-module
+EGIT_COMMIT=8f38c9a8d074c1943ede6463d78b0d769331dd3e
+EGO_PN="golang.org/x/tour"
+
+DESCRIPTION="A Tour of Go"
+HOMEPAGE="https://tour.golang.org"
+
+EGO_SUM=(
+ "golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
+ "golang.org/x/net v0.0.0-20190311183353-d8887717615a"
+ "golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
+ "golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
+ "golang.org/x/text v0.3.0/go.mod"
+ "golang.org/x/tools v0.0.0-20190312164927-7b79afddac43"
+ "golang.org/x/tools v0.0.0-20190312164927-7b79afddac43/go.mod"
+ )
+go-module_set_globals
+SRC_URI="https://github.com/golang/tour/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
+ ${EGO_SUM_SRC_URI}"
+
+LICENSE="BSD Apache-2.0 MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+S=${WORKDIR}/${PN#go-}-${EGIT_COMMIT}
+
+src_compile() {
+ export GOBIN="${WORKDIR}/bin"
+ go install -work ${EGO_BUILD_FLAGS} ./... || die
+}
+
+src_install() {
+ exeinto "$(go env GOTOOLDIR)"
+ doexe "${GOBIN}/tour"
+
+ rm -rf vendor || die
+ insinto "$(go env GOROOT)/src/golang.org/x/tour"
+ doins -r *
+}
+
+src_test() {
+ go test -work ./... || die
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2019-11-29 18:17 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2019-11-29 18:17 UTC (permalink / raw
To: gentoo-commits
commit: b5d623d17bf432a2ed955da6bf9b5df4d19c6aa9
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 29 18:17:03 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Fri Nov 29 18:17:03 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5d623d1
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 <AT> gentoo.org>
dev-go/go-tour/Manifest | 1 -
dev-go/go-tour/go-tour-0_p20180810.ebuild | 47 -------------------------------
2 files changed, 48 deletions(-)
diff --git a/dev-go/go-tour/Manifest b/dev-go/go-tour/Manifest
index c28b8cf7843..4790cfab02c 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 331a91b1bb0..00000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2019-09-15 6:40 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2019-09-15 6:40 UTC (permalink / raw
To: gentoo-commits
commit: ff47496ab10075a3672b0929d61d792dfed838db
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 15 06:04:11 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 06:40:47 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff47496a
dev-go/go-tour: Bump to version 0_p20190829
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tour/Manifest | 3 ++
dev-go/go-tour/go-tour-0_p20190829.ebuild | 51 +++++++++++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-go/go-tour/Manifest b/dev-go/go-tour/Manifest
index 643f65b49e1..c28b8cf7843 100644
--- a/dev-go/go-tour/Manifest
+++ b/dev-go/go-tour/Manifest
@@ -1 +1,4 @@
+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_p20190829.ebuild b/dev-go/go-tour/go-tour-0_p20190829.ebuild
new file mode 100644
index 00000000000..0581e076b79
--- /dev/null
+++ b/dev-go/go-tour/go-tour-0_p20190829.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+EGO_PN="golang.org/x/tour"
+
+EGO_VENDOR=(
+ "golang.org/x/tools 7b79afddac434519a8ca775cc575fddb0d162aab github.com/golang/tools"
+ "golang.org/x/net 3b0461eec859c4b73bb64fdc8285971fd33e3938 github.com/golang/net"
+)
+
+EGIT_COMMIT="3c9f1af8b2da3b3661a39ee550190917c0cf5208"
+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}
+ ${EGO_VENDOR_URI}"
+LICENSE="BSD Apache-2.0 MIT"
+SLOT="0"
+IUSE=""
+S=${WORKDIR}/${P}/src/${EGO_PN}
+
+src_compile() {
+ # 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
+ export -n GOCACHE XDG_CACHE_HOME #567192
+ export GOPATH="${WORKDIR}/${P}" \
+ GO111MODULE=on \
+ GOFLAGS="-mod=vendor -v -x" \
+ GOBIN="${WORKDIR}/${P}/bin"
+ GOROOT=${T}/goroot \
+ go install -work ${EGO_BUILD_FLAGS} "${EGO_PN}/..." || die
+}
+
+src_install() {
+ exeinto "$(go env GOTOOLDIR)"
+ doexe "${GOBIN}/tour"
+
+ rm -rf vendor || die
+ insinto "$(go env GOROOT)"
+ doins -r "${WORKDIR}/${P}/src"
+}
+
+src_test() {
+ go test -work "${EGO_PN}/..." || die
+}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2019-09-15 5:35 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2019-09-15 5:35 UTC (permalink / raw
To: gentoo-commits
commit: 3a3022050daa38781e5c8a5374d77cb880baeed1
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 15 05:34:08 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Sep 15 05:34:20 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a302205
dev-go/go-tour: LICENSE: Add MIT
Reported-by: Michał Górny <mgorny <AT> gentoo.org>
Closes: https://bugs.gentoo.org/694396
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tour/go-tour-0_p20180810.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dev-go/go-tour/go-tour-0_p20180810.ebuild b/dev-go/go-tour/go-tour-0_p20180810.ebuild
index c5967f041fa..331a91b1bb0 100644
--- a/dev-go/go-tour/go-tour-0_p20180810.ebuild
+++ b/dev-go/go-tour/go-tour-0_p20180810.ebuild
@@ -12,7 +12,7 @@ inherit golang-vcs-snapshot golang-build
DESCRIPTION="A Tour of Go"
HOMEPAGE="https://tour.golang.org"
SRC_URI="${ARCHIVE_URI}"
-LICENSE="BSD"
+LICENSE="BSD MIT"
SLOT="0"
IUSE=""
DEPEND="dev-go/go-net:=
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2019-03-16 23:32 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2019-03-16 23:32 UTC (permalink / raw
To: gentoo-commits
commit: 3e91f887a86531b786674c7ead1532b96e496134
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 23:31:01 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 23:32:37 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e91f887
dev-go/go-tour: fix build with installed instance
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tour/go-tour-0_p20180810.ebuild | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/dev-go/go-tour/go-tour-0_p20180810.ebuild b/dev-go/go-tour/go-tour-0_p20180810.ebuild
index 42d9aa99327..c5967f041fa 100644
--- a/dev-go/go-tour/go-tour-0_p20180810.ebuild
+++ b/dev-go/go-tour/go-tour-0_p20180810.ebuild
@@ -20,12 +20,16 @@ DEPEND="dev-go/go-net:=
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" \
+ 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"
}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2019-03-16 23:19 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2019-03-16 23:19 UTC (permalink / raw
To: gentoo-commits
commit: d04275bc5cc72c3ddafc633186e175c54a477a6c
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 16 23:18:35 2019 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Mar 16 23:19:35 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d04275bc
dev-go/go-tour: filter GOCACHE vars (bug 567192)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>
dev-go/go-tour/go-tour-0_p20180810.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/dev-go/go-tour/go-tour-0_p20180810.ebuild b/dev-go/go-tour/go-tour-0_p20180810.ebuild
index 0266d4dd62b..42d9aa99327 100644
--- a/dev-go/go-tour/go-tour-0_p20180810.ebuild
+++ b/dev-go/go-tour/go-tour-0_p20180810.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@@ -24,6 +24,7 @@ src_compile() {
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" \
go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
[[ -x bin/gotour ]] || die "gotour not found"
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2018-08-23 17:50 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2018-08-23 17:50 UTC (permalink / raw
To: gentoo-commits
commit: 29f16a0a010fc42e6722fb755c4abcb1044743e1
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 23 17:44:14 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Aug 23 17:50:48 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29f16a0a
dev-go/go-tour: DEPEND on go-net (bug 664376)
Reported-by: Toralf Förster <toralf <AT> gentoo.org>
Closes: https://bugs.gentoo.org/664376
Package-Manager: Portage-2.3.48, Repoman-2.3.10
dev-go/go-tour/go-tour-0_p20180810.ebuild | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
diff --git a/dev-go/go-tour/go-tour-0_p20180810.ebuild b/dev-go/go-tour/go-tour-0_p20180810.ebuild
index b97a2e598af..0266d4dd62b 100644
--- a/dev-go/go-tour/go-tour-0_p20180810.ebuild
+++ b/dev-go/go-tour/go-tour-0_p20180810.ebuild
@@ -15,17 +15,21 @@ SRC_URI="${ARCHIVE_URI}"
LICENSE="BSD"
SLOT="0"
IUSE=""
-DEPEND="dev-go/go-tools:="
+DEPEND="dev-go/go-net:=
+ 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"
+ local x
+ 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
+ GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" \
+ go install -v -work -x ${EGO_BUILD_FLAGS} "${EGO_PN}"
+ [[ -x bin/gotour ]] || die "gotour 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)"
@@ -33,6 +37,6 @@ src_install() {
}
src_test() {
- GOPATH="${S}:$(get_golibdir_gopath)" GOBIN="${S}/bin" \
+ GOPATH="${S}:${T}/golibdir" GOBIN="${S}/bin" \
go test -v -work -x "${EGO_PN}" || die
}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2018-08-20 1:46 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2018-08-20 1:46 UTC (permalink / raw
To: gentoo-commits
commit: ab5977287ac36bb04fc325a53d41db6324644028
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 20 01:45:38 2018 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Aug 20 01:46:44 2018 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab597728
dev-go/go-tour: remove old version
Package-Manager: Portage-2.3.47, Repoman-2.3.10
dev-go/go-tour/Manifest | 1 -
dev-go/go-tour/go-tour-0_p20160209.ebuild | 36 -------------------------------
2 files changed, 37 deletions(-)
diff --git a/dev-go/go-tour/Manifest b/dev-go/go-tour/Manifest
index 59c520eda64..643f65b49e1 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 5dd5bec1b02..00000000000
--- 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
-}
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2016-02-11 9:37 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2016-02-11 9:37 UTC (permalink / raw
To: gentoo-commits
commit: be48012d7953c8df0e7420e1b032fee36fc6d05b
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 11 09:36:11 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 09:36:11 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be48012d
dev-go/go-tour: add go-tools dep
Package-Manager: portage-2.2.27
dev-go/go-tour/go-tour-0_p20160209.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-go/go-tour/go-tour-0_p20160209.ebuild b/dev-go/go-tour/go-tour-0_p20160209.ebuild
index 10593aa..0154514 100644
--- a/dev-go/go-tour/go-tour-0_p20160209.ebuild
+++ b/dev-go/go-tour/go-tour-0_p20160209.ebuild
@@ -16,6 +16,7 @@ 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.
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/
@ 2016-02-11 9:26 Zac Medico
0 siblings, 0 replies; 13+ messages in thread
From: Zac Medico @ 2016-02-11 9:26 UTC (permalink / raw
To: gentoo-commits
commit: cc180f4e8a629f1a0ee47e95a5d2c1c87c821028
Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 11 09:22:55 2016 +0000
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu Feb 11 09:25:02 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cc180f4e
dev-go/go-tour: new package
Package-Manager: portage-2.2.27
dev-go/go-tour/Manifest | 1 +
dev-go/go-tour/go-tour-0_p20160209.ebuild | 36 +++++++++++++++++++++++++++++++
dev-go/go-tour/metadata.xml | 10 +++++++++
3 files changed, 47 insertions(+)
diff --git a/dev-go/go-tour/Manifest b/dev-go/go-tour/Manifest
new file mode 100644
index 0000000..1b11d3f
--- /dev/null
+++ b/dev-go/go-tour/Manifest
@@ -0,0 +1 @@
+DIST go-tour-0_p20160209.tar.gz 275272 SHA256 f50ce5a75f1dd9d625830c0907a5b611455b052ed1e287f5d2f9428759e14223 SHA512 bc9131e6173f72ea01c3062454a47a90301ad01bc1ea356ef09b81ad2d887759671ee9700f2c6b47821fc02c49297b8797d732ae0e9b414205e483d30579d2e9 WHIRLPOOL a2e117e2f50c83013604e85fb03919a25eacc1494dce9c53929d6bcbb22367d88f7b073d292261909767c91fda8f5a10380f452938ac3bba78c5939634206e9c
diff --git a/dev-go/go-tour/go-tour-0_p20160209.ebuild b/dev-go/go-tour/go-tour-0_p20160209.ebuild
new file mode 100644
index 0000000..10593aa
--- /dev/null
+++ b/dev-go/go-tour/go-tour-0_p20160209.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+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=""
+
+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
+}
diff --git a/dev-go/go-tour/metadata.xml b/dev-go/go-tour/metadata.xml
new file mode 100644
index 0000000..4677727
--- /dev/null
+++ b/dev-go/go-tour/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>zmedico@gentoo.org</email>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">golang/tour</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2022-05-15 22:37 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-20 1:46 [gentoo-commits] repo/gentoo:master commit in: dev-go/go-tour/ Zac Medico
-- strict thread matches above, loose matches on Subject: below --
2022-05-15 22:37 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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox