From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1305551-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 124AD1392E8
	for <garchives@archives.gentoo.org>; Sat, 24 Jul 2021 19:49:48 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 48F0EE0C27;
	Sat, 24 Jul 2021 19:49:47 +0000 (UTC)
Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 32C88E0C27
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Jul 2021 19:49:47 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 375C5342D1C
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Jul 2021 19:49:46 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id DF63C78A
	for <gentoo-commits@lists.gentoo.org>; Sat, 24 Jul 2021 19:49:44 +0000 (UTC)
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" <williamh@gentoo.org>
Message-ID: <1627156159.beb7512ac3c4af3f9ba250fe05fddf2bf6be4527.williamh@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/go-bootstrap/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/go-bootstrap/go-bootstrap-1.16.6.ebuild
X-VCS-Directories: dev-lang/go-bootstrap/
X-VCS-Committer: williamh
X-VCS-Committer-Name: William Hubbs
X-VCS-Revision: beb7512ac3c4af3f9ba250fe05fddf2bf6be4527
X-VCS-Branch: master
Date: Sat, 24 Jul 2021 19:49:44 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: dcdf7518-87f3-4112-b20f-e9c597339103
X-Archives-Hash: b6a27a07ac8ff668ca0d481ea76eb603

commit:     beb7512ac3c4af3f9ba250fe05fddf2bf6be4527
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 19:48:38 2021 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 19:49:19 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beb7512a

dev-lang/go-bootstrap: remove testdata directories

The testdata directories are not needed to bootstrap.

Bug: https://bugs.gentoo.org/794046
Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 dev-lang/go-bootstrap/go-bootstrap-1.16.6.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-lang/go-bootstrap/go-bootstrap-1.16.6.ebuild b/dev-lang/go-bootstrap/go-bootstrap-1.16.6.ebuild
index e6f56958485..5bef3151dca 100644
--- a/dev-lang/go-bootstrap/go-bootstrap-1.16.6.ebuild
+++ b/dev-lang/go-bootstrap/go-bootstrap-1.16.6.ebuild
@@ -33,4 +33,7 @@ S="${WORKDIR}"
 src_install() {
 	dodir /usr/lib
 	mv go-*-bootstrap "${ED}/usr/lib/go-bootstrap" || die
+
+	# testdata directories are not needed on the installed system
+	rm -fr $(find "${ED}"/usr/lib/go -iname testdata -type d -print)
 }