summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2021-01-26 21:54:56 +0100
committerAlfredo Tupone <tupone@gentoo.org>2021-01-26 21:54:56 +0100
commit431fb755cd482a5ef96383a19fad296c4ab71e4d (patch)
treea7051c3d564d500792f0fc422c2b4ca4e0c250b8 /dev-ml/ocamlweb
parentdev-util/byacc: Bump to version 20210109 (diff)
downloadgentoo-431fb755cd482a5ef96383a19fad296c4ab71e4d.tar.gz
gentoo-431fb755cd482a5ef96383a19fad296c4ab71e4d.tar.bz2
gentoo-431fb755cd482a5ef96383a19fad296c4ab71e4d.zip
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@gentoo.org>
Diffstat (limited to 'dev-ml/ocamlweb')
-rw-r--r--dev-ml/ocamlweb/ocamlweb-1.41.ebuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/dev-ml/ocamlweb/ocamlweb-1.41.ebuild b/dev-ml/ocamlweb/ocamlweb-1.41.ebuild
index e8734f05f470..9f050ccea33b 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() {