From f10c5c7ed05f66a90d053c5ca7c9c65690592e40 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Mon, 29 May 2017 10:01:21 +0200 Subject: [PATCH] dev-ml/utop: bump to 2.0.0 Package-Manager: Portage-2.3.6, Repoman-2.3.2 --- dev-ml/utop/Manifest | 1 + dev-ml/utop/utop-2.0.0.ebuild | 40 +++++++++++++++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 dev-ml/utop/utop-2.0.0.ebuild diff --git a/dev-ml/utop/Manifest b/dev-ml/utop/Manifest index 4ee8df4766e7..cbde3cb1891a 100644 --- a/dev-ml/utop/Manifest +++ b/dev-ml/utop/Manifest @@ -1 +1,2 @@ DIST utop-1.19.3.tar.gz 105213 SHA256 9dbca07b8c55700473cca1d9dd975abb9c6cd03e715dec4857f1249bee16e09b SHA512 97b3fec8b6f930efa742230058eba6fb846900d71e5758903dcefe03fa08e93b54e32642a5b8b6ad02aed7e81ccd6146e87a92805eb74aa4fae275a1188818cd WHIRLPOOL 470e5739639440b11905fbd4f755643aa3117f9fe76690723df7e2fba07e1bdcfcb7ad796a9dc2d00b3be3a6f0eba1afa335ce826a8c715ac40681ad38165599 +DIST utop-2.0.0.tar.gz 57421 SHA256 0a69e5ec055db223cf878d7fdda3b389dc5d42649cc99b5877db507767ce52b6 SHA512 12def269f18be292645d6339f80ffe85823d8095940acb57a03f99ea3f2fe2559662921e3a38d6381ec7246245164b5e2c6b5fc843bdb4fd07ad2377c73da207 WHIRLPOOL 8baf739295132c785d55001bba2aabe24e0f4b3e78214be3a3ac19ffa8baa80ab513d31225500f2dc18018284267be6a235d012f32d7e6c68c829e98358f1410 diff --git a/dev-ml/utop/utop-2.0.0.ebuild b/dev-ml/utop/utop-2.0.0.ebuild new file mode 100644 index 000000000000..8418100ed7ff --- /dev/null +++ b/dev-ml/utop/utop-2.0.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit findlib + +DESCRIPTION="A new toplevel for OCaml with completion and colorization" +HOMEPAGE="https://github.com/diml/utop" +SRC_URI="https://github.com/diml/utop/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-lang/ocaml:= + >=dev-ml/lwt-2.4.0:= + dev-ml/lwt_react:= + >=dev-ml/lambda-term-1.2:= + >=dev-ml/zed-1.2:= + >=dev-ml/cppo-1.0.1:= +" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/opam + dev-ml/jbuilder" + +DOCS=( "CHANGES.md" "README.md" ) +SITEFILE="50${PN}-gentoo.el" + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + --mandir="${ED}/usr/share/man" \ + ${PN}.install || die +} -- 2.26.2