commit: fdc3d402e25a27842ec686b67d15ae9d24d63c43 Author: Mark Wright <gienah <AT> gentoo <DOT> org> AuthorDate: Tue Oct 13 06:55:37 2020 +0000 Commit: Mark Wright <gienah <AT> gentoo <DOT> org> CommitDate: Tue Oct 13 12:53:44 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc3d402
dev-ml/react: EAPI=7, add ~arm64 from ml-overlay Co-Author: Alexis Ballier <aballier <AT> gentoo.org> Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Mark Wright <gienah <AT> gentoo.org> dev-ml/react/react-1.2.1-r1.ebuild | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/dev-ml/react/react-1.2.1-r1.ebuild b/dev-ml/react/react-1.2.1-r1.ebuild new file mode 100644 index 00000000000..961c0c0dde4 --- /dev/null +++ b/dev-ml/react/react-1.2.1-r1.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit opam + +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 ~arm ~arm64 ~ppc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="" +DEPEND="${RDEPEND} + dev-ml/findlib + >=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 +}
