commit: acfb23c07f88ff3bac3b84eb6ba384226f6cae73 Author: Thomas Bracht Laumann Jespersen <t <AT> laumann <DOT> xyz> AuthorDate: Thu Feb 12 09:10:57 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Feb 13 06:05:58 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acfb23c0
dev-ml/logs: add 0.10.0 Disable tests as they require another build system (b0) to run, which isn't packaged. Closes: https://bugs.gentoo.org/969638 Signed-off-by: Thomas Bracht Laumann Jespersen <t <AT> laumann.xyz> Part-of: https://codeberg.org/gentoo/gentoo/pulls/44 Merges: https://codeberg.org/gentoo/gentoo/pulls/44 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-ml/logs/Manifest | 1 + dev-ml/logs/logs-0.10.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-ml/logs/Manifest b/dev-ml/logs/Manifest index 986eca47db96..19e67ec79b95 100644 --- a/dev-ml/logs/Manifest +++ b/dev-ml/logs/Manifest @@ -1,3 +1,4 @@ +DIST logs-0.10.0.tbz 20044 BLAKE2B 7d9597634e4a36f63e7f71def680098f7c4345c2253572d21f4c54b2893fd9911af4af34430a763f68259a0b126155bec655b3a1aba0578de143002fadf221b8 SHA512 122b7a77bd07aee1e0cb8e07e82b195a12528cf015e72fa0dd5afaae26ce04bad9b29f32a6d3bd3547fe522b8a036608785e8adb900e31580a0d555719bbb7e7 DIST logs-0.7.0.tbz 18458 BLAKE2B 091d1778166af0b67e17e932a775a73e31e5d167b94b1b378063a7112c21bf1ac935c7e51fe29bcc0121cd5e60ea46ed3c7381f4db5df400b463feedfbe89663 SHA512 657f66eeaf5788947a3ff4b2a179f7e192ad4ce086fc8968286066d4b83af476523b3befce50ee58abf2d9b8c8dc65573ba8ed62f9c5e7933db29a7fb769646a DIST logs-0.8.0.tbz 19314 BLAKE2B 658f498aef61f42d2291b074fd317ace2db46c1b52c83a5757b3a7c1ed6b710ec20f6d56c5ade4e283b0d5760c43975e05572f935aff447c753be127eadf41b8 SHA512 c34c67b00d6a989a2660204ea70db8521736d6105f15d1ee0ec6287a662798fe5c4d47075c6e7c84f5d5372adb5af5c4c404f79db70d69140af5e0ebbea3b6a5 DIST logs-0.9.0.tbz 19795 BLAKE2B c45086fa59a3b6bb332e7da6615278a0f1bcb687f080aa0503c751b40ac0d5a2c8de0314c908496f6704c9b93bf13e92674d3fab6ed8c653136174e8c9a9aa58 SHA512 b75fb28e83f33461b06b5c9b60972c4a9a9a1599d637b4a0c7b1e86a87f34fe5361e817cb31f42ad7e7cbb822473b28fab9f58a02870eb189ebe88dae8e045ff diff --git a/dev-ml/logs/logs-0.10.0.ebuild b/dev-ml/logs/logs-0.10.0.ebuild new file mode 100644 index 000000000000..e5424d5dce53 --- /dev/null +++ b/dev-ml/logs/logs-0.10.0.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit findlib + +DESCRIPTION="Logging infrastructure for OCaml" +HOMEPAGE="https://erratique.ch/software/logs https://github.com/dbuenzli/logs" +SRC_URI="https://erratique.ch/software/logs/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+fmt cli +lwt" +# Tests require (unpackaged) b0 build system +RESTRICT="test" + +RDEPEND=" + >=dev-lang/ocaml-4.14 + dev-ml/result:=[ocamlopt] + fmt? ( dev-ml/fmt:= ) + cli? ( dev-ml/cmdliner:=[ocamlopt] ) + lwt? ( dev-ml/lwt:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-ml/findlib + dev-ml/ocamlbuild + dev-ml/opam-installer + dev-ml/topkg +" + +src_compile() { + ocaml pkg/pkg.ml build \ + --with-js_of_ocaml-compiler false \ + --with-fmt $(usex fmt true false) \ + --with-cmdliner $(usex cli true false) \ + --with-lwt $(usex lwt true false) \ + --with-base-threads true \ + || die +} + +src_install() { + opam-installer -i \ + --prefix="${ED}/usr" \ + --libdir="${D}/$(ocamlc -where)" \ + --docdir="${ED}/usr/share/doc/${PF}" \ + ${PN}.install || die + + einstalldocs +}
