From abcccf7ab63418148834f48091984d024c9a9686 Mon Sep 17 00:00:00 2001 From: Jeremie Dimino Date: Thu, 4 Apr 2019 09:07:12 +0100 Subject: [PATCH] [new release] spawn (0.13.0) CHANGES: - Breaking change on Windows: to match the Unix behavior, `prog` is interpreted as relative to the directory specified by the `cwd` argument (janestreet/spawn#13) - Switch to dune (janestreet/spawn#12) - Switch to MIT+DCO (janestreet/spawn#11) --- packages/spawn/spawn.0.13.0/opam | 43 ++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 packages/spawn/spawn.0.13.0/opam diff --git a/packages/spawn/spawn.0.13.0/opam b/packages/spawn/spawn.0.13.0/opam new file mode 100644 index 00000000000..810202749d1 --- /dev/null +++ b/packages/spawn/spawn.0.13.0/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +maintainer: "opensource@janestreet.com" +authors: ["Jane Street Group, LLC "] +homepage: "https://github.com/janestreet/spawn" +bug-reports: "https://github.com/janestreet/spawn/issues" +dev-repo: "git+https://github.com/janestreet/spawn.git" +doc: "https://janestreet.github.io/spawn/" +license: "Apache-2.0" +build: [ + ["dune" "build" "-p" name "-j" jobs] + # We don't test with OCaml < 4.04 as older versions of ppx_expect + # don't work with dune + ["dune" "runtest" "-p" name "-j" jobs] {with-test & ocaml >= "4.04" } +] +depends: [ + "dune" {build} + "ppx_expect" {with-test} + "ocaml" {>= "4.02.3"} +] +synopsis: "Spawning sub-processes" +description: """ +Spawn is a small library exposing only one functionality: spawning sub-process. + +It has three main goals: + +1. provide missing features of Unix.create_process such as providing a +working directory + +2. provide better errors when a system call fails in the +sub-process. For instance if a command is not found, you get a proper +[Unix.Unix_error] exception + +3. improve performances by using vfork when available. It is often +claimed that nowadays fork is as fast as vfork, however in practice +fork takes time proportional to the process memory while vfork is +constant time. In application using a lot of memory, vfork can be +thousands of times faster than fork. +""" +url { + src: + "https://github.com/janestreet/spawn/releases/download/v0.13.0/spawn-v0.13.0.tbz" + checksum: "md5=6eaadbf8f9231415b51658da6b8b090f" +}