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 A5870139694 for ; Wed, 28 Jun 2017 09:36:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B33A425401C; Wed, 28 Jun 2017 09:35:59 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 93B3D254019 for ; Wed, 28 Jun 2017 09:35:59 +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 2F3F3341767 for ; Wed, 28 Jun 2017 09:35:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 81F2B74A6 for ; Wed, 28 Jun 2017 09:35:55 +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: <1498642544.11dddc855bfb5bdcc88ad2f90f3ecba49f8be2ac.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/alcotest/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/alcotest/Manifest dev-ml/alcotest/alcotest-0.8.0.ebuild X-VCS-Directories: dev-ml/alcotest/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 11dddc855bfb5bdcc88ad2f90f3ecba49f8be2ac X-VCS-Branch: master Date: Wed, 28 Jun 2017 09:35:55 +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: f0b978d5-844d-40cb-9577-beaff4d331dc X-Archives-Hash: 474d100672ed10d56285f6f838dc8771 commit: 11dddc855bfb5bdcc88ad2f90f3ecba49f8be2ac Author: Alexis Ballier gentoo org> AuthorDate: Wed Jun 28 08:37:44 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Wed Jun 28 09:35:44 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=11dddc85 dev-ml/alcotest: Bump to 0.8.0 Package-Manager: Portage-2.3.6, Repoman-2.3.2 dev-ml/alcotest/Manifest | 1 + dev-ml/alcotest/alcotest-0.8.0.ebuild | 46 +++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/dev-ml/alcotest/Manifest b/dev-ml/alcotest/Manifest index 9a585ee2ca5..15bd968b9d2 100644 --- a/dev-ml/alcotest/Manifest +++ b/dev-ml/alcotest/Manifest @@ -1 +1,2 @@ DIST alcotest-0.7.2.tar.gz 24781 SHA256 75eac2c9b9c1f9e07d8c4de43ba8e852bd59ef1d7d322cd9c036a075335ef472 SHA512 3448c7d82c200f0cf2ac97f7f49060c350c0719124b24079b5babb48b1d3e0b0508ada0b273e1963dc07dc4cc072b0a589096c39b8b6d8a4adf7e011418dd4a3 WHIRLPOOL d1345d9c3481663fa29d99cf8483bc2e11251a088bd589472eb83f8483b7b3db6130098560de7cb3d00f0741c68c0d0060ae0b602a8f2af51950c0199b0ee612 +DIST alcotest-0.8.0.tar.gz 24078 SHA256 623c045899aba9b10f30cf424e380611f866985ef4c35cd8dbf3b9c0beb926ee SHA512 7dda623557fea2961d255d5c90855a3dc02f2a578aa49660d8550832523bb318daa2af6eba83a92532a43914ef4c74e8446a5bbffa726993f0382142c7d5325c WHIRLPOOL d580317a6928b14e21c72589ff7820b5bc1e13dfdd7efe383b356b76f174c17138314a767d15d08503af30c6a99917d2c83e2001b12cafe702571aec535c0e69 diff --git a/dev-ml/alcotest/alcotest-0.8.0.ebuild b/dev-ml/alcotest/alcotest-0.8.0.ebuild new file mode 100644 index 00000000000..eab46cdca71 --- /dev/null +++ b/dev-ml/alcotest/alcotest-0.8.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DESCRIPTION="A lightweight and colourful test framework" +HOMEPAGE="https://github.com/mirage/alcotest/" +SRC_URI="https://github.com/mirage/alcotest/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND=" + dev-lang/ocaml:=[ocamlopt] + dev-ml/fmt:= + dev-ml/astring:= + dev-ml/cmdliner:= + dev-ml/result:= +" +DEPEND="${RDEPEND} + dev-ml/opam + dev-ml/jbuilder + dev-ml/findlib" + +src_compile() { + jbuilder build -p alcotest || die +} + +src_test() { + jbuilder runtest -p alcotest || 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 alcotest +}