Skip to content

Commit

Permalink
[new release] printbox (5 packages) (0.12)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
c-cube committed Oct 2, 2024
1 parent 1b4da50 commit 486a568
Show file tree
Hide file tree
Showing 5 changed files with 210 additions and 0 deletions.
46 changes: 46 additions & 0 deletions packages/printbox-ext-plot/printbox-ext-plot.0.12/opam
Original file line number Diff line number Diff line change
@@ -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"
43 changes: 43 additions & 0 deletions packages/printbox-html/printbox-html.0.12/opam
Original file line number Diff line number Diff line change
@@ -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"
43 changes: 43 additions & 0 deletions packages/printbox-md/printbox-md.0.12/opam
Original file line number Diff line number Diff line change
@@ -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"
40 changes: 40 additions & 0 deletions packages/printbox-text/printbox-text.0.12/opam
Original file line number Diff line number Diff line change
@@ -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"
38 changes: 38 additions & 0 deletions packages/printbox/printbox.0.12/opam
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 486a568

Please sign in to comment.