commit:     147a5686ac5ab7cee27c04a3611aac145e54f174
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Apr  2 22:58:03 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Apr  3 23:46:07 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=147a5686

dev-ml/uri: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-ml/uri/Manifest         |  1 +
 dev-ml/uri/metadata.xml     | 12 ++++++++++++
 dev-ml/uri/uri-4.2.0.ebuild | 31 +++++++++++++++++++++++++++++++
 3 files changed, 44 insertions(+)

diff --git a/dev-ml/uri/Manifest b/dev-ml/uri/Manifest
new file mode 100644
index 000000000..98fec7884
--- /dev/null
+++ b/dev-ml/uri/Manifest
@@ -0,0 +1 @@
+DIST ocaml-uri-4.2.0.tar.gz 231300 BLAKE2B 
d73ca1dc1bb372cf160dfb2a1730132fa5139a68b97bf59554f75754dc57b5d83eaf5bc14c6e1962a9f01dcf98b3f10e9eec10d4cd4701073ebfd2b3d443098f
 SHA512 
25510db4d6a5491ab02e7c62360f91b95e6cd3b5892311c7d3ef159be15906eab849728f96687082852e1ab8ff6e3d9f51831229780abc4ed8cb6acff50aa1b9

diff --git a/dev-ml/uri/metadata.xml b/dev-ml/uri/metadata.xml
new file mode 100644
index 000000000..982af7c50
--- /dev/null
+++ b/dev-ml/uri/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <description>co-maintainers welcome</description>
+               <email>[email protected]</email>
+               <name>Alessandro Barbieri</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">mirage/ocaml-uri</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/dev-ml/uri/uri-4.2.0.ebuild b/dev-ml/uri/uri-4.2.0.ebuild
new file mode 100644
index 000000000..e8103d4f0
--- /dev/null
+++ b/dev-ml/uri/uri-4.2.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="RFC3986 URI parsing library for OCaml"
+HOMEPAGE="https://github.com/mirage/ocaml-uri";
+SRC_URI="https://github.com/mirage/ocaml-uri/archive/v${PV}.tar.gz -> 
ocaml-${P}.tar.gz"
+S="${WORKDIR}/ocaml-${P}"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="ocamlopt"
+
+RDEPEND="
+       dev-ml/angstrom
+       dev-ml/ppx_sexp_conv
+       dev-ml/re
+       dev-ml/sexplib0
+       dev-ml/stringext
+"
+DEPEND="${RDEPEND}"
+
+src_install() {
+       dune_src_install uri
+       dune_src_install uri-re
+       dune_src_install uri-sexp
+}

Reply via email to