Skip to content

Commit 2b39bcc

Browse files
authored
release with fixes for line directives (ocaml#28042)
* release with fixes for line directives * limit pa_ppx (b/c incompat w/camlp5 line directive fixups) * ugh, typo * minor fixup to camlp5 * fix opam checksum
1 parent 2d002ba commit 2b39bcc

File tree

2 files changed

+71
-2
lines changed
  • packages
    • camlp5/camlp5.8.03.05
    • pa_ppx/pa_ppx.0.18

2 files changed

+71
-2
lines changed
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
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+
x-maintenance-intent: [ "(latest)" ]
24+
maintainer: ["Chet Murthy <[email protected]>"]
25+
authors: ["Daniel de Rauglaudre" "Chet Murthy"]
26+
license: "BSD-3-Clause"
27+
homepage: "https://camlp5.github.io"
28+
doc: "https://camlp5.github.io/doc/html"
29+
bug-reports: "https://github.com/camlp5/camlp5/issues"
30+
depends: [
31+
"ocaml" {>= "4.10" & < "5.04.0" }
32+
"ocamlfind"
33+
"camlp-streams" { >= "5.0" }
34+
"conf-perl"
35+
"conf-bash"
36+
"camlp5-buildscripts" { >= "0.06" }
37+
"conf-diffutils" { with-test & (os-distribution = "alpine" | os-distribution = "freebsd") }
38+
"re" { >= "1.11.0" }
39+
"ounit2" { with-test }
40+
"pcre2" { >= "8.0.3" }
41+
"rresult"
42+
"bos"
43+
"fmt"
44+
]
45+
build: [
46+
["./configure" "--prefix" prefix "-libdir" lib "-mandir" man "-oversion" ocaml:version]
47+
[make "-j%{jobs}%" "DEBUG=-g" "world.opt"]
48+
[make "-j%{jobs}%" "DEBUG=-g" "all"]
49+
[make "-C" "testsuite" "clean" "all-tests"] { with-test }
50+
[make "-C" "test" "clean" "all"] { with-test & os != "macos" & os != "opensuse-tumbleweed" }
51+
# [make "-C" "scripts" "clean" "test"] { with-test }
52+
]
53+
install: [make "install"]
54+
conflicts: [
55+
"ocaml-option-bytecode-only"
56+
"pa_ppx" { < "0.18" }
57+
"p5scm" { <= "0.3.1" }
58+
"matita" { <= "0.99.5" }
59+
"lablgl" { <= "1.07" }
60+
"frama-clang" { = "0.0.14" }
61+
]
62+
x-ci-accept-failures: [ "opensuse-tumbleweed" ]
63+
dev-repo: "git+https://github.com/camlp5/camlp5.git"
64+
url {
65+
src: "https://github.com/camlp5/camlp5/archive/refs/tags/8.03.05.tar.gz"
66+
checksum: [
67+
"sha512=600f554122a29cf85f2b4356f649114a04769d2b74e56a90520d7b257c8b3859dab8e48fd0638fa3aae1147ddad18d31e64ddbc603a3ca19e7ef1722355a465f"
68+
]
69+
}

packages/pa_ppx/pa_ppx.0.18/opam

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ depends: [
4040
"ocaml" { >= "4.10.0" & < "5.4.0" }
4141
"conf-perl"
4242
"camlp5-buildscripts" { >= "0.03" }
43-
"camlp5" { >= "8.03.02" }
43+
"camlp5" { >= "8.03.02" & < "8.03.05" }
4444
"not-ocamlfind" { >= "0.10" }
4545
"pcre2"
4646
"result" { >= "1.5" }
@@ -55,7 +55,7 @@ depends: [
5555
"sexplib" { >= "v0.14.0" }
5656
"ppx_import" { with-test & >= "1.7.1" & <= "1.11.0" }
5757
"ppx_deriving" { with-test & >= "6.0.2" }
58-
"ppx_deriving_yojson" { with-test & >= "3.5.2" & >= "3.8.0" }
58+
"ppx_deriving_yojson" { with-test & >= "3.5.2" & >= "3.8.0" & < "3.10.0" }
5959
"ppx_here" { with-test & >= "v0.13.0" }
6060
"ppx_sexp_conv" { with-test & >= "v0.13.0" }
6161
# "expect_test_helpers" { with-test & >= "v0.13.0" }

0 commit comments

Comments
 (0)