diff options
author | Daniel Peukert | 2020-06-05 10:22:27 +0200 |
---|---|---|
committer | Daniel Peukert | 2020-06-05 10:22:27 +0200 |
commit | ea05071cb7d8674f9ec03c1a596812618ec611a7 (patch) | |
tree | fe4332678d278231459b1afb42a07990ff986f24 | |
parent | 1b62953588a2c1f59d9ea6f4a221528cdf32ba22 (diff) | |
download | aur-ea05071cb7d8674f9ec03c1a596812618ec611a7.tar.gz |
Removed a test that breaks for some people from ocaml-lwt
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 10 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = ocaml-lwt pkgdesc = A library for cooperative threads in OCaml pkgver = 5.3.0 - pkgrel = 2 + pkgrel = 3 url = https://github.com/ocsigen/lwt arch = x86_64 arch = i686 @@ -22,7 +22,7 @@ pkgbase = ocaml-lwt depends = ocaml-ppx_tools_versioned>=5.3.0 depends = ocaml-react>=1.0.0 options = !strip - source = ocaml-lwt-5.3.0-2.tar.gz::https://github.com/ocsigen/lwt/archive/5.3.0.tar.gz + source = ocaml-lwt-5.3.0-3.tar.gz::https://github.com/ocsigen/lwt/archive/5.3.0.tar.gz sha256sums = 38ce928378a07b685f4606b60cbe37c26ef93ccb3e808c218e7d34ece9e659ad pkgname = ocaml-lwt @@ -6,7 +6,7 @@ _projectname='lwt' pkgname="ocaml-$_projectname" pkgver='5.3.0' -pkgrel='2' +pkgrel='3' pkgdesc='A library for cooperative threads in OCaml' arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/ocsigen/lwt" @@ -19,6 +19,13 @@ sha256sums=('38ce928378a07b685f4606b60cbe37c26ef93ccb3e808c218e7d34ece9e659ad') _sourcedirectory="$_projectname-$pkgver" +prepare() { + cd "$srcdir/$_sourcedirectory/" + # 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' +} + build() { cd "$srcdir/$_sourcedirectory/" LWT_DISCOVER_ARGUMENTS='--use-libev true' dune build -p "$_projectname,${_projectname}_ppx,${_projectname}_react" --verbose |