summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorMatthew Brewer <tomboy64@sina.cn>2015-10-16 14:25:24 +0200
committerMatthew Brewer <tomboy64@sina.cn>2015-10-17 16:01:19 +0200
commit7a3d1300f1f5b2f1dca6d7b019ee64884310f5c0 (patch)
tree8ca179974dbb3dd51cb5b2d3fab46e2d77f6ce71 /dev-ml
parentMerge remote-tracking branch 'github/pr/238' (diff)
downloadgentoo-7a3d1300f1f5b2f1dca6d7b019ee64884310f5c0.tar.gz
gentoo-7a3d1300f1f5b2f1dca6d7b019ee64884310f5c0.tar.bz2
gentoo-7a3d1300f1f5b2f1dca6d7b019ee64884310f5c0.zip
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
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/ocaml-uri/Manifest1
-rw-r--r--dev-ml/ocaml-uri/metadata.xml12
-rw-r--r--dev-ml/ocaml-uri/ocaml-uri-1.9.1.ebuild37
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ml/ocaml-uri/Manifest b/dev-ml/ocaml-uri/Manifest
new file mode 100644
index 000000000000..4118a74908f5
--- /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 000000000000..e4232a4ed079
--- /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>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
index 000000000000..e10f5b6c57b7
--- /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 )