Skip to content

Commit 4e267ab

Browse files
authored
Upstream opam files changes made for 0.19.0 (#1725)
* Fix constraints (uses menhir --strategy) * Add missing constraint (uses Re.Glob) * Make the license name SPDX-compatible
1 parent ba67af2 commit 4e267ab

File tree

5 files changed

+22
-23
lines changed

5 files changed

+22
-23
lines changed

dune-project

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@
2323

2424
(maintainers "OCamlFormat Team <[email protected]>")
2525

26-
(license
27-
"OCamlFormat is distributed under the MIT license. Parts of the OCaml library are vendored for OCamlFormat and distributed under their original LGPL 2.1 license.")
28-
2926
(source
3027
(github ocaml-ppx/ocamlformat))
3128

@@ -50,19 +47,20 @@
5047
fix
5148
fpath
5249
(menhir
53-
(>= 20180528))
50+
(>= 20201216))
5451
(menhirLib
55-
(>= 20200624))
52+
(>= 20201216))
5653
(menhirSdk
57-
(>= 20200624))
54+
(>= 20201216))
5855
ocp-indent
5956
(bisect_ppx
6057
(and
6158
:with-test
6259
(>= 2.5.0)))
6360
(odoc-parser
6461
(>= 0.9.0))
65-
re
62+
(re
63+
(>= 1.7.2))
6664
(stdio
6765
(< v0.15))
6866
(uuseg
@@ -92,19 +90,20 @@
9290
fix
9391
fpath
9492
(menhir
95-
(>= 20180528))
93+
(>= 20201216))
9694
(menhirLib
97-
(>= 20200624))
95+
(>= 20201216))
9896
(menhirSdk
99-
(>= 20200624))
97+
(>= 20201216))
10098
ocp-indent
10199
(bisect_ppx
102100
(and
103101
:with-test
104102
(>= 2.5.0)))
105103
(odoc-parser
106104
(>= 0.9.0))
107-
re
105+
(re
106+
(>= 1.7.2))
108107
(stdio
109108
(< v0.15))
110109
(uuseg

ocamlformat-rpc.opam

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ description:
55
"OCamlFormat is a tool to automatically format OCaml code in a uniform style. This package defines a RPC interface to OCamlFormat"
66
maintainer: ["OCamlFormat Team <[email protected]>"]
77
authors: ["Josh Berdine <[email protected]>"]
8-
license:
9-
"OCamlFormat is distributed under the MIT license. Parts of the OCaml library are vendored for OCamlFormat and distributed under their original LGPL 2.1 license."
108
homepage: "https://github.com/ocaml-ppx/ocamlformat"
119
bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
1210
depends: [
@@ -20,13 +18,13 @@ depends: [
2018
"dune-build-info"
2119
"fix"
2220
"fpath"
23-
"menhir" {>= "20180528"}
24-
"menhirLib" {>= "20200624"}
25-
"menhirSdk" {>= "20200624"}
21+
"menhir" {>= "20201216"}
22+
"menhirLib" {>= "20201216"}
23+
"menhirSdk" {>= "20201216"}
2624
"ocp-indent"
2725
"bisect_ppx" {with-test & >= "2.5.0"}
2826
"odoc-parser" {>= "0.9.0"}
29-
"re"
27+
"re" {>= "1.7.2"}
3028
"stdio" {< "v0.15"}
3129
"uuseg" {>= "10.0.0"}
3230
"uutf" {>= "1.0.1"}
@@ -47,3 +45,4 @@ build: [
4745
]
4846
]
4947
dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
48+
license: ["MIT" "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"] # OCamlFormat is distributed under the MIT license. Parts of the OCaml library are vendored for OCamlFormat and distributed under their original LGPL 2.1 license

ocamlformat-rpc.opam.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
license: ["MIT" "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"] # OCamlFormat is distributed under the MIT license. Parts of the OCaml library are vendored for OCamlFormat and distributed under their original LGPL 2.1 license

ocamlformat.opam

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ description:
55
"OCamlFormat is a tool to automatically format OCaml code in a uniform style."
66
maintainer: ["OCamlFormat Team <[email protected]>"]
77
authors: ["Josh Berdine <[email protected]>"]
8-
license:
9-
"OCamlFormat is distributed under the MIT license. Parts of the OCaml library are vendored for OCamlFormat and distributed under their original LGPL 2.1 license."
108
homepage: "https://github.com/ocaml-ppx/ocamlformat"
119
bug-reports: "https://github.com/ocaml-ppx/ocamlformat/issues"
1210
depends: [
@@ -19,13 +17,13 @@ depends: [
1917
"dune-build-info"
2018
"fix"
2119
"fpath"
22-
"menhir" {>= "20180528"}
23-
"menhirLib" {>= "20200624"}
24-
"menhirSdk" {>= "20200624"}
20+
"menhir" {>= "20201216"}
21+
"menhirLib" {>= "20201216"}
22+
"menhirSdk" {>= "20201216"}
2523
"ocp-indent"
2624
"bisect_ppx" {with-test & >= "2.5.0"}
2725
"odoc-parser" {>= "0.9.0"}
28-
"re"
26+
"re" {>= "1.7.2"}
2927
"stdio" {< "v0.15"}
3028
"uuseg" {>= "10.0.0"}
3129
"uutf" {>= "1.0.1"}
@@ -46,3 +44,4 @@ build: [
4644
]
4745
]
4846
dev-repo: "git+https://github.com/ocaml-ppx/ocamlformat.git"
47+
license: ["MIT" "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"] # OCamlFormat is distributed under the MIT license. Parts of the OCaml library are vendored for OCamlFormat and distributed under their original LGPL 2.1 license

ocamlformat.opam.template

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
license: ["MIT" "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"] # OCamlFormat is distributed under the MIT license. Parts of the OCaml library are vendored for OCamlFormat and distributed under their original LGPL 2.1 license

0 commit comments

Comments
 (0)