summaryrefslogtreecommitdiff
path: root/dev-ml/reason
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/reason')
-rw-r--r--dev-ml/reason/Manifest3
-rw-r--r--dev-ml/reason/metadata.xml11
-rw-r--r--dev-ml/reason/reason-2.0.0.ebuild34
3 files changed, 48 insertions, 0 deletions
diff --git a/dev-ml/reason/Manifest b/dev-ml/reason/Manifest
new file mode 100644
index 000000000000..5b16cb8e85bb
--- /dev/null
+++ b/dev-ml/reason/Manifest
@@ -0,0 +1,3 @@
+DIST reason-2.0.0.tar.gz 6639139 BLAKE2B c2f65c967e86ab9d57d25194aa5f113b7d11fce1d3c47d7b93b31ae0728b8e3528c736e694c462e4debcce228c227e612901cc576604c69afd966a40058ac429 SHA512 5e8fb81193de90fcf95ae39e66dab6b7638f1b6f37f7f438c3692e67de8f33667eca92e76df4968ad794e4bd02674583203e1058f1e990f3f6e87d8ce1fbbb43
+EBUILD reason-2.0.0.ebuild 627 BLAKE2B e504467b4b23bca9b915ccbf23e4a2924ea047dd96f14907296c138c514c5db5cba4ec4ec5e973aeb3555899b5c7507db4537cf2efa5efec36311d7a8c7ac6fe SHA512 b21460ebf47b988e32daa46695ddaebe4fe8f4a6c3c6d83ca57bb97974478e76e25a132b467dd6914c293080b2801cc364aa0a6677a666321c3eeb87aa7388af
+MISC metadata.xml 327 BLAKE2B 20761baadf58eed46854c6f1a748700a95c54e421450491a073c1f693b236616aab5ec15f95326271ea49242b09e163e704ca2d8081522dbc8577f6c75367a5c SHA512 e31d023f933d9df780e34a4fad75e789c6f94e09eb597f2e8ddbf8b1cbd39ea996c878b2f0ce4b9d03392ab59c0362379774256caa54f6e6e9515270abc9797e
diff --git a/dev-ml/reason/metadata.xml b/dev-ml/reason/metadata.xml
new file mode 100644
index 000000000000..ffe46435e1e5
--- /dev/null
+++ b/dev-ml/reason/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/reason-2.0.0.ebuild b/dev-ml/reason/reason-2.0.0.ebuild
new file mode 100644
index 000000000000..0fc83b36497d
--- /dev/null
+++ b/dev-ml/reason/reason-2.0.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit opam
+
+DESCRIPTION="Meta Language Toolchain"
+HOMEPAGE="https://github.com/facebook/reason"
+SRC_URI="https://github.com/facebook/reason/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+DEPEND="
+ dev-ml/reason-parser:=
+ dev-ml/merlin-extend:=
+ dev-ml/result:=
+ dev-ml/topkg:=
+ dev-ml/ocaml-migrate-parsetree:=
+ dev-ml/utop:=
+"
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+ dev-ml/findlib
+ dev-ml/ocamlbuild
+"
+
+src_compile() {
+ emake precompile
+ emake build
+}