summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2016-02-05 17:30:02 +0100
committerAlexis Ballier <aballier@gentoo.org>2016-02-05 21:59:02 +0100
commit621e3ccef1b99d7649e778ce587d6cb01a96ae9a (patch)
treed5624bbffbc366945726aaa23475a2566b28648c /dev-ml/ppx_assert
parentdev-ml/ppx_compare: initial import; ebuild by me (diff)
downloadgentoo-621e3ccef1b99d7649e778ce587d6cb01a96ae9a.tar.gz
gentoo-621e3ccef1b99d7649e778ce587d6cb01a96ae9a.tar.bz2
gentoo-621e3ccef1b99d7649e778ce587d6cb01a96ae9a.zip
dev-ml/ppx_assert: initial import; ebuild by me.
Package-Manager: portage-2.2.27 Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'dev-ml/ppx_assert')
-rw-r--r--dev-ml/ppx_assert/Manifest1
-rw-r--r--dev-ml/ppx_assert/metadata.xml8
-rw-r--r--dev-ml/ppx_assert/ppx_assert-113.24.00.ebuild41
3 files changed, 50 insertions, 0 deletions
diff --git a/dev-ml/ppx_assert/Manifest b/dev-ml/ppx_assert/Manifest
new file mode 100644
index 000000000000..aef354fc5b7c
--- /dev/null
+++ b/dev-ml/ppx_assert/Manifest
@@ -0,0 +1 @@
+DIST ppx_assert-113.24.00.tar.gz 54859 SHA256 2a282e277a85fd6f7b0140da42081a053d22cc266c5819ed23affd64f0040da3 SHA512 83c6085d0badef7881fdfffa3a53e9e73fec9b1ecf160fd6312bee73d0bb8d77db89526a420809b4bac32074c24e0c545d700edde9dabc10e1c3b01e0cca4e06 WHIRLPOOL 5b8e441bff129f3016696630854b256edf8131279fd4c7a05c5d4c10cb708d0cbbb1f810d2cd81230f7f76edd76af9e065d81d6e6c0d5b72d03448949cfeff38
diff --git a/dev-ml/ppx_assert/metadata.xml b/dev-ml/ppx_assert/metadata.xml
new file mode 100644
index 000000000000..ffac4d7ebc01
--- /dev/null
+++ b/dev-ml/ppx_assert/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_assert/ppx_assert-113.24.00.ebuild b/dev-ml/ppx_assert/ppx_assert-113.24.00.ebuild
new file mode 100644
index 000000000000..7592ff40d6d1
--- /dev/null
+++ b/dev-ml/ppx_assert/ppx_assert-113.24.00.ebuild
@@ -0,0 +1,41 @@
+# 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="Optional compilation for OCaml"
+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_compare:=
+ dev-ml/ppx_driver:=
+ dev-ml/ppx_here:=
+ dev-ml/ppx_sexp_conv:=
+ dev-ml/ppx_type_conv
+ dev-ml/sexplib:=
+ dev-ml/ppx_core:="
+
+RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND} dev-ml/oasis"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS=( CHANGES.md )
+
+src_prepare() {
+ sed -i -e 's/[.]expander/_expander/' _oasis || die
+ sed -i -e 's/driver[.]ocamlbuild/driver_ocamlbuild/' _oasis || die
+ sed -i -e "s/Executable ppx/Executable ${PN}/" _oasis || die
+ rm -f _tags
+ oasis setup || die
+}