diff options
| author | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-06-12 19:09:37 -0500 |
| commit | b590c8d7572b727d565cc0b8ff660d43569845de (patch) | |
| tree | 06f7a4102ea4e845df8b66660f252920d52952f9 /dev-ml/react | |
| parent | 24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff) | |
| download | baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip | |
Adding metadata
Diffstat (limited to 'dev-ml/react')
| -rw-r--r-- | dev-ml/react/Manifest | 1 | ||||
| -rw-r--r-- | dev-ml/react/metadata.xml | 21 | ||||
| -rw-r--r-- | dev-ml/react/react-1.2.2-r1.ebuild | 38 |
3 files changed, 60 insertions, 0 deletions
diff --git a/dev-ml/react/Manifest b/dev-ml/react/Manifest new file mode 100644 index 000000000000..6d81d5467abc --- /dev/null +++ b/dev-ml/react/Manifest @@ -0,0 +1 @@ +DIST react-1.2.2.tbz 40013 BLAKE2B 302f480cf2cc88fc8a97b262d41809ed4fe904d3ea4cdec8ba80a8bdc99b3ffc1c9f19cf853c3d40587a34ba7608734e60ede5b756479676af95f9470e1badac SHA512 18cdd544d484222ba02db6bd9351571516532e7a1c107b59bbe39193837298f5c745eab6754f8bc6ff125b387be7018c6d6e6ac99f91925a5e4f53af688522b1 diff --git a/dev-ml/react/metadata.xml b/dev-ml/react/metadata.xml new file mode 100644 index 000000000000..0b46c2322eb6 --- /dev/null +++ b/dev-ml/react/metadata.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ml@gentoo.org</email> + <name>ML</name> + </maintainer> + <longdescription lang="en"> + React is an OCaml module for functional reactive programming (FRP). It + provides support to program with time varying values : applicative events + and signals. React doesn't define any primitive event or signal, this lets + the client chooses the concrete timeline. React is made of a single, + independent, module and distributed under the new BSD license. Given an + absolute notion of time Rtime helps you to manage a timeline and provides + time stamp events, delayed events and delayed signals. + </longdescription> + <upstream> + <bugs-to>https://github.com/dbuenzli/react/issues/</bugs-to> + </upstream> + <origin>baldeagleos-repo</origin> +</pkgmetadata> diff --git a/dev-ml/react/react-1.2.2-r1.ebuild b/dev-ml/react/react-1.2.2-r1.ebuild new file mode 100644 index 000000000000..d00b8889f92b --- /dev/null +++ b/dev-ml/react/react-1.2.2-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit opam + +DESCRIPTION="OCaml module for functional reactive programming" +HOMEPAGE="http://erratique.ch/software/react https://github.com/dbuenzli/react" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/dbuenzli/react.git" +else + SRC_URI="http://erratique.ch/software/react/releases/${P}.tbz" + KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" +fi + +LICENSE="BSD" +SLOT="0/${PV}" +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 +} |
