From e133d15e5c2cab6b3b2c982dbae0a2de829eff98 Mon Sep 17 00:00:00 2001 From: Chet Murthy Date: Wed, 25 Dec 2024 19:39:54 -0800 Subject: [PATCH 1/2] Fix an oversight in opam file for pa_ppx_regexp.0.03 the version constraint for pa_ppx was "= 0.15", but needed to be ">=". --- packages/pa_ppx_regexp/pa_ppx_regexp.0.03/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pa_ppx_regexp/pa_ppx_regexp.0.03/opam b/packages/pa_ppx_regexp/pa_ppx_regexp.0.03/opam index 0241695be17..5f1b6b486cb 100644 --- a/packages/pa_ppx_regexp/pa_ppx_regexp.0.03/opam +++ b/packages/pa_ppx_regexp/pa_ppx_regexp.0.03/opam @@ -19,7 +19,7 @@ depends: [ "ocaml" { >= "4.10.0" } "camlp5-buildscripts" { >= "0.02" } "camlp5" { >= "8.01.00" } - "pa_ppx" { = "0.15" } + "pa_ppx" { >= "0.15" } "pa_ppx_migrate" { >= "0.10" } "pa_ppx_static" { >= "0.01" } "not-ocamlfind" { >= "0.10" } From 5baa61480a6358906bea3a8143c6975ecebe0dc3 Mon Sep 17 00:00:00 2001 From: Chet Murthy Date: Wed, 25 Dec 2024 20:05:42 -0800 Subject: [PATCH 2/2] release pa_ppx_regexp.0.04 to fixup errors in previous release (0.03) I forgot: (1) release constraint on pa_ppx version (2) add constraints on pcre, pcre2 versions (b/c they fixed bugs) (3) update one of several tests to correspond to those bugfixes --- .../pa_ppx_regexp/pa_ppx_regexp.0.03/opam | 2 +- .../pa_ppx_regexp/pa_ppx_regexp.0.04/opam | 43 +++++++++++++++++++ 2 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 packages/pa_ppx_regexp/pa_ppx_regexp.0.04/opam diff --git a/packages/pa_ppx_regexp/pa_ppx_regexp.0.03/opam b/packages/pa_ppx_regexp/pa_ppx_regexp.0.03/opam index 5f1b6b486cb..52bb2ec6eda 100644 --- a/packages/pa_ppx_regexp/pa_ppx_regexp.0.03/opam +++ b/packages/pa_ppx_regexp/pa_ppx_regexp.0.03/opam @@ -14,7 +14,7 @@ license: "BSD-3-Clause" bug-reports: "https://github.com/camlp5/pa_ppx_regexp/issues" dev-repo: "git+https://github.com/camlp5/pa_ppx_regexp.git" doc: "https://github.com/camlp5/pa_ppx_regexp/doc" - +available: false depends: [ "ocaml" { >= "4.10.0" } "camlp5-buildscripts" { >= "0.02" } diff --git a/packages/pa_ppx_regexp/pa_ppx_regexp.0.04/opam b/packages/pa_ppx_regexp/pa_ppx_regexp.0.04/opam new file mode 100644 index 00000000000..7e85fa31ce0 --- /dev/null +++ b/packages/pa_ppx_regexp/pa_ppx_regexp.0.04/opam @@ -0,0 +1,43 @@ + +synopsis: "A Camlp5 PPX Rewriter for Perl Regexp Workalikes " +description: +""" +This is a PPX Rewriter for some workalikes to perl regexp operations, +based on Camlp5 (so it's compatible with all the other Camlp5-based PPX rewriters). +""" +opam-version: "2.0" +x-maintenance-intent: [ "(latest)" ] +maintainer: "Chet Murthy " +authors: ["Chet Murthy"] +homepage: "https://github.com/camlp5/pa_ppx_regexp" +license: "BSD-3-Clause" +bug-reports: "https://github.com/camlp5/pa_ppx_regexp/issues" +dev-repo: "git+https://github.com/camlp5/pa_ppx_regexp.git" +doc: "https://github.com/camlp5/pa_ppx_regexp/doc" + +depends: [ + "ocaml" { >= "4.10.0" } + "camlp5-buildscripts" { >= "0.02" } + "camlp5" { >= "8.01.00" } + "pa_ppx" { >= "0.15" } + "pa_ppx_migrate" { >= "0.10" } + "pa_ppx_static" { >= "0.01" } + "not-ocamlfind" { >= "0.10" } + "ounit" { >= "2.2.7" } + "mdx" {>= "2.3.0" & with-test} + "fmt" + "pcre" { >= "8.0.1" } + "pcre2" { >= "8.0.1" } + "re" { >= "1.12.0" } +] +build: [ + [make "sys"] + [make "test"] {with-test} +] +install: [make "install"] +url { + src: "https://github.com/camlp5/pa_ppx_regexp/archive/refs/tags/0.04.tar.gz" + checksum: [ + "sha512=ccb7e9293959123cb9fe8e7c9525a6b5c059c750d764d1a9155b6afeec9b4531c4b5ea6b458395c8937c595ccc4c81e0c55c83a1c95252eff0354a55aa597047" + ] +}