dev-go/go-protobuf: add protobuf dep (bug 687458)
authorZac Medico <zmedico@gentoo.org>
Wed, 5 Jun 2019 18:41:31 +0000 (11:41 -0700)
committerZac Medico <zmedico@gentoo.org>
Wed, 5 Jun 2019 18:43:18 +0000 (11:43 -0700)
Reported-by: Toralf Förster <toralf@gentoo.org>
Closes: https://bugs.gentoo.org/687458
Package-Manager: Portage-2.3.67, Repoman-2.3.14
Signed-off-by: Zac Medico <zmedico@gentoo.org>
dev-go/go-protobuf/go-protobuf-1.2.0.ebuild

index 06fee922c86cdbd48b7bd6ec8dbdc0ddf0e85e44..105944256a7578b8faaee95faf669fad328cdc66 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,9 +20,10 @@ SRC_URI="https://${EGO_SRC}/archive/v${PV}.tar.gz -> ${P}.tar.gz
 LICENSE="BSD"
 SLOT="0/${PVR}"
 KEYWORDS="~amd64"
-IUSE=""
-DEPEND=""
+IUSE="test"
+DEPEND="test? ( dev-libs/protobuf )"
 RDEPEND=""
+RESTRICT="!test? ( test )"
 
 src_prepare() {
        default