From e4e4da52972623e1c88e20dfa12b3b199e180867 Mon Sep 17 00:00:00 2001 From: Pierre Chambart Date: Sat, 4 Apr 2020 15:48:40 +0200 Subject: [PATCH 1/2] Package ocplib-endian.1.1 --- packages/ocplib-endian/ocplib-endian.1.1/opam | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 packages/ocplib-endian/ocplib-endian.1.1/opam diff --git a/packages/ocplib-endian/ocplib-endian.1.1/opam b/packages/ocplib-endian/ocplib-endian.1.1/opam new file mode 100644 index 000000000000..0c20d7fa97fe --- /dev/null +++ b/packages/ocplib-endian/ocplib-endian.1.1/opam @@ -0,0 +1,38 @@ +opam-version: "2.0" +synopsis: + "Optimised functions to read and write int16/32/64 from strings and bigarrays" +description: """ +The library implements three modules: +* [EndianString](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianString.mli) works directly on strings, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts; +* [EndianBytes](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianBytes.mli) works directly on bytes, and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts; +* [EndianBigstring](https://github.com/OCamlPro/ocplib-endian/blob/master/src/endianBigstring.mli) works on bigstrings (Bigarrays of chars), and provides submodules BigEndian and LittleEndian, with their unsafe counter-parts.""" +maintainer: "pierre.chambart@ocamlpro.com" +authors: "Pierre Chambart" +homepage: "https://github.com/OCamlPro/ocplib-endian" +doc: "https://ocamlpro.github.io/ocplib-endian/ocplib-endian/" +bug-reports: "https://github.com/OCamlPro/ocplib-endian/issues" +depends: [ + "base-bytes" + "ocaml" {>= "4.02.3"} + "cppo" {>= "1.1.0" & build} + "dune" {build & >= "1.0"} +] +build: [ + "dune" + "build" + "-p" + name + "-j" + jobs + "@install" + "@runtest" {with-test} + "@doc" {with-doc} +] +dev-repo: "git+https://github.com/OCamlPro/ocplib-endian.git" +url { + src: "https://github.com/OCamlPro/ocplib-endian/archive/1.1.tar.gz" + checksum: [ + "md5=dedf4d69c1b87b3c6c7234f632399285" + "sha512=39351c666d1394770696fa89ac62f7c137ad1697d99888bfba2cc8de2c61df05dd8b3aa327c117bf38f3e29e081026d2c575c5ad0022bde92b3d43aba577d3f9" + ] +} \ No newline at end of file From ab26b86bf100275da03b257004c31f477195700c Mon Sep 17 00:00:00 2001 From: Pierre Chambart Date: Sat, 4 Apr 2020 17:21:41 +0200 Subject: [PATCH 2/2] Dune is not a build dependency for ocplib-endian 1.1 --- packages/ocplib-endian/ocplib-endian.1.1/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ocplib-endian/ocplib-endian.1.1/opam b/packages/ocplib-endian/ocplib-endian.1.1/opam index 0c20d7fa97fe..c3c2ac6e4624 100644 --- a/packages/ocplib-endian/ocplib-endian.1.1/opam +++ b/packages/ocplib-endian/ocplib-endian.1.1/opam @@ -15,7 +15,7 @@ depends: [ "base-bytes" "ocaml" {>= "4.02.3"} "cppo" {>= "1.1.0" & build} - "dune" {build & >= "1.0"} + "dune" {>= "1.0"} ] build: [ "dune"