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 6F223139694 for ; Mon, 27 Feb 2017 09:45:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 44EAE21C039; Mon, 27 Feb 2017 09:45:36 +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 1A5F721C039 for ; Mon, 27 Feb 2017 09:45:36 +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 CDC8C340988 for ; Mon, 27 Feb 2017 09:45:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44CB0563D for ; Mon, 27 Feb 2017 09:45:33 +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: <1488188677.27f87a84154995471e086d5a88fb94f90278f164.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ocaml-ctypes/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/ocaml-ctypes/ocaml-ctypes-0.11.3-r1.ebuild X-VCS-Directories: dev-ml/ocaml-ctypes/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 27f87a84154995471e086d5a88fb94f90278f164 X-VCS-Branch: master Date: Mon, 27 Feb 2017 09:45:33 +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: 9bbe798d-d71a-4e06-ad8d-caf85fba5ac8 X-Archives-Hash: b593c2dc088883b241ce28a410f4cdad commit: 27f87a84154995471e086d5a88fb94f90278f164 Author: Alexis Ballier gentoo org> AuthorDate: Mon Feb 27 09:44:37 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Mon Feb 27 09:44:37 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=27f87a84 dev-ml/ocaml-ctypes: Add missing lwt deps for tests Package-Manager: Portage-2.3.3, Repoman-2.3.1 dev-ml/ocaml-ctypes/ocaml-ctypes-0.11.3-r1.ebuild | 36 +++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.11.3-r1.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.11.3-r1.ebuild new file mode 100644 index 0000000000..34b6fa315a --- /dev/null +++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.11.3-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit findlib + +DESCRIPTION="Library for binding to C libraries using pure OCaml" +HOMEPAGE="https://github.com/ocamllabs/ocaml-ctypes" +SRC_URI="https://github.com/ocamllabs/ocaml-ctypes/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND=" + >=dev-lang/ocaml-4.02:=[ocamlopt] + virtual/libffi +" +DEPEND="${RDEPEND} + test? ( dev-ml/ounit dev-ml/lwt )" + +src_compile() { + emake -j1 +} + +src_test() { + emake -j1 test +} + +src_install() { + findlib_src_install + dodoc CHANGES.md README.md +}