1 |
commit: 24b06cc016804998fc07cb92980575637e474d98 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jun 5 18:41:31 2019 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 5 18:43:18 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24b06cc0 |
7 |
|
8 |
dev-go/go-protobuf: add protobuf dep (bug 687458) |
9 |
|
10 |
Reported-by: Toralf Förster <toralf <AT> gentoo.org> |
11 |
Closes: https://bugs.gentoo.org/687458 |
12 |
Package-Manager: Portage-2.3.67, Repoman-2.3.14 |
13 |
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org> |
14 |
|
15 |
dev-go/go-protobuf/go-protobuf-1.2.0.ebuild | 7 ++++--- |
16 |
1 file changed, 4 insertions(+), 3 deletions(-) |
17 |
|
18 |
diff --git a/dev-go/go-protobuf/go-protobuf-1.2.0.ebuild b/dev-go/go-protobuf/go-protobuf-1.2.0.ebuild |
19 |
index 06fee922c86..105944256a7 100644 |
20 |
--- a/dev-go/go-protobuf/go-protobuf-1.2.0.ebuild |
21 |
+++ b/dev-go/go-protobuf/go-protobuf-1.2.0.ebuild |
22 |
@@ -1,4 +1,4 @@ |
23 |
-# Copyright 1999-2018 Gentoo Authors |
24 |
+# Copyright 1999-2019 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=6 |
28 |
@@ -20,9 +20,10 @@ SRC_URI="https://${EGO_SRC}/archive/v${PV}.tar.gz -> ${P}.tar.gz |
29 |
LICENSE="BSD" |
30 |
SLOT="0/${PVR}" |
31 |
KEYWORDS="~amd64" |
32 |
-IUSE="" |
33 |
-DEPEND="" |
34 |
+IUSE="test" |
35 |
+DEPEND="test? ( dev-libs/protobuf )" |
36 |
RDEPEND="" |
37 |
+RESTRICT="!test? ( test )" |
38 |
|
39 |
src_prepare() { |
40 |
default |