dev-ml/ppx_assert: initial import; ebuild by me.
authorAlexis Ballier <aballier@gentoo.org>
Fri, 5 Feb 2016 16:30:02 +0000 (17:30 +0100)
committerAlexis Ballier <aballier@gentoo.org>
Fri, 5 Feb 2016 20:59:02 +0000 (21:59 +0100)
Package-Manager: portage-2.2.27
Signed-off-by: Alexis Ballier <aballier@gentoo.org>
dev-ml/ppx_assert/Manifest [new file with mode: 0644]
dev-ml/ppx_assert/metadata.xml [new file with mode: 0644]
dev-ml/ppx_assert/ppx_assert-113.24.00.ebuild [new file with mode: 0644]

diff --git a/dev-ml/ppx_assert/Manifest b/dev-ml/ppx_assert/Manifest
new file mode 100644 (file)
index 0000000..aef354f
--- /dev/null
@@ -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 (file)
index 0000000..ffac4d7
--- /dev/null
@@ -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 (file)
index 0000000..7592ff4
--- /dev/null
@@ -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
+}