Skip to content
Snippets Groups Projects

Draft: testing/*: rebuild against ocaml 4.14.1

Closed omni requested to merge omni/aports:rebuild-against-ocaml-4-13 into master
1 file
+ 13
14
Compare changes
  • Side-by-side
  • Inline
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer:
# Maintainer: omni <omni+alpine@hack.org>
pkgname=ocaml-ounit
_pkgname=ounit
pkgver=2.0.8
pkgrel=3
pkgver=2.2.4
pkgrel=0
pkgdesc="A unit test framework for OCaml"
url="http://ounit.forge.ocamlcore.org/"
arch="all !x86 !armhf !armv7 !s390x !mips !mips64" # limited by ocaml aport
url="https://github.com/gildor478/ounit"
arch="all !mips64 !riscv64" # limited by ocaml aport
license="MIT"
depends="ocaml-runtime"
depends_dev="$pkgname=$pkgver-r$pkgrel"
makedepends="ocaml ocaml-findlib ocaml-ocamlbuild-dev ocamlbuild libxml2-utils"
options="!check" # FIXME: fix tests!
makedepends="ocaml ocaml-findlib ocaml-ocamlbuild-dev ocamlbuild libxml2-utils dune"
subpackages="$pkgname-dev"
source="https://forge.ocamlcore.org/frs/download.php/1749/$_pkgname-$pkgver.tar.gz"
source="$pkgname-$pkgver.tar.gz::https://github.com/gildor478/ounit/archive/refs/tags/v$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"
# 32bit archs
case "$CARCH" in
arm*|x86) options="$options textrels" ;;
esac
build() {
./configure \
--prefix=/usr \
--disable-debug \
--disable-docs \
--enable-tests
make build
}
@@ -48,4 +47,4 @@ dev() {
mv *.cmx *.cmxa *.mli "$subpkgdir"/$sitelib/
}
sha512sums="7b0c69d8f0baec541b0cccf8d04bc3bd81b7ff8f1addba9e73a7ba2596b475fc79e3472e3870370b6cfe00b4a4b730f6afd524ae4aea7bb3fd518bbe917d9fc7 ounit-2.0.8.tar.gz"
sha512sums="6dcd3de0bb20c71aadf5bb08d071da46f57738de7ece2f46ef54932ff9cc776eb5b24005b126cb84671afda8e431dc0d0f2a7f11849180aad3487d201a09c920 ocaml-ounit-2.2.4.tar.gz"
Loading