From 7980cbcf365da5275885da45569faac33a690c13 Mon Sep 17 00:00:00 2001 From: Kate Date: Mon, 7 Jun 2021 17:19:48 +0100 Subject: [PATCH] Add previews of some of the platform packages with OCaml 4.13 compatibility --- packages/odoc/odoc.2.0.0~4.13preview/opam | 51 +++++++++++++++++ .../ppxlib/ppxlib.0.23.0~4.13preview/opam | 55 +++++++++++++++++++ packages/utop/utop.2.8.0~4.13preview/opam | 36 ++++++++++++ 3 files changed, 142 insertions(+) create mode 100644 packages/odoc/odoc.2.0.0~4.13preview/opam create mode 100644 packages/ppxlib/ppxlib.0.23.0~4.13preview/opam create mode 100644 packages/utop/utop.2.8.0~4.13preview/opam diff --git a/packages/odoc/odoc.2.0.0~4.13preview/opam b/packages/odoc/odoc.2.0.0~4.13preview/opam new file mode 100644 index 000000000000..49452e092953 --- /dev/null +++ b/packages/odoc/odoc.2.0.0~4.13preview/opam @@ -0,0 +1,51 @@ +opam-version: "2.0" + +homepage: "http://github.com/ocaml/odoc" +doc: "https://ocaml.github.io/odoc/" +bug-reports: "https://github.com/ocaml/odoc/issues" +license: "ISC" + +authors: [ + "Thomas Refis " + "David Sheets " + "Leo White " + "Anton Bachin " + "Jon Ludlam " +] +maintainer: "Anton Bachin " +dev-repo: "git+https://github.com/ocaml/odoc.git" + +synopsis: "OCaml documentation generator" +description: """ +Odoc is a documentation generator for OCaml. It reads doc comments, +delimited with `(** ... *)`, and outputs HTML. +""" + +depends: [ + "astring" + "cmdliner" + "cppo" {build} + "dune" {>= "2.7"} + "fpath" + "ocaml" {>= "4.13" & < "4.14"} + "result" + "tyxml" {>= "4.3.0"} + "fmt" + "logs" + "re" {>= "1.7.2"} + + "alcotest" {dev & >= "0.8.3"} + "markup" {dev & >= "1.0.0"} + "ocamlfind" {dev} + "sexplib" {dev & >= "113.33.00"} + + "bisect_ppx" {dev & >= "1.3.0"} +] + +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] +] +url { + git: "git://github.com/kit-ty-kate/odoc.git#413" +} diff --git a/packages/ppxlib/ppxlib.0.23.0~4.13preview/opam b/packages/ppxlib/ppxlib.0.23.0~4.13preview/opam new file mode 100644 index 000000000000..3a967d8876d1 --- /dev/null +++ b/packages/ppxlib/ppxlib.0.23.0~4.13preview/opam @@ -0,0 +1,55 @@ +opam-version: "2.0" +synopsis: "Standard library for ppx rewriters" +description: """ +Ppxlib is the standard library for ppx rewriters and other programs +that manipulate the in-memory reprensation of OCaml programs, a.k.a +the "Parsetree". + +It also comes bundled with two ppx rewriters that are commonly used to +write tools that manipulate and/or generate Parsetree values; +`ppxlib.metaquot` which allows to construct Parsetree values using the +OCaml syntax directly and `ppxlib.traverse` which provides various +ways of automatically traversing values of a given type, in particular +allowing to inject a complex structured value into generated code. +""" +maintainer: ["Jane Street developers"] +authors: ["Jane Street Group, LLC"] +license: "MIT" +homepage: "https://github.com/ocaml-ppx/ppxlib" +doc: "https://ocaml-ppx.github.io/ppxlib/" +bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues" +depends: [ + "dune" {>= "2.7"} + "ocaml" {>= "4.13" & < "4.14"} + "ocaml-compiler-libs" {>= "v0.11.0"} + "ppx_derivers" {>= "1.0"} + "sexplib0" {>= "v0.12"} + "stdlib-shims" + "ocamlfind" {with-test} + "re" {with-test & >= "1.9.0"} + "cinaps" {with-test & >= "v0.12.1"} + "base" {with-test} + "stdio" {with-test} + "odoc" {with-doc} +] +conflicts: [ + "jbuilder" # https://github.com/ocaml-ppx/ppxlib/issues/251 +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/ocaml-ppx/ppxlib.git" +url { + git: "git://github.com/kit-ty-kate/ppxlib.git#413" +} diff --git a/packages/utop/utop.2.8.0~4.13preview/opam b/packages/utop/utop.2.8.0~4.13preview/opam new file mode 100644 index 000000000000..e6095cdb223d --- /dev/null +++ b/packages/utop/utop.2.8.0~4.13preview/opam @@ -0,0 +1,36 @@ +opam-version: "2.0" +maintainer: "jeremie@dimino.org" +authors: "Jérémie Dimino" +license: "BSD3" +homepage: "https://github.com/ocaml-community/utop" +bug-reports: "https://github.com/ocaml-community/utop/issues" +doc: "https://ocaml-community.github.io/utop/" +depends: [ + "ocaml" {>= "4.13" & < "4.14"} + "base-unix" + "base-threads" + "ocamlfind" {>= "1.7.2"} + "lambda-term" {>= "3.1.0" & < "4.0"} + "lwt" + "lwt_react" + "camomile" + "react" {>= "1.0.0"} + "cppo" {build & >= "1.1.2"} + "dune" {>= "1.0"} +] +build: [ + ["dune" "subst"] {dev} + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name "-j" jobs] {with-test} +] +dev-repo: "git+https://github.com/ocaml-community/utop.git" +synopsis: "Universal toplevel for OCaml" +description: """ +utop is an improved toplevel (i.e., Read-Eval-Print Loop or REPL) for +OCaml. It can run in a terminal or in Emacs. It supports line +edition, history, real-time and context sensitive completion, colors, +and more. It integrates with the Tuareg mode in Emacs. +""" +url { + git: "git://github.com/ocaml-community/utop.git#master" +}