summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2017-04-18 21:08:51 +0200
committerAlexis Ballier <aballier@gentoo.org>2017-04-18 22:09:53 +0200
commit4e150721709f3b59ad713e92cbf8f70c37fec1da (patch)
treecf2072ac6aa1a0a6ed36320159d23715e05f9b01
parentdev-ml/jbuilder: bump to 1.0_beta8 (diff)
downloadgentoo-4e150721709f3b59ad713e92cbf8f70c37fec1da.tar.gz
gentoo-4e150721709f3b59ad713e92cbf8f70c37fec1da.tar.bz2
gentoo-4e150721709f3b59ad713e92cbf8f70c37fec1da.zip
dev-ml/ocaml-migrate-parsetree: bump to 1.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
-rw-r--r--dev-ml/ocaml-migrate-parsetree/Manifest1
-rw-r--r--dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ml/ocaml-migrate-parsetree/Manifest b/dev-ml/ocaml-migrate-parsetree/Manifest
index 48b0e205254f..87214c5746a5 100644
--- a/dev-ml/ocaml-migrate-parsetree/Manifest
+++ b/dev-ml/ocaml-migrate-parsetree/Manifest
@@ -1 +1,2 @@
DIST ocaml-migrate-parsetree-0.7.tar.gz 168579 SHA256 a9048e1a9c004ec9b307452fff25e8f31853942e42d054bd052739eb838026a2 SHA512 d43a80823496670877a01a0d3b9edc0960e80e84562470723b7188922c880262268f518e8fa3dbbcccc0176fba84cc8c1a18baac8ececb13303ed402cf0bff9f WHIRLPOOL 788fc318bcc972a1b62b951ab1e4a2315e3c4922b07c74cb910716f1e41bb61babe0acf86a0fbd15d8e05a2ff7da05a683b8005119f4a65d284ea0a453098e0e
+DIST ocaml-migrate-parsetree-1.0.tar.gz 169706 SHA256 c6cfd5012d357cfbeb059d3286e9dcc003bebe98fa3901a21389b1dbb0446741 SHA512 24930b2368cfd86a489cddbe391b978a8f4c34ba7aa2dd3ce849f4fe8d836b5eaefab18a782df93ead641094f19261941754802ae1019ed7c0c8a8c1dcdecb15 WHIRLPOOL 7d314d7fd8a82ecb4dda12c12e7f5134680c351a9996b4e00226a8fc3c3ba6457afc16a3d869910a24c271561c9e6dda355fe8bb82a936f0072e6b05dcc7b9d0
diff --git a/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.ebuild b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.ebuild
new file mode 100644
index 000000000000..0267b5ff2525
--- /dev/null
+++ b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit findlib
+
+DESCRIPTION="Convert OCaml parsetrees between different major versions"
+HOMEPAGE="https://github.com/let-def/ocaml-migrate-parsetree"
+SRC_URI="https://github.com/let-def/ocaml-migrate-parsetree/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="
+ dev-lang/ocaml:=
+ dev-ml/result:=
+"
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+ dev-ml/jbuilder
+ dev-ml/opam"
+
+src_install() {
+ opam-installer -i \
+ --prefix="${ED}/usr" \
+ --libdir="${D}/$(ocamlc -where)" \
+ --docdir="${ED}/usr/share/doc/${PF}" \
+ --mandir="${ED}/usr/share/man" \
+ ${PN}.install || die
+}