commit:     611dc25065c7609af05675b9dec6deb79188a7b6
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Thu May  2 04:25:51 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Thu May  2 04:30:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611dc250

dev-go/go-tools: RESTRICT test for 0.1.10

Since we now have RESTRICT="test" in the newer 0.20.0 ebuild
we should also do the same for the old version which we
hopefully can drop soon anyway.

Closes: https://bugs.gentoo.org/904314
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 dev-go/go-tools/go-tools-0.1.10.ebuild | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-go/go-tools/go-tools-0.1.10.ebuild 
b/dev-go/go-tools/go-tools-0.1.10.ebuild
index f0cc27e54838..6b26c11d0b19 100644
--- a/dev-go/go-tools/go-tools-0.1.10.ebuild
+++ b/dev-go/go-tools/go-tools-0.1.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -8,12 +8,14 @@ DESCRIPTION="Tools that support the Go programming language 
(godoc, etc.)"
 HOMEPAGE="https://godoc.org/golang.org/x/tools";
 SRC_URI="https://github.com/golang/tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 SRC_URI+=" https://dev.gentoo.org/~williamh/dist/${P}-deps.tar.xz";
+S=${WORKDIR}/${P#go-}
 
 LICENSE="BSD MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
 
-S=${WORKDIR}/${P#go-}
+# Many test failures (bug 904314).
+RESTRICT="test"
 
 src_prepare() {
        default

Reply via email to