commit:     7e210d7974317f01982f88ac5c8377884b03318d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 17 08:10:55 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 08:11:16 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7e210d79

dev-ml/ocaml-gettext: add missing dep(s)

Closes: https://bugs.gentoo.org/749645
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild 
b/dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild
index 1e12a830dce..b6ef8a5d3c2 100644
--- a/dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild
+++ b/dev-ml/ocaml-gettext/ocaml-gettext-0.4.2.ebuild
@@ -13,15 +13,23 @@ 
SRC_URI="https://github.com/gildor478/ocaml-gettext/archive/v${PV}.tar.gz -> ${P
 LICENSE="LGPL-2.1-with-linking-exception"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~x86"
-IUSE="+ocamlopt"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
 
-BDEPEND="dev-ml/cppo"
+BDEPEND="
+       dev-ml/cppo
+       dev-ml/dune-configurator
+"
 RDEPEND="
+       dev-ml/base:=
        >=dev-ml/camomile-0.8.3:=
        >=dev-ml/ocaml-fileutils-0.4.0:=
        sys-devel/gettext
 "
-DEPEND="${RDEPEND}"
+DEPEND="
+       ${RDEPEND}
+       test? ( dev-ml/ounit )
+"
 
 src_install() {
        dune_src_install

Reply via email to