summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-01 16:47:40 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-02 10:37:44 +0200
commitf92bc5bd5958fc170cd251394836c94b6980cf00 (patch)
tree0d05e7f13708028b79748c4f63fb63178e71c57d /dev-ml/ppx_metaquot
parentdev-ml/ppx_sexp_conv: Bump to 0.9.0 (diff)
downloadgentoo-f92bc5bd5958fc170cd251394836c94b6980cf00.tar.gz
gentoo-f92bc5bd5958fc170cd251394836c94b6980cf00.tar.bz2
gentoo-f92bc5bd5958fc170cd251394836c94b6980cf00.zip
dev-ml/ppx_metaquot: Initial import.
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/ppx_metaquot')
-rw-r--r--dev-ml/ppx_metaquot/Manifest1
-rw-r--r--dev-ml/ppx_metaquot/metadata.xml8
-rw-r--r--dev-ml/ppx_metaquot/ppx_metaquot-0.9.0.ebuild30
3 files changed, 39 insertions, 0 deletions
diff --git a/dev-ml/ppx_metaquot/Manifest b/dev-ml/ppx_metaquot/Manifest
new file mode 100644
index 000000000000..56242f69382c
--- /dev/null
+++ b/dev-ml/ppx_metaquot/Manifest
@@ -0,0 +1 @@
+DIST ppx_metaquot-0.9.0.tar.gz 6801 SHA256 28eeb135afd697c8a6591023129f518be05c8ab71d661c1f6e5ca732644b367e SHA512 7645f02f964f2a33836f947a725384f95c7724dcd88c031aa3dd2d255127a21d473e19ff77cb917f845930ab44541a4698becf56721cc1a0a0eee5912947cd22 WHIRLPOOL 17ff0c79e08a58f3587b57fbe2c283e3c4cd51e6011d99a576b407b91679959ce1055bae99c40319a98747b1c463b334a54169fd5e0511d2607ba8f2f2333bf2
diff --git a/dev-ml/ppx_metaquot/metadata.xml b/dev-ml/ppx_metaquot/metadata.xml
new file mode 100644
index 000000000000..ffac4d7ebc01
--- /dev/null
+++ b/dev-ml/ppx_metaquot/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>ml@gentoo.org</email>
+ <name>Gentoo ML Project</name>
+</maintainer>
+</pkgmetadata>
diff --git a/dev-ml/ppx_metaquot/ppx_metaquot-0.9.0.ebuild b/dev-ml/ppx_metaquot/ppx_metaquot-0.9.0.ebuild
new file mode 100644
index 000000000000..8b6b7e807be1
--- /dev/null
+++ b/dev-ml/ppx_metaquot/ppx_metaquot-0.9.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Write OCaml AST fragment using OCaml syntax"
+HOMEPAGE="https://github.com/janestreet/ppx_metaquot"
+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-ml/ppx_core:=
+ dev-ml/ppx_driver:=
+ dev-ml/ppx_traverse_builtins:=
+ 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
+}