testing/ocaml-alcotest: update depends_dev

Move some makedepends to depends_dev.

The remaining ocaml-logs-dev and ocaml-lwt-dev
probably belong in ocaml-alcotest-lwt-dev,
but that is a virtual package.
This commit is contained in:
Celeste 2024-04-22 04:46:49 +00:00
parent 0f09a91ffe
commit 144ada6b59

View File

@ -1,30 +1,28 @@
# Contributor: rubicon <rubicon@mailo.com>
# Maintainer: Celeste <cielesti@protonmail.com>
pkgname=ocaml-alcotest
_pkgname=alcotest-js
pkgver=1.5.0
pkgrel=3
pkgrel=4
_pkgreal=alcotest-js
pkgdesc="Lightweight and colourful test framework"
url="https://github.com/mirage/alcotest"
arch="all !riscv64 !loongarch64" # ocaml
license="ISC"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="
dune
ocaml
depends_dev="
$pkgname=$pkgver-r$pkgrel
ocaml-astring-dev
ocaml-cmdliner-dev
ocaml-findlib
ocaml-fmt-dev
ocaml-logs-dev
ocaml-re-dev
ocaml-seq-dev
ocaml-stdlib-shims
ocaml-uutf-dev
"
makedepends="
$depends_dev
dune
ocaml
ocaml-logs-dev
ocaml-lwt-dev
ocaml-ocplib-endian-dev
ocaml-mmap-dev
ocaml-bigarray-compat-dev
"
checkdepends="ocaml-result-dev"
provides="$pkgname-lwt=$pkgver-r$pkgrel"
@ -32,7 +30,7 @@ subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.bz2::https://github.com/mirage/alcotest/releases/download/$pkgver/alcotest-js-$pkgver.tbz
test-expected-output.patch
"
builddir="$srcdir/$_pkgname-$pkgver"
builddir="$srcdir/$_pkgreal-$pkgver"
# 32-bit archs
case "$CARCH" in