Skip to content

Commit 223a45f

Browse files
authored
Merge pull request ocaml#23607 from chetmurthy/update-camlp5-8.01.00
New release of Camlp5 (8.01.00), breaking change in API
2 parents 256625c + a24a4f9 commit 223a45f

File tree

7 files changed

+67
-6
lines changed
  • packages
    • camlp5/camlp5.8.01.00
    • p5scm/p5scm.0.2.0
    • pa_ppx_migrate/pa_ppx_migrate.0.09
    • pa_ppx
    • ulex-camlp5/ulex-camlp5.1.3

7 files changed

+67
-6
lines changed
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
2+
opam-version: "2.0"
3+
synopsis: "Preprocessor-pretty-printer of OCaml"
4+
description: """
5+
Camlp5 is a preprocessor and pretty-printer for OCaml programs. It also provides parsing and printing tools.
6+
7+
As a preprocessor, it allows to:
8+
9+
extend the syntax of OCaml,
10+
redefine the whole syntax of the language.
11+
As a pretty printer, it allows to:
12+
13+
display OCaml programs in an elegant way,
14+
convert from one syntax to another,
15+
check the results of syntax extensions.
16+
Camlp5 also provides some parsing and pretty printing tools:
17+
18+
extensible grammars
19+
extensible printers
20+
stream parsers and lexers
21+
pretty print module
22+
It works as a shell command and can also be used in the OCaml toplevel."""
23+
maintainer: "https://github.com/ocaml/opam-repository/issues"
24+
authors: ["Daniel de Rauglaudre" "Chet Murthy"]
25+
license: "BSD-3-Clause"
26+
homepage: "https://camlp5.github.io"
27+
doc: "https://camlp5.github.io/doc/html"
28+
bug-reports: "https://github.com/camlp5/camlp5/issues"
29+
depends: [
30+
"ocaml" {>= "4.10" & < "5.01.0"}
31+
"ocamlfind"
32+
"camlp-streams" { >= "5.0" }
33+
"conf-perl"
34+
"camlp5-buildscripts" { >= "0.02" }
35+
"conf-diffutils" { with-test & os-distribution = "alpine" }
36+
"re"
37+
"pcre"
38+
"ounit" { with-test }
39+
"rresult"
40+
"bos"
41+
"fmt"
42+
]
43+
build: [
44+
["./configure" "--prefix" prefix "-libdir" lib "-mandir" man]
45+
[make "-j%{jobs}%" "DEBUG=-g" "world.opt"]
46+
[make "-j%{jobs}%" "DEBUG=-g" "all"]
47+
[make "-C" "testsuite" "clean" "all-tests"] { with-test }
48+
[make "-C" "test" "clean" "all"] { with-test & os != "macos" }
49+
# [make "-C" "scripts" "clean" "test"] { with-test }
50+
]
51+
install: [make "install"]
52+
conflicts: [
53+
"ocaml-option-bytecode-only"
54+
]
55+
dev-repo: "git+https://github.com/camlp5/camlp5.git"
56+
url {
57+
src: "https://github.com/camlp5/camlp5/archive/refs/tags/8.01.00.tar.gz"
58+
checksum: [
59+
"sha512=70d66931f3c063870980e50da5bc98a5b7340d01c6f7026441267647dff6ed42cb155b5134e3943fbba14b0753a87a4c264662738c44ce9e4d99c4deb6f3a21d"
60+
]
61+
}

packages/p5scm/p5scm.0.2.0/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ depends: [
1313
"ocaml" {>= "4.12.0" & < "4.15.0"}
1414
"menhir" {>= "20201214"}
1515
"cppo" {>= "1.6.6"}
16-
"camlp5" {>= "8.00.03"}
16+
"camlp5" {>= "8.00.03" & < "8.01.00" }
1717
"sexp_pretty" {>= "v0.14.0"}
1818
"ppx_sexp_conv" {>= "v0.14.0"}
1919
"utop" {>= "2.7.0"}

packages/pa_ppx/pa_ppx.0.09/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ depends: [
3838
"conf-perl"
3939
"conf-perl-ipc-system-simple"
4040
"conf-perl-string-shellquote"
41-
"camlp5" { >= "8.00.03" }
41+
"camlp5" { >= "8.00.03" & < "8.01.00" }
4242
"not-ocamlfind" { >= "0.01" }
4343
"pcre" { >= "7.4.3" }
4444
"result" { >= "1.5" }

packages/pa_ppx/pa_ppx.0.10/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ depends: [
3838
"conf-perl"
3939
"conf-perl-ipc-system-simple"
4040
"conf-perl-string-shellquote"
41-
"camlp5" { >= "8.00.04" }
41+
"camlp5" { >= "8.00.04" & < "8.01.00" }
4242
"not-ocamlfind" { >= "0.09" }
4343
"pcre" { >= "7.4.3" }
4444
"result" { >= "1.5" }

packages/pa_ppx/pa_ppx.0.11/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ depends: [
3737
"ocaml" { >= "4.10.0" & < "5.01.0" }
3838
"conf-perl"
3939
"camlp5-buildscripts"
40-
"camlp5" { >= "8.00.04" }
40+
"camlp5" { >= "8.00.04" & < "8.01.00" }
4141
"not-ocamlfind" { >= "0.09" }
4242
"pcre" { >= "7.4.3" }
4343
"result" { >= "1.5" }

packages/pa_ppx_migrate/pa_ppx_migrate.0.09/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ depends: [
2626
"conf-perl-ipc-system-simple"
2727
"conf-perl-string-shellquote"
2828
"camlp5" { >= "8.00.04" }
29-
"pa_ppx" { >= "0.09" }
29+
"pa_ppx" { >= "0.11" }
3030
"not-ocamlfind" { >= "0.01" }
3131
"pcre" { >= "7.4.3" }
3232
"ounit" {with-test}

packages/ulex-camlp5/ulex-camlp5.1.3/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ install: [make "install"]
1414
depends: [
1515
"ocaml" {>="4.14.1"}
1616
"ocamlfind" {build}
17-
"camlp5" {>= "8.00.04"}
17+
"camlp5" {>= "8.00.04" & < "8.01.00"}
1818
"camlp-streams"
1919
"ocamlbuild" {build}
2020
]

0 commit comments

Comments
 (0)