1 |
commit: 2100f31117e2268ea0a5b7cf4f83ec2df06df6b8 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 7 11:48:36 2022 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 7 12:17:44 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2100f311 |
7 |
|
8 |
dev-ml/ocaml-ssl: add missing alcotest (test) dependency |
9 |
|
10 |
Closes: https://bugs.gentoo.org/869017 |
11 |
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org> |
12 |
|
13 |
dev-ml/ocaml-ssl/ocaml-ssl-0.5.12.ebuild | 8 ++++++-- |
14 |
1 file changed, 6 insertions(+), 2 deletions(-) |
15 |
|
16 |
diff --git a/dev-ml/ocaml-ssl/ocaml-ssl-0.5.12.ebuild b/dev-ml/ocaml-ssl/ocaml-ssl-0.5.12.ebuild |
17 |
index 7b07f7dcd71d..e5341df81d71 100644 |
18 |
--- a/dev-ml/ocaml-ssl/ocaml-ssl-0.5.12.ebuild |
19 |
+++ b/dev-ml/ocaml-ssl/ocaml-ssl-0.5.12.ebuild |
20 |
@@ -14,12 +14,16 @@ SRC_URI="https://github.com/savonet/ocaml-ssl/archive/${PV}.tar.gz -> ${P}.tar.g |
21 |
LICENSE="LGPL-2.1" |
22 |
SLOT="0/${PV}" |
23 |
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" |
24 |
-IUSE="+ocamlopt" |
25 |
+IUSE="+ocamlopt test" |
26 |
+RESTRICT="!test? ( test )" |
27 |
|
28 |
-BDEPEND="dev-ml/dune-configurator" |
29 |
DEPEND="dev-libs/openssl:0= |
30 |
>=dev-lang/ocaml-3.10:=[ocamlopt?]" |
31 |
RDEPEND="${DEPEND}" |
32 |
+BDEPEND=" |
33 |
+ dev-ml/dune-configurator |
34 |
+ test? ( dev-ml/alcotest ) |
35 |
+" |
36 |
|
37 |
src_install() { |
38 |
dune_src_install |