commit:     e2963ec6957976cd9b0d9910920a8e36d3324872
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 19 07:40:45 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jan 19 07:40:45 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2963ec6

app-misc/geneweb: add dependency

Closes: https://bugs.gentoo.org/766063
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 app-misc/geneweb/geneweb-7.0.0-r2.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/app-misc/geneweb/geneweb-7.0.0-r2.ebuild 
b/app-misc/geneweb/geneweb-7.0.0-r2.ebuild
index 92450339206..9ab366e9baa 100644
--- a/app-misc/geneweb/geneweb-7.0.0-r2.ebuild
+++ b/app-misc/geneweb/geneweb-7.0.0-r2.ebuild
@@ -11,8 +11,8 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="+ocamlopt"
-RESTRICT="strip"
+IUSE="+ocamlopt test"
+RESTRICT="strip !test? ( test )"
 
 RDEPEND="dev-lang/ocaml[ocamlopt?]
        <dev-ml/camlp5-8:=[ocamlopt?]
@@ -24,7 +24,8 @@ RDEPEND="dev-lang/ocaml[ocamlopt?]
        dev-ml/unidecode:=
        dev-ml/calendars:="
 DEPEND="${RDEPEND}
-       dev-ml/cppo"
+       dev-ml/cppo
+       test? ( dev-ml/ounit )"
 
 QA_FLAGS_IGNORED=(
        /usr/bin/gwb2ged

Reply via email to