commit:     431fb755cd482a5ef96383a19fad296c4ab71e4d
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 26 20:54:56 2021 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Tue Jan 26 20:54:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=431fb755

dev-ml/ocamlweb: add test dep

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

 dev-ml/ocamlweb/ocamlweb-1.41.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-ml/ocamlweb/ocamlweb-1.41.ebuild 
b/dev-ml/ocamlweb/ocamlweb-1.41.ebuild
index e8734f05f47..9f050ccea33 100644
--- a/dev-ml/ocamlweb/ocamlweb-1.41.ebuild
+++ b/dev-ml/ocamlweb/ocamlweb-1.41.ebuild
@@ -12,11 +12,14 @@ 
SRC_URI="https://www.lri.fr/~filliatr/ftp/ocamlweb/${P}.tar.gz";
 LICENSE="LGPL-2"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
+IUSE="test"
+
+RESTRICT="!test? ( test )"
 
 DEPEND=">=dev-lang/ocaml-4.08.0:=
        virtual/latex-base
-       dev-texlive/texlive-latexextra
-       "
+       dev-texlive/texlive-latexextra"
+BDEPEND="test? ( dev-tex/hevea )"
 
 PATCHES=(
        "${FILESDIR}/${PN}-1.41-strip.patch"
@@ -26,7 +29,7 @@ PATCHES=(
 QA_FLAGS_IGNORED=/usr/bin/ocamlweb
 
 src_compile() {
-       emake
+       default
 }
 
 src_install() {

Reply via email to