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 997C2139694 for ; Sat, 1 Apr 2017 13:25:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2D6121C14A; Sat, 1 Apr 2017 13:25:37 +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 BAAC421C07F for ; Sat, 1 Apr 2017 13:25:37 +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 55634341659 for ; Sat, 1 Apr 2017 13:25:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E68A972DA for ; Sat, 1 Apr 2017 13:25:34 +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: <1491053127.199037a9dc0d6e6a54f5ac30f6249255a2c142bd.aballier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/ppx_ast/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/ppx_ast/Manifest dev-ml/ppx_ast/metadata.xml dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild X-VCS-Directories: dev-ml/ppx_ast/ X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier X-VCS-Revision: 199037a9dc0d6e6a54f5ac30f6249255a2c142bd X-VCS-Branch: master Date: Sat, 1 Apr 2017 13:25:34 +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: c086cac0-df96-4e9a-a6b9-a6754c0ebf70 X-Archives-Hash: 9d8afce55e3d69516f04bbd09f747371 commit: 199037a9dc0d6e6a54f5ac30f6249255a2c142bd Author: Alexis Ballier gentoo org> AuthorDate: Sat Apr 1 13:21:33 2017 +0000 Commit: Alexis Ballier gentoo org> CommitDate: Sat Apr 1 13:25:27 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=199037a9 dev-ml/ppx_ast: Initial import. Ebuild by me. Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-ml/ppx_ast/Manifest | 1 + dev-ml/ppx_ast/metadata.xml | 8 ++++++++ dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) diff --git a/dev-ml/ppx_ast/Manifest b/dev-ml/ppx_ast/Manifest new file mode 100644 index 00000000000..650f2f587a7 --- /dev/null +++ b/dev-ml/ppx_ast/Manifest @@ -0,0 +1 @@ +DIST ppx_ast-0.9.1.tar.gz 86802 SHA256 62e08c4383226eeb0e9986871a4fa2a2e90c4bf54538b4a085b0b501631314c8 SHA512 4a5a9fb47282877763ecf9638e67bcd1b57110c1acfcf446703ed335b9fa5aaa1521c55a75fce6025f91e715f9c4522b695444dde4d3ffa7feed79560e399ad7 WHIRLPOOL 50f9523a30f7372a0a8a00d2922e8bfb0a627824dfccfd6ff36cd434c7455011942fc64e516cc51a4258f2efc786d6c7f73838a88ea4bc33e5c54ba5cb0afc93 diff --git a/dev-ml/ppx_ast/metadata.xml b/dev-ml/ppx_ast/metadata.xml new file mode 100644 index 00000000000..ffac4d7ebc0 --- /dev/null +++ b/dev-ml/ppx_ast/metadata.xml @@ -0,0 +1,8 @@ + + + + + ml@gentoo.org + Gentoo ML Project + + diff --git a/dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild b/dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild new file mode 100644 index 00000000000..a3773247852 --- /dev/null +++ b/dev-ml/ppx_ast/ppx_ast-0.9.1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="AST used in Jane Street ppx rewriters" +HOMEPAGE="https://github.com/janestreet/ppx_ast" +SRC_URI="https://github.com/janestreet/ppx_ast/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-lang/ocaml:= + dev-ml/ocaml-compiler-libs:= + dev-ml/ocaml-migrate-parsetree:= +" +RDEPEND="${DEPEND}" +DEPEND="${RDEPEND} + dev-ml/opam + dev-ml/jbuilder" + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + --mandir="${ED}/usr/share/man" \ + ${PN}.install || die +}