commit:     15e4adef9f7ba22fc33515f28954a704c7c79dc7
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 22 20:24:50 2015 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Thu Oct 22 20:24:50 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e4adef

dev-lang/go: Do Not include testdata as part of the dependencies

This is for bug #563744

 dev-lang/go/go-1.4.2.ebuild | 2 ++
 dev-lang/go/go-1.5.1.ebuild | 2 ++
 dev-lang/go/go-1.5.ebuild   | 2 ++
 dev-lang/go/go-9999.ebuild  | 2 ++
 4 files changed, 8 insertions(+)

diff --git a/dev-lang/go/go-1.4.2.ebuild b/dev-lang/go/go-1.4.2.ebuild
index 4de9d43..8384e08 100644
--- a/dev-lang/go/go-1.4.2.ebuild
+++ b/dev-lang/go/go-1.4.2.ebuild
@@ -32,6 +32,8 @@ QA_EXECSTACK="
        usr/lib/go/src/debug/elf/testdata/go-relocation-test-gcc482-aarch64.obj
        usr/lib/go/src/debug/elf/testdata/gcc-amd64-openbsd-debug-with-rela.obj"
 
+       REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
+
 # The tools in /usr/lib/go should not cause the multilib-strict check to fail.
 QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
 

diff --git a/dev-lang/go/go-1.5.1.ebuild b/dev-lang/go/go-1.5.1.ebuild
index b34ebb3..8d4c715 100644
--- a/dev-lang/go/go-1.5.1.ebuild
+++ b/dev-lang/go/go-1.5.1.ebuild
@@ -32,6 +32,8 @@ RDEPEND="!<dev-go/go-tools-0_pre20150902"
 # These test data objects have writable/executable stacks.
 QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
 
+REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
+
 # The tools in /usr/lib/go should not cause the multilib-strict check to fail.
 QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
 

diff --git a/dev-lang/go/go-1.5.ebuild b/dev-lang/go/go-1.5.ebuild
index 6fc180c..c04ba93 100644
--- a/dev-lang/go/go-1.5.ebuild
+++ b/dev-lang/go/go-1.5.ebuild
@@ -32,6 +32,8 @@ RDEPEND=""
 # These test data objects have writable/executable stacks.
 QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
 
+REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
+
 # The tools in /usr/lib/go should not cause the multilib-strict check to fail.
 QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
 

diff --git a/dev-lang/go/go-9999.ebuild b/dev-lang/go/go-9999.ebuild
index b34ebb3..8d4c715 100644
--- a/dev-lang/go/go-9999.ebuild
+++ b/dev-lang/go/go-9999.ebuild
@@ -32,6 +32,8 @@ RDEPEND="!<dev-go/go-tools-0_pre20150902"
 # These test data objects have writable/executable stacks.
 QA_EXECSTACK="usr/lib/go/src/debug/elf/testdata/*.obj"
 
+REQUIRES_EXCLUDE="/usr/lib/go/src/debug/elf/testdata/*"
+
 # The tools in /usr/lib/go should not cause the multilib-strict check to fail.
 QA_MULTILIB_PATHS="usr/lib/go/pkg/tool/.*/.*"
 

Reply via email to