dev-ml/ocaml-uri: new ebuild
authorMatthew Brewer <tomboy64@sina.cn>
Fri, 16 Oct 2015 12:25:24 +0000 (14:25 +0200)
committerMatthew Brewer <tomboy64@sina.cn>
Sat, 17 Oct 2015 14:01:19 +0000 (16:01 +0200)
- 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 [new file with mode: 0644]
dev-ml/ocaml-uri/metadata.xml [new file with mode: 0644]
dev-ml/ocaml-uri/ocaml-uri-1.9.1.ebuild [new file with mode: 0644]

diff --git a/dev-ml/ocaml-uri/Manifest b/dev-ml/ocaml-uri/Manifest
new file mode 100644 (file)
index 0000000..4118a74
--- /dev/null
@@ -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 (file)
index 0000000..e4232a4
--- /dev/null
@@ -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>tomboy64@sina.cn</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 (file)
index 0000000..e10f5b6
--- /dev/null
@@ -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 )