Skip to content

Commit 146210b

Browse files
Merge pull request ocaml#23616 from chetmurthy/pa_ppx-0.12-patches
new release of pa_ppx 0.12
2 parents 9c2a1d6 + a745afe commit 146210b

File tree

5 files changed

+77
-4
lines changed
  • packages
    • pa_ppx_hashcons/pa_ppx_hashcons.0.09
    • pa_ppx_migrate/pa_ppx_migrate.0.09
    • pa_ppx_q_ast/pa_ppx_q_ast.0.09
    • pa_ppx_unique/pa_ppx_unique.0.09
    • pa_ppx/pa_ppx.0.12

5 files changed

+77
-4
lines changed

packages/pa_ppx/pa_ppx.0.12/opam

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
synopsis: "PPX Rewriters for Ocaml, written using Camlp5"
2+
description:
3+
"""
4+
This is a collection of PPX rewriters, re-implementing those based on ppxlib
5+
and other libraries, but instead based on Camlp5. Included is also a collection
6+
of support libraries for writing new PPX rewriters. Included are:
7+
8+
pa_assert: ppx_assert
9+
pa_ppx.deriving, pa_ppx.deriving_plugins (enum, eq, fold, iter, make, map, ord, sexp, show, yojson):
10+
ppx_deriving, plugins, ppx_sexp_conv, ppx_deriving_yojson
11+
pa_ppx.expect_test: ppx_expect_test
12+
pa_ppx.here: ppx_here
13+
pa_ppx.import: ppx_import
14+
pa_ppx.inline_test: ppx_inline_test
15+
16+
pa_ppx.undo_deriving: pa_ppx.deriving expands [@@deriving ...] into code; this rewriter undoes that.
17+
pa_ppx.unmatched_vala: expands to match-cases (support library for camlp5-based PPX rewriters)
18+
pa_ppx.hashrecons: support for writing AST rewriters that automatically fills in hash-consing boilerplate
19+
pa_dock: implements doc-comment extraction for camlp5 preprocessors
20+
21+
Many of the reimplementations in fact offer significant enhanced
22+
function, described in the pa_ppx documentation. In addition, there
23+
is an extensive test-suite, much of it slightly modified versions of
24+
the tests for the respective PPX rewriters.
25+
26+
"""
27+
opam-version: "2.0"
28+
maintainer: "Chet Murthy <[email protected]>"
29+
authors: ["Chet Murthy"]
30+
homepage: "https://github.com/camlp5/pa_ppx"
31+
license: "BSD-3-Clause"
32+
bug-reports: "https://github.com/camlp5/pa_ppx/issues"
33+
dev-repo: "git+https://github.com/camlp5/pa_ppx.git"
34+
doc: "https://github.com/camlp5/pa_ppx/doc"
35+
36+
depends: [
37+
"ocaml" { >= "4.10.0" & < "5.01.0" }
38+
"conf-perl"
39+
"camlp5-buildscripts" { >= "0.02" }
40+
"camlp5" { >= "8.01.00" }
41+
"not-ocamlfind" { >= "0.10" }
42+
"pcre" { >= "7.4.3" }
43+
"result" { >= "1.5" }
44+
"yojson" { >= "1.7.0" }
45+
"sexplib0"
46+
"bos" { >= "0.2.0" }
47+
"fmt"
48+
"uint" { >= "2.0.1" }
49+
"ounit"
50+
"sexplib" { with-test & >= "v0.14.0" }
51+
"ppx_import" { with-test & >= "1.7.1" }
52+
"ppx_deriving" { with-test }
53+
"ppx_deriving_yojson" { with-test & >= "3.5.2" }
54+
"ppx_here" { with-test & >= "v0.13.0" }
55+
"ppx_sexp_conv" { with-test & >= "v0.13.0" }
56+
# "expect_test_helpers" { with-test & >= "v0.13.0" }
57+
]
58+
conflicts: [
59+
"base-effects"
60+
"ocaml-option-bytecode-only"
61+
]
62+
build: [
63+
[make "get-generated"]
64+
[make "-j%{jobs}%" "DEBUG=-g" "sys"]
65+
[make "DEBUG=-g" "test"] {with-test}
66+
]
67+
install: [make "install"]
68+
url {
69+
src: "https://github.com/camlp5/pa_ppx/archive/refs/tags/0.12.tar.gz"
70+
checksum: [
71+
"sha512=3790e135ffccbd8b8777cc3357b72f2c6e881021d89ad0a8bfd2ca247aef0e623fa08c2935fb176adfb2bc7cdcdfa0a4901d93f6ec557fbe376b9f3ef6c98e0f"
72+
]
73+
}

packages/pa_ppx_hashcons/pa_ppx_hashcons.0.09/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depends: [
2121
"conf-perl-ipc-system-simple"
2222
"conf-perl-string-shellquote"
2323
"camlp5" { >= "8.00" }
24-
"pa_ppx" { >= "0.08" }
24+
"pa_ppx" { >= "0.08" & < "0.12" }
2525
"pa_ppx_migrate" { with-test & >= "0.08" }
2626
"not-ocamlfind" { >= "0.01" }
2727
"pcre" { >= "7.4.3" }

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.11" }
29+
"pa_ppx" { >= "0.11" & < "0.12" }
3030
"not-ocamlfind" { >= "0.01" }
3131
"pcre" { >= "7.4.3" }
3232
"ounit" {with-test}

packages/pa_ppx_q_ast/pa_ppx_q_ast.0.09/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ depends: [
2121
"conf-perl-ipc-system-simple"
2222
"conf-perl-string-shellquote"
2323
"camlp5" { >= "8.00.04" }
24-
"pa_ppx" { >= "0.08" }
24+
"pa_ppx" { >= "0.08" & < "0.12" }
2525
"pa_ppx_migrate" { with-test & >= "0.08" }
2626
"pa_ppx_hashcons" { >= "0.08" }
2727
"pa_ppx_unique" { >= "0.08" }

packages/pa_ppx_unique/pa_ppx_unique.0.09/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ depends: [
1919
"conf-perl-ipc-system-simple"
2020
"conf-perl-string-shellquote"
2121
"camlp5" { >= "8.00" }
22-
"pa_ppx" { >= "0.08" }
22+
"pa_ppx" { >= "0.08" & < "0.12" }
2323
"pa_ppx_migrate" { with-test & >= "0.08" }
2424
"not-ocamlfind" { >= "0.01" }
2525
"pcre" { >= "7.4.3" }

0 commit comments

Comments
 (0)