Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/amqp-client/amqp-client.1.0.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ conflicts: [
"lwt" {< "2.4.6"}
"async_unix" {>="v0.9"}
]
available: [ ocaml-version >= "4.03.0" ]
available: [ ocaml-version >= "4.03.0" & ocaml-version < "4.06.0" ]
2 changes: 1 addition & 1 deletion packages/amqp-client/amqp-client.1.0.2/opam
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ conflicts: [
"lwt" {< "2.4.6"}
"async" {>="v0.9"}
]
available: [ ocaml-version >= "4.03.0" ]
available: [ ocaml-version >= "4.03.0" & ocaml-version < "4.06.0" ]
2 changes: 1 addition & 1 deletion packages/bencode/bencode.0.2/opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ depends: [
"ocamlbuild" {build}
]
dev-repo: "git://github.com/rgrinberg/bencode"
available: ocaml-version >= "4.00.1"
available: [ocaml-version >= "4.00.1" & ocaml-version < "4.06.0"]
install: [make "install"]
2 changes: 1 addition & 1 deletion packages/bencode_rpc/bencode_rpc.0.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ depends: [
"ocamlbuild" {build}
]
dev-repo: "git://github.com/c-cube/bencode_rpc"
available: ocaml-version >= "4.00.0"
available: [ocaml-version >= "4.00.0" & ocaml-version < "4.06.0"]
install: [make "install"]
2 changes: 1 addition & 1 deletion packages/dht/dht.0.1.3/opam
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@ depends: [
"ocamlbuild" {build}
]
dev-repo: "git://github.com/nojb/ocaml-dht"
available: ocaml-version >= "4.01.0"
available: [ ocaml-version >= "4.01.0" & ocaml-version < "4.06.0" ]
install: ["ocaml" "setup.ml" "-install"]
2 changes: 1 addition & 1 deletion packages/lwt-binio/lwt-binio.0.2.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ depends: [
"ocamlbuild" {build}
]
dev-repo: "git://github.com/hcarty/lwt-binio"
available: ocaml-version >= "4.01.0"
available: [ocaml-version >= "4.01.0" & ocaml-version < "4.06.0"]
install: ["ocaml" "setup.ml" "-install"]
10 changes: 10 additions & 0 deletions packages/lwt/lwt.4.1.0/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Promises, concurrency, and parallelized I/O

A promise is a value that may become determined in the future.

Lwt provides typed, composable promises. Promises that are resolved by I/O are
resolved by Lwt in parallel.

Meanwhile, OCaml code, including code creating and waiting on promises, runs in
a single thread by default. This reduces the need for locks or other
synchronization primitives. Code can be run in parallel on an opt-in basis.
54 changes: 54 additions & 0 deletions packages/lwt/lwt.4.1.0/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
opam-version: "1.2"
version: "4.1.0"
maintainer: [
"Anton Bachin <antonbachin@yahoo.com>"
"Mauricio Fernandez <mfp@acm.org>"
"Simon Cruanes <simon.cruanes.2007@m4x.org>"
]
authors: [
"Jérôme Vouillon"
"Jérémie Dimino"
]
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt/manual/"
bug-reports: "https://github.com/ocsigen/lwt/issues"
license: "LGPL with OpenSSL linking exception"
dev-repo: "https://github.com/ocsigen/lwt.git"

build: [
[ "ocaml" "src/util/configure.ml" "-use-libev" "%{conf-libev:installed}%" ]
[ "jbuilder" "build" "-p" name "-j" jobs ]
]

depends: [
"cppo" {build & >= "1.1.0"}
"jbuilder" {build & >= "1.0+beta14"}
# We are only using ocamlfind during configuration of the Unix binding.
# However, ocamlfind also installs the "threads" package, and ocamlfind
# 1.7.3-1 is the first one whose threads package does not have incorrect error
# lines. See
# https://github.com/ocaml/opam-repository/pull/11071#issuecomment-353131128
# If ocamlfind becomes no longer necessary for configuration of Lwt, this
# dependency should be converted to a conflict, and package jbuilder should be
# constrained such that it also includes the error lines fix.
"ocamlfind" {build & >= "1.7.3-1"}
# result is needed as long as Lwt still supports OCaml 4.02.
"result"
]
depopts: [
"base-threads"
"base-unix"
"conf-libev"
]
# In practice, Lwt requires OCaml >= 4.02.3, as that is a constraint of the
# dependency jbuilder.
available: [ocaml-version >= "4.02.0" & compiler != "4.02.1+BER"]

messages: [
"For the PPX, please install package lwt_ppx"
{!lwt_ppx:installed}
"For the Camlp4 syntax, please install package lwt_camlp4"
{camlp4:installed & !lwt_camlp4:installed}
"For Lwt_log and Lwt_daemon, please install package lwt_log"
{!lwt_log:installed}
]
2 changes: 2 additions & 0 deletions packages/lwt/lwt.4.1.0/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/ocsigen/lwt/archive/4.1.0.tar.gz"
checksum: "e919bee206f18b3d49250ecf9584fde7"
1 change: 1 addition & 0 deletions packages/lwt_ppx/lwt_ppx.1.2.1/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
PPX syntax for Lwt, providing something similar to async/await from JavaScript
28 changes: 28 additions & 0 deletions packages/lwt_ppx/lwt_ppx.1.2.1/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
opam-version: "1.2"
version: "1.2.1"
maintainer: [
"Anton Bachin <antonbachin@yahoo.com>"
]
authors: [
"Gabriel Radanne"
]
homepage: "https://github.com/ocsigen/lwt"
doc: "https://ocsigen.org/lwt/api/Ppx_lwt"
dev-repo: "https://github.com/ocsigen/lwt.git"
bug-reports: "https://github.com/ocsigen/lwt/issues"
license: "LGPL with OpenSSL linking exception"

depends: [
"jbuilder" {build & >= "1.0+beta14"}
"lwt"
"ocaml-migrate-parsetree"
"ppx_tools_versioned" {>= "5.0.1"}
]
# The Lwt PPX uses the %reraise primitive, which is available on OCaml >= 4.02.
# Even though OCaml PPX itself requires 4.02, we add this constraint for
# thoroughness and safety.
available: [ocaml-version >= "4.02.0"]

build: [
["jbuilder" "build" "-p" name "-j" jobs]
]
2 changes: 2 additions & 0 deletions packages/lwt_ppx/lwt_ppx.1.2.1/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
archive: "https://github.com/ocsigen/lwt/archive/4.1.0.tar.gz"
checksum: "e919bee206f18b3d49250ecf9584fde7"
2 changes: 1 addition & 1 deletion packages/ocplib-concur/ocplib-concur.0.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ depopts: [
conflicts: [
"async" {< "111.25.0" } "async" {>= "v0.10.0" }
]
available: [ocaml-version >= "4.01.0"]
available: [ocaml-version >= "4.01.0" & ocaml-version < "4.06.0"]
1 change: 1 addition & 0 deletions packages/statsd-client/statsd-client.1.0.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ build: [
]
remove: [["ocamlfind" "remove" "statsd-client"]]
depends: ["ocamlfind" "lwt"]
available: [ocaml-version < "4.05.0"]
dev-repo: "git://github.com/mfp/ocaml-statsd-client"
install: [make "install"]
2 changes: 1 addition & 1 deletion packages/xen-evtchn/xen-evtchn.1.0.1/opam
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ depexts: [
[["archlinux"] ["xenstore"]]
]

available: [ocaml-version >= "4.00.0"]
available: [ocaml-version >= "4.00.0" & ocaml-version < "4.06.0"]
2 changes: 1 addition & 1 deletion packages/xen-evtchn/xen-evtchn.1.0.3/opam
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ depexts: [
[["archlinux"] ["xenstore"]]
]

available: [ocaml-version >= "4.00.0"]
available: [ocaml-version >= "4.00.0" & ocaml-version < "4.06.0"]
2 changes: 1 addition & 1 deletion packages/xen-evtchn/xen-evtchn.1.0.4/opam
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ depexts: [
[["archlinux"] ["xenstore"]]
]

available: [ocaml-version >= "4.00.0"]
available: [ocaml-version >= "4.00.0" & ocaml-version < "4.06.0"]
2 changes: 1 addition & 1 deletion packages/xen-evtchn/xen-evtchn.1.0.5/opam
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ depexts: [
[["fedora"] ["xen-devel"]]
[["archlinux"] ["xenstore"]]
]
available: [ocaml-version >= "4.00.0"]
available: [ocaml-version >= "4.00.0" & ocaml-version < "4.06.0"]
2 changes: 1 addition & 1 deletion packages/xenctrl/xenctrl.0.10.0/opam
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ depexts: [
[["xenserver"] ["xen-dom0-libs-devel" "xen-libs-devel"]]
[["alpine"] ["xen-dev"]]
]
available: [ocaml-version >= "4.00.0"]
available: [ocaml-version >= "4.00.0" & ocaml-version < "4.06.0"]
2 changes: 1 addition & 1 deletion packages/xenctrl/xenctrl.0.9.32/opam
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ depexts: [
[["centos"] ["xen-devel"]]
[["xenserver"] ["xen-dom0-libs-devel" "xen-libs-devel"]]
]
available: [ocaml-version >= "4.00.0"]
available: [ocaml-version >= "4.00.0" & ocaml-version < "4.06.0"]
1 change: 1 addition & 0 deletions packages/zbar/zbar.0.9/opam
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@ depexts: [
[ ["ubuntu"] ["libzbar-dev"] ]
[ ["debian"] ["libzbar-dev"] ]
]
available: [ocaml-version < "4.06.0"]
dev-repo: "git://github.com/vbmithr/ocaml-zbar"
install: [make "PREFIX=%{prefix}%" "install"]