commit: 60ebfa7ea0de7d08f3b1cbe3e4cb2a7c55c77ff3 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org> AuthorDate: Sat Apr 1 16:38:20 2017 +0000 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org> CommitDate: Sun Apr 2 08:37:56 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60ebfa7e
dev-ml/ppx_base: initial import Package-Manager: Portage-2.3.5, Repoman-2.3.2 dev-ml/ppx_base/Manifest | 1 + dev-ml/ppx_base/metadata.xml | 8 ++++++++ dev-ml/ppx_base/ppx_base-0.9.0.ebuild | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 44 insertions(+) diff --git a/dev-ml/ppx_base/Manifest b/dev-ml/ppx_base/Manifest new file mode 100644 index 00000000000..8cfe3627056 --- /dev/null +++ b/dev-ml/ppx_base/Manifest @@ -0,0 +1 @@ +DIST ppx_base-0.9.0.tar.gz 5255 SHA256 cd9a7e0fc2ae85684b06398207b1bdf0e69bbc67202ee2916de5d230a1d11a2d SHA512 660f6b210eb6d7bd33c279ffa8bbf01c21b9db5d7827cf6fded8c52e8d4f2f5468a76c2eab86c2b868ac859bbc81db7189c71ccc1701bf57030f82d8eda4339e WHIRLPOOL f02abe49b2e71bac62a00d15e18700b143a5f67390adffdd0a4824c661e166261e7a1be57d87c66326c0107d8056122d0fb620aabc47e1454694928469c44266 diff --git a/dev-ml/ppx_base/metadata.xml b/dev-ml/ppx_base/metadata.xml new file mode 100644 index 00000000000..ffac4d7ebc0 --- /dev/null +++ b/dev-ml/ppx_base/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer type="project"> + <email>m...@gentoo.org</email> + <name>Gentoo ML Project</name> +</maintainer> +</pkgmetadata> diff --git a/dev-ml/ppx_base/ppx_base-0.9.0.ebuild b/dev-ml/ppx_base/ppx_base-0.9.0.ebuild new file mode 100644 index 00000000000..aca54a816b9 --- /dev/null +++ b/dev-ml/ppx_base/ppx_base-0.9.0.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Base set of ppx rewriters" +HOMEPAGE="https://github.com/janestreet/ppx_base" +SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-lang/ocaml:= + dev-ml/ppx_compare:= + dev-ml/ppx_driver:= + dev-ml/ppx_enumerate:= + dev-ml/ppx_hash:= + dev-ml/ppx_js_style:= + dev-ml/ppx_sexp_conv:= + dev-ml/ppx_type_conv:= + 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 +}