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 B3B1F1396D2 for ; Tue, 15 Aug 2017 07:26:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 018B51FC059; Tue, 15 Aug 2017 07:26:28 +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 D416E1FC059 for ; Tue, 15 Aug 2017 07:26:27 +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 15E5B3417E5 for ; Tue, 15 Aug 2017 07:26:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 74D5A784F for ; Tue, 15 Aug 2017 07:26:24 +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: <1502781972.bed66c0e262f1aaabf720660031eb002b2e190ff.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_optional/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/ppx_optional/ppx_optional-0.9.0.ebuild X-VCS-Directories: dev-ml/ppx_optional/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: bed66c0e262f1aaabf720660031eb002b2e190ff X-VCS-Branch: master Date: Tue, 15 Aug 2017 07:26:24 +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: 1576bced-883e-4f15-b0f7-ead14dbe4a33 X-Archives-Hash: 778ba63e06f8e85940ba990081b4138f commit: bed66c0e262f1aaabf720660031eb002b2e190ff Author: Alexis Ballier gentoo org> AuthorDate: Tue Aug 15 07:20:16 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Tue Aug 15 07:26:12 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed66c0e dev-ml/ppx_optional: convert to opam.eclass Package-Manager: Portage-2.3.7, Repoman-2.3.3 dev-ml/ppx_optional/ppx_optional-0.9.0.ebuild | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/dev-ml/ppx_optional/ppx_optional-0.9.0.ebuild b/dev-ml/ppx_optional/ppx_optional-0.9.0.ebuild index f8bbaf9cb1c..55a77ef1493 100644 --- a/dev-ml/ppx_optional/ppx_optional-0.9.0.ebuild +++ b/dev-ml/ppx_optional/ppx_optional-0.9.0.ebuild @@ -3,6 +3,8 @@ EAPI=6 +inherit opam + DESCRIPTION="Pattern matching on flat options" HOMEPAGE="https://github.com/janestreet/ppx_optional" SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" @@ -13,19 +15,10 @@ KEYWORDS="~amd64" IUSE="" DEPEND=" - dev-lang/ocaml:= dev-ml/ppx_core:= dev-ml/ppx_driver:= dev-ml/ppx_metaquot:= dev-ml/ocaml-migrate-parsetree:= " RDEPEND="${DEPEND}" -DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder" - -src_install() { - opam-installer -i \ - --prefix="${ED}/usr" \ - --libdir="${D}/$(ocamlc -where)" \ - --docdir="${ED}/usr/share/doc/${PF}" \ - ${PN}.install || die -} +DEPEND="${DEPEND} dev-ml/jbuilder"