From dbd8b95466950e64d150d4681aedce62d561bef8 Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Sun, 3 Feb 2019 17:35:25 +0000 Subject: [PATCH 1/2] [new release] base64 (3.1.0) CHANGES: * Add `Base64.encode_string` that doesn't raise or return an error. This makes it easier to port pre-3.0 code to the new interface (mirage/ocaml-base64#26 @avsm) --- packages/base64/base64.3.1.0/opam | 33 +++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 packages/base64/base64.3.1.0/opam diff --git a/packages/base64/base64.3.1.0/opam b/packages/base64/base64.3.1.0/opam new file mode 100644 index 000000000000..dbdf8a4a81d5 --- /dev/null +++ b/packages/base64/base64.3.1.0/opam @@ -0,0 +1,33 @@ +opam-version: "2.0" +maintainer: "mirageos-devel@lists.xenproject.org" +authors: [ "Thomas Gazagnaire" + "Anil Madhavapeddy" + "Peter Zotov" ] +license: "ISC" +homepage: "https://github.com/mirage/ocaml-base64" +doc: "http://mirage.github.io/ocaml-base64/" +bug-reports: "https://github.com/mirage/ocaml-base64/issues" +dev-repo: "git+https://github.com/mirage/ocaml-base64.git" +synopsis: "Base64 encoding for OCaml" +description: """ +Base64 is a group of similar binary-to-text encoding schemes that represent +binary data in an ASCII string format by translating it into a radix-64 +representation. It is specified in RFC 4648. +""" +depends: [ + "base-bytes" + "dune" {build & >= "1.0.1"} + "bos" {with-test} + "rresult" {with-test} + "alcotest" {with-test} +] +build: [ + ["dune" "subst"] + ["dune" "build" "-p" name "-j" jobs] + ["dune" "runtest" "-p" name] {with-test} +] +url { + src: + "https://github.com/mirage/ocaml-base64/releases/download/v3.1.0/base64-v3.1.0.tbz" + checksum: "md5=9847073feb4272e513d8c832904e1af7" +} From cd378b811f38a2045f0d2c4e072bea979e7777aa Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Sun, 3 Feb 2019 20:06:36 +0000 Subject: [PATCH 2/2] add ocaml min version --- packages/base64/base64.3.1.0/opam | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/base64/base64.3.1.0/opam b/packages/base64/base64.3.1.0/opam index dbdf8a4a81d5..e44a352ac06a 100644 --- a/packages/base64/base64.3.1.0/opam +++ b/packages/base64/base64.3.1.0/opam @@ -15,6 +15,7 @@ binary data in an ASCII string format by translating it into a radix-64 representation. It is specified in RFC 4648. """ depends: [ + "ocaml" {>="4.03.0"} "base-bytes" "dune" {build & >= "1.0.1"} "bos" {with-test}