commit:     7a3d1300f1f5b2f1dca6d7b019ee64884310f5c0
Author:     Matthew Brewer <tomboy64 <AT> sina <DOT> cn>
AuthorDate: Fri Oct 16 12:25:24 2015 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Sat Oct 17 14:01:19 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a3d1300

dev-ml/ocaml-uri: new ebuild

- needed as a transitive dependency of Libre S3 1.1 (net-misc/libres3)
- explicit support for MirageOS is not enabled

 dev-ml/ocaml-uri/Manifest               |  1 +
 dev-ml/ocaml-uri/metadata.xml           | 12 +++++++++++
 dev-ml/ocaml-uri/ocaml-uri-1.9.1.ebuild | 37 +++++++++++++++++++++++++++++++++
 3 files changed, 50 insertions(+)

diff --git a/dev-ml/ocaml-uri/Manifest b/dev-ml/ocaml-uri/Manifest
new file mode 100644
index 0000000..4118a74
--- /dev/null
+++ b/dev-ml/ocaml-uri/Manifest
@@ -0,0 +1 @@
+DIST ocaml-uri-1.9.1.tar.gz 256457 SHA256 
e7e9f53150bf67eceb556d48119db169aa05e8a8227cde3655545bcace034402 SHA512 
9a5acac8c15928ce6e52d7f9001701c63223607db800ab5247cdecfedf96133912af59d388f51e9d4fafe3b1c1658d56bf2c79d754c92f626da33c8a30e79609
 WHIRLPOOL 
e13d77aa1bd2c2b852ea0857d25ded71d10fd3cb082ed2d6691aa623ef437ab96b19809a3680bb72dc4e8c3c72c3f906afe06d4ca1610690201aebaeeb242784

diff --git a/dev-ml/ocaml-uri/metadata.xml b/dev-ml/ocaml-uri/metadata.xml
new file mode 100644
index 0000000..e4232a4
--- /dev/null
+++ b/dev-ml/ocaml-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>
+    <herd>ml</herd>
+    <herd>proxy-maintainers</herd>
+    <maintainer>
+        <email>[email protected]</email>
+    </maintainer>
+    <use>
+        <flag name="allservices">Compile support for all service types</flag>
+    </use>
+</pkgmetadata>

diff --git a/dev-ml/ocaml-uri/ocaml-uri-1.9.1.ebuild 
b/dev-ml/ocaml-uri/ocaml-uri-1.9.1.ebuild
new file mode 100644
index 0000000..e10f5b6
--- /dev/null
+++ b/dev-ml/ocaml-uri/ocaml-uri-1.9.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+OASIS_BUILD_DOCS=1
+OASIS_BUILD_TESTS=1
+
+inherit oasis
+
+DESCRIPTION="RFC3986 URI parsing library for OCaml"
+HOMEPAGE="https://github.com/mirage/ocaml-uri https://mirage.io";
+SRC_URI="https://github.com/mirage/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="allservices"
+
+RDEPEND="
+       dev-ml/ocaml-re:=
+       >=dev-ml/sexplib-109.53.00:=
+       dev-ml/stringext:=
+       dev-ml/type-conv:=
+"
+DEPEND="
+       test? ( >=dev-ml/ounit-1.0.2 )
+       ${RDEPEND}
+"
+
+src_configure() {
+       oasis_configure_opts="
+               $(use_enable allservices)
+       " oasis_src_configure
+}
+
+DOCS=( CHANGES README.md )

Reply via email to