From 486a568f45b1263fab57162771b5ff46eb65d416 Mon Sep 17 00:00:00 2001 From: Simon Cruanes Date: Wed, 2 Oct 2024 09:01:34 -0400 Subject: [PATCH] [new release] printbox (5 packages) (0.12) CHANGES: - Remove fallback to and dependency on `printbox-html` from `printbox-md` (@lukstafi) - introduce notion of extensions (@lukstafi) - add `printbox-ext-plot` extension for text and HTML plots (@lukstafi) - feat: add `?stretch` param to `frame` - fix c-cube/printbox#45, problem with nested frames --- .../printbox-ext-plot.0.12/opam | 46 +++++++++++++++++++ .../printbox-html/printbox-html.0.12/opam | 43 +++++++++++++++++ packages/printbox-md/printbox-md.0.12/opam | 43 +++++++++++++++++ .../printbox-text/printbox-text.0.12/opam | 40 ++++++++++++++++ packages/printbox/printbox.0.12/opam | 38 +++++++++++++++ 5 files changed, 210 insertions(+) create mode 100644 packages/printbox-ext-plot/printbox-ext-plot.0.12/opam create mode 100644 packages/printbox-html/printbox-html.0.12/opam create mode 100644 packages/printbox-md/printbox-md.0.12/opam create mode 100644 packages/printbox-text/printbox-text.0.12/opam create mode 100644 packages/printbox/printbox.0.12/opam diff --git a/packages/printbox-ext-plot/printbox-ext-plot.0.12/opam b/packages/printbox-ext-plot/printbox-ext-plot.0.12/opam new file mode 100644 index 00000000000..d23303ffc92 --- /dev/null +++ b/packages/printbox-ext-plot/printbox-ext-plot.0.12/opam @@ -0,0 +1,46 @@ +opam-version: "2.0" +synopsis: "Printbox extension for plotting" +description: """ + +Extends Printbox with the ability to print scatter plots, line plots, decision boundaries. +Printbox allows to print nested boxes, lists, arrays, tables in several formats""" +maintainer: ["c-cube" "lukstafi"] +authors: ["Simon Cruanes" "Guillaume Bury" "lukstafi"] +license: "BSD-2-Clause" +homepage: "https://github.com/c-cube/printbox" +bug-reports: "https://github.com/c-cube/printbox/issues" +depends: [ + "dune" {>= "3.0"} + "printbox" {= version} + "printbox-text" {= version} + "printbox-html" {= version} + "printbox-md" {= version} + "tyxml" {>= "4.3"} + "odoc" {with-test} + "mdx" {>= "1.4" & with-test} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/c-cube/printbox.git" +url { + src: + "https://github.com/c-cube/printbox/releases/download/v0.12/printbox-0.12.tbz" + checksum: [ + "sha256=153779f5791ea8d2a6e19a4de00880846b76130f3619b352a8dfde44290dd968" + "sha512=76fc1cbe3737e9ae4168952cef93ca6945c4c4b80e7bc66158bb54c7240c3073d3b9253206bfdd5145b6b2b92197cf21b16597082732e414b96ecf654247da36" + ] +} +x-commit-hash: "a109f7836bf8c1b91832ebd8aa3e6d89768ccc2a" diff --git a/packages/printbox-html/printbox-html.0.12/opam b/packages/printbox-html/printbox-html.0.12/opam new file mode 100644 index 00000000000..448eae75f90 --- /dev/null +++ b/packages/printbox-html/printbox-html.0.12/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +synopsis: "Printbox unicode handling" +description: """ + +Adds html output handling to the printbox package. +Printbox allows to print nested boxes, lists, arrays, tables in several formats""" +maintainer: ["c-cube" "lukstafi"] +authors: ["Simon Cruanes" "Guillaume Bury" "lukstafi"] +license: "BSD-2-Clause" +homepage: "https://github.com/c-cube/printbox" +bug-reports: "https://github.com/c-cube/printbox/issues" +depends: [ + "dune" {>= "3.0"} + "printbox" {= version} + "odoc" {with-test} + "tyxml" {>= "4.3"} + "mdx" {>= "1.4" & with-test} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/c-cube/printbox.git" +url { + src: + "https://github.com/c-cube/printbox/releases/download/v0.12/printbox-0.12.tbz" + checksum: [ + "sha256=153779f5791ea8d2a6e19a4de00880846b76130f3619b352a8dfde44290dd968" + "sha512=76fc1cbe3737e9ae4168952cef93ca6945c4c4b80e7bc66158bb54c7240c3073d3b9253206bfdd5145b6b2b92197cf21b16597082732e414b96ecf654247da36" + ] +} +x-commit-hash: "a109f7836bf8c1b91832ebd8aa3e6d89768ccc2a" diff --git a/packages/printbox-md/printbox-md.0.12/opam b/packages/printbox-md/printbox-md.0.12/opam new file mode 100644 index 00000000000..1488e37f808 --- /dev/null +++ b/packages/printbox-md/printbox-md.0.12/opam @@ -0,0 +1,43 @@ +opam-version: "2.0" +synopsis: "Printbox Markdown rendering" +description: """ + +Adds Markdown output handling to the printbox package, with fallback to text and simplified HTML. +Printbox allows to print nested boxes, lists, arrays, tables in several formats""" +maintainer: ["c-cube" "lukstafi"] +authors: ["Simon Cruanes" "Guillaume Bury" "lukstafi"] +license: "BSD-2-Clause" +homepage: "https://github.com/c-cube/printbox" +bug-reports: "https://github.com/c-cube/printbox/issues" +depends: [ + "dune" {>= "3.0"} + "printbox" {= version} + "printbox-text" {= version} + "odoc" {with-test} + "mdx" {>= "1.4" & with-test} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/c-cube/printbox.git" +url { + src: + "https://github.com/c-cube/printbox/releases/download/v0.12/printbox-0.12.tbz" + checksum: [ + "sha256=153779f5791ea8d2a6e19a4de00880846b76130f3619b352a8dfde44290dd968" + "sha512=76fc1cbe3737e9ae4168952cef93ca6945c4c4b80e7bc66158bb54c7240c3073d3b9253206bfdd5145b6b2b92197cf21b16597082732e414b96ecf654247da36" + ] +} +x-commit-hash: "a109f7836bf8c1b91832ebd8aa3e6d89768ccc2a" diff --git a/packages/printbox-text/printbox-text.0.12/opam b/packages/printbox-text/printbox-text.0.12/opam new file mode 100644 index 00000000000..7d1d8e50a27 --- /dev/null +++ b/packages/printbox-text/printbox-text.0.12/opam @@ -0,0 +1,40 @@ +opam-version: "2.0" +synopsis: "Text renderer for printbox, using unicode edges" +maintainer: ["c-cube" "lukstafi"] +authors: ["Simon Cruanes" "Guillaume Bury" "lukstafi"] +license: "BSD-2-Clause" +homepage: "https://github.com/c-cube/printbox" +bug-reports: "https://github.com/c-cube/printbox/issues" +depends: [ + "dune" {>= "3.0"} + "printbox" {= version} + "uutf" {>= "1.0"} + "uucp" {>= "2.0"} + "odoc" {with-test} + "mdx" {>= "1.4" & with-test} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/c-cube/printbox.git" +url { + src: + "https://github.com/c-cube/printbox/releases/download/v0.12/printbox-0.12.tbz" + checksum: [ + "sha256=153779f5791ea8d2a6e19a4de00880846b76130f3619b352a8dfde44290dd968" + "sha512=76fc1cbe3737e9ae4168952cef93ca6945c4c4b80e7bc66158bb54c7240c3073d3b9253206bfdd5145b6b2b92197cf21b16597082732e414b96ecf654247da36" + ] +} +x-commit-hash: "a109f7836bf8c1b91832ebd8aa3e6d89768ccc2a" diff --git a/packages/printbox/printbox.0.12/opam b/packages/printbox/printbox.0.12/opam new file mode 100644 index 00000000000..669389c3cd8 --- /dev/null +++ b/packages/printbox/printbox.0.12/opam @@ -0,0 +1,38 @@ +opam-version: "2.0" +synopsis: + "Allows to print nested boxes, lists, arrays, tables in several formats" +maintainer: ["c-cube" "lukstafi"] +authors: ["Simon Cruanes" "Guillaume Bury" "lukstafi"] +license: "BSD-2-Clause" +tags: ["print" "box" "table" "tree"] +homepage: "https://github.com/c-cube/printbox" +bug-reports: "https://github.com/c-cube/printbox/issues" +depends: [ + "dune" {>= "3.0"} + "ocaml" {>= "4.08"} + "odoc" {with-doc} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/c-cube/printbox.git" +url { + src: + "https://github.com/c-cube/printbox/releases/download/v0.12/printbox-0.12.tbz" + checksum: [ + "sha256=153779f5791ea8d2a6e19a4de00880846b76130f3619b352a8dfde44290dd968" + "sha512=76fc1cbe3737e9ae4168952cef93ca6945c4c4b80e7bc66158bb54c7240c3073d3b9253206bfdd5145b6b2b92197cf21b16597082732e414b96ecf654247da36" + ] +} +x-commit-hash: "a109f7836bf8c1b91832ebd8aa3e6d89768ccc2a"