diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2024-10-19 17:11:06 +0200 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2024-10-19 17:11:06 +0200 |
commit | 5df6da680a03c00391df9e22ba91d72b394f3c07 (patch) | |
tree | f554bb59fcb136fdbf08530f9b214bd81c04b19a /dev-ml | |
parent | dev-ml/uunf: add 16.0.0 (diff) | |
download | gentoo-5df6da680a03c00391df9e22ba91d72b394f3c07.tar.gz gentoo-5df6da680a03c00391df9e22ba91d72b394f3c07.tar.bz2 gentoo-5df6da680a03c00391df9e22ba91d72b394f3c07.zip |
dev-ml/uuseg: add 16.0.0
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r-- | dev-ml/uuseg/Manifest | 1 | ||||
-rw-r--r-- | dev-ml/uuseg/uuseg-16.0.0.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-ml/uuseg/Manifest b/dev-ml/uuseg/Manifest index 564878a67f1c..f0c85dc6760e 100644 --- a/dev-ml/uuseg/Manifest +++ b/dev-ml/uuseg/Manifest @@ -1,2 +1,3 @@ DIST uuseg-15.0.0.tar.gz 25540 BLAKE2B 4ee1512bde79aab4777395d3ccfb8fe76c97ba7e93b722acd7c36acac432a44a9eade512ea45a0204a1d947a60e3d61773de05890d64d7afac4b1965d1493bb3 SHA512 c117868d52ca8f5de3104b0ea25ea011c19cefd53018c4d9bdf900185d04f74c097b7f129b75366a8da905a79dac3cbf8e6c66ff6c20fee1c2e42b9cdd6a9fa6 DIST uuseg-15.1.0.tar.gz 25603 BLAKE2B fcf0817b60040eb9065c487d2e2ac4c8124c19eed09f80de2c874a5704a658a69f9f478dcf94647cfe433f9b2082119824085cac075469d2ab5fa77b0e2c8472 SHA512 959769f915edac4961e50fe7a7f866fe50bed31866e44c6240c95b58034efc4e06b7bfdf5a7c0a7d3f41f21f0979f7b470c9d26c1e37da19613d07d2ad93d829 +DIST uuseg-16.0.0.tar.gz 25725 BLAKE2B 17fda7018037a82fc053424aa499bda7c476a6575993bc2b37d87da1e1c0d203900f206308617ae8f080f6db978c7cc3fd87f344de8841f28df41b067291de5f SHA512 89a91eb83407daea72f664e093adf338e18b5b1f8ea030eecef49ae1ccfd660bf38f86edf74a0907a33540dfc12acfaafd038f894a74718cabe009a0177e58ce diff --git a/dev-ml/uuseg/uuseg-16.0.0.ebuild b/dev-ml/uuseg/uuseg-16.0.0.ebuild new file mode 100644 index 000000000000..21daa1c5d3d2 --- /dev/null +++ b/dev-ml/uuseg/uuseg-16.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 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" + +RDEPEND=" + >=dev-lang/ocaml-4.14:= + dev-ml/cmdliner:=[ocamlopt?] + dev-ml/uucp:= + dev-ml/uutf:=[ocamlopt?] +" +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 +} |