Skip to content

Commit a61d7cc

Browse files
committed
[new release] csv, csvtool and csv-lwt (2.3)
CHANGES: - Be compatible with OCaml ≥ 4.08 (fixes Chris00/ocaml-csv#28). - Put `csvtool` in its own package. - Use UTF-8 to determine column widths for the "readable" format (fixes Chris00/ocaml-csv#21). - Add deprecation attributes. - Fix alignment in `csvtool` usage message. - Small improvements to the documentation.
1 parent 81b59e9 commit a61d7cc

File tree

3 files changed

+108
-0
lines changed
  • packages
    • csv/csv.2.3
    • csv-lwt/csv-lwt.2.3
    • csvtool/csvtool.2.3

3 files changed

+108
-0
lines changed

packages/csv-lwt/csv-lwt.2.3/opam

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
opam-version: "2.0"
2+
maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
3+
authors: ["Richard Jones"
4+
"Christophe Troestler"]
5+
tags: ["csv" "database" "science"]
6+
license: "LGPL-2.1 with OCaml linking exception"
7+
homepage: "https://github.com/Chris00/ocaml-csv"
8+
dev-repo: "git+https://github.com/Chris00/ocaml-csv.git"
9+
bug-reports: "https://github.com/Chris00/ocaml-csv/issues"
10+
doc: "https://Chris00.github.io/ocaml-csv/doc"
11+
build: [
12+
["dune" "subst"] {pinned}
13+
["dune" "build" "-p" name "-j" jobs]
14+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
15+
]
16+
depends: [
17+
"ocaml" {>= "4.03.0"}
18+
"csv"
19+
"dune" {build}
20+
"base-bytes"
21+
"base-unix"
22+
"lwt"
23+
]
24+
synopsis: "A pure OCaml library to read and write CSV files, LWT version"
25+
description: """
26+
This is a pure OCaml library to read and write CSV files, including
27+
all extensions used by Excel — e.g. quotes, newlines, 8 bit characters
28+
in fields, \"0 etc. A special representation of rows of CSV files with
29+
a header is provided. This version can be used with the monadic
30+
concurrency library LWT."""
31+
url {
32+
src:
33+
"https://github.com/Chris00/ocaml-csv/releases/download/2.3/csv-2.3.tbz"
34+
checksum: [
35+
"sha256=c8ebfd6983b70f5aefc870518c63b5bb8d2528a725f302025ade7624164a31ca"
36+
"sha512=19fd820b1b0cf4a3308c1380aa94249c8709f1800d2f8c959971d244ce7462a6074dbd7274c21cd6da40dd122082b55619dc634abc9e04d89d57b301a1ea5f3c"
37+
]
38+
}

packages/csv/csv.2.3/opam

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
opam-version: "2.0"
2+
maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
3+
authors: [ "Richard Jones"
4+
"Christophe Troestler" ]
5+
tags: ["csv" "database" "science"]
6+
license: "LGPL-2.1 with OCaml linking exception"
7+
homepage: "https://github.com/Chris00/ocaml-csv"
8+
dev-repo: "git+https://github.com/Chris00/ocaml-csv.git"
9+
bug-reports: "https://github.com/Chris00/ocaml-csv/issues"
10+
doc: "https://Chris00.github.io/ocaml-csv/doc"
11+
build: [
12+
["dune" "subst"] {pinned}
13+
["dune" "build" "-p" name "-j" jobs]
14+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
15+
]
16+
depends: [
17+
"ocaml" {>= "4.03.0"}
18+
"dune" {build}
19+
"base-bytes"
20+
"base-unix"
21+
]
22+
synopsis: "A pure OCaml library to read and write CSV files"
23+
description: """
24+
This is a pure OCaml library to read and write CSV files, including
25+
all extensions used by Excel — e.g. quotes, newlines, 8 bit characters
26+
in fields, \"0 etc. A special representation of rows of CSV files with
27+
a header is provided."""
28+
url {
29+
src:
30+
"https://github.com/Chris00/ocaml-csv/releases/download/2.3/csv-2.3.tbz"
31+
checksum: [
32+
"sha256=c8ebfd6983b70f5aefc870518c63b5bb8d2528a725f302025ade7624164a31ca"
33+
"sha512=19fd820b1b0cf4a3308c1380aa94249c8709f1800d2f8c959971d244ce7462a6074dbd7274c21cd6da40dd122082b55619dc634abc9e04d89d57b301a1ea5f3c"
34+
]
35+
}

packages/csvtool/csvtool.2.3/opam

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
opam-version: "2.0"
2+
maintainer: "Christophe Troestler <Christophe.Troestler@umons.ac.be>"
3+
authors: [ "Richard Jones"
4+
"Christophe Troestler" ]
5+
tags: ["csv" "database" "science"]
6+
license: "LGPL-2.1 with OCaml linking exception"
7+
homepage: "https://github.com/Chris00/ocaml-csv"
8+
dev-repo: "git+https://github.com/Chris00/ocaml-csv.git"
9+
bug-reports: "https://github.com/Chris00/ocaml-csv/issues"
10+
doc: "https://Chris00.github.io/ocaml-csv/doc"
11+
build: [
12+
["dune" "subst"] {pinned}
13+
["dune" "build" "-p" name "-j" jobs]
14+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
15+
]
16+
depends: [
17+
"ocaml" {>= "4.03.0"}
18+
"dune" {build}
19+
"base-bytes"
20+
"base-unix"
21+
"csv" {= version}
22+
"uutf"
23+
]
24+
synopsis: "Command line tool for handling CSV files"
25+
description: """
26+
This is a handy command line tool for handling CSV files from shell
27+
scripts based on the library `csv`."""
28+
url {
29+
src:
30+
"https://github.com/Chris00/ocaml-csv/releases/download/2.3/csv-2.3.tbz"
31+
checksum: [
32+
"sha256=c8ebfd6983b70f5aefc870518c63b5bb8d2528a725f302025ade7624164a31ca"
33+
"sha512=19fd820b1b0cf4a3308c1380aa94249c8709f1800d2f8c959971d244ce7462a6074dbd7274c21cd6da40dd122082b55619dc634abc9e04d89d57b301a1ea5f3c"
34+
]
35+
}

0 commit comments

Comments
 (0)