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>
This commit is contained in:
Maciej Barć
2021-12-05 03:07:56 +01:00
parent 7e6d371d0f
commit a82f801bd1
3 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST ocaml-stdint-0.7.0.tar.gz 34507 BLAKE2B d06768911798a6a3736b68395fc5ca2d53288fe0056953ed189938b10aeeb9469511fc1ece39e49c403954f4bd88034d63ec53d7e8b63d8e8c41ff0761ccb2e6 SHA512 5e0c4164cb1f55a63f0928f5c1868cc2bba61d356b63cc20cb6b066fd09824eb99d6d1fd577f52678155d6744a591fdd8377b4c44bbe015918462f4576b43529

View File

@@ -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>

View File

@@ -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