Skip to content

Commit b7fecfe

Browse files
committed
Fix dune constraints & Relax those of most learn-ocaml dependencies
href: ocaml/opam-repository#15877
1 parent c54d3bb commit b7fecfe

File tree

2 files changed

+20
-21
lines changed

2 files changed

+20
-21
lines changed

learn-ocaml-client.opam

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,31 +14,30 @@ homepage: "https://github.com/ocaml-sf/learn-ocaml"
1414
bug-reports: "https://github.com/ocaml-sf/learn-ocaml/issues"
1515
dev-repo: "git+https://github.com/ocaml-sf/learn-ocaml"
1616
depends: [
17-
"base" {= "v0.9.4"}
17+
"base" {>= "v0.9.4"}
1818
"base64"
1919
"cmdliner"
2020
"omd"
2121
"asak"
22-
"cohttp" {>= "1.0.0"}
23-
"cohttp-lwt-unix" {>= "1.0.0"}
22+
"cohttp" {>= "1.0.0" & < "2.0.0"}
23+
"cohttp-lwt-unix" {>= "1.0.0" & < "2.0.0"}
2424
"digestif" {>= "0.7.1"}
25-
"dune" {build & >= "1.1.1"}
25+
"dune" {>= "1.1.1"}
2626
"ezjsonm"
2727
"lwt" {>= "3.2.0" & < "4.0.0"}
2828
"lwt_ssl"
29-
"ocaml" {>= "4.05.0"}
29+
"ocaml" {= "4.05.0"}
3030
"ocamlfind" {build}
3131
"ocp-indent-nlfork"
32-
"ocp-ocamlres" {= "0.4"}
32+
"ocp-ocamlres" {>= "0.4"}
3333
"ocplib-json-typed" {= "0.6"}
34-
"ipaddr" {= "2.8.0" }
35-
"cstruct" {= "3.3.0"}
34+
"ipaddr" {>= "2.8.0" }
35+
"cstruct" {>= "3.3.0"}
3636
"ppx_tools"
3737
]
3838
build: [
39-
["dune" "build" "@install" "-p" name]
39+
["dune" "build" "@install" "-p" name "-j" jobs]
4040
]
41-
4241
synopsis: "The learn-ocaml client"
4342
description: """
4443
This contains the binaries to interact with the learn-ocaml

learn-ocaml.opam

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,26 +8,26 @@ authors: [
88
"Louis Gesbert (OCamlPro)"
99
"Pierrick Couderc (OCamlPro)"
1010
]
11-
maintainer: "Louis Gesbert"
11+
maintainer: "Yann Régis-Gianas"
1212
license: "MIT"
1313
homepage: "https://github.com/ocaml-sf/learn-ocaml"
1414
bug-reports: "https://github.com/ocaml-sf/learn-ocaml/issues"
1515
dev-repo: "git+https://github.com/ocaml-sf/learn-ocaml"
1616
depends: [
17-
"base" {= "v0.9.4"}
17+
"base" {>= "v0.9.4"}
1818
"base64"
1919
"cmdliner"
20-
"cohttp" {>= "1.0.0"}
21-
"cohttp-lwt-unix" {>= "1.0.0"}
20+
"cohttp" {>= "1.0.0" & < "2.0.0"}
21+
"cohttp-lwt-unix" {>= "1.0.0" & < "2.0.0"}
2222
"conf-git"
2323
"decompress" {= "0.8.1"}
2424
"digestif" {>= "0.7.1"}
25-
"dune" {build & >= "1.1.1"}
25+
"dune" {>= "1.1.1"}
2626
"easy-format" {>= "1.3.0" }
27-
"ipaddr" {= "2.8.0" }
27+
"ipaddr" {>= "2.8.0" }
2828
"ezjsonm"
2929
"js_of_ocaml" {>= "3.3.0"}
30-
"js_of_ocaml-compiler" {= "3.3.0"}
30+
"js_of_ocaml-compiler" {>= "3.3.0"}
3131
"js_of_ocaml-lwt"
3232
"js_of_ocaml-ppx"
3333
"js_of_ocaml-toplevel"
@@ -37,12 +37,12 @@ depends: [
3737
"lwt_ssl"
3838
"magic-mime"
3939
"markup"
40-
"ocaml" {>= "4.05.0"}
40+
"ocaml" {= "4.05.0"}
4141
"ocamlfind" {build}
4242
"ocp-indent-nlfork"
43-
"ocp-ocamlres" {= "0.4"}
43+
"ocp-ocamlres" {>= "0.4"}
4444
"ocplib-json-typed" {= "0.6"}
45-
"odoc" {build & = "1.3.0"}
45+
"odoc" {build & >= "1.3.0"}
4646
"omd"
4747
"pprint"
4848
"ppx_cstruct"
@@ -53,7 +53,7 @@ depends: [
5353
]
5454
build: [
5555
[make "static"]
56-
["dune" "build" "-p" name]
56+
["dune" "build" "-p" name "-j" jobs]
5757
]
5858
install: [
5959
["mkdir" "-p" "%{_:share}%"]

0 commit comments

Comments
 (0)