diff --git a/packages/kinetic-client/kinetic-client.0.0.11/opam b/packages/kinetic-client/kinetic-client.0.0.11/opam index d93e155d968..e2b60603fe2 100644 --- a/packages/kinetic-client/kinetic-client.0.0.11/opam +++ b/packages/kinetic-client/kinetic-client.0.0.11/opam @@ -14,7 +14,7 @@ build: [ depends: [ "ocaml" {>= "4.04"} "dune" {>= "1.1.0"} - "ocaml-protoc" {>= "1.2.0"} + "ocaml-protoc" {>= "1.2.0" & < "3.0.0"} "lwt" {>= "3.2.0"} "lwt_log" "lwt_ssl" diff --git a/packages/ocaml-protoc/ocaml-protoc.3.0.0/opam b/packages/ocaml-protoc/ocaml-protoc.3.0.0/opam new file mode 100644 index 00000000000..edc389f0243 --- /dev/null +++ b/packages/ocaml-protoc/ocaml-protoc.3.0.0/opam @@ -0,0 +1,41 @@ +opam-version: "2.0" +synopsis: "Pure OCaml compiler for .proto files" +maintainer: ["Maxime Ransan " "Simon Cruanes"] +authors: ["Maxime Ransan " "Simon Cruanes"] +license: "MIT" +tags: ["protoc" "protobuf" "codegen"] +homepage: "https://github.com/mransan/ocaml-protoc" +bug-reports: "https://github.com/mransan/ocaml-protoc/issues" +depends: [ + "dune" {>= "2.0"} + "odoc" {with-doc} + "pbrt" {= version} + "pbrt_yojson" {= version & with-test} + "pbrt_services" {= version & with-test} + "ocaml" {>= "4.08"} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +available: arch != "arm32" & arch != "x86_32" & arch != "ppc32" & arch != "ppc64" +dev-repo: "git+https://github.com/mransan/ocaml-protoc.git" +url { + src: + "https://github.com/mransan/ocaml-protoc/releases/download/v3.0.0/ocaml-protoc-3.0.0.tbz" + checksum: [ + "sha256=923b651cf0f400b5ee2fd1d05798a408b4c0a378aab655e4c2618bcce3fd7bff" + "sha512=5a1c80115e111f3d4e9384feb9a1a49375d06b11538cdfd388cb4d8a2cb1bb7ae6201d0555daf970be40a017cbb30819e7bec9875a418f5f316b0115999827df" + ] +} +x-commit-hash: "6f4bea038088774722ce17421758832c06b19890" diff --git a/packages/opentelemetry/opentelemetry.0.2/opam b/packages/opentelemetry/opentelemetry.0.2/opam index 6d45e2d583c..d8bfa258f99 100644 --- a/packages/opentelemetry/opentelemetry.0.2/opam +++ b/packages/opentelemetry/opentelemetry.0.2/opam @@ -13,8 +13,8 @@ depends: [ "ocaml" {>= "4.08"} "ptime" "odoc" {with-doc} - "ocaml-protoc" {>= "2.2"} - "pbrt" {>= "2.2"} + "ocaml-protoc" {>= "2.2" & < "3.0.0"} + "pbrt" {>= "2.2" & < "3.0.0"} ] build: [ ["dune" "subst"] {dev} diff --git a/packages/opentelemetry/opentelemetry.0.3/opam b/packages/opentelemetry/opentelemetry.0.3/opam index 7547ba0c4d0..a6e557a751c 100644 --- a/packages/opentelemetry/opentelemetry.0.3/opam +++ b/packages/opentelemetry/opentelemetry.0.3/opam @@ -13,8 +13,8 @@ depends: [ "ocaml" {>= "4.08"} "ptime" "odoc" {with-doc} - "ocaml-protoc" {>= "2.2"} - "pbrt" {>= "2.2"} + "ocaml-protoc" {>= "2.2" & < "3.0.0"} + "pbrt" {>= "2.2" & < "3.0.0"} ] build: [ ["dune" "subst"] {dev} diff --git a/packages/opentelemetry/opentelemetry.0.4/opam b/packages/opentelemetry/opentelemetry.0.4/opam index 05557e4ce80..797f90618a0 100644 --- a/packages/opentelemetry/opentelemetry.0.4/opam +++ b/packages/opentelemetry/opentelemetry.0.4/opam @@ -12,7 +12,7 @@ depends: [ "ocaml" {>= "4.08"} "ptime" "odoc" {with-doc} - "pbrt" {>= "2.3"} + "pbrt" {>= "2.3" & < "3.0.0"} ] build: [ ["dune" "subst"] {dev} diff --git a/packages/opentelemetry/opentelemetry.0.5/opam b/packages/opentelemetry/opentelemetry.0.5/opam index ccc0bed37ae..e213bac9a0f 100644 --- a/packages/opentelemetry/opentelemetry.0.5/opam +++ b/packages/opentelemetry/opentelemetry.0.5/opam @@ -11,7 +11,7 @@ depends: [ "ocaml" {>= "4.08"} "ptime" "odoc" {with-doc} - "pbrt" {>= "2.3"} + "pbrt" {>= "2.3" & < "3.0.0"} ] depopts: [ "trace" diff --git a/packages/opentelemetry/opentelemetry.0.6/opam b/packages/opentelemetry/opentelemetry.0.6/opam index c10222f3f63..23743784cdc 100644 --- a/packages/opentelemetry/opentelemetry.0.6/opam +++ b/packages/opentelemetry/opentelemetry.0.6/opam @@ -19,7 +19,7 @@ depends: [ "alcotest" {with-test} "opentelemetry-client-cohttp-lwt" {with-test & = version} "opentelemetry-client-ocurl" {with-test & = version} - "pbrt" {>= "2.3"} + "pbrt" {>= "2.3" & < "3.0.0"} "ocaml-lsp-server" {with-dev-setup} "ocamlformat" {with-dev-setup & >= "0.24" & < "0.25"} ] diff --git a/packages/pbrt/pbrt.3.0.0/opam b/packages/pbrt/pbrt.3.0.0/opam new file mode 100644 index 00000000000..fe38bdfaeec --- /dev/null +++ b/packages/pbrt/pbrt.3.0.0/opam @@ -0,0 +1,38 @@ +opam-version: "2.0" +synopsis: "Runtime library for Protobuf tooling" +maintainer: ["Maxime Ransan " "Simon Cruanes"] +authors: ["Maxime Ransan " "Simon Cruanes"] +license: "MIT" +tags: ["protobuf" "encode" "decode"] +homepage: "https://github.com/mransan/ocaml-protoc" +bug-reports: "https://github.com/mransan/ocaml-protoc/issues" +depends: [ + "dune" {>= "2.0"} + "stdlib-shims" + "odoc" {with-doc} + "ocaml" {>= "4.08"} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/mransan/ocaml-protoc.git" +url { + src: + "https://github.com/mransan/ocaml-protoc/releases/download/v3.0.0/ocaml-protoc-3.0.0.tbz" + checksum: [ + "sha256=923b651cf0f400b5ee2fd1d05798a408b4c0a378aab655e4c2618bcce3fd7bff" + "sha512=5a1c80115e111f3d4e9384feb9a1a49375d06b11538cdfd388cb4d8a2cb1bb7ae6201d0555daf970be40a017cbb30819e7bec9875a418f5f316b0115999827df" + ] +} +x-commit-hash: "6f4bea038088774722ce17421758832c06b19890" diff --git a/packages/pbrt_services/pbrt_services.3.0.0/opam b/packages/pbrt_services/pbrt_services.3.0.0/opam new file mode 100644 index 00000000000..6dab5f085ab --- /dev/null +++ b/packages/pbrt_services/pbrt_services.3.0.0/opam @@ -0,0 +1,38 @@ +opam-version: "2.0" +synopsis: "Runtime library for ocaml-protoc to support RPC services" +maintainer: ["Maxime Ransan " "Simon Cruanes"] +authors: ["Maxime Ransan " "Simon Cruanes"] +license: "MIT" +tags: ["protobuf" "encode" "decode" "services" "rpc"] +homepage: "https://github.com/mransan/ocaml-protoc" +bug-reports: "https://github.com/mransan/ocaml-protoc/issues" +depends: [ + "dune" {>= "2.0"} + "ocaml" {>= "4.08"} + "pbrt" {= version} + "pbrt_yojson" {= version} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/mransan/ocaml-protoc.git" +url { + src: + "https://github.com/mransan/ocaml-protoc/releases/download/v3.0.0/ocaml-protoc-3.0.0.tbz" + checksum: [ + "sha256=923b651cf0f400b5ee2fd1d05798a408b4c0a378aab655e4c2618bcce3fd7bff" + "sha512=5a1c80115e111f3d4e9384feb9a1a49375d06b11538cdfd388cb4d8a2cb1bb7ae6201d0555daf970be40a017cbb30819e7bec9875a418f5f316b0115999827df" + ] +} +x-commit-hash: "6f4bea038088774722ce17421758832c06b19890" diff --git a/packages/pbrt_yojson/pbrt_yojson.3.0.0/opam b/packages/pbrt_yojson/pbrt_yojson.3.0.0/opam new file mode 100644 index 00000000000..d1bb82a7cd2 --- /dev/null +++ b/packages/pbrt_yojson/pbrt_yojson.3.0.0/opam @@ -0,0 +1,40 @@ +opam-version: "2.0" +synopsis: + "Runtime library for ocaml-protoc to support JSON encoding/decoding" +maintainer: ["Maxime Ransan " "Simon Cruanes"] +authors: ["Maxime Ransan " "Simon Cruanes"] +license: "MIT" +tags: ["protobuf" "encode" "decode"] +homepage: "https://github.com/mransan/ocaml-protoc" +bug-reports: "https://github.com/mransan/ocaml-protoc/issues" +depends: [ + "dune" {>= "2.0"} + "ocaml" {>= "4.08"} + "odoc" {with-doc} + "yojson" {>= "1.6"} + "base64" {>= "3.0"} +] +build: [ + ["dune" "subst"] {dev} + [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} + ] +] +dev-repo: "git+https://github.com/mransan/ocaml-protoc.git" +url { + src: + "https://github.com/mransan/ocaml-protoc/releases/download/v3.0.0/ocaml-protoc-3.0.0.tbz" + checksum: [ + "sha256=923b651cf0f400b5ee2fd1d05798a408b4c0a378aab655e4c2618bcce3fd7bff" + "sha512=5a1c80115e111f3d4e9384feb9a1a49375d06b11538cdfd388cb4d8a2cb1bb7ae6201d0555daf970be40a017cbb30819e7bec9875a418f5f316b0115999827df" + ] +} +x-commit-hash: "6f4bea038088774722ce17421758832c06b19890"