diff options
Diffstat (limited to 'dev-ml/lwt')
-rw-r--r-- | dev-ml/lwt/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/lwt/lwt-5.6.1.ebuild | 60 |
2 files changed, 62 insertions, 0 deletions
diff --git a/dev-ml/lwt/Manifest b/dev-ml/lwt/Manifest index ac26f8b4d907..a2f2b2189f5f 100644 --- a/dev-ml/lwt/Manifest +++ b/dev-ml/lwt/Manifest @@ -2,6 +2,8 @@ AUX lwt-5.3.0-ocaml-4.12.patch 652 BLAKE2B 743c149e53b45dca0797b4b6ceb7cdb9eda64 AUX lwt-5.3.0-ppxlib-0.18.0.patch 13548 BLAKE2B fa89411ea65421eb8f8b7f7f782817c27f21d88a12a95a6a8a9d858c6e6665d2a79432ec237daf77d594ba11e4ef1e71921779084055e8df695b696f81b6ce06 SHA512 cd5dc33e0b3366445ce491efda7ff55fcf7f628138fc8213dfa8a7d425d44fd7b312d9008ff1bad5216bb8179bc0e41e5844d1826237c3c26f657d7ec5410671 DIST lwt-5.3.0.tar.gz 298152 BLAKE2B a39494bf98fcca07bf4601a742f4bfdc1ea2a67e2babbab650c41d2df58296a859520509ddc080af9c4d55be76439b401174720765fb942586d7c866f80cc538 SHA512 9922c19944595b0c07da8e1bbdecb2cc7c5a7edcdc2224215efb819d9c735da8986388a2446bd0762e28533f5d9d386970f07a4f1b0d14255c6743f3a1d16cb6 DIST lwt-5.4.2.tar.gz 304541 BLAKE2B d474b20538af382c6f64072da2caa25e285f431c9b161c9796a44d1c84475f72e50d81baccb22ae908f82594c9dcaac6a874f54fe6332de2550128774d1280fc SHA512 9f46fb2e56dc7bd57a12d5ab4dc68719947a1462f336087a95e991d087bb9b5b8dee2592d0f7d35abc507d9a641dd221c44c949c81d00e26c673a067d94ba3f4 +DIST lwt-5.6.1.tar.gz 316067 BLAKE2B a9cf6bc2b57a130a5df8aa745987f9b8516adf0fce040d50d3bfbd6d9f801917ca37d050eb7fd7a210c5b0ae5e5726dd21fc675c2e8ee8670d0475204dbcc3aa SHA512 698875bd3bfcd5baa47eb48e412f442d289f9972421321541860ebe110b9af1949c3fbc253768495726ec547fe4ba25483cd97ff39bc668496fba95b2ed9edd8 EBUILD lwt-5.3.0-r1.ebuild 809 BLAKE2B 6879d70232201e22c5fb3a378e8f694ae244e010d6d891ef68b595c80766f84f58822dc48d56ea8aab9e43f5113f42a3ff13586ee77809992897c44b9bfb8b58 SHA512 07ebef96795dca668bd2768c57da64d817df39417c45fc0b82ebdda323ddb9ce4988d9d9665ca4964309b63737cdc4824b0e20ba87f823970f341055de755f59 EBUILD lwt-5.4.2-r1.ebuild 819 BLAKE2B de3962ccc0a4b6866560f497338e2ec2c77c4704fbdbf9f4776ded06aab0451d7fb8e290dec6d2c8877b1dded8c36befc5afffae5210a464f6219836402b5cdd SHA512 f115e11ada07ddb5015d469585a3f5653aaac207a6e152e7f534c1bb36d39513b0d5cbc5121424b9a0ffe1c7ea381af4228816ce8fe348a4dc95f420022ec6a5 +EBUILD lwt-5.6.1.ebuild 997 BLAKE2B 47053927b7af28ea10257b3916c7c0b346f84958204e3ff571d0e5bda3bb38f77c207863347bef8158ff61be881323bfa0672cf7728f8c0ecb8ed4c2f9bccd43 SHA512 68f06eee082581a2dbae07efc2d71c47dec1c602386d955de7756ffde0b5a16e9b5a9185be583026285d40beebdb880ab9d6e3edd3128dc542a9e90391d8f498 MISC metadata.xml 414 BLAKE2B 34a1192334c52a4dfe3746119293c05cccc14f6a4b7b5faad4834ad33996a98be8c7854096eebe870a4a0bdc675d796f55788334503423a99632b1625d84b8d9 SHA512 09660f044d6132779e8e63fe6dbca02109317f70af905181b8b344348c72257df804022fedf884c84ddbfe2d60dbcb965e3cc273c30c593f70a083d80c2f92aa diff --git a/dev-ml/lwt/lwt-5.6.1.ebuild b/dev-ml/lwt/lwt-5.6.1.ebuild new file mode 100644 index 000000000000..7091845a19b6 --- /dev/null +++ b/dev-ml/lwt/lwt-5.6.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Cooperative light-weight thread library for OCaml" +SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz" +HOMEPAGE="http://ocsigen.org/lwt" + +SLOT="0/${PV}" +LICENSE="LGPL-2.1-with-linking-exception" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" + +DEPEND=" + dev-libs/libev + dev-ml/luv:= + dev-ml/mmap:= + dev-ml/ocplib-endian:= + dev-ml/ppx_let:= + dev-ml/ppxlib:= + dev-ml/react:= + dev-ml/result:= +" +RDEPEND="${DEPEND}" +BDEPEND=" + dev-ml/cppo + dev-ml/findlib +" + +# "domainslib" is unpackaged. +OCAML_SUBPACKAGES=( + lwt + lwt_luv + lwt_ppx + lwt_ppx_let + lwt_react +) + +src_prepare() { + sed -i "s| seq||" "${S}"/src/core/dune || die + + default +} + +src_compile() { + dune-compile ${OCAML_SUBPACKAGES[@]} +} + +src_test() { + dune-test ${OCAML_SUBPACKAGES[@]} +} + +src_install() { + dune-install ${OCAML_SUBPACKAGES[@]} + + einstalldocs +} |