From 8ff5929732d5294df6b1ce28bdc410e7f90c203a Mon Sep 17 00:00:00 2001 From: Chet Murthy Date: Mon, 16 Dec 2024 02:07:35 -0800 Subject: [PATCH 1/4] first release of pa_ppx_migrate_ocaml_parsetree This is broken out of pa_ppx_migrate, provides migrations between ocaml 4.02.0 <-> 5.3.0 and all intermediate versions. --- .../pa_ppx_migrate_ocaml_parsetree.0.01/opam | 39 +++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam diff --git a/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam b/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam new file mode 100644 index 00000000000..e0916c5424d --- /dev/null +++ b/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam @@ -0,0 +1,39 @@ + +synopsis: "Migrations from one version of the OCaml AST to another" +description: +""" +This package provides migrations from one version of the OCaml AST to another, +using Camlp5-based pa_ppx_migrate to do the actual heavy lifting. + +""" +opam-version: "2.0" +maintainer: "Chet Murthy " +authors: ["Chet Murthy"] +homepage: "https://github.com/camlp5/pa_ppx_migrate_ocaml_parsetree" +license: "BSD-3-Clause" +bug-reports: "https://github.com/camlp5/pa_ppx_migrate_ocaml_parsetree/issues" +dev-repo: "git+https://github.com/camlp5/pa_ppx_migrate_ocaml_parsetree.git" +doc: "https://github.com/camlp5/pa_ppx_migrate_ocaml_parsetree/doc" + +depends: [ + "ocaml" { >= "4.10.0" } + "cppo" { >= "1.6.9" } + "camlp5-buildscripts" { >= "0.02" } + "camlp5" { >= "8.03.00" } + "pa_ppx_migrate" { >= "0.12" } + "not-ocamlfind" { >= "0.10" } + "ounit" { >= "2.2.7" & with-test} + "fmt" + "bos" { >= "0.2.0" } +] +build: [ + [make "-j%{jobs}%" "sys"] + [make "test"] {with-test} +] +install: [make "install"] +url { + src: "https://github.com/camlp5/pa_ppx_migrate_ocaml_parsetree/archive/refs/tags/0.01.tar.gz" + checksum: [ + "sha512=1be729af306f505295a055e86b1bdc7eed899cd4c8c9a818f710038001ce6b61f8c6d954abb88ff3f7789c688e8318cbdb4a48372c10e6adc4a285db21cbf5ce" + ] +} From 98c81e05f4fd6391b85ebe85a9b1099375d2ac93 Mon Sep 17 00:00:00 2001 From: Chet Murthy Date: Mon, 16 Dec 2024 11:03:15 -0800 Subject: [PATCH 2/4] fixes --- .../pa_ppx_migrate_ocaml_parsetree.0.01/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam b/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam index e0916c5424d..faa5f61a8e4 100644 --- a/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam +++ b/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam @@ -34,6 +34,6 @@ install: [make "install"] url { src: "https://github.com/camlp5/pa_ppx_migrate_ocaml_parsetree/archive/refs/tags/0.01.tar.gz" checksum: [ - "sha512=1be729af306f505295a055e86b1bdc7eed899cd4c8c9a818f710038001ce6b61f8c6d954abb88ff3f7789c688e8318cbdb4a48372c10e6adc4a285db21cbf5ce" + "sha512=195e6940df01730b8bc9df76066a5755222ad9609335f078ce04367bdc5697b30efc59daba89fabfdbc64a48a4a67c2cec19f3b5c673f0a493506cb9f8498b5c" ] } From 40738083e46e22c694f1566300fb5a9e09e85277 Mon Sep 17 00:00:00 2001 From: Chet Murthy Date: Mon, 16 Dec 2024 11:57:04 -0800 Subject: [PATCH 3/4] more fixes --- .../pa_ppx_migrate_ocaml_parsetree.0.01/opam | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam b/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam index faa5f61a8e4..c5cbf3b2570 100644 --- a/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam +++ b/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam @@ -7,6 +7,7 @@ using Camlp5-based pa_ppx_migrate to do the actual heavy lifting. """ opam-version: "2.0" +x-maintenance-intent: [ "(latest)" ] maintainer: "Chet Murthy " authors: ["Chet Murthy"] homepage: "https://github.com/camlp5/pa_ppx_migrate_ocaml_parsetree" @@ -34,6 +35,6 @@ install: [make "install"] url { src: "https://github.com/camlp5/pa_ppx_migrate_ocaml_parsetree/archive/refs/tags/0.01.tar.gz" checksum: [ - "sha512=195e6940df01730b8bc9df76066a5755222ad9609335f078ce04367bdc5697b30efc59daba89fabfdbc64a48a4a67c2cec19f3b5c673f0a493506cb9f8498b5c" + "sha512=a80f9647a9484bd09ea7d10497ac0619ac7e1a596d789a469ed6d8e8048087296feec0462b58c8539fc9824d98e196a9c25df9e3ee47f227dbe31e1898f8173b" ] } From c043c4840ba58f0de1b24bb05e3498a2754f838f Mon Sep 17 00:00:00 2001 From: Chet Murthy Date: Thu, 19 Dec 2024 12:23:59 -0800 Subject: [PATCH 4/4] fix Makefile --- .../pa_ppx_migrate_ocaml_parsetree.0.01/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam b/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam index c5cbf3b2570..b703990577c 100644 --- a/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam +++ b/packages/pa_ppx_migrate_ocaml_parsetree/pa_ppx_migrate_ocaml_parsetree.0.01/opam @@ -35,6 +35,6 @@ install: [make "install"] url { src: "https://github.com/camlp5/pa_ppx_migrate_ocaml_parsetree/archive/refs/tags/0.01.tar.gz" checksum: [ - "sha512=a80f9647a9484bd09ea7d10497ac0619ac7e1a596d789a469ed6d8e8048087296feec0462b58c8539fc9824d98e196a9c25df9e3ee47f227dbe31e1898f8173b" + "sha512=0f9313842c6eb07ae6719f49c27858e3a2a94f8cc1dd6d00a4aec27d85b1c44c0a664a9eae511d0edd37c638754ca8a47b1ee5d2ee1cd9b2b38d0cd9e5f03381" ] }