summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2021-12-05 03:07:56 +0100
committerMaciej Barć <xgqt@gentoo.org>2021-12-05 04:22:29 +0100
commita82f801bd1dfa5b72e922407d7973de0101cc815 (patch)
treeee22d6e694c4d5c4774747c580b08db304acadf6 /dev-ml/ocaml-stdint
parentdev-perl/Template-Toolkit: Stabilize 3.9.0 ppc64, #828191 (diff)
downloadgentoo-a82f801bd1dfa5b72e922407d7973de0101cc815.tar.gz
gentoo-a82f801bd1dfa5b72e922407d7973de0101cc815.tar.bz2
gentoo-a82f801bd1dfa5b72e922407d7973de0101cc815.zip
dev-ml/ocaml-stdint: new package; add version 0.7.0
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-ml/ocaml-stdint')
-rw-r--r--dev-ml/ocaml-stdint/Manifest1
-rw-r--r--dev-ml/ocaml-stdint/metadata.xml24
-rw-r--r--dev-ml/ocaml-stdint/ocaml-stdint-0.7.0.ebuild18
3 files changed, 43 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <longdescription>
+ 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.
+ </longdescription>
+ <upstream>
+ <bugs-to>https://github.com/andrenth/ocaml-stdint/issues/</bugs-to>
+ <remote-id type="github">andrenth/ocaml-stdint</remote-id>
+ </upstream>
+</pkgmetadata>
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