dev-lang/go: Add rdepend to block older go-tools
authorWilliam Hubbs <williamh@gentoo.org>
Tue, 22 Sep 2015 13:37:12 +0000 (08:37 -0500)
committerWilliam Hubbs <williamh@gentoo.org>
Tue, 22 Sep 2015 13:37:12 +0000 (08:37 -0500)
In go-1.5, vet and cover were moved back from go-tools to the main Go
repository. Because of this, we need to make sure we have a correct
version of go-tools installed when upgrading.

This is for bug #560054.

dev-lang/go/go-1.5.1.ebuild

index 6fc180ca12dc23c63baaeaffbfba13e90d2bb953..b34ebb3aaf854405d1befe103b90a6f9c09aa6cf 100644 (file)
@@ -27,7 +27,7 @@ SLOT="0/${PV}"
 IUSE=""
 
 DEPEND=">=dev-lang/go-bootstrap-1.4.1"
-RDEPEND=""
+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"