From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C918915800F for ; Fri, 13 Jan 2023 02:30:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66479E095F; Fri, 13 Jan 2023 02:30:15 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 346C3E095F for ; Fri, 13 Jan 2023 02:30:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3FD9B33FECD for ; Fri, 13 Jan 2023 02:30:13 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3570C74E for ; Fri, 13 Jan 2023 02:30:11 +0000 (UTC) From: "Maciej Barć" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Maciej Barć" Message-ID: <1673575267.21d9a81330f60607c82a1f1fb4bec846bb7208dc.xgqt@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ml/uuseg/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-ml/uuseg/Manifest dev-ml/uuseg/metadata.xml dev-ml/uuseg/uuseg-15.0.0.ebuild X-VCS-Directories: dev-ml/uuseg/ X-VCS-Committer: xgqt X-VCS-Committer-Name: Maciej Barć X-VCS-Revision: 21d9a81330f60607c82a1f1fb4bec846bb7208dc X-VCS-Branch: master Date: Fri, 13 Jan 2023 02:30:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9c719d4c-bbce-4952-bfc9-412cf7ae876c X-Archives-Hash: aa486aa71d7d5335502f4b8429c5ad43 commit: 21d9a81330f60607c82a1f1fb4bec846bb7208dc Author: Maciej Barć gentoo org> AuthorDate: Fri Jan 13 01:36:02 2023 +0000 Commit: Maciej Barć gentoo org> CommitDate: Fri Jan 13 02:01:07 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21d9a813 dev-ml/uuseg: new package; add 15.0.0 Signed-off-by: Maciej Barć gentoo.org> dev-ml/uuseg/Manifest | 1 + dev-ml/uuseg/metadata.xml | 23 +++++++++++++++++++++++ dev-ml/uuseg/uuseg-15.0.0.ebuild | 38 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 62 insertions(+) diff --git a/dev-ml/uuseg/Manifest b/dev-ml/uuseg/Manifest new file mode 100644 index 000000000000..93afecf9c511 --- /dev/null +++ b/dev-ml/uuseg/Manifest @@ -0,0 +1 @@ +DIST uuseg-15.0.0.tar.gz 25540 BLAKE2B 4ee1512bde79aab4777395d3ccfb8fe76c97ba7e93b722acd7c36acac432a44a9eade512ea45a0204a1d947a60e3d61773de05890d64d7afac4b1965d1493bb3 SHA512 c117868d52ca8f5de3104b0ea25ea011c19cefd53018c4d9bdf900185d04f74c097b7f129b75366a8da905a79dac3cbf8e6c66ff6c20fee1c2e42b9cdd6a9fa6 diff --git a/dev-ml/uuseg/metadata.xml b/dev-ml/uuseg/metadata.xml new file mode 100644 index 000000000000..83ae1c163f95 --- /dev/null +++ b/dev-ml/uuseg/metadata.xml @@ -0,0 +1,23 @@ + + + + + + ml@gentoo.org + ML + + + Uuseg is an OCaml library for segmenting Unicode text. It implements the + locale independent Unicode text segmentation algorithms to detect grapheme + cluster, word and sentence boundaries and the Unicode line breaking + algorithm to detect line break opportunities. The library is independent + from any IO mechanism or Unicode text data structure and it can process + text without a complete in-memory representation. Uuseg depends on Uucp and + optionally on Uutf for support on OCaml UTF-X encoded strings. It is + distributed under the ISC license. + + + https://github.com/dbuenzli/uuseg/issues/ + dbuenzli/uuseg + + diff --git a/dev-ml/uuseg/uuseg-15.0.0.ebuild b/dev-ml/uuseg/uuseg-15.0.0.ebuild new file mode 100644 index 000000000000..d3dd9d062ae2 --- /dev/null +++ b/dev-ml/uuseg/uuseg-15.0.0.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="Unicode text segmentation for OCaml" +HOMEPAGE="https://erratique.ch/software/uuseg/ + https://github.com/dbuenzli/uuseg/" +SRC_URI="https://github.com/dbuenzli/uuseg/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-ml/cmdliner:= + dev-ml/uucp:= + dev-ml/uutf:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-ml/ocamlbuild + dev-ml/findlib + dev-ml/topkg +" + +src_compile() { + ocaml pkg/pkg.ml build --tests $(usex test true false) || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +}