From a82f801bd1dfa5b72e922407d7973de0101cc815 Mon Sep 17 00:00:00 2001 From: Maciej Barć Date: Sun, 5 Dec 2021 03:07:56 +0100 Subject: dev-ml/ocaml-stdint: new package; add version 0.7.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć --- dev-ml/ocaml-stdint/Manifest | 1 + dev-ml/ocaml-stdint/metadata.xml | 24 ++++++++++++++++++++++++ dev-ml/ocaml-stdint/ocaml-stdint-0.7.0.ebuild | 18 ++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 dev-ml/ocaml-stdint/Manifest create mode 100644 dev-ml/ocaml-stdint/metadata.xml create mode 100644 dev-ml/ocaml-stdint/ocaml-stdint-0.7.0.ebuild (limited to 'dev-ml') diff --git a/dev-ml/ocaml-stdint/Manifest b/dev-ml/ocaml-stdint/Manifest new file mode 100644 index 000000000000..59e578b0df1e --- /dev/null +++ b/dev-ml/ocaml-stdint/Manifest @@ -0,0 +1 @@ +DIST ocaml-stdint-0.7.0.tar.gz 34507 BLAKE2B d06768911798a6a3736b68395fc5ca2d53288fe0056953ed189938b10aeeb9469511fc1ece39e49c403954f4bd88034d63ec53d7e8b63d8e8c41ff0761ccb2e6 SHA512 5e0c4164cb1f55a63f0928f5c1868cc2bba61d356b63cc20cb6b066fd09824eb99d6d1fd577f52678155d6744a591fdd8377b4c44bbe015918462f4576b43529 diff --git a/dev-ml/ocaml-stdint/metadata.xml b/dev-ml/ocaml-stdint/metadata.xml new file mode 100644 index 000000000000..a4c37e9a3e5a --- /dev/null +++ b/dev-ml/ocaml-stdint/metadata.xml @@ -0,0 +1,24 @@ + + + + + + ml@gentoo.org + ML + + + The stdint library provides signed and unsigned integer types of various + fixed widths: 8, 16, 24, 32, 40, 48, 56, 64 and 128 bit. + This interface is similar to Int32 and Int64 from the base library but + provides more functions and constants like arithmetic and bit-wise + operations, constants like maximum and minimum values, infix operators + conversion to and from every other integer type (including int, float and + nativeint), parsing from and conversion to readable strings (binary, octal, + decimal, hexademical), conversion to and from buffers in both big endian + and little endian byte order. + + + https://github.com/andrenth/ocaml-stdint/issues/ + andrenth/ocaml-stdint + + diff --git a/dev-ml/ocaml-stdint/ocaml-stdint-0.7.0.ebuild b/dev-ml/ocaml-stdint/ocaml-stdint-0.7.0.ebuild new file mode 100644 index 000000000000..6772aba07058 --- /dev/null +++ b/dev-ml/ocaml-stdint/ocaml-stdint-0.7.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DUNE_PKG_NAME="stdint" + +inherit dune + +DESCRIPTION="Signed and unsigned integer types having specified widths" +HOMEPAGE="https://github.com/andrenth/ocaml-stdint" +SRC_URI="https://github.com/andrenth/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+ocamlopt" +RESTRICT="test" # qcheck not yet packaged -- cgit v1.2.3-65-gdbad