Skip to content

Commit e89dd0f

Browse files
committed
auto generate opam files
1 parent 0042650 commit e89dd0f

File tree

4 files changed

+110
-51
lines changed

4 files changed

+110
-51
lines changed

dune-project

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,35 @@
11
(lang dune 2.0)
22
(name printbox)
3+
(generate_opam_files true)
4+
(version 0.7)
5+
(license "BSD-2-Clause")
6+
7+
(authors "Simon Cruanes" "Guillaume Bury")
8+
(maintainers c-cube)
9+
(source (github c-cube/printbox))
10+
11+
(package
12+
(name printbox)
13+
(synopsis "Allows to print nested boxes, lists, arrays, tables in several formats")
14+
(depends (ocaml (>= 4.08)) (odoc :with-doc))
15+
(tags ("print" "box" "table" "tree")))
16+
17+
(package
18+
(name printbox-text)
19+
(synopsis "Text renderer for printbox, using unicode edges")
20+
(depends (printbox (= :version))
21+
(uutf (>= 1.0))
22+
(uucp (>= 2.0))
23+
(odoc :with-test)
24+
(mdx (and (>= 1.4) :with-test))))
25+
26+
(package
27+
(name printbox-html)
28+
(synopsis "Printbox unicode handling")
29+
(description "
30+
Adds html output handling to the printbox package.
31+
Printbox allows to print nested boxes, lists, arrays, tables in several formats")
32+
(depends (printbox (= :version))
33+
(odoc :with-test)
34+
(tyxml (>= 4.3))
35+
(mdx (and (>= 1.4) :with-test))))

printbox-html.opam

Lines changed: 26 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,35 @@
1+
# This file is generated by dune, edit dune-project instead
12
opam-version: "2.0"
2-
authors: ["Simon Cruanes" "Guillaume Bury"]
3-
maintainer: "simon.cruanes.2007@m4x.org"
43
version: "0.7"
54
synopsis: "Printbox unicode handling"
65
description: """
6+
77
Adds html output handling to the printbox package.
8-
Printbox allows to print nested boxes, lists, arrays, tables in several formats
9-
"""
10-
build: [
11-
["dune" "build" "@install" "-p" name "-j" jobs]
12-
["dune" "runtest" "-p" name "-j" jobs] {with-test}
13-
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
14-
]
8+
Printbox allows to print nested boxes, lists, arrays, tables in several formats"""
9+
maintainer: ["c-cube"]
10+
authors: ["Simon Cruanes" "Guillaume Bury"]
11+
license: "BSD-2-Clause"
12+
homepage: "https://github.com/c-cube/printbox"
13+
bug-reports: "https://github.com/c-cube/printbox/issues"
1514
depends: [
16-
"dune" { >= "2.0" }
17-
"odoc" {with-doc}
15+
"dune" {>= "2.0"}
1816
"printbox" {= version}
19-
"tyxml" {>="4.3"}
20-
"mdx" {with-test & >= "1.4" }
17+
"odoc" {with-test}
18+
"tyxml" {>= "4.3"}
19+
"mdx" {>= "1.4" & with-test}
20+
]
21+
build: [
22+
["dune" "subst"] {pinned}
23+
[
24+
"dune"
25+
"build"
26+
"-p"
27+
name
28+
"-j"
29+
jobs
30+
"@install"
31+
"@runtest" {with-test}
32+
"@doc" {with-doc}
33+
]
2134
]
22-
license: "BSD-2-Clause"
23-
tags: [ "print" "box" "table" "tree" ]
24-
homepage: "https://github.com/c-cube/printbox/"
2535
dev-repo: "git+https://github.com/c-cube/printbox.git"
26-
bug-reports: "https://github.com/c-cube/printbox/issues/"

printbox-text.opam

Lines changed: 26 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,32 @@
1+
# This file is generated by dune, edit dune-project instead
12
opam-version: "2.0"
2-
authors: ["Simon Cruanes" "Guillaume Bury"]
3-
maintainer: "simon.cruanes.2007@m4x.org"
43
version: "0.7"
54
synopsis: "Text renderer for printbox, using unicode edges"
6-
build: [
7-
["dune" "build" "@install" "-p" name "-j" jobs]
8-
["dune" "runtest" "-p" name "-j" jobs] {with-test}
9-
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
10-
]
5+
maintainer: ["c-cube"]
6+
authors: ["Simon Cruanes" "Guillaume Bury"]
7+
license: "BSD-2-Clause"
8+
homepage: "https://github.com/c-cube/printbox"
9+
bug-reports: "https://github.com/c-cube/printbox/issues"
1110
depends: [
12-
"dune" { >= "2.0" }
13-
"base-bytes"
14-
"odoc" {with-doc}
15-
"ocaml" { >= "4.03" }
16-
"printbox" { = version }
17-
"uutf" { >= "1.0" }
18-
"uucp" { >= "2.0" }
19-
"mdx" {with-test & >= "1.4" }
11+
"dune" {>= "2.0"}
12+
"printbox" {= version}
13+
"uutf" {>= "1.0"}
14+
"uucp" {>= "2.0"}
15+
"odoc" {with-test}
16+
"mdx" {>= "1.4" & with-test}
17+
]
18+
build: [
19+
["dune" "subst"] {pinned}
20+
[
21+
"dune"
22+
"build"
23+
"-p"
24+
name
25+
"-j"
26+
jobs
27+
"@install"
28+
"@runtest" {with-test}
29+
"@doc" {with-doc}
30+
]
2031
]
21-
license: "BSD-2-Clause"
22-
tags: [ "print" "box" "table" "tree" ]
23-
homepage: "https://github.com/c-cube/printbox/"
2432
dev-repo: "git+https://github.com/c-cube/printbox.git"
25-
bug-reports: "https://github.com/c-cube/printbox/issues/"

printbox.opam

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,31 @@
1+
# This file is generated by dune, edit dune-project instead
12
opam-version: "2.0"
2-
authors: ["Simon Cruanes" "Guillaume Bury"]
3-
maintainer: "simon.cruanes.2007@m4x.org"
43
version: "0.7"
5-
synopsis: "Allows to print nested boxes, lists, arrays, tables in several formats"
6-
build: [
7-
["dune" "build" "@install" "-p" name "-j" jobs]
8-
["dune" "runtest" "-p" name "-j" jobs] {with-test}
9-
["dune" "build" "@doc" "-p" name "-j" jobs] {with-doc}
10-
]
4+
synopsis:
5+
"Allows to print nested boxes, lists, arrays, tables in several formats"
6+
maintainer: ["c-cube"]
7+
authors: ["Simon Cruanes" "Guillaume Bury"]
8+
license: "BSD-2-Clause"
9+
tags: ["print" "box" "table" "tree"]
10+
homepage: "https://github.com/c-cube/printbox"
11+
bug-reports: "https://github.com/c-cube/printbox/issues"
1112
depends: [
12-
"dune" { >= "2.0" }
13-
"base-bytes"
13+
"dune" {>= "2.0"}
14+
"ocaml" {>= "4.08"}
1415
"odoc" {with-doc}
15-
"ocaml" { >= "4.08" }
1616
]
17-
license: "BSD-2-Clause"
18-
tags: [ "print" "box" "table" "tree" ]
19-
homepage: "https://github.com/c-cube/printbox/"
17+
build: [
18+
["dune" "subst"] {pinned}
19+
[
20+
"dune"
21+
"build"
22+
"-p"
23+
name
24+
"-j"
25+
jobs
26+
"@install"
27+
"@runtest" {with-test}
28+
"@doc" {with-doc}
29+
]
30+
]
2031
dev-repo: "git+https://github.com/c-cube/printbox.git"
21-
bug-reports: "https://github.com/c-cube/printbox/issues/"

0 commit comments

Comments
 (0)