diff options
Diffstat (limited to 'dev-ml/react')
-rw-r--r-- | dev-ml/react/Manifest | 4 | ||||
-rw-r--r-- | dev-ml/react/metadata.xml | 35 | ||||
-rw-r--r-- | dev-ml/react/react-1.2.2.ebuild | 38 |
3 files changed, 60 insertions, 17 deletions
diff --git a/dev-ml/react/Manifest b/dev-ml/react/Manifest index 2971df076661..8754396960d1 100644 --- a/dev-ml/react/Manifest +++ b/dev-ml/react/Manifest @@ -1,3 +1,5 @@ DIST react-1.2.1.tbz 39184 BLAKE2B 0ad5fd576c08292011e6543462295a11b77048f59aaaf34726c078c654fba4a9b7dd0bb6a6579fad04a6cd217b29f4efc15de9b7d9b208c593b481610534d9c8 SHA512 60f8788cc820e2be5303caedc80a377c8e5deab170d0eb9df71ff99d6fc57f31357824522f973c6e0d6b3979b58272e7f90b829474a494b94565279c53e8fbb1 +DIST react-1.2.2.tbz 40013 BLAKE2B 302f480cf2cc88fc8a97b262d41809ed4fe904d3ea4cdec8ba80a8bdc99b3ffc1c9f19cf853c3d40587a34ba7608734e60ede5b756479676af95f9470e1badac SHA512 18cdd544d484222ba02db6bd9351571516532e7a1c107b59bbe39193837298f5c745eab6754f8bc6ff125b387be7018c6d6e6ac99f91925a5e4f53af688522b1 EBUILD react-1.2.1-r1.ebuild 660 BLAKE2B a090ae7ac7f4a371aec1b5730a8ef3d85f310d0e334f5188763be981890100af0acc8b3fa14b657dfc5c49f93871a7b163a67d95d138f1354f561a5d3f0a494f SHA512 42c053d74744f3d23f84397dc521203f553b017a7ddca21b6fef05afbcfa4b1ebdbe92d974ae79d726f484544b77a6813466dd2ac1c9d233cb48df9065eaed87 -MISC metadata.xml 804 BLAKE2B 25bf077f6dcbc5984410237fc61867a46222fd4cbe24a4e64a5c3195b8929c933c6c2b585a3a93586048645d0618ef8bf8703b9b4388761fd3c5ff94c6d1369d SHA512 a0901343c5b7c9c5a511cc051db66d9189ed8f399cc65fe6efad16a368bceab47528b94aedcfbf12b550f564abe84aa895f0b3026bb30b6d3265e4cea00f0da2 +EBUILD react-1.2.2.ebuild 777 BLAKE2B 176ebeca42a9a81898ce64da3e7d65c08fefb3c61321cae0c546429edf89810a92642f3409d72a726991bd975a984f122474a57110b250cbe8285be2e4fdf520 SHA512 164ea5b20446cf5793087bb284f53ae9bf9498eab516ea004872ef9f50d7b8767777e4ba47b3c25ae41156cb87121111aec9ba3b564c3fd0bb1af503b35982f2 +MISC metadata.xml 1059 BLAKE2B f4bc6ae58d39664c9782e4d9bdfef2e2ab3d67a942db524009a677a246990f75d35819cecdbe770c7d6aee3223835aa686cf41021dd25ce61b139547714a998e SHA512 4826ec1ed4b68d4c166140fa86f7e80842ffaa83f37cf46781530c2837d2b441981dc1f4b93787a305842b061fa33f9c368e029870363c95e1ed84879cab19ac diff --git a/dev-ml/react/metadata.xml b/dev-ml/react/metadata.xml index 9371e28a658c..e6107330d4f5 100644 --- a/dev-ml/react/metadata.xml +++ b/dev-ml/react/metadata.xml @@ -1,20 +1,23 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <!-- maintainer-needed --> - <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> - <remote-id type="github">dbuenzli/react</remote-id> - </upstream> + <maintainer type="person" proxied="yes"> + <name>Thamognya Kodi</name> + <email>contact@thamognya.com</email> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</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> + <remote-id type="github">dbuenzli/react</remote-id> + </upstream> </pkgmetadata> diff --git a/dev-ml/react/react-1.2.2.ebuild b/dev-ml/react/react-1.2.2.ebuild new file mode 100644 index 000000000000..a0f919852efe --- /dev/null +++ b/dev-ml/react/react-1.2.2.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2022 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" + +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 +} |