diff options
author | Alexis Ballier <aballier@gentoo.org> | 2017-04-01 18:22:37 +0200 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2017-04-02 10:37:52 +0200 |
commit | ca5384c29b916705ada1556c8124777157e67403 (patch) | |
tree | b8f18d5d410ffe1f6dfdae9930d1793a9c38b8a6 /dev-ml/ppx_let | |
parent | dev-ml/ppx_inline_test: Bump to 0.9.0 (diff) | |
download | gentoo-ca5384c29b916705ada1556c8124777157e67403.tar.gz gentoo-ca5384c29b916705ada1556c8124777157e67403.tar.bz2 gentoo-ca5384c29b916705ada1556c8124777157e67403.zip |
dev-ml/ppx_let: Bump to 0.9.0
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'dev-ml/ppx_let')
-rw-r--r-- | dev-ml/ppx_let/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/ppx_let/files/oc43.patch | 44 | ||||
-rw-r--r-- | dev-ml/ppx_let/ppx_let-0.9.0.ebuild | 30 | ||||
-rw-r--r-- | dev-ml/ppx_let/ppx_let-113.33.00.ebuild | 44 |
4 files changed, 31 insertions, 89 deletions
diff --git a/dev-ml/ppx_let/Manifest b/dev-ml/ppx_let/Manifest index 31d81c130b38..d480ddf3449b 100644 --- a/dev-ml/ppx_let/Manifest +++ b/dev-ml/ppx_let/Manifest @@ -1 +1 @@ -DIST ppx_let-113.33.00.tar.gz 54785 SHA256 217dfd47a18cfbbae44945a70d8bcba61197a6b54555a516bd16beeb05b8b3f6 SHA512 3b15c1f7f08b681b71da06d91f2d59c93dfc4194319a64bc4a0a3b6e9cf85a5a40a7348de39e309e378214d7022cd1eec4a2315c8a7a3124a0aedebc211020c3 WHIRLPOOL 62966789539d71c5dea930b44f784c469b355a0c7a5efcc96d3363ea4bd510684e69d1bd9bb0adb462fa509a05e0e78d2407437e61d6859a48ff93445c8d44b7 +DIST ppx_let-0.9.0.tar.gz 9245 SHA256 056bb269cc7da63bb9840e177db094e032996b8ad1fef4ad7658f96c4f64dc4d SHA512 545cdf341dafaab958e1dfec476f3a714ae5899dea3775ace443e36fe4d55136489ae376f2394dbecdcbcb4dbc66e41a1de147b2774c9a0c7508b827acba4250 WHIRLPOOL a85c49215266fe197fabb845dcae1a00faa601e5e9e0aa14ac1e40d0804dd6c35eb4039690f1312a723826fc0fdb18314029a24a40d5e4b9e3604b083fd054bc diff --git a/dev-ml/ppx_let/files/oc43.patch b/dev-ml/ppx_let/files/oc43.patch deleted file mode 100644 index 294964220944..000000000000 --- a/dev-ml/ppx_let/files/oc43.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -uNr ppx_let-113.33.00/_oasis ppx_let-113.33.00+4.03/_oasis ---- ppx_let-113.33.00/_oasis 2016-03-09 16:44:54.000000000 +0100 -+++ ppx_let-113.33.00+4.03/_oasis 2016-03-22 15:13:50.000000000 +0100 -@@ -1,8 +1,8 @@ - OASISFormat: 0.4 --OCamlVersion: >= 4.02.3 -+OCamlVersion: >= 4.03.0 - FindlibVersion: >= 1.3.2 - Name: ppx_let --Version: 113.33.00 -+Version: 113.33.00+4.03 - Synopsis: Monadic let-bindings - Authors: Jane Street Group, LLC <opensource@janestreet.com> - Copyrights: (C) 2015-2016 Jane Street Group LLC <opensource@janestreet.com> -diff -uNr ppx_let-113.33.00/opam ppx_let-113.33.00+4.03/opam ---- ppx_let-113.33.00/opam 2016-03-18 12:08:01.000000000 +0100 -+++ ppx_let-113.33.00+4.03/opam 2016-03-22 17:51:37.000000000 +0100 -@@ -15,4 +15,4 @@ - "ppx_core" - "ppx_driver" - ] --available: [ ocaml-version >= "4.02.3" ] -+available: [ ocaml-version >= "4.03.0" ] -diff -uNr ppx_let-113.33.00/src/ppx_let.ml ppx_let-113.33.00+4.03/src/ppx_let.ml ---- ppx_let-113.33.00/src/ppx_let.ml 2016-03-09 16:44:54.000000000 +0100 -+++ ppx_let-113.33.00+4.03/src/ppx_let.ml 2016-03-22 15:13:50.000000000 +0100 -@@ -64,7 +64,7 @@ - in - pexp_apply ~loc - (eoperator ~loc (Extension_name.operator_name extension_name)) -- [("", arg); (fn_label, fn)] -+ [(Nolabel, arg); (Labelled fn_label, fn)] - ;; - - let maybe_open extension_name ~to_open:module_to_open expr = -@@ -90,7 +90,7 @@ - ppat_tuple ~loc [p; acc]) - in - bind_apply ~loc extension_name ~arg:nested_boths -- ~fn:(pexp_fun ~loc "" None nested_patterns -+ ~fn:(pexp_fun ~loc Nolabel None nested_patterns - (maybe_open extension_name ~to_open:open_in_body body)) - ;; - diff --git a/dev-ml/ppx_let/ppx_let-0.9.0.ebuild b/dev-ml/ppx_let/ppx_let-0.9.0.ebuild new file mode 100644 index 000000000000..cae7df67e6aa --- /dev/null +++ b/dev-ml/ppx_let/ppx_let-0.9.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Monadic let-bindings" +HOMEPAGE="https://github.com/janestreet/ppx_let" +SRC_URI="https://github.com/janestreet/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="" + +DEPEND=" + dev-lang/ocaml:= + dev-ml/ppx_core:= + dev-ml/ppx_driver:= + dev-ml/ocaml-migrate-parsetree:= +" +RDEPEND="${DEPEND}" +DEPEND="${DEPEND} dev-ml/opam dev-ml/jbuilder" + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die +} diff --git a/dev-ml/ppx_let/ppx_let-113.33.00.ebuild b/dev-ml/ppx_let/ppx_let-113.33.00.ebuild deleted file mode 100644 index a66bdca6ed9e..000000000000 --- a/dev-ml/ppx_let/ppx_let-113.33.00.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI="5" - -inherit oasis - -DESCRIPTION="Monadic let-bindings" -HOMEPAGE="http://www.janestreet.com/ocaml" -SRC_URI="http://ocaml.janestreet.com/ocaml-core/${PV%.*}/files/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="" - -DEPEND="dev-ml/ppx_tools:= - dev-ml/ppx_core:= - dev-ml/ppx_driver:= -" -RDEPEND="${DEPEND}" -DEPEND="${DEPEND} dev-ml/opam" - -src_prepare() { - has_version '>=dev-lang/ocaml-4.03' && epatch "${FILESDIR}/oc43.patch" -} - -src_configure() { - emake setup.exe - OASIS_SETUP_COMMAND="./setup.exe" oasis_src_configure -} - -src_compile() { - emake -} - -src_install() { - opam-installer -i \ - --prefix="${ED}/usr" \ - --libdir="${D}/$(ocamlc -where)" \ - --docdir="${ED}/usr/share/doc/${PF}" \ - ${PN}.install || die - dodoc README.md -} |