File tree Expand file tree Collapse file tree 4 files changed +29
-18
lines changed Expand file tree Collapse file tree 4 files changed +29
-18
lines changed Original file line number Diff line number Diff line change 1
- (lang dune 1 .10 )
1
+ (lang dune 2 .7 )
2
2
(name postgresql)
3
3
4
4
( generate_opam_files true )
5
5
6
6
( source ( github mmottl/postgresql-ocaml) )
7
- ( license " LGPL-2.1+ with OCaml linking exception" )
7
+ ( license " LGPL-2.1-or-later with OCaml-LGPL- linking- exception" )
8
8
( homepage " https://mmottl.github.io/postgresql-ocaml" )
9
9
( documentation " https://mmottl.github.io/postgresql-ocaml/api" )
10
10
23
23
Postgresql offers library functions for accessing PostgreSQL databases." )
24
24
( depends
25
25
( ocaml ( >= 4 .08) )
26
- ( dune ( >= 1 .10) )
27
26
dune-configurator
28
27
( conf-postgresql :build )
29
28
base-bytes
Original file line number Diff line number Diff line change 1
1
(executables
2
2
(names async binary copy cursor dump populate prompt test_lo)
3
3
(libraries postgresql)
4
+ (modes byte exe)
4
5
)
Original file line number Diff line number Diff line change 1
1
# This file is generated by dune, edit dune-project instead
2
2
opam-version: "2.0"
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
- ]
3
+ synopsis: "Bindings to the PostgreSQL library"
4
+ description:
5
+ "Postgresql offers library functions for accessing PostgreSQL databases."
9
6
maintainer: ["Markus Mottl <
[email protected] >"]
10
7
authors: [
11
8
"Alain Frisch <
[email protected] >"
12
9
"Markus Mottl <
[email protected] >"
13
10
"Petter Urkedal <
[email protected] >"
14
11
]
15
- bug-reports : "https://github.com/mmottl/postgresql-ocaml/issues "
12
+ license : "LGPL-2.1-or-later with OCaml-LGPL-linking-exception "
16
13
homepage: "https://mmottl.github.io/postgresql-ocaml"
17
14
doc: "https://mmottl.github.io/postgresql-ocaml/api"
18
- license: "LGPL-2.1+ with OCaml linking exception"
19
- dev-repo: "git+https://github.com/mmottl/postgresql-ocaml.git"
20
- synopsis: "Bindings to the PostgreSQL library"
21
- description:
22
- "Postgresql offers library functions for accessing PostgreSQL databases."
15
+ bug-reports: "https://github.com/mmottl/postgresql-ocaml/issues"
23
16
depends: [
17
+ "dune" {>= "2.7"}
24
18
"ocaml" {>= "4.08"}
25
- "dune" {>= "1.10"}
26
19
"dune-configurator"
27
20
"conf-postgresql" {build}
28
21
"base-bytes"
22
+ "odoc" {with-doc}
29
23
]
24
+ build: [
25
+ ["dune" "subst"] {dev}
26
+ [
27
+ "dune"
28
+ "build"
29
+ "-p"
30
+ name
31
+ "-j"
32
+ jobs
33
+ "@install"
34
+ "@runtest" {with-test}
35
+ "@doc" {with-doc}
36
+ ]
37
+ ]
38
+ dev-repo: "git+https://github.com/mmottl/postgresql-ocaml.git"
Original file line number Diff line number Diff line change 1
1
(library
2
2
(public_name postgresql)
3
- (c_names postgresql_stubs)
4
- (c_flags (:standard) (:include c_flags.sexp) -O2 -fPIC -DPIC)
3
+ (foreign_stubs
4
+ (language c)
5
+ (names postgresql_stubs)
6
+ (flags (:standard) (:include c_flags.sexp) -O2 -fPIC -DPIC))
5
7
(c_library_flags (:include c_library_flags.sexp))
6
8
(libraries threads bigarray)
7
9
)
You can’t perform that action at this time.
0 commit comments