commit:     15c8f56fce3f462e344554d34effeade612cbbac
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 08:10:55 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 08:12:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15c8f56f

dev-ml/utop: add alcotest deps

Closes: https://bugs.gentoo.org/936002
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/utop/{utop-2.14.0.ebuild => utop-2.14.0-r1.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-ml/utop/utop-2.14.0.ebuild b/dev-ml/utop/utop-2.14.0-r1.ebuild
similarity index 93%
rename from dev-ml/utop/utop-2.14.0.ebuild
rename to dev-ml/utop/utop-2.14.0-r1.ebuild
index 788125604fb3..5439a2c47f25 100644
--- a/dev-ml/utop/utop-2.14.0.ebuild
+++ b/dev-ml/utop/utop-2.14.0-r1.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/ocaml-community/utop/archive/${PV}.tar.gz -> ${P}.ta
 LICENSE="BSD"
 SLOT="0/${PV}"
 KEYWORDS="~amd64 ~x86"
-IUSE="emacs +ocamlopt"
+IUSE="emacs +ocamlopt test"
 
 ELISP_DEPEND="
        emacs? (
@@ -37,8 +37,11 @@ BDEPEND="
        dev-ml/cppo
        dev-ml/findlib
        ${ELISP_DEPEND}
+       test? ( dev-ml/alcotest )
 "
 
+RESTRICT="!test? ( test )"
+
 SITEFILE="50${PN}-gentoo.el"
 
 src_compile() {

Reply via email to