From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B751C139696 for ; Fri, 17 Mar 2017 09:47:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C917B21C10A; Fri, 17 Mar 2017 09:47:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A369921C09F for ; Fri, 17 Mar 2017 09:47:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9FBE03412B7 for ; Fri, 17 Mar 2017 09:47:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2471F6B33 for ; Fri, 17 Mar 2017 09:47:02 +0000 (UTC) From: "Alexis Ballier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexis Ballier" Message-ID: <1489744017.432b78a0876b21ffd37e8c76d4d237c736e18172.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/fmt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/fmt/Manifest dev-ml/fmt/fmt-0.8.1.ebuild X-VCS-Directories: dev-ml/fmt/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 432b78a0876b21ffd37e8c76d4d237c736e18172 X-VCS-Branch: master Date: Fri, 17 Mar 2017 09:47:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0ecdc112-4bff-41a3-acd1-a5bf699e6eda X-Archives-Hash: 793bdff9ddd1c6d2a30092aa1067bd0f commit: 432b78a0876b21ffd37e8c76d4d237c736e18172 Author: Alexis Ballier gentoo org> AuthorDate: Fri Mar 17 08:07:02 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Fri Mar 17 09:46:57 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=432b78a0 dev-ml/fmt: Bump to 0.8.1 Package-Manager: Portage-2.3.4, Repoman-2.3.2 dev-ml/fmt/Manifest | 1 + dev-ml/fmt/fmt-0.8.1.ebuild | 42 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-ml/fmt/Manifest b/dev-ml/fmt/Manifest index 0343c82d36d..6e16df3b450 100644 --- a/dev-ml/fmt/Manifest +++ b/dev-ml/fmt/Manifest @@ -1 +1,2 @@ DIST fmt-0.8.0.tbz 14965 SHA256 fd221052a9d2c9be0a8f32d14b2cb35d72ec6f7cd828244759392adbec8ac79b SHA512 5287ff80343ab7f2b33e87b48ff4301e1152b54da1f1de6d8ac235f909cd83e8c9219fd46dbbe239aa6736b406c884141b3ab7578d6a3b2ff289d7756a09ec44 WHIRLPOOL 06eac9e3c3f97f196d2727bd07bf06ccbe4761b77c51fa25bab90575b40db612caf58f4b7685905f67a0ad36c82aa241c2db215c85e574930d1c19e2a6ee5176 +DIST fmt-0.8.1.tbz 13639 SHA256 db0b97e88801f8e7e365a929e311a64835e27ab669cdef76811555b2da3d2c0f SHA512 21cf0a89928999bc23de676763ade41d263ce4a9364c8f77fe693ff8941de492d5f71290d30bcfcdd786612fa3af7bf78921a30a26f3fff3969396a728e8e66e WHIRLPOOL 3492f8d20524512c9c0da6c77cdb28cc3f23e60f7708b14123783c4bfc2e62aa49b8dd34bc11d6c34660c471f0fa88c0525ea966595241936a1c5f7f6aae8b40 diff --git a/dev-ml/fmt/fmt-0.8.1.ebuild b/dev-ml/fmt/fmt-0.8.1.ebuild new file mode 100644 index 00000000000..8e0f58572e5 --- /dev/null +++ b/dev-ml/fmt/fmt-0.8.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +inherit findlib + +DESCRIPTION="Combinators to devise OCaml Format pretty-printing functions" +HOMEPAGE="http://erratique.ch/software/fmt https://github.com/dbuenzli/fmt" +SRC_URI="http://erratique.ch/software/fmt/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-ml/result:=[ocamlopt] + dev-lang/ocaml:=[ocamlopt] + dev-ml/uchar:=[ocamlopt] + dev-ml/cmdliner:=[ocamlopt]" +DEPEND="${RDEPEND} + dev-ml/opam + >=dev-ml/topkg-0.9 + dev-ml/ocamlbuild + dev-ml/findlib" + +src_compile() { + ocaml pkg/pkg.ml build --tests $(usex test 'true' 'false') || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die + dodoc CHANGES.md README.md +}