From 3f6b99c9f74a0a7bfa2e18f0a7bc7057739cc00b Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 24 Jan 2024 22:45:43 +0000 Subject: gentoo auto-resync : 24:01:2024 - 22:45:43 --- dev-ml/alcotest/alcotest-1.5.0-r3.ebuild | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 dev-ml/alcotest/alcotest-1.5.0-r3.ebuild (limited to 'dev-ml/alcotest/alcotest-1.5.0-r3.ebuild') diff --git a/dev-ml/alcotest/alcotest-1.5.0-r3.ebuild b/dev-ml/alcotest/alcotest-1.5.0-r3.ebuild new file mode 100644 index 000000000000..a5d841de974a --- /dev/null +++ b/dev-ml/alcotest/alcotest-1.5.0-r3.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit dune + +DESCRIPTION="A lightweight and colourful test framework" +HOMEPAGE="https://github.com/mirage/alcotest/" +SRC_URI="https://github.com/mirage/alcotest/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-ml/dune-2.8:= + dev-ml/astring:= + dev-ml/async_unix:0/0.14.0 + dev-ml/cmdliner:= + =dev-ml/fmt-0.8.9:= + dev-ml/lwt:= + dev-ml/mirage-clock:= + dev-ml/re:= + dev-ml/result:= + dev-ml/logs:= + dev-ml/uutf:= + dev-ml/uuidm:= +" +DEPEND="${RDEPEND}" +BDEPEND="test? ( >=dev-ml/cmdliner-1.1.0 )" + +src_prepare() { + cp "${FILESDIR}"/unknown_option.processed \ + test/e2e/alcotest/failing/unknown_option.expected \ + || die + default +} -- cgit v1.2.3