dev-ml/qcheck: add 0.27

Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
This commit is contained in:
Alfredo Tupone
2025-12-29 20:28:17 +01:00
parent f4b967253f
commit d47f8a8313
2 changed files with 38 additions and 0 deletions
+1
View File
@@ -1,2 +1,3 @@
DIST qcheck-0.22.tar.gz 229755 BLAKE2B f7a2a377b0798fba1f3049cd6e8a313f5f0e3c35bb599c5e61eb819fff5f20aa63718454a104e0d378fa5cbd9b5d712741b0e8edbf68b403e4c649bb8a517810 SHA512 2bc273d73b9732564eadb78a2ab390b85c6f9ffb7ba46d3ec8725384631f199e17937740264c550ef4f06df62ffe655f2be19259f8f4cf4c2e81010a9c1a19e3
DIST qcheck-0.26.tar.gz 257351 BLAKE2B 0e17717b665c78104f414bab6b509b945a42f8545d63d137a5047d4d62c4745a45cbf2ad6695989fadc19c8e792732c82bb5dc205e10be64c2296ea3081460ae SHA512 6f4749df32629b2a64034f7a8d07079b8d3d628cc402c52bbdbd7e287ca20adf8e8133f91d79e75d8402100715a1138d62904b2d9c1d1595602d5206e0862305
DIST qcheck-0.27.tar.gz 264834 BLAKE2B ec1aaf2190ed5450b0233f75829e1cb09a2149d25165707468c59cc14afe7f5434eb3e515b390982c36e0646b030e5921366d47b3788c788bc9320e7ee539633 SHA512 8269cd3f4f73f9b62292c0288b430092ae0572682c167dc31d6837cbc833b8a5db66448768f8b88994ae94385c45cda489edcbdd4674f230b2e62527b1b744ac
+37
View File
@@ -0,0 +1,37 @@
# Copyright 1999-2025 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 ~arm64 ~x86"
IUSE="+ocamlopt"
RESTRICT="test" # tests fail
RDEPEND="
dev-ml/alcotest:=[ocamlopt?]
dev-ml/ounit2:=[ocamlopt?]
dev-ml/ppxlib:=[ocamlopt?]
"
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
}