1 |
commit: 79257f04da77e8188f658c42fd3ad08a60b84522 |
2 |
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 5 03:39:20 2021 +0000 |
4 |
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 5 03:40:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79257f04 |
7 |
|
8 |
dev-ml/ocaml-sha: new package; add version 1.15.1 |
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-sha/Manifest | 1 + |
14 |
dev-ml/ocaml-sha/metadata.xml | 18 ++++++++++++++++++ |
15 |
dev-ml/ocaml-sha/ocaml-sha-1.15.1.ebuild | 22 ++++++++++++++++++++++ |
16 |
3 files changed, 41 insertions(+) |
17 |
|
18 |
diff --git a/dev-ml/ocaml-sha/Manifest b/dev-ml/ocaml-sha/Manifest |
19 |
new file mode 100644 |
20 |
index 000000000000..d5f04d4492b9 |
21 |
--- /dev/null |
22 |
+++ b/dev-ml/ocaml-sha/Manifest |
23 |
@@ -0,0 +1 @@ |
24 |
+DIST ocaml-sha-1.15.1.tar.gz 15972 BLAKE2B c80fe4ba9a216fb88b0ca4cdf4f467450ad7225c9aa8fbb7389c85b8372de0a965683dc4a674c82ae4c2801b9f6a83777fbd3bfe5deb68af3d5e9193c058c9d9 SHA512 25af4f3fff6d5126e5e3b5f4dff4d6cc48396ffea48da186450236825bbb79110c7918a2bfa1c77dfaee9570965f9052d87c513d9f9da01208d95962b12cfd1c |
25 |
|
26 |
diff --git a/dev-ml/ocaml-sha/metadata.xml b/dev-ml/ocaml-sha/metadata.xml |
27 |
new file mode 100644 |
28 |
index 000000000000..34e9bead1fc0 |
29 |
--- /dev/null |
30 |
+++ b/dev-ml/ocaml-sha/metadata.xml |
31 |
@@ -0,0 +1,18 @@ |
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 |
+ This is the binding for SHA interface code in OCaml. Offering the same |
42 |
+ interface than the MD5 digest included in the OCaml standard library. |
43 |
+ It's currently providing SHA1, SHA256 and SHA512 hash functions. |
44 |
+ </longdescription> |
45 |
+ <upstream> |
46 |
+ <bugs-to>https://github.com/djs55/ocaml-sha/issues/</bugs-to> |
47 |
+ <remote-id type="github">djs55/ocaml-sha</remote-id> |
48 |
+ </upstream> |
49 |
+</pkgmetadata> |
50 |
|
51 |
diff --git a/dev-ml/ocaml-sha/ocaml-sha-1.15.1.ebuild b/dev-ml/ocaml-sha/ocaml-sha-1.15.1.ebuild |
52 |
new file mode 100644 |
53 |
index 000000000000..d6ab5623b0f4 |
54 |
--- /dev/null |
55 |
+++ b/dev-ml/ocaml-sha/ocaml-sha-1.15.1.ebuild |
56 |
@@ -0,0 +1,22 @@ |
57 |
+# Copyright 1999-2021 Gentoo Authors |
58 |
+# Distributed under the terms of the GNU General Public License v2 |
59 |
+ |
60 |
+EAPI=7 |
61 |
+ |
62 |
+DUNE_PKG_NAME="sha" |
63 |
+ |
64 |
+inherit dune |
65 |
+ |
66 |
+DESCRIPTION="Binding to the SHA cryptographic functions" |
67 |
+HOMEPAGE="https://github.com/djs55/ocaml-sha" |
68 |
+SRC_URI="https://github.com/djs55/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
69 |
+ |
70 |
+LICENSE="ISC" |
71 |
+SLOT="0/${PV}" |
72 |
+KEYWORDS="~amd64 ~x86" |
73 |
+IUSE="+ocamlopt test" |
74 |
+RESTRICT="!test? ( test )" |
75 |
+ |
76 |
+RDEPEND="dev-ml/stdlib-shims:=" |
77 |
+DEPEND="${RDEPEND}" |
78 |
+BDEPEND="test? ( dev-ml/ounit2 )" |