summaryrefslogtreecommitdiff
path: root/dev-ml/reason-parser
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-ml/reason-parser
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-ml/reason-parser')
-rw-r--r--dev-ml/reason-parser/Manifest3
-rw-r--r--dev-ml/reason-parser/metadata.xml11
-rw-r--r--dev-ml/reason-parser/reason-parser-2.0.0.ebuild39
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-ml/reason-parser/Manifest b/dev-ml/reason-parser/Manifest
new file mode 100644
index 000000000000..29514601af5c
--- /dev/null
+++ b/dev-ml/reason-parser/Manifest
@@ -0,0 +1,3 @@
+DIST reason-parser-2.0.0.tar.gz 183562 SHA256 533c1a8d26f8b85b2eeec1a80b407de9ee17e3ecfb9b5f1170ce31aab9266edc SHA512 43d05367978a273625d43fbee33c554777a24003b3a843b610da2a73187f2c5ad7dc110fd2b50ba4671ca05e7fcff6ed63fdf52f79769752b31d0aec48fab84c WHIRLPOOL 479eee7afc20269954e0aca352cb17414d29e28997276301009fd19e133e99d69d4ae1134eef673da96ce89027c03d5f13131f8626aa55a73719fb11f5b59870
+EBUILD reason-parser-2.0.0.ebuild 835 SHA256 d90f40affa3e4d4be33f820fd757d135a1cb7aef406af101c927fb3afbf45e4c SHA512 6249b3bda1828a3f621e0c4f14b1a29b5fd3241e16bc2194319cd8745e790f65015d39e6f4450c73c6a387a23bbf4fbaea71a6f10bfa84272601591a4a014e52 WHIRLPOOL c264e95f6faa519095f4eb103e22898a5bfc5f770c0aef9fe0f5fc1779309a87871c0b86c5ab93bc1ceeb6aaad563035d5638019ab529b6259e6c633b972eb46
+MISC metadata.xml 327 SHA256 a9e0546b5264d073a4f5d5e8cd0eec5800e48950c2440ae5deec4e2fb5e6339f SHA512 e31d023f933d9df780e34a4fad75e789c6f94e09eb597f2e8ddbf8b1cbd39ea996c878b2f0ce4b9d03392ab59c0362379774256caa54f6e6e9515270abc9797e WHIRLPOOL de6b18e30056f7099d8279d8588ee91c0f5b8013a2e58f381a26bce5bcfed8cf37884cf23609d37f9fb7ddbebb5fde2c104281e1e97f5180e85b55c563057a5c
diff --git a/dev-ml/reason-parser/metadata.xml b/dev-ml/reason-parser/metadata.xml
new file mode 100644
index 000000000000..ffe46435e1e5
--- /dev/null
+++ b/dev-ml/reason-parser/metadata.xml
@@ -0,0 +1,11 @@
+<?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>
+ <upstream>
+ <remote-id type="github">facebook/reason</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/dev-ml/reason-parser/reason-parser-2.0.0.ebuild b/dev-ml/reason-parser/reason-parser-2.0.0.ebuild
new file mode 100644
index 000000000000..2ec81a735441
--- /dev/null
+++ b/dev-ml/reason-parser/reason-parser-2.0.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit findlib eutils opam
+
+DESCRIPTION="Meta Language Toolchain"
+HOMEPAGE="https://github.com/facebook/reason"
+SRC_URI="https://github.com/facebook/reason/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+DEPEND="
+ >=dev-ml/menhir-20170418:=
+ dev-ml/merlin-extend:=
+ dev-ml/result:=
+ dev-ml/topkg:=
+ dev-ml/ocaml-migrate-parsetree:=
+ dev-ml/ppx_tools_versioned:=
+"
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+ dev-ml/ocamlbuild
+"
+
+S="${WORKDIR}/${PN}"
+
+src_compile() {
+ emake compile_error
+ ocamlbuild -package topkg pkg/build.native || die
+ ./build.native build \
+ --native "$(usex ocamlopt true false)" \
+ --native-dynlink "$(usex ocamlopt true false)" \
+ || die
+}