From 4045b7212a63f6887586749ca84050b22c2ffbc3 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 17 Mar 2017 09:14:51 +0100 Subject: [PATCH] dev-ml/react: Bump to 1.2.1 Package-Manager: Portage-2.3.4, Repoman-2.3.2 --- dev-ml/react/Manifest | 1 + dev-ml/react/react-1.2.1.ebuild | 39 +++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-ml/react/react-1.2.1.ebuild diff --git a/dev-ml/react/Manifest b/dev-ml/react/Manifest index 9eb75488749a..dd0811cebbfb 100644 --- a/dev-ml/react/Manifest +++ b/dev-ml/react/Manifest @@ -1,2 +1,3 @@ DIST react-0.9.4.tbz 82964 SHA256 466ad4e2e7ff57c93c4e51511f53f2bdf32df46354458f4a158cd13bf3fbd4ab SHA512 6f1483ccc02d4aebf5836cb0585edf36119fd6a38c6279d1c35dee616a90e7394f4d6ccc92ef84df5da785121efd329875a0f281b130c6c5a30b8ea42f669f4e WHIRLPOOL cd48957762b6f940cc2ad40b535d12c1f6cd6631850ecb3e4df80b7298dc636d22e9d2b9b0c4188dc2a1b86fcf4652ced63a7ad4cc81922c98ae40560875dd9d DIST react-1.2.0.tbz 64665 SHA256 887aaea9191870bc0f37f945c02ec4c90497d949cd4dedc3d565c3fbec7ad04e SHA512 3f2037ca68ea9d61eebaf7dcd7a768c59d3ce5bdd33c3adec9eee9df875a1b958cb450398eb7d72ac1a4144dc7b6dab344156ba920aaea2e3d39cc0f515839be WHIRLPOOL 79042a4305297bf12ef17f1d117709a5c15430d4a7ba6225c283c999537e528b6f0773634fe281e7a5423531f1692fb7f552dbbf410663dee39669ba7d8fed3c +DIST react-1.2.1.tbz 39184 SHA256 7b2c5c078cc659dcd2202e5d89628df592c5e843b7e8f357b63db5f6d2e148aa SHA512 60f8788cc820e2be5303caedc80a377c8e5deab170d0eb9df71ff99d6fc57f31357824522f973c6e0d6b3979b58272e7f90b829474a494b94565279c53e8fbb1 WHIRLPOOL c884c92d66186792de760ed40a1df3d57597d3f85a38ab31207425a3de54fca199edf52ab93239af7ae5bb3b993fc2b044d68b883fb4f3b0d92c082a28121e45 diff --git a/dev-ml/react/react-1.2.1.ebuild b/dev-ml/react/react-1.2.1.ebuild new file mode 100644 index 000000000000..fe35d7192846 --- /dev/null +++ b/dev-ml/react/react-1.2.1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" + +DESCRIPTION="OCaml module for functional reactive programming" +HOMEPAGE="http://erratique.ch/software/react https://github.com/dbuenzli/react" +SRC_URI="http://erratique.ch/software/react/releases/${P}.tbz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86-fbsd" +IUSE="test" + +RDEPEND=">=dev-lang/ocaml-3.12:=" +DEPEND="${RDEPEND} + dev-ml/findlib + dev-ml/opam + >=dev-ml/topkg-0.9 +" + +src_compile() { + ocaml pkg/pkg.ml build \ + --tests $(usex test 'true' 'false') \ + || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +} + +src_install() { + opam-installer \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + || die + dodoc CHANGES.md README.md TODO.md +} -- 2.26.2