diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2023-01-28 14:07:46 +0100 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2023-01-28 14:25:13 +0100 |
commit | be4d4a49edf836ad64e90ff333c2f1ac5598d6d9 (patch) | |
tree | cc40a9a0d18509a75e9993e927fa2bef5470c586 /dev-ml/qcheck | |
parent | dev-ml/ppx_tools: add 6.6 (diff) | |
download | gentoo-be4d4a49edf836ad64e90ff333c2f1ac5598d6d9.tar.gz gentoo-be4d4a49edf836ad64e90ff333c2f1ac5598d6d9.tar.bz2 gentoo-be4d4a49edf836ad64e90ff333c2f1ac5598d6d9.zip |
dev-ml/qcheck: add 0.20
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml/qcheck')
-rw-r--r-- | dev-ml/qcheck/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/qcheck/qcheck-0.20.ebuild | 36 |
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-ml/qcheck/Manifest b/dev-ml/qcheck/Manifest index 1698c6552d89..89a415b11b10 100644 --- a/dev-ml/qcheck/Manifest +++ b/dev-ml/qcheck/Manifest @@ -1 +1,2 @@ DIST qcheck-0.18.tar.gz 105588 BLAKE2B 1c785815ed2d016852ebea3cdbfd1002bcc1054dba95db9290185d1283c9af9a3461fa66f24d43437789b7f361050a227ceed5c45327c694ae3a2846688f195e SHA512 08da783ca991dcee26f88b8d6db2fcf2589d3e753ce355d5e3c8944b58ce43b444c6cde054971a557d7d345b4386e6e976111d4c537840a1269c7e361340fcfe +DIST qcheck-0.20.tar.gz 205616 BLAKE2B af693ccc2830a70e3ab783a05da828b54ff9ac357fa01cb2ddc3db29901c120a9c48b0c6090e5324aecaf4b8455001883c62e5e39963172aa5e0b124294169d9 SHA512 1fb178bee5353b870fe55e5c5379982345c2e1b7f417733be4168e8a58d448d26464d73f8a4470655ddea2701a2a44bc5b08b0de422c0f88f229d8a1ed9c3e87 diff --git a/dev-ml/qcheck/qcheck-0.20.ebuild b/dev-ml/qcheck/qcheck-0.20.ebuild new file mode 100644 index 000000000000..9a40d01067cd --- /dev/null +++ b/dev-ml/qcheck/qcheck-0.20.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="QuickCheck inspired property-based testing for OCaml" +HOMEPAGE="https://github.com/c-cube/qcheck" +SRC_URI="https://github.com/c-cube/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD-2" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+ocamlopt" +RESTRICT="test" # tests fail + +RDEPEND=" + dev-ml/alcotest:= + dev-ml/ounit2:= +" +DEPEND="${RDEPEND}" + +src_install() { + # "ppx_deriving_qcheck" does not install but only "ppx_pbt" depends on it + local i + for i in qcheck qcheck-alcotest qcheck-core qcheck-ounit ; do + dune_src_install ${i} + done + + einstalldocs +} + +src_test() { + emake test +} |