commit:     ace8f9db483557d6c11eb8ef276b5ecb1a3e5278
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 12 18:29:08 2025 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Sun Oct 12 18:29:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ace8f9db

dev-ml/uutf: add 1.0.4

Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 dev-ml/uutf/Manifest          |  1 +
 dev-ml/uutf/uutf-1.0.4.ebuild | 43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-ml/uutf/Manifest b/dev-ml/uutf/Manifest
index 55a0757958ff..ef26e1fa90f2 100644
--- a/dev-ml/uutf/Manifest
+++ b/dev-ml/uutf/Manifest
@@ -1 +1,2 @@
 DIST uutf-1.0.3.tbz 23363 BLAKE2B 
fe35596a3c3590df38f34219ac577d34c0899c006087cb015e971002fff0d193d7fdc281d0bc3abe2fd440e7da11cc27d10b0356f9eb73e1a2c647fd0b672bf6
 SHA512 
50cc4486021da46fb08156e9daec0d57b4ca469b07309c508d5a9a41e9dbcf1f32dec2ed7be027326544453dcaf9c2534919395fd826dc7768efc6cc4bfcc9f8
+DIST uutf-1.0.4.tbz 23013 BLAKE2B 
ba49056d05f98d804aebd3d4ea81f32a21995ea565aa86efd1ee82c997a61c00a135e42817af14787a3d908f5962a7b2238244ba12ffd8ada7835e63048dff78
 SHA512 
e35f408bc971cd8da3077e6c3321e0d8f4eb569898e0e219fde62dae78fbd0a0095cb7f036287656f6a1b346584f7b9f0c6dec0a5a092180da36e43247027598

diff --git a/dev-ml/uutf/uutf-1.0.4.ebuild b/dev-ml/uutf/uutf-1.0.4.ebuild
new file mode 100644
index 000000000000..d1eb8af9d2d1
--- /dev/null
+++ b/dev-ml/uutf/uutf-1.0.4.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit findlib
+
+DESCRIPTION="Non-blocking streaming Unicode codec for OCaml"
+HOMEPAGE="https://erratique.ch/software/uutf";
+SRC_URI="https://erratique.ch/software/uutf/releases/${P}.tbz";
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="doc +ocamlopt"
+RESTRICT="test"
+
+RDEPEND="dev-ml/uchar:="
+DEPEND="${RDEPEND}"
+BDEPEND="dev-ml/ocamlbuild
+       dev-ml/topkg"
+
+DOCS=( CHANGES.md README.md )
+
+src_compile() {
+       ocaml pkg/pkg.ml build || die
+}
+
+src_install() {
+       # Can't use opam-installer here as it is an opam dep...
+       findlib_src_preinst
+       local nativelibs=""
+
+       use ocamlopt &&
+               nativelibs="$(echo _build/src/uutf.cm{x,xa,xs} 
_build/src/uutf.a)"
+       ocamlfind install uutf _build/pkg/META _build/src/uutf.mli 
_build/src/uutf.cm{a,i} ${nativelibs} || die
+
+       einstalldocs
+       if use doc ; then
+               docinto html
+               dodoc -r doc/*
+       fi
+}

Reply via email to