From 7a3d1300f1f5b2f1dca6d7b019ee64884310f5c0 Mon Sep 17 00:00:00 2001 From: Matthew Brewer Date: Fri, 16 Oct 2015 14:25:24 +0200 Subject: [PATCH] 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(+) create mode 100644 dev-ml/ocaml-uri/Manifest create mode 100644 dev-ml/ocaml-uri/metadata.xml create mode 100644 dev-ml/ocaml-uri/ocaml-uri-1.9.1.ebuild 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 @@ + + + + ml + proxy-maintainers + + tomboy64@sina.cn + + + Compile support for all service types + + 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 ) -- 2.26.2