summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-03-22 10:21:23 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-03-22 11:06:48 +0100
commit662dc36e918ff963b234dd82f1a01a9a60cfa323 (patch)
treedc939268625e0aa31b207e2478f64f878b47f97b /dev-ml/ppx_inline_test
parentdev-lang/ghc: built 7.10.3 binaries for alpha, ppc, ppc64, sparc (diff)
downloadgentoo-662dc36e918ff963b234dd82f1a01a9a60cfa323.tar.gz
gentoo-662dc36e918ff963b234dd82f1a01a9a60cfa323.tar.bz2
gentoo-662dc36e918ff963b234dd82f1a01a9a60cfa323.zip
dev-ml/ppx_inline_test: bump to 113.33.00
Package-Manager: portage-2.2.28 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/ppx_inline_test')
-rw-r--r--dev-ml/ppx_inline_test/Manifest1
-rw-r--r--dev-ml/ppx_inline_test/ppx_inline_test-113.33.00.ebuild44
2 files changed, 45 insertions, 0 deletions
diff --git a/dev-ml/ppx_inline_test/Manifest b/dev-ml/ppx_inline_test/Manifest
index e7bf22fc1a9c..ffeddb9d8e29 100644
--- a/dev-ml/ppx_inline_test/Manifest
+++ b/dev-ml/ppx_inline_test/Manifest
@@ -1 +1,2 @@
DIST ppx_inline_test-113.24.00.tar.gz 61619 SHA256 405d55f030c39ca765c7ce3e44d92d007789f592f8cc4e092eafc26bcd20a46c SHA512 9045365c097cabe29e374896b33eca8778c67ea415c507be560a47824f22603921a4987dccf9fb77ef9aeeea8e153d392efb2d8838888779134620b0e45b38be WHIRLPOOL 1ea91e52f5c1d85fa7765d1ca1c4689c3aeb80f2b981a68af83396ace153da5a7c7e3e4790c280400adc3833a46fa99f1e8988a9905815411ca8fbd673720bf8
+DIST ppx_inline_test-113.33.00.tar.gz 62558 SHA256 30236e689413f85c6b68ce1d41776c0cddb8e67a030ebd08ec1d76c1cae9cc92 SHA512 94af36ca1f8e77d8e2b1834efaf6e4a1c2aaa89afc4b24265650df79bf4c1da057fa22d2f618aa240e59c37379923205f8de292255d891c364277bc7b93dd399 WHIRLPOOL 490d28575923f3db9783d71605f2b5b46ac26f2f3d07fc57f90715cd6cb7ea69ecb567afbeda0c940b456d40ce0a1b61f9fd750d10ed23e8b204c95e88481e93
diff --git a/dev-ml/ppx_inline_test/ppx_inline_test-113.33.00.ebuild b/dev-ml/ppx_inline_test/ppx_inline_test-113.33.00.ebuild
new file mode 100644
index 000000000000..65a421984f33
--- /dev/null
+++ b/dev-ml/ppx_inline_test/ppx_inline_test-113.33.00.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit oasis
+
+MY_P=${PN/-/_}-${PV}
+DESCRIPTION="Syntax extension for writing in-line tests in ocaml code"
+HOMEPAGE="http://www.janestreet.com/ocaml"
+SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${MY_P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-ml/ppx_tools:=
+ dev-ml/ppx_driver:=
+ dev-ml/ppx_core:="
+
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND} dev-ml/opam"
+
+S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ emake setup.exe
+ OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure
+}
+
+src_compile() {
+ emake
+}
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ ${PN}.install || die
+ dodoc CHANGES.md
+}