summaryrefslogtreecommitdiff
path: root/dev-ml/uuseg
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-07-14 12:27:14 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-07-14 12:27:14 +0100
commitf7adcd4ee556b2c3a420239c13fb74113d791f6a (patch)
tree1cc566bbd03612996262177e95152bdda507cca9 /dev-ml/uuseg
parent482a48c0e1675b1e92663b8b5222bb7261aa7956 (diff)
gentoo auto-resync : 14:07:2024 - 12:27:13
Diffstat (limited to 'dev-ml/uuseg')
-rw-r--r--dev-ml/uuseg/Manifest2
-rw-r--r--dev-ml/uuseg/uuseg-15.1.0.ebuild39
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ml/uuseg/Manifest b/dev-ml/uuseg/Manifest
index fac47c8eb601..477ffc3caf8c 100644
--- a/dev-ml/uuseg/Manifest
+++ b/dev-ml/uuseg/Manifest
@@ -1,3 +1,5 @@
DIST uuseg-15.0.0.tar.gz 25540 BLAKE2B 4ee1512bde79aab4777395d3ccfb8fe76c97ba7e93b722acd7c36acac432a44a9eade512ea45a0204a1d947a60e3d61773de05890d64d7afac4b1965d1493bb3 SHA512 c117868d52ca8f5de3104b0ea25ea011c19cefd53018c4d9bdf900185d04f74c097b7f129b75366a8da905a79dac3cbf8e6c66ff6c20fee1c2e42b9cdd6a9fa6
+DIST uuseg-15.1.0.tar.gz 25603 BLAKE2B fcf0817b60040eb9065c487d2e2ac4c8124c19eed09f80de2c874a5704a658a69f9f478dcf94647cfe433f9b2082119824085cac075469d2ab5fa77b0e2c8472 SHA512 959769f915edac4961e50fe7a7f866fe50bed31866e44c6240c95b58034efc4e06b7bfdf5a7c0a7d3f41f21f0979f7b470c9d26c1e37da19613d07d2ad93d829
EBUILD uuseg-15.0.0.ebuild 716 BLAKE2B f7f9bf91292d206612de4694d5f0d0ad5dcad001f64dc79ec051346745e055f21c05d16b5f02cc64b8061334eb33514d431a0fcd8d8d775ccbbd5a060b1ccfe7 SHA512 060f48421b1d1b746124d5501d6b1684153e6abb446275083a4052a35b988bb521e51c25dfe78a8b8ebdc17c8ccd45452f35853b5729b51af117ad8255ab57a9
+EBUILD uuseg-15.1.0.ebuild 752 BLAKE2B 759edd2e8ebe9244024df6e8acf015b92ba59d1527ab8ef68e4aaf69a7aa848e1b7dd3934d656a359593c0e2e1391d3b9d2d0d11f135e521d7b861accf2c3283 SHA512 db2d17f364a118cd9c345ff9e142cc8d6f1fe0bcdc52e89cfe0457ad73315dedfb114c131e974290e43e4172c45c75156bf84ebf48a04aaad68769eb1ff49e92
MISC metadata.xml 1002 BLAKE2B 14f5a9298b9d11dd13223511e22eb4125f424236cb53acfbe19030abd6c2578c26d6388dd11724bfb7bf4ebb9b4c9bbdf7e69020fbfbec39d12cff3b5af61d85 SHA512 2263e315de73941247a7926928e648b6c5dc2fac151b9db1dca7dc5d1af3c80c1cb72d5ec601ad262f2166fcb4cf7532ba0ec8a59f6455ced007f6282299f63a
diff --git a/dev-ml/uuseg/uuseg-15.1.0.ebuild b/dev-ml/uuseg/uuseg-15.1.0.ebuild
new file mode 100644
index 000000000000..21daa1c5d3d2
--- /dev/null
+++ b/dev-ml/uuseg/uuseg-15.1.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
+}