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 AC3E5139694 for ; Sat, 29 Jul 2017 10:06:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA5C91FC193; Sat, 29 Jul 2017 10:06:05 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BFB081FC193 for ; Sat, 29 Jul 2017 10:06:05 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 01193341A82 for ; Sat, 29 Jul 2017 10:06:04 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2CC3374CD for ; Sat, 29 Jul 2017 10:06:01 +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: <1501322738.c02297c9c11addcd6f954b564e58b148f0bc2872.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-dispatch/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/ocaml-dispatch/Manifest dev-ml/ocaml-dispatch/ocaml-dispatch-0.4.0.ebuild X-VCS-Directories: dev-ml/ocaml-dispatch/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: c02297c9c11addcd6f954b564e58b148f0bc2872 X-VCS-Branch: master Date: Sat, 29 Jul 2017 10:06:01 +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: c7801e05-a400-4f8d-84d9-faa9066fb154 X-Archives-Hash: a4834c07c6abc70c4d44254179bfa219 commit: c02297c9c11addcd6f954b564e58b148f0bc2872 Author: Alexis Ballier gentoo org> AuthorDate: Fri Jul 28 08:50:34 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sat Jul 29 10:05:38 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c02297c9 dev-ml/ocaml-dispatch: bump to 0.4.0 Package-Manager: Portage-2.3.6, Repoman-2.3.3 dev-ml/ocaml-dispatch/Manifest | 1 + dev-ml/ocaml-dispatch/ocaml-dispatch-0.4.0.ebuild | 43 +++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/dev-ml/ocaml-dispatch/Manifest b/dev-ml/ocaml-dispatch/Manifest index 2ab3e314bed..f9f4dc4fc5f 100644 --- a/dev-ml/ocaml-dispatch/Manifest +++ b/dev-ml/ocaml-dispatch/Manifest @@ -1 +1,2 @@ DIST ocaml-dispatch-0.3.0.tar.gz 51453 SHA256 ebb6bb60ec5a7c17a68711a801006f204b283989b5b9fa1dbe9bd781645f3913 SHA512 0f09eae45a2ecae27d07e247b6a47f307e074342e337e7be262f5183f77090f0aef81fb5c0bf499732bd0a711d4d51775cbcea5e463011f43a1777582d78806b WHIRLPOOL f77f459b34df41506ef1eb13e4d880a0bfed8166e60e2770b0cb6dc3ac2285281f4fc35c2b12465743492d8f730b6ad5585e995a3152a2c5e72638c335158256 +DIST ocaml-dispatch-0.4.0.tar.gz 7554 SHA256 6c8e77f2960742c16e187355bd1bdaf51ff83c377bf91c6cf4db72de026de5b2 SHA512 d5318bda4079c21820fce5b21d178ed88fd0535a5cdc559dd6ceeb4d06ffb08456ee5aec1e56efd40b6d4f456f7d5c7eda17dc728666e6514dc936898b605b36 WHIRLPOOL 646bcbe74eb10f8935010c797d65c65bf5e74bb532ae375cad00953fcdc0cd9ca93a28e5a453db311114aaf296805893877e8a3bc65cd86ece995e9cea6cf934 diff --git a/dev-ml/ocaml-dispatch/ocaml-dispatch-0.4.0.ebuild b/dev-ml/ocaml-dispatch/ocaml-dispatch-0.4.0.ebuild new file mode 100644 index 00000000000..562ef548b9a --- /dev/null +++ b/dev-ml/ocaml-dispatch/ocaml-dispatch-0.4.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit findlib + +DESCRIPTION="Path-based dispatching for client- and server-side applications" +HOMEPAGE="https://github.com/inhabitedtype/ocaml-dispatch" +SRC_URI="https://github.com/inhabitedtype/ocaml-dispatch/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND=" + dev-ml/result:= + dev-lang/ocaml:= +" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} + dev-ml/jbuilder + dev-ml/opam + test? ( dev-ml/ounit ) +" + +src_compile() { + jbuilder build -p dispatch || die +} + +oinstall() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + --mandir="${ED}/usr/share/man" \ + ${1}.install || die +} + +src_install() { + oinstall dispatch +}