Skip to content

Commit 2b09dd1

Browse files
authored
Merge pull request #24511 from vouillon/opam-publish-pgocaml.4.4.0
2 packages from darioteixeira/pgocaml at 4.4.0
2 parents 6ce2e71 + d27ee2b commit 2b09dd1

File tree

5 files changed

+71
-3
lines changed
  • packages
    • macaque
    • pgocaml_ppx/pgocaml_ppx.4.4.0
    • pgocaml/pgocaml.4.4.0

5 files changed

+71
-3
lines changed

packages/macaque/macaque.0.7.2/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ remove: [
2424
depends: [
2525
"ocaml"
2626
"ocamlfind" {build}
27-
"pgocaml" {>= "2.2"}
27+
"pgocaml" {>= "2.2" & < "4.4.0"}
2828
"camlp4"
2929
"ocamlbuild" {build}
3030
]

packages/macaque/macaque.0.7.4/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ remove: ["ocamlfind" "remove" "macaque"]
1313
depends: [
1414
"ocaml"
1515
"ocamlfind" {build}
16-
"pgocaml" {>= "2.2"}
16+
"pgocaml" {>= "2.2" & < "4.4.0"}
1717
"oasis" {build & >= "0.4.4"}
1818
"camlp4"
1919
]

packages/macaque/macaque.0.8/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ install: [ make "install" ]
1212
depends: [
1313
"ocaml"
1414
"ocamlfind" {build}
15-
"pgocaml" {>= "2.2"}
15+
"pgocaml" {>= "2.2" & < "4.4.0"}
1616
"oasis" {>= "0.4.4"}
1717
"camlp4"
1818
]
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
opam-version: "2.0"
2+
synopsis: "Native OCaml interface to PostgreSQL databases"
3+
description: """
4+
PGOCaml provides an interface to PostgreSQL databases for OCaml applications.
5+
Note that it speaks the PostgreSQL wire protocol directly, and therefore does
6+
not need to create bindings to the PostgreSQL libpq C library.
7+
The PPX syntax extension is now packaged separately as 'pgocaml_ppx'.
8+
You will want to take a look at it if you're considering using PGOCaml.
9+
"""
10+
maintainer: "[email protected]"
11+
authors: ["Richard W.M. Jones <[email protected]>"]
12+
homepage: "https://github.com/darioteixeira/pgocaml"
13+
bug-reports: "https://github.com/darioteixeira/pgocaml/issues"
14+
dev-repo: "git+https://github.com/darioteixeira/pgocaml.git"
15+
license: "LGPL-2.0-only with OCaml-LGPL-linking-exception"
16+
build: [["dune" "build" "-p" name "-j" jobs]]
17+
depends: [
18+
"calendar" {>= "2.0"}
19+
"camlp-streams"
20+
"csv"
21+
"dune" {>= "1.10"}
22+
"hex"
23+
"ocaml" {>= "4.07"}
24+
"ppx_sexp_conv"
25+
"re" {>= "1.5.0"}
26+
"ppx_deriving" {>= "4.2"}
27+
"rresult"
28+
"sexplib"
29+
]
30+
url {
31+
src:
32+
"https://github.com/darioteixeira/pgocaml/archive/refs/tags/v4.4.0.tar.gz"
33+
checksum: [
34+
"md5=efdcb7b660e45a67c1e261849a16e5e0"
35+
"sha512=0b200510ec6f7ab1f8fb4f98f9d792e6a2a7b446028926ee6d04b4b66130e580b4be4a018027c1e07e41fa78a569ed8a6c316638398d8c5b85d369aef12f77ef"
36+
]
37+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
opam-version: "2.0"
2+
synopsis: "PPX extension for PGOCaml"
3+
description: """
4+
PGOCaml provides an interface to PostgreSQL databases for OCaml applications.
5+
This PPX syntax extension enables one to directly embed SQL statements inside
6+
the OCaml code. The extension uses the 'describe' feature of PostgreSQL to
7+
obtain type information about the database. This allows PGOCaml to check at
8+
compile-time if the program is indeed consistent with the database structure.
9+
"""
10+
maintainer: "[email protected]"
11+
authors: ["Richard W.M. Jones <[email protected]>"]
12+
homepage: "https://github.com/darioteixeira/pgocaml"
13+
bug-reports: "https://github.com/darioteixeira/pgocaml/issues"
14+
dev-repo: "git+https://github.com/darioteixeira/pgocaml.git"
15+
license: "LGPL-2.0-only with OCaml-LGPL-linking-exception"
16+
build: [["dune" "build" "-p" name "-j" jobs]]
17+
depends: [
18+
"dune" {>= "1.10"}
19+
"ocaml" {>= "4.07"}
20+
"pgocaml" {= version}
21+
"ppxlib" {>= "0.16.0"}
22+
"ppx_optcomp"
23+
]
24+
url {
25+
src:
26+
"https://github.com/darioteixeira/pgocaml/archive/refs/tags/v4.4.0.tar.gz"
27+
checksum: [
28+
"md5=efdcb7b660e45a67c1e261849a16e5e0"
29+
"sha512=0b200510ec6f7ab1f8fb4f98f9d792e6a2a7b446028926ee6d04b4b66130e580b4be4a018027c1e07e41fa78a569ed8a6c316638398d8c5b85d369aef12f77ef"
30+
]
31+
}

0 commit comments

Comments
 (0)