diff options
Diffstat (limited to 'dev-ml/react')
-rw-r--r-- | dev-ml/react/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/react/react-1.2.1-r1.ebuild | 32 |
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-ml/react/Manifest b/dev-ml/react/Manifest index 0fa79cd103da..f141d35e97b2 100644 --- a/dev-ml/react/Manifest +++ b/dev-ml/react/Manifest @@ -1,3 +1,4 @@ DIST react-1.2.1.tbz 39184 BLAKE2B 0ad5fd576c08292011e6543462295a11b77048f59aaaf34726c078c654fba4a9b7dd0bb6a6579fad04a6cd217b29f4efc15de9b7d9b208c593b481610534d9c8 SHA512 60f8788cc820e2be5303caedc80a377c8e5deab170d0eb9df71ff99d6fc57f31357824522f973c6e0d6b3979b58272e7f90b829474a494b94565279c53e8fbb1 +EBUILD react-1.2.1-r1.ebuild 658 BLAKE2B afe410ecc66cf66be9bdcd7c6ce87e6f32bc184153b5aac08d482bfc97e76e898e8cd67cd1ea1bd49fd2238dd85efaafb6825dffd4fd63352a3ad5c85a9a722a SHA512 acdb8967ebcbd843d6b63662d19d2107763dce4267cddef43f9449230977aad700db45fff5cd5e5e9a29383ce8289de850bb2bf503e94b572afdfa83ebb5dc32 EBUILD react-1.2.1.ebuild 648 BLAKE2B b880919996694717b60c3fd703dc0b94bde370170cfae93e65078d9756d088d0f4f2e4c4d68e09643140a9685cd274f4300b0f87fce8c8b2f33c959fd2e6748f SHA512 a6bca798f789abf1d6ee227c1e9e30c1287f598cbd0d7b18d1c64af00225c5ff85f2df048d65754efc86061d81b8363fdd6f06fa8d56c17eee88e27729c7542d MISC metadata.xml 803 BLAKE2B 81ae42db1eee6a5ea870a1fb7412bbf7727170dd1e9a42a6bca98ebfccabaeead3423140ebfc7bd04dde30add471de9e950c81a845a1582749302e1218ec1110 SHA512 b23c33ca0645d4c199a6b1d77d857d869d9f63e09ab93238819db8750ff7818d5bca38c6df6baf9c74b8199eca015c0a1bae93c747140d978052ccdc51e5904b 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 000000000000..8f19e9401a65 --- /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 ~ppc64 ~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 +} |