Gentoo Archives: gentoo-commits

From: Alessandro Barbieri <lssndrbarbieri@×××××.com>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-ml/uri/
Date: Sun, 03 Apr 2022 23:49:46
Message-Id: 1649029567.147a5686ac5ab7cee27c04a3611aac145e54f174.Alessandro-Barbieri@gentoo
1 commit: 147a5686ac5ab7cee27c04a3611aac145e54f174
2 Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
3 AuthorDate: Sat Apr 2 22:58:03 2022 +0000
4 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
5 CommitDate: Sun Apr 3 23:46:07 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=147a5686
7
8 dev-ml/uri: initial import
9
10 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
11
12 dev-ml/uri/Manifest | 1 +
13 dev-ml/uri/metadata.xml | 12 ++++++++++++
14 dev-ml/uri/uri-4.2.0.ebuild | 31 +++++++++++++++++++++++++++++++
15 3 files changed, 44 insertions(+)
16
17 diff --git a/dev-ml/uri/Manifest b/dev-ml/uri/Manifest
18 new file mode 100644
19 index 000000000..98fec7884
20 --- /dev/null
21 +++ b/dev-ml/uri/Manifest
22 @@ -0,0 +1 @@
23 +DIST ocaml-uri-4.2.0.tar.gz 231300 BLAKE2B d73ca1dc1bb372cf160dfb2a1730132fa5139a68b97bf59554f75754dc57b5d83eaf5bc14c6e1962a9f01dcf98b3f10e9eec10d4cd4701073ebfd2b3d443098f SHA512 25510db4d6a5491ab02e7c62360f91b95e6cd3b5892311c7d3ef159be15906eab849728f96687082852e1ab8ff6e3d9f51831229780abc4ed8cb6acff50aa1b9
24
25 diff --git a/dev-ml/uri/metadata.xml b/dev-ml/uri/metadata.xml
26 new file mode 100644
27 index 000000000..982af7c50
28 --- /dev/null
29 +++ b/dev-ml/uri/metadata.xml
30 @@ -0,0 +1,12 @@
31 +<?xml version='1.0' encoding='UTF-8'?>
32 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
33 +<pkgmetadata>
34 + <maintainer type="person">
35 + <description>co-maintainers welcome</description>
36 + <email>lssndrbarbieri@×××××.com</email>
37 + <name>Alessandro Barbieri</name>
38 + </maintainer>
39 + <upstream>
40 + <remote-id type="github">mirage/ocaml-uri</remote-id>
41 + </upstream>
42 +</pkgmetadata>
43
44 diff --git a/dev-ml/uri/uri-4.2.0.ebuild b/dev-ml/uri/uri-4.2.0.ebuild
45 new file mode 100644
46 index 000000000..e8103d4f0
47 --- /dev/null
48 +++ b/dev-ml/uri/uri-4.2.0.ebuild
49 @@ -0,0 +1,31 @@
50 +# Copyright 1999-2022 Gentoo Authors
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=8
54 +
55 +inherit dune
56 +
57 +DESCRIPTION="RFC3986 URI parsing library for OCaml"
58 +HOMEPAGE="https://github.com/mirage/ocaml-uri"
59 +SRC_URI="https://github.com/mirage/ocaml-uri/archive/v${PV}.tar.gz -> ocaml-${P}.tar.gz"
60 +S="${WORKDIR}/ocaml-${P}"
61 +
62 +LICENSE="ISC"
63 +SLOT="0/${PV}"
64 +KEYWORDS="~amd64"
65 +IUSE="ocamlopt"
66 +
67 +RDEPEND="
68 + dev-ml/angstrom
69 + dev-ml/ppx_sexp_conv
70 + dev-ml/re
71 + dev-ml/sexplib0
72 + dev-ml/stringext
73 +"
74 +DEPEND="${RDEPEND}"
75 +
76 +src_install() {
77 + dune_src_install uri
78 + dune_src_install uri-re
79 + dune_src_install uri-sexp
80 +}