Skip to content

Commit 65e0b16

Browse files
committed
Updated distribution files
1 parent 728bd5d commit 65e0b16

File tree

3 files changed

+55
-17
lines changed

3 files changed

+55
-17
lines changed

CHANGES.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
### 4.5.2 (2019-10-28)
2+
3+
* Switched from `caml_alloc_custom` to `caml_alloc_custom_mem`.
4+
5+
This should improve memory usage and GC performance.
6+
7+
* Switched to OPAM file generation via `dune-project`
8+
9+
110
### 4.5.1 (2019-10-11)
211

312
* Fixed warnings in C-stubs

dune-project

+31-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,32 @@
1-
(lang dune 1.7)
1+
(lang dune 1.10)
22
(name postgresql)
3+
4+
(generate_opam_files true)
5+
6+
(source (github mmottl/postgresql-ocaml))
7+
(license "LGPL-2.1+ with OCaml linking exception")
8+
(homepage "https://mmottl.github.io/postgresql-ocaml")
9+
(documentation "https://mmottl.github.io/postgresql-ocaml/api")
10+
11+
(maintainers "Markus Mottl <[email protected]>")
12+
13+
(authors
14+
"Alain Frisch <[email protected]>"
15+
"Markus Mottl <[email protected]>"
16+
"Petter Urkedal <[email protected]>"
17+
)
18+
19+
(package
20+
(name postgresql)
21+
(synopsis "Bindings to the PostgreSQL library")
22+
(description "\
23+
Postgresql offers library functions for accessing PostgreSQL databases.")
24+
(depends
25+
(ocaml (>= 4.08))
26+
(dune (>= 1.10))
27+
(base :build)
28+
(stdio :build)
29+
(conf-postgresql :build)
30+
base-bytes
31+
)
32+
)

postgresql.opam

+15-16
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,30 @@
1+
# This file is generated by dune, edit dune-project instead
12
opam-version: "2.0"
2-
maintainer: "Markus Mottl <[email protected]>"
3+
build: [
4+
["dune" "subst"] {pinned}
5+
["dune" "build" "-p" name "-j" jobs]
6+
["dune" "runtest" "-p" name "-j" jobs] {with-test}
7+
["dune" "build" "-p" name "@doc"] {with-doc}
8+
]
9+
maintainer: ["Markus Mottl <[email protected]>"]
310
authors: [
411
"Alain Frisch <[email protected]>"
512
"Markus Mottl <[email protected]>"
613
"Petter Urkedal <[email protected]>"
714
]
8-
license: "LGPL-2.1+ with OCaml linking exception"
15+
bug-reports: "https://github.com/mmottl/postgresql-ocaml/issues"
916
homepage: "https://mmottl.github.io/postgresql-ocaml"
1017
doc: "https://mmottl.github.io/postgresql-ocaml/api"
18+
license: "LGPL-2.1+ with OCaml linking exception"
1119
dev-repo: "git+https://github.com/mmottl/postgresql-ocaml.git"
12-
bug-reports: "https://github.com/mmottl/postgresql-ocaml/issues"
13-
14-
build: [
15-
["dune" "subst"] {pinned}
16-
["dune" "build" "-p" name "-j" jobs]
17-
]
18-
20+
synopsis: "Bindings to the PostgreSQL library"
21+
description:
22+
"Postgresql offers library functions for accessing PostgreSQL databases."
1923
depends: [
2024
"ocaml" {>= "4.08"}
21-
"dune" {>= "1.7.0"}
25+
"dune" {>= "1.10"}
2226
"base" {build}
2327
"stdio" {build}
24-
"base-bytes"
2528
"conf-postgresql" {build}
29+
"base-bytes"
2630
]
27-
28-
synopsis: "Bindings to the PostgreSQL library"
29-
30-
description: """
31-
Postgresql offers library functions for accessing PostgreSQL databases."""

0 commit comments

Comments
 (0)