Gentoo Archives: gentoo-commits

From: "Maciej Barć" <xgqt@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-stdint/
Date: Sun, 05 Dec 2021 03:22:38
Message-Id: 1638674549.a82f801bd1dfa5b72e922407d7973de0101cc815.xgqt@gentoo
1 commit: a82f801bd1dfa5b72e922407d7973de0101cc815
2 Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 5 02:07:56 2021 +0000
4 Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 5 03:22:29 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a82f801b
7
8 dev-ml/ocaml-stdint: new package; add version 0.7.0
9
10 Package-Manager: Portage-3.0.28, Repoman-3.0.3
11 Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
12
13 dev-ml/ocaml-stdint/Manifest | 1 +
14 dev-ml/ocaml-stdint/metadata.xml | 24 ++++++++++++++++++++++++
15 dev-ml/ocaml-stdint/ocaml-stdint-0.7.0.ebuild | 18 ++++++++++++++++++
16 3 files changed, 43 insertions(+)
17
18 diff --git a/dev-ml/ocaml-stdint/Manifest b/dev-ml/ocaml-stdint/Manifest
19 new file mode 100644
20 index 000000000000..59e578b0df1e
21 --- /dev/null
22 +++ b/dev-ml/ocaml-stdint/Manifest
23 @@ -0,0 +1 @@
24 +DIST ocaml-stdint-0.7.0.tar.gz 34507 BLAKE2B d06768911798a6a3736b68395fc5ca2d53288fe0056953ed189938b10aeeb9469511fc1ece39e49c403954f4bd88034d63ec53d7e8b63d8e8c41ff0761ccb2e6 SHA512 5e0c4164cb1f55a63f0928f5c1868cc2bba61d356b63cc20cb6b066fd09824eb99d6d1fd577f52678155d6744a591fdd8377b4c44bbe015918462f4576b43529
25
26 diff --git a/dev-ml/ocaml-stdint/metadata.xml b/dev-ml/ocaml-stdint/metadata.xml
27 new file mode 100644
28 index 000000000000..a4c37e9a3e5a
29 --- /dev/null
30 +++ b/dev-ml/ocaml-stdint/metadata.xml
31 @@ -0,0 +1,24 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +
35 +<pkgmetadata>
36 + <maintainer type="project">
37 + <email>ml@g.o</email>
38 + <name>ML</name>
39 + </maintainer>
40 + <longdescription>
41 + The stdint library provides signed and unsigned integer types of various
42 + fixed widths: 8, 16, 24, 32, 40, 48, 56, 64 and 128 bit.
43 + This interface is similar to Int32 and Int64 from the base library but
44 + provides more functions and constants like arithmetic and bit-wise
45 + operations, constants like maximum and minimum values, infix operators
46 + conversion to and from every other integer type (including int, float and
47 + nativeint), parsing from and conversion to readable strings (binary, octal,
48 + decimal, hexademical), conversion to and from buffers in both big endian
49 + and little endian byte order.
50 + </longdescription>
51 + <upstream>
52 + <bugs-to>https://github.com/andrenth/ocaml-stdint/issues/</bugs-to>
53 + <remote-id type="github">andrenth/ocaml-stdint</remote-id>
54 + </upstream>
55 +</pkgmetadata>
56
57 diff --git a/dev-ml/ocaml-stdint/ocaml-stdint-0.7.0.ebuild b/dev-ml/ocaml-stdint/ocaml-stdint-0.7.0.ebuild
58 new file mode 100644
59 index 000000000000..6772aba07058
60 --- /dev/null
61 +++ b/dev-ml/ocaml-stdint/ocaml-stdint-0.7.0.ebuild
62 @@ -0,0 +1,18 @@
63 +# Copyright 1999-2021 Gentoo Authors
64 +# Distributed under the terms of the GNU General Public License v2
65 +
66 +EAPI=7
67 +
68 +DUNE_PKG_NAME="stdint"
69 +
70 +inherit dune
71 +
72 +DESCRIPTION="Signed and unsigned integer types having specified widths"
73 +HOMEPAGE="https://github.com/andrenth/ocaml-stdint"
74 +SRC_URI="https://github.com/andrenth/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
75 +
76 +LICENSE="MIT"
77 +SLOT="0/${PV}"
78 +KEYWORDS="~amd64 ~x86"
79 +IUSE="+ocamlopt"
80 +RESTRICT="test" # qcheck not yet packaged