summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/ppx_inline_test/Manifest1
-rw-r--r--dev-ml/ppx_inline_test/ppx_inline_test-0.9.1.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ml/ppx_inline_test/Manifest b/dev-ml/ppx_inline_test/Manifest
index d3a7f4885b67..d8214c259d86 100644
--- a/dev-ml/ppx_inline_test/Manifest
+++ b/dev-ml/ppx_inline_test/Manifest
@@ -1 +1,2 @@
DIST ppx_inline_test-0.9.0.tar.gz 19059 SHA256 c69968b180d524a13712bba3869078fe224f4214fa65a8713cc3e309075af9bf SHA512 639614beaeb4aedd5450062f90a42898db24347f94f1595fc9adad2a837a54723e6f92e72b16709cb15a18c0b9ae3eb7089cc92bb239266a0d6d7e82f5f9e642 WHIRLPOOL 796dac694898c26ebb5d727de82cabcd8391ab01748a2f8ce725965b50b0cf1ee394ce3a5cb0c8f228379852ee76cea5897272bd1857e3f597936608311d3461
+DIST ppx_inline_test-0.9.1.tar.gz 19262 SHA256 04409caa79873ccaed8ff2e32d70fec9258477bf5c414654d8e7d26006668443 SHA512 c3ef0db2a79523c3c223db19f80ceef207aec1f354e2ff746049c81bdea6dd3a4cd0e24c8f1fe99be17f03b47ae201823849f9204a2a990a9eb6794d8d26b95a WHIRLPOOL 1afcfa11575a5c78306783ff93d2afe5ded5a8bc6e6c03e6ef1302b5d5423a463aca4994a4a95588e49f9e4e12b8b05ac9bb84044347b37875c1a308486410de
diff --git a/dev-ml/ppx_inline_test/ppx_inline_test-0.9.1.ebuild b/dev-ml/ppx_inline_test/ppx_inline_test-0.9.1.ebuild
new file mode 100644
index 000000000000..573ce0ffcdf1
--- /dev/null
+++ b/dev-ml/ppx_inline_test/ppx_inline_test-0.9.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Syntax extension for writing in-line tests in ocaml code"
+HOMEPAGE="https://github.com/janestreet/ppx_inline_test"
+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/base:=
+ 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
+}