diff options
author | Daniel Peukert | 2021-12-02 03:00:36 +0100 |
---|---|---|
committer | Daniel Peukert | 2021-12-02 03:00:36 +0100 |
commit | 5137ce95a593f93e6f5df848d36e6b50d0bafeeb (patch) | |
tree | d7210a2caebe467d8e9ac9694178ded60acc9b5e | |
parent | 284380b63d4ef1344e93838ba0ec5e92c2e6a851 (diff) | |
download | aur-5137ce95a593f93e6f5df848d36e6b50d0bafeeb.tar.gz |
Update ocaml-lwt to 5.5.0
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 15 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = ocaml-lwt pkgdesc = A library for cooperative threads in OCaml - pkgver = 5.4.2 + pkgver = 5.5.0 pkgrel = 1 url = https://github.com/ocsigen/lwt arch = x86_64 @@ -10,6 +10,7 @@ pkgbase = ocaml-lwt arch = armv7h arch = aarch64 license = MIT + checkdepends = ocaml-ppx_let makedepends = cppo>=1.1.0 depends = libev depends = dune>=1.8.0 @@ -22,7 +23,7 @@ pkgbase = ocaml-lwt depends = ocaml-result depends = ocaml-seq options = !strip - source = ocaml-lwt-5.4.2-1.tar.gz::https://github.com/ocsigen/lwt/archive/5.4.2.tar.gz - sha256sums = e169cbe6722d9364002e8107297a24c7479843cb88222fe3e179e58407c1d2cb + source = ocaml-lwt-5.5.0-1.tar.gz::https://github.com/ocsigen/lwt/archive/5.5.0.tar.gz + sha512sums = 8951b94555e930634375816d71815b9d85daad6ffb7dab24864661504d11be26575ab0b237196c54693efa372a9b69cdc1d5068a20a250dc0bbb4a3c03c5fda1 pkgname = ocaml-lwt @@ -5,7 +5,7 @@ # Contributor: serp <serp256 at gmail dot com> _projectname='lwt' pkgname="ocaml-$_projectname" -pkgver='5.4.2' +pkgver='5.5.0' pkgrel='1' pkgdesc='A library for cooperative threads in OCaml' arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') @@ -13,17 +13,25 @@ url="https://github.com/ocsigen/$_projectname" license=('MIT') depends=('libev' 'dune>=1.8.0' 'ocaml>=4.08.0' 'ocaml-luv' 'ocaml-mmap>=1.1.0' 'ocaml-ocplib-endian' 'ocaml-ppxlib>=0.16.0' 'ocaml-react>=1.0.0' 'ocaml-result' 'ocaml-seq') makedepends=('cppo>=1.1.0') +checkdepends=('ocaml-ppx_let') options=('!strip') source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/$pkgver.tar.gz") -sha256sums=('e169cbe6722d9364002e8107297a24c7479843cb88222fe3e179e58407c1d2cb') +sha512sums=('8951b94555e930634375816d71815b9d85daad6ffb7dab24864661504d11be26575ab0b237196c54693efa372a9b69cdc1d5068a20a250dc0bbb4a3c03c5fda1') _sourcedirectory="$_projectname-$pkgver" prepare() { cd "$srcdir/$_sourcedirectory/" - # this test breaks for some people but not for others + + # This test breaks for some people but not for others, # see comments from oriba, crave and pha-qu on the AUR page sed -i '/test_mcast "mcast-join-loop"/d' 'test/unix/test_mcast.ml' + + # I was unable to persuade dune to not build lwt_domain (which + # we don't want to build as there's no ocaml-multicore package), + # so let's just delete it until I figure out what's going on + rm -rf 'lwt_domain.opam' + rm -rf {'src','test'}'/domain/' } build() { |