From 526d7bf0d101365f5f7de521a205d098f0e8e91e Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Tue, 6 Mar 2018 23:59:23 +0100 Subject: testing/ocaml-lwt: fix depends --- testing/ocaml-lwt/APKBUILD | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'testing/ocaml-lwt') diff --git a/testing/ocaml-lwt/APKBUILD b/testing/ocaml-lwt/APKBUILD index dc26b7fd3d..353a9b250e 100644 --- a/testing/ocaml-lwt/APKBUILD +++ b/testing/ocaml-lwt/APKBUILD @@ -3,21 +3,25 @@ pkgname=ocaml-lwt _pkgname=lwt pkgver=3.2.1 -pkgrel=0 +pkgrel=1 pkgdesc="OCaml promises and concurrent I/O" url="https://github.com/ocsigen/lwt" arch="all !x86 !armhf !s390x !ppc64le" # limited by ocaml and ocaml-cppo aports license="LGPL-2.1-or-later-WITH-linking-exception BSD-3-Clause" -makedepends=" +depends="ocaml-migrate-parsetree + ocaml-ppx_tools_versioned + ocaml-result + " +depends_dev="libev-dev" +makedepends="$depends_dev dune - libev-dev ocaml ocaml-cppo-dev ocaml-findlib ocaml-migrate-parsetree-dev + ocaml-ppx_tools_versioned-dev ocaml-react-dev ocaml-result-dev - ocaml-ppx_tools_versioned-dev opam " subpackages="$pkgname-dev $pkgname-doc $pkgname-react" @@ -63,7 +67,7 @@ package() { react() { pkgdesc="$pkgdesc (for FRP)" - depends="$pkgname=$pkgver-r$pkgrel" + depends="$pkgname=$pkgver-r$pkgrel ocaml-react" mkdir -p "$subpkgdir"/usr/lib/ocaml mv "$pkgdir"/usr/lib/ocaml/${_pkgname}_react "$subpkgdir"/usr/lib/ocaml/ @@ -71,7 +75,7 @@ react() { dev() { default_dev - depends="$pkgname=$pkgver-r$pkgrel" + depends="$depends $pkgname=$pkgver-r$pkgrel $pkgname-react=$pkgver-r$pkgrel" local sitelib="usr/lib/ocaml/$_pkgname" cd "$pkgdir"/$sitelib -- cgit v1.2.3