summaryrefslogtreecommitdiff
path: root/dev-go
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2019-06-05 11:41:31 -0700
committerZac Medico <zmedico@gentoo.org>2019-06-05 11:43:18 -0700
commit24b06cc016804998fc07cb92980575637e474d98 (patch)
treeeb871883bb7ba7f0e9a205d15f097bdd07d1a69b /dev-go
parentmedia-libs/libv4l: depend on argp-standalone in non-glibc envs (diff)
downloadgentoo-24b06cc016804998fc07cb92980575637e474d98.tar.gz
gentoo-24b06cc016804998fc07cb92980575637e474d98.tar.bz2
gentoo-24b06cc016804998fc07cb92980575637e474d98.zip
dev-go/go-protobuf: add protobuf dep (bug 687458)
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>
Diffstat (limited to 'dev-go')
-rw-r--r--dev-go/go-protobuf/go-protobuf-1.2.0.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/dev-go/go-protobuf/go-protobuf-1.2.0.ebuild b/dev-go/go-protobuf/go-protobuf-1.2.0.ebuild
index 06fee922c86c..105944256a75 100644
--- a/dev-go/go-protobuf/go-protobuf-1.2.0.ebuild
+++ b/dev-go/go-protobuf/go-protobuf-1.2.0.ebuild
@@ -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