dev-ml/uri: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-03 00:58:03 +02:00
parent b714258f1e
commit 147a5686ac
3 changed files with 44 additions and 0 deletions

1
dev-ml/uri/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST ocaml-uri-4.2.0.tar.gz 231300 BLAKE2B d73ca1dc1bb372cf160dfb2a1730132fa5139a68b97bf59554f75754dc57b5d83eaf5bc14c6e1962a9f01dcf98b3f10e9eec10d4cd4701073ebfd2b3d443098f SHA512 25510db4d6a5491ab02e7c62360f91b95e6cd3b5892311c7d3ef159be15906eab849728f96687082852e1ab8ff6e3d9f51831229780abc4ed8cb6acff50aa1b9

12
dev-ml/uri/metadata.xml Normal file
View File

@@ -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>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">mirage/ocaml-uri</remote-id>
</upstream>
</pkgmetadata>

View File

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