Skip to content

Commit a729888

Browse files
Merge pull request #28372 from jmid/pg_query-bounds
Add `pg_query` bounds
2 parents 9cbedba + cc2ea64 commit a729888

File tree

3 files changed

+7
-3
lines changed
  • packages/pg_query

3 files changed

+7
-3
lines changed

packages/pg_query/pg_query.0.9.6/opam

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ doc: "https://roddyyaga.github.io/pg_query-ocaml/pg_query-ocaml/index.html"
1010
bug-reports: "https://github.com/roddyyaga/pg_query-ocaml/issues"
1111
depends: [
1212
"ocaml" {>= "4.07"}
13+
"ocaml" {< "5.0" & arch = "x86_32"}
1314
"dune" {>= "2.0"}
1415
"cmdliner" {>= "1.0.0"}
1516
"ctypes" {>= "0.14.0"}
16-
"ctypes-foreign"
17+
"ctypes-foreign" {>= "0.14.0"}
1718
"ppx_deriving" {>= "4.2"}
1819
"alcotest" {with-test}
1920
]
@@ -31,6 +32,7 @@ build: [
3132
"@doc" {with-doc}
3233
]
3334
]
35+
available: arch != "arm32" & arch != "arm64" & arch != "riscv64" & arch != "ppc64"
3436
dev-repo: "git+https://github.com/roddyyaga/pg_query-ocaml.git"
3537
url {
3638
src: "https://github.com/roddyyaga/pg_query-ocaml/archive/0.9.6.tar.gz"

packages/pg_query/pg_query.0.9.7/opam

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ doc: "https://roddyyaga.github.io/pg_query-ocaml/pg_query-ocaml/index.html"
1010
bug-reports: "https://github.com/roddyyaga/pg_query-ocaml/issues"
1111
depends: [
1212
"ocaml" {>= "4.07"}
13+
"ocaml" {< "5.0" & (arch = "x86_32" | arch = "arm32")}
1314
"dune" {>= "2.0"}
1415
"cmdliner" {>= "1.0.0"}
1516
"ctypes" {>= "0.14.0"}
16-
"ctypes-foreign"
17+
"ctypes-foreign" {>= "0.14.0"}
1718
"ppx_deriving" {>= "4.2"}
1819
"alcotest" {with-test}
1920
]
@@ -31,6 +32,7 @@ build: [
3132
"@doc" {with-doc}
3233
]
3334
]
35+
available: arch != "riscv64"
3436
dev-repo: "git+https://github.com/roddyyaga/pg_query-ocaml.git"
3537
url {
3638
src: "https://github.com/roddyyaga/pg_query-ocaml/archive/0.9.7.tar.gz"

packages/pg_query/pg_query.0.9.8/opam

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ doc: "https://roddyyaga.github.io/pg_query-ocaml/pg_query-ocaml/index.html"
1010
bug-reports: "https://github.com/roddyyaga/pg_query-ocaml/issues"
1111
depends: [
1212
"ocaml" {>= "4.07"}
13+
"ocaml" {< "5.0" & (arch = "x86_32" | arch = "arm32")}
1314
"dune" {>= "2.0"}
1415
"cmdliner" {>= "1.1.0"}
1516
"ctypes"
1617
"ctypes-foreign" {>= "0.21.1"}
1718
"ppx_deriving"
1819
"alcotest" {with-test}
1920
]
20-
available: arch != "x86_32" & arch != "arm32"
2121
build: [
2222
["dune" "subst"] {dev}
2323
[

0 commit comments

Comments
 (0)