Skip to content
Snippets Groups Projects
Commit 6b00d202 authored by omni's avatar omni
Browse files

testing/ocaml-qtest: upgrade to 2.11

Also enable on archs supported by ocaml aport
parent 87b30313
No related branches found
No related tags found
No related merge requests found
This commit is part of merge request !25782. Comments created here will be created in the context of that merge request.
......@@ -2,11 +2,11 @@
# Maintainer: Andy Li <andy@onthewings.net>
pkgname=ocaml-qtest
_pkgname=qtest
pkgver=2.10.1
pkgver=2.11
pkgrel=0
pkgdesc="Lightweight inline test extraction from comments"
url="https://github.com/vincent-hugot/qtest"
arch="all !x86 !armhf !armv7 !s390x !mips !mips64 !riscv64" # limited by ocaml aport
arch="all !mips64 !riscv64" # limited by ocaml aport
license="GPL-3.0-or-later"
depends="ocaml-runtime ocaml-qcheck"
depends_dev="$pkgname=$pkgver-r$pkgrel"
......@@ -15,6 +15,11 @@ subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
# 32bit archs
case "$CARCH" in
arm*|x86) options="$options textrels" ;;
esac
build() {
dune build @install -p qtest -j1 --no-buffer --verbose
}
......@@ -53,4 +58,4 @@ dev() {
-exec sh -c 'mkdir -p "$(dirname $1)" && mv "$1" "$subpkgdir/$(dirname $1)/"' _ {} \;
}
sha512sums="838ff1951b8da35f0551b1db4d36a03ad803a57ba8b85816a51e6b1bc2ad7778299a7fd026a062437252b40c0de1c83b6171605b19f01e3874274b2676341bf0 ocaml-qtest-2.10.1.tar.gz"
sha512sums="ea0d08aa927bfea71f04ed9d6bc66512b95432cbba5a8f3d77d0ebf5bbd5969f33c68ee95c03dd94b19c6a54b92c08d3b69b5ab35414650b3581d946b75b1698 ocaml-qtest-2.11.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment