Skip to content

Commit

Permalink
auto generate opam files
Browse files Browse the repository at this point in the history
  • Loading branch information
c-cube committed Dec 31, 2023
1 parent 0042650 commit e89dd0f
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 51 deletions.
33 changes: 33 additions & 0 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,2 +1,35 @@
(lang dune 2.0)
(name printbox)
(generate_opam_files true)
(version 0.7)
(license "BSD-2-Clause")

(authors "Simon Cruanes" "Guillaume Bury")
(maintainers c-cube)
(source (github c-cube/printbox))

(package
(name printbox)
(synopsis "Allows to print nested boxes, lists, arrays, tables in several formats")
(depends (ocaml (>= 4.08)) (odoc :with-doc))
(tags ("print" "box" "table" "tree")))

(package
(name printbox-text)
(synopsis "Text renderer for printbox, using unicode edges")
(depends (printbox (= :version))
(uutf (>= 1.0))
(uucp (>= 2.0))
(odoc :with-test)
(mdx (and (>= 1.4) :with-test))))

(package
(name printbox-html)
(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")
(depends (printbox (= :version))
(odoc :with-test)
(tyxml (>= 4.3))
(mdx (and (>= 1.4) :with-test))))
43 changes: 26 additions & 17 deletions printbox-html.opam
Original file line number Diff line number Diff line change
@@ -1,26 +1,35 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
authors: ["Simon Cruanes" "Guillaume Bury"]
maintainer: "simon.cruanes.2007@m4x.org"
version: "0.7"
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
"""
build: [
["dune" "build" "@install" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
]
Printbox allows to print nested boxes, lists, arrays, tables in several formats"""
maintainer: ["c-cube"]
authors: ["Simon Cruanes" "Guillaume Bury"]
license: "BSD-2-Clause"
homepage: "https://github.com/c-cube/printbox"
bug-reports: "https://github.com/c-cube/printbox/issues"
depends: [
"dune" { >= "2.0" }
"odoc" {with-doc}
"dune" {>= "2.0"}
"printbox" {= version}
"tyxml" {>="4.3"}
"mdx" {with-test & >= "1.4" }
"odoc" {with-test}
"tyxml" {>= "4.3"}
"mdx" {>= "1.4" & with-test}
]
build: [
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
license: "BSD-2-Clause"
tags: [ "print" "box" "table" "tree" ]
homepage: "https://github.com/c-cube/printbox/"
dev-repo: "git+https://github.com/c-cube/printbox.git"
bug-reports: "https://github.com/c-cube/printbox/issues/"
45 changes: 26 additions & 19 deletions printbox-text.opam
Original file line number Diff line number Diff line change
@@ -1,25 +1,32 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
authors: ["Simon Cruanes" "Guillaume Bury"]
maintainer: "simon.cruanes.2007@m4x.org"
version: "0.7"
synopsis: "Text renderer for printbox, using unicode edges"
build: [
["dune" "build" "@install" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
]
maintainer: ["c-cube"]
authors: ["Simon Cruanes" "Guillaume Bury"]
license: "BSD-2-Clause"
homepage: "https://github.com/c-cube/printbox"
bug-reports: "https://github.com/c-cube/printbox/issues"
depends: [
"dune" { >= "2.0" }
"base-bytes"
"odoc" {with-doc}
"ocaml" { >= "4.03" }
"printbox" { = version }
"uutf" { >= "1.0" }
"uucp" { >= "2.0" }
"mdx" {with-test & >= "1.4" }
"dune" {>= "2.0"}
"printbox" {= version}
"uutf" {>= "1.0"}
"uucp" {>= "2.0"}
"odoc" {with-test}
"mdx" {>= "1.4" & with-test}
]
build: [
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
license: "BSD-2-Clause"
tags: [ "print" "box" "table" "tree" ]
homepage: "https://github.com/c-cube/printbox/"
dev-repo: "git+https://github.com/c-cube/printbox.git"
bug-reports: "https://github.com/c-cube/printbox/issues/"
40 changes: 25 additions & 15 deletions printbox.opam
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
# This file is generated by dune, edit dune-project instead
opam-version: "2.0"
authors: ["Simon Cruanes" "Guillaume Bury"]
maintainer: "simon.cruanes.2007@m4x.org"
version: "0.7"
synopsis: "Allows to print nested boxes, lists, arrays, tables in several formats"
build: [
["dune" "build" "@install" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
]
synopsis:
"Allows to print nested boxes, lists, arrays, tables in several formats"
maintainer: ["c-cube"]
authors: ["Simon Cruanes" "Guillaume Bury"]
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" { >= "2.0" }
"base-bytes"
"dune" {>= "2.0"}
"ocaml" {>= "4.08"}
"odoc" {with-doc}
"ocaml" { >= "4.08" }
]
license: "BSD-2-Clause"
tags: [ "print" "box" "table" "tree" ]
homepage: "https://github.com/c-cube/printbox/"
build: [
["dune" "subst"] {pinned}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"@install"
"@runtest" {with-test}
"@doc" {with-doc}
]
]
dev-repo: "git+https://github.com/c-cube/printbox.git"
bug-reports: "https://github.com/c-cube/printbox/issues/"

0 comments on commit e89dd0f

Please sign in to comment.