summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/Manifest.gzbin36303 -> 36297 bytes
-rw-r--r--dev-ml/batteries/Manifest2
-rw-r--r--dev-ml/batteries/batteries-3.6.0.ebuild31
-rw-r--r--dev-ml/camlp-streams/Manifest2
-rw-r--r--dev-ml/camlp-streams/camlp-streams-5.0.1.ebuild21
-rw-r--r--dev-ml/dune/Manifest2
-rw-r--r--dev-ml/dune/dune-3.5.0.ebuild68
-rw-r--r--dev-ml/extlib/Manifest2
-rw-r--r--dev-ml/extlib/extlib-1.7.9.ebuild49
-rw-r--r--dev-ml/merlin-extend/Manifest2
-rw-r--r--dev-ml/merlin-extend/merlin-extend-0.6.1.ebuild22
-rw-r--r--dev-ml/mmap/Manifest2
-rw-r--r--dev-ml/mmap/mmap-1.2.0.ebuild16
-rw-r--r--dev-ml/ocaml-ctypes/Manifest4
-rw-r--r--dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.1.ebuild (renamed from dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild)6
-rw-r--r--dev-ml/ocaml-migrate-parsetree/Manifest2
-rw-r--r--dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-2.4.0.ebuild20
-rw-r--r--dev-ml/ocaml-sha/Manifest2
-rw-r--r--dev-ml/ocaml-sha/ocaml-sha-1.15.2.ebuild22
-rw-r--r--dev-ml/ocamlbuild/Manifest2
-rw-r--r--dev-ml/ocamlbuild/ocamlbuild-0.14.2.ebuild47
-rw-r--r--dev-ml/parmap/Manifest2
-rw-r--r--dev-ml/parmap/parmap-1.2.5.ebuild21
-rw-r--r--dev-ml/topkg/Manifest2
-rw-r--r--dev-ml/topkg/topkg-1.0.6.ebuild38
25 files changed, 382 insertions, 5 deletions
diff --git a/dev-ml/Manifest.gz b/dev-ml/Manifest.gz
index 4cfaa2f921a5..bdd8b6f6336b 100644
--- a/dev-ml/Manifest.gz
+++ b/dev-ml/Manifest.gz
Binary files differ
diff --git a/dev-ml/batteries/Manifest b/dev-ml/batteries/Manifest
index 3a3f6199719c..59deaa8eabc5 100644
--- a/dev-ml/batteries/Manifest
+++ b/dev-ml/batteries/Manifest
@@ -1,5 +1,7 @@
DIST batteries-3.4.0.tar.gz 827778 BLAKE2B 569ce623ceb4272de784400540969a08d569a9b42e281f8001f046733a0fab6f50f4c195b8a8eec7f2e63209a1b882d6703843f76ec9adbfeb42d11e09b31f81 SHA512 e7a6e258430ec5bb97a1e83c7eb666c970db8bce82de4bf809797cf5e330ea987fe685008c4adb0ac4787c4cc6a1be06f6eae5a7ca856a1a0f83aa35716c23bd
DIST batteries-3.5.1.tar.gz 835112 BLAKE2B 29602093e5d3789a2b80e1c36e2d5b29d9c286c1bcd272f84d71660eb2014b7dea82c25543c17656987f5d0870628a4af83eaace30f7edef960f8956b26eeb91 SHA512 36c8561079aa9fefc864c2f03bd8ae20aa05987bb67e7a9beac3ab4f440dbf7d44f141c172b05fddb1a5b618fc55a27962bb45fc39bd7b3a15d56e0ed3ff3870
+DIST batteries-3.6.0.tar.gz 796298 BLAKE2B a8d9b6f57019ff80367047393fb53014bd32bdcc87d93650eae2939210d90fe4a7977b3502d0ffed25e0e0cb4aa072b8174f01f08c6728d0536589b9abff0f35 SHA512 2a56611b09a5f1cba6457539f8b6bc87a5f2a5454b36cdb39f6e0d6a5dac6db179aab1ba87c74dd49cc41df31a9a96feb349028ea41df7371ecb47f4d9dfafc4
EBUILD batteries-3.4.0.ebuild 724 BLAKE2B 856da73dfd657f2f503d5990fd3156bfd5d558a415c6091d90f257142a5a7f04133abad6fd182850f8d2e40a9f7ce312df4cf8cce4ff4cdfbe21590fd830fd06 SHA512 d83edbdded185b2e8e7ffbfa2676fe0731496a794f8f14a6e13b8298cab62ca15b3d4a0b0e312d874b6cfe28e2e0ab658cb25c91af05daf690cb78f45134c874
EBUILD batteries-3.5.1.ebuild 723 BLAKE2B bb0409c946dcd301ea50c9156138854eb4201db961bb67a6582289c7b47e4428ff00903440f6892c1ff49ed8ca0c7f4ff6a8e8d1392ab76b13d74d86bf605c41 SHA512 f2b163efe285ecd2b90a055619b29b38c966ca29ebe1acf12f982740695a37b0fbfa3fec18f9fda5af84cb5b4379c1814c847816153f6bf6609c3eb5cb3c1354
+EBUILD batteries-3.6.0.ebuild 723 BLAKE2B bb0409c946dcd301ea50c9156138854eb4201db961bb67a6582289c7b47e4428ff00903440f6892c1ff49ed8ca0c7f4ff6a8e8d1392ab76b13d74d86bf605c41 SHA512 f2b163efe285ecd2b90a055619b29b38c966ca29ebe1acf12f982740695a37b0fbfa3fec18f9fda5af84cb5b4379c1814c847816153f6bf6609c3eb5cb3c1354
MISC metadata.xml 337 BLAKE2B 2cb7f9b54ec498c0b25f3f6cb2011046c38c0103341f22dea799e2fe501c46336950040fcfb8fe3fd4723aa5f499e00e6b0dae364a8fc06b84aa348ddebea0c2 SHA512 88a13f02eead4f3c06bdfa1850ee53ee6d309181d89a0625a89dfa3e421f3f7cb3d896cc2f69f4ddf6cef05f1bff932b6c2d79b791d69b65a21afed822637ded
diff --git a/dev-ml/batteries/batteries-3.6.0.ebuild b/dev-ml/batteries/batteries-3.6.0.ebuild
new file mode 100644
index 000000000000..3ba6fc834d33
--- /dev/null
+++ b/dev-ml/batteries/batteries-3.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit findlib
+
+DESCRIPTION="A community-maintained standard library extension"
+HOMEPAGE="https://github.com/ocaml-batteries-team/batteries-included/"
+SRC_URI="https://github.com/ocaml-batteries-team/batteries-included/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/batteries-included-${PV}
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
+
+RDEPEND="
+ ${DEPEND}
+ dev-ml/num:=
+"
+BDEPEND="dev-ml/ocamlbuild"
+
+src_compile() {
+ emake BATTERIES_NATIVE=$(usex ocamlopt yes no)
+}
+
+src_install() {
+ findlib_src_install BATTERIES_NATIVE=$(usex ocamlopt yes no)
+}
diff --git a/dev-ml/camlp-streams/Manifest b/dev-ml/camlp-streams/Manifest
index 508f2f631dfb..2244374c31a9 100644
--- a/dev-ml/camlp-streams/Manifest
+++ b/dev-ml/camlp-streams/Manifest
@@ -1,3 +1,5 @@
+DIST camlp-streams-5.0.1.tar.gz 17392 BLAKE2B bec87a4b9717bcd05799317542533a83e43b5d7dcdc0d691595678613da4f091f087c00487e1499e088687cc9cf21381386c92e25db9d5f182200805452b43fd SHA512 2efa8dd4a636217c8d49bac1e4e7e5558fc2f45cfea66514140a59fd99dd08d61fb9f1e17804997ff648b71b13820a5d4a1eb70fed9d848aa2abd6e41f853c86
DIST camlp-streams-5.0.tar.gz 6992 BLAKE2B 54025cec15420ec8e1ad8ce6faaf9132b9197c3bb57acb9b4f39f4dd83939aac25104a6d4fd40035db22cdd33dbffc92597b6913702a252180ef62b60c2503be SHA512 f42e2f5e5ca353b3d647cd7e97a278c167c2d1abd185a634f155965cec29e35d9be7ce940b4c205b0577d7e9b6f714580bfd2e2fd79f1b1b461bc3fb96d26d36
+EBUILD camlp-streams-5.0.1.ebuild 491 BLAKE2B cd9db6610aa4c70909e8129434a3ecb5fe0f08512b3d9baa705be777c3f7c0ed397747b7359dbedae4436172ad87e4776aff163cf7876ecabcfac2f0c3f0b1ec SHA512 b74bb565a4a30bb21cca11936cebe69156e294c8607f47cfa84367153163cf49d04c01582586e9c4d0e008949b3db8b204f4db5b13041f1725847812859571a4
EBUILD camlp-streams-5.0.ebuild 491 BLAKE2B cd9db6610aa4c70909e8129434a3ecb5fe0f08512b3d9baa705be777c3f7c0ed397747b7359dbedae4436172ad87e4776aff163cf7876ecabcfac2f0c3f0b1ec SHA512 b74bb565a4a30bb21cca11936cebe69156e294c8607f47cfa84367153163cf49d04c01582586e9c4d0e008949b3db8b204f4db5b13041f1725847812859571a4
MISC metadata.xml 317 BLAKE2B 858cb10172a65e4de3ec62bff2b1bd1e32373c1ad47046e8588b2712931cbe1b0325cac8cb4c301b6652c4bec9bb4b0211c53ef9f95086957e46d02d9859ae40 SHA512 89df222289e49aedbd0e23f6539ff18b8cd75c776a1dd1b6c98ed792ada49684d5a44aae8b52ff7013b99e817407707cc36e09b638a4706c7f1943e232225b23
diff --git a/dev-ml/camlp-streams/camlp-streams-5.0.1.ebuild b/dev-ml/camlp-streams/camlp-streams-5.0.1.ebuild
new file mode 100644
index 000000000000..d70a39d04000
--- /dev/null
+++ b/dev-ml/camlp-streams/camlp-streams-5.0.1.ebuild
@@ -0,0 +1,21 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Stream and Genlex libraries for use with Camlp4 and Camlp5"
+HOMEPAGE="https://github.com/ocaml/camlp-streams"
+SRC_URI="https://github.com/ocaml/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+IUSE="+ocamlopt"
diff --git a/dev-ml/dune/Manifest b/dev-ml/dune/Manifest
index 1d779fb6a395..ec836c3899ce 100644
--- a/dev-ml/dune/Manifest
+++ b/dev-ml/dune/Manifest
@@ -5,10 +5,12 @@ DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 3db54c780b9d13f40c774f53c3fe471dba4a640e7
DIST dune-3.0.3.tar.gz 1725788 BLAKE2B 2de93c085f642c8381642a08b18bc21ad48097f32397b3eddab9725deb267b089849b649705e1b72bb1b5b37f7531fd9e0cfb134174f0cb3a8ee2595c7dcf8ce SHA512 839e942bcf8189763d0d9b01614333bb2f036bce68c82959e51d2e9145b57067cb862b66781912391c1a0f531b8dddf2ffeafcee71c626169a437fe40feba155
DIST dune-3.1.1.tar.gz 1738713 BLAKE2B 29e2034a551f9fbc57aeb1056f934ee5b69d38743178743f9b4f9cfa9e43a805ef7eb904a25f5ff6b4944d47032ccb1c8fb420b48f85dd14bdd14350cc53f77c SHA512 3a99a66c449f9e6bf12bb21d2d6871f4d34677a8c0c63e47b3687e2af3d8c62ab4ab62809c5885f2d61a1ed93a88f90cadc0f8db0c95442410c0a964892bd3b8
DIST dune-3.2.0.tar.gz 1754664 BLAKE2B 97ba420a5bf9dd8e14ba74c0e91b6679924fd9ee7b8d9a9a2d4b282166d9172582a37adf408fd037972dab7525cd240c24729b6692f403c32029b2994044bd40 SHA512 a90ac689d97acab956fd96f16f7c6cfdc95d01785fc14f0d3c8ab39231ff78e8941d2db2fa8cbfaa39bbed8f865e11b628aacae1b22df49512a57d0263c0dca4
+DIST dune-3.5.0.tar.gz 1801260 BLAKE2B 684c6540c3f5e9356e12f1b483b1adbf9f4a44bb24fdd8b79bc5d48efab05b479cef0c9449adb84e3e30be81f07913460073928d5e91647096fc02608f8e9709 SHA512 f1a94d867e1b82502aed3f7ae16adb48bd1f773c0045c3313303f29b70ec99bed4264d420c85fe7c4be2343ac970586d77705f6083049c6bec860b543fbd3c3c
EBUILD dune-2.8.4.ebuild 925 BLAKE2B aaf039c23fdec35db8eafa1362e05e0a0007b4d5a59483726cffdd4c3f2738ab53cae26451001fa051fe46444f29d08ffd3e22233acaa3280db2c761822c1295 SHA512 175a4b03a248ade24a4a0fc232d13364f5332f9cd686056710dd1fce04b27ac59d81b3844ef1476867f3c5f646167dc40ada4609afc5594ac721ca5f216670a7
EBUILD dune-2.9.1.ebuild 904 BLAKE2B f98314d3cd1daa6fd08610daee2695a30b4c751bc1d060aad8b99b8e3e138fbe9751a92b5df3e1d1f62a8235b509ed884c75f2e11673d8a8a3cb50ddc414bdd2 SHA512 10a59aa34098669ca0d6d6a568cc63d124fd174850bb66591e9798b452629cc7647d6204050a4fbda2db394782c17590155467d798783018ff1205cde4b92e0e
EBUILD dune-2.9.3-r3.ebuild 1268 BLAKE2B b1a9b83a1a02159c5c48c2025c0819bbb725529b78d26fbc34953e75762edf1c0dd95954fd9046d1d76fdd8a65430ac90909c2d6994ee608db304bdd27da1ad7 SHA512 fbae16298c1bfd19ab66722cf122745065817a08839deaf408bdd734b4870f0934bf5c977a844f5dc123a4173e51fec769d59cc3c857757d8857746ce5bea3ad
EBUILD dune-3.0.3-r1.ebuild 1519 BLAKE2B 73794b43fe622a63df00e38fb732d391ac8f8f062dc065e8df859b2f403d3beb65fd0c1ec2e99ba9cda22600f8120c846b3551dad6af33ea1ce462fd02a15d35 SHA512 ad686f9a6af18fa26bd49c1e3b7e03c48cbadb07ec45fba560b713677b6101dfd76003575911a7ec0c7585b284ca9e53127399367e010b9ad811d0c5e928d28c
EBUILD dune-3.1.1.ebuild 1519 BLAKE2B 73794b43fe622a63df00e38fb732d391ac8f8f062dc065e8df859b2f403d3beb65fd0c1ec2e99ba9cda22600f8120c846b3551dad6af33ea1ce462fd02a15d35 SHA512 ad686f9a6af18fa26bd49c1e3b7e03c48cbadb07ec45fba560b713677b6101dfd76003575911a7ec0c7585b284ca9e53127399367e010b9ad811d0c5e928d28c
EBUILD dune-3.2.0.ebuild 1536 BLAKE2B 7b0c2707650ed19052eec8911dc726697722fd4febd56f8a7136f324a4f6d103d464fb1cc1b7d1dc82d8bae612284b8bbc2208ca7f37d05032253547df5c9981 SHA512 3b3c6b9d97454a9f43b4424bbfbee3ec3be7fb3b120e0207497c71b30184f8f0c966ec95205d05ed3710bf11057a54b306ba6b1040ffdb534e2f89433cf91bbd
+EBUILD dune-3.5.0.ebuild 1536 BLAKE2B 7b0c2707650ed19052eec8911dc726697722fd4febd56f8a7136f324a4f6d103d464fb1cc1b7d1dc82d8bae612284b8bbc2208ca7f37d05032253547df5c9981 SHA512 3b3c6b9d97454a9f43b4424bbfbee3ec3be7fb3b120e0207497c71b30184f8f0c966ec95205d05ed3710bf11057a54b306ba6b1040ffdb534e2f89433cf91bbd
MISC metadata.xml 413 BLAKE2B 68bcbe6d091780d3ea48707a42b402cfcc075b1ca0c58a8e145bc8ae6e89806361325f772e9e8b05484fc258f09e33c18fa329a494881e3275f534c65b283c15 SHA512 6520ccff6f2071125a07d0e6bc365c8a919ff32791af97fc633ef68b351de8295454884126334e182da7233744d489acfeb2519c3935990ad21eb20da3f5a1f9
diff --git a/dev-ml/dune/dune-3.5.0.ebuild b/dev-ml/dune/dune-3.5.0.ebuild
new file mode 100644
index 000000000000..b406b7f73f41
--- /dev/null
+++ b/dev-ml/dune/dune-3.5.0.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multiprocessing elisp-common
+
+DESCRIPTION="A composable build system for OCaml"
+HOMEPAGE="https://github.com/ocaml/dune"
+SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="emacs"
+RESTRICT="strip test"
+
+RDEPEND="
+ >=dev-lang/ocaml-4.08:=
+ emacs? ( >=app-editors/emacs-23.1:* )
+"
+DEPEND="${RDEPEND}"
+
+QA_FLAGS_IGNORED="usr/bin/dune"
+
+BYTECOMPFLAGS="-L ${S}/editor-integration/emacs"
+SITEFILE="50${PN}-gentoo.el"
+
+src_prepare() {
+ default
+
+ # This allows `dune --version` to output the correct version
+ # instead of "n/a"
+ sed -i "/^(name dune)/a (version ${PV})" dune-project || die
+}
+
+src_configure() {
+ ./configure \
+ --libdir="$(ocamlc -where)" \
+ --mandir=/usr/share/man \
+ --docdir=/usr/doc \
+ --etcdir=/etc \
+ --datadir=/usr/share \
+ --sbindir=/usr/sbin \
+ --bindir=/usr/bin \
+ || die
+}
+
+src_compile() {
+ ocaml bootstrap.ml -j $(makeopts_jobs) || die
+ ./dune.exe build -p "${PN}" --profile dune-bootstrap -j $(makeopts_jobs) \
+ --display short || die
+
+ use emacs && elisp-compile editor-integration/emacs/*.el
+}
+
+src_install() {
+ default
+
+ dodir /usr/share/doc
+ mv "${ED}"/usr/doc/dune "${ED}"/usr/share/doc/${PF} || die
+ rmdir "${ED}"/usr/doc || die
+
+ if use emacs ; then
+ elisp-install ${PN} editor-integration/emacs/*.el{,c}
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+}
diff --git a/dev-ml/extlib/Manifest b/dev-ml/extlib/Manifest
index 1d1e5aa374e2..2b22266c54bc 100644
--- a/dev-ml/extlib/Manifest
+++ b/dev-ml/extlib/Manifest
@@ -1,6 +1,8 @@
AUX extlib-1.7.7-no-git.patch 283 BLAKE2B 2cfc23016472905c9dfb28615bce04d607a70b99da69f1ed198c8cfdd677c1dd3d8b8a6756328bf35dbd59f81c7be143a5f5864110adca56cbc2dce8384d597d SHA512 b0b04d0fb6af94d7f54751fd00ab48101fb45d47e2230358edc956fd4d6fe04ce59b8aa6857fc1b07bb544fdade01eca6213de064c7d54b59f02e8265aebfb05
DIST extlib-1.7.7.tar.gz 88870 BLAKE2B fff84524ef227718d3908c5b65f4b781360cebc0dca3a8862aa11ea671499b45192c5106769e104d396118e3cdcd904ddce06df784f8fd0eadb7a2372ca3df94 SHA512 088a6c5bbe6530cd60e2276dc02592b69ad7ad685b752f0544c54b6246b8131238c6423ce7bfc81fe3ad1766f605ecf52fd3888d55cca63e22c947afedf610c5
DIST extlib-1.7.8.tar.gz 90213 BLAKE2B cf78d819c542e84825bea3422d1b9afb46a3f72274ac40c704ae872a5889cbe0793f1e27f2dd8f38dee118590300d3bc6a336bfd29a16dfad00008a63ceeb17c SHA512 4a0d5d82da068c34286a1547e173f2634372d01c201823edfda2b8f72d3ff58fa26da29dde9a8b2fda28989cdb655d5a9cfd71310660e5c593026a75a833e6c6
+DIST extlib-1.7.9.tar.gz 91092 BLAKE2B 6d5f0dc01813357fd9b3efcbe0e4c4308eb538deb924cbff2919bc6e24b72e3fc631b428c1e67f90ea32005b87c16147265c80d61d8feb97df0223bc9b14736b SHA512 859cf5b9743589037f9e1b5f00ea77ae2401657b3dfc6897d21c89d5f8a1d7e7ac901eb6eaa16722e6b6a0266fa634c40320d13fcf7bdfad2863512b5f79e591
EBUILD extlib-1.7.7.ebuild 972 BLAKE2B ef3c881ba1cea4fbf695c54bb6d61ab7ae2afcc6afa26d29fdc6f8063530bf40bb53e8feaf75f6a47df7b152d0a0a7b58afecb15f03955e7f751edb9a5fd91b9 SHA512 821e4e25e12539e4f039183b1e102dfd899a46b55fe31b12e61368f2af33b2ec9190f2a2690fd7feb4f10515e6368f6749cc834ba281db88067504d7c5cffbfd
EBUILD extlib-1.7.8.ebuild 925 BLAKE2B b4110605476d37d43eb112abb874ba78f0a6b054a45952bb671f1de7f9f6c46e7fc17d80a769b4cb982bdffbb30e072fc37e5423503cb194dba1b346de9ca7da SHA512 eb042316448e7f41f2c68672e0a09270a91bd788e775fd04909d513b72d7a7ce7ed8c9e7cfb892b750cebe97e0884045186d9e76f538ba7f771de5a11dbbad88
+EBUILD extlib-1.7.9.ebuild 880 BLAKE2B b11b3907414d95327a21893fdee2cd5484bd540345bd03c4d35566b7631bd2c11ed63eaf098d5784117c5296351bb256933c4e7a57edf6acdde50942c9e1b0d6 SHA512 dd1b5a5b6796abaaa9e0790e975d4dfb51f65a660d4dd4f929524a3d107c93beee29d1c08d58bab2a24f458b089e2c59e8d5b9d861e9f55bbef2463eb9401f74
MISC metadata.xml 478 BLAKE2B a653670b924a76e37d3c836a4f9c41d625afb6171afda77dd96244670e1bc199b52248ea30a348ea8732c2ae83fe6f3aafd1d29caa00238fbec9c6d1bd57b8fc SHA512 4b124d55b447daa2ba909d864b734d79d5ada988ca651bd199de44c150aae305a7fc2492260ff17e21aadad0c396e4441ee4f4a1ba9cd6b15166019dd2e1c212
diff --git a/dev-ml/extlib/extlib-1.7.9.ebuild b/dev-ml/extlib/extlib-1.7.9.ebuild
new file mode 100644
index 000000000000..d9b3eb37d2d9
--- /dev/null
+++ b/dev-ml/extlib/extlib-1.7.9.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit findlib vcs-clean
+
+DESCRIPTION="Standard library extensions for O'Caml"
+HOMEPAGE="https://github.com/ygrek/ocaml-extlib/"
+SRC_URI="https://github.com/ygrek/ocaml-extlib/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+S="${WORKDIR}"/ocaml-${P}
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc +ocamlopt"
+
+# See bug #704146
+BDEPEND=">=dev-ml/cppo-1.6.6"
+RDEPEND="dev-lang/ocaml:=[ocamlopt?]"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+
+ egit_clean
+}
+
+src_compile() {
+ cd "${S}"/src || die
+
+ emake -j1 all
+
+ use ocamlopt && emake opt cmxs
+ use doc && emake doc
+}
+
+src_test() {
+ emake -j1 test
+}
+
+src_install() {
+ findlib_src_install
+
+ dodoc README.md
+
+ use doc && dodoc -r src/doc/
+}
diff --git a/dev-ml/merlin-extend/Manifest b/dev-ml/merlin-extend/Manifest
index addc0b099b14..1367612938e5 100644
--- a/dev-ml/merlin-extend/Manifest
+++ b/dev-ml/merlin-extend/Manifest
@@ -1,3 +1,5 @@
+DIST merlin-extend-0.6.1.tar.gz 8156 BLAKE2B d007bcfac004af48eafc8c806aabaff4f61d9bf7acd93273a991791144a7c9e8f7307cf61460551326ceb077bd838bb0b1d377aa134d45e2fd20109dc68f3213 SHA512 0d5041231b280dc1026d598cca8c75895a159e102f209be7c5a9a1ac9ab15da66c603d850a3f3f26880f9673e232765108e21984f2eb4dc92d9d1d7fb29b9382
DIST merlin-extend-0.6.tar.gz 8098 BLAKE2B c8adb32c03a3fe423aa1bb9e10ed9d5041cfbbdc991ae656180debbcad6ee72404bdd7c03d8ee609b809aa27e8013f14785204c759221e33405182ef6c9d1616 SHA512 5cfe4bb1fe8804dcb52eb4cebea6176b5d50fdafbdcd4f5854726c74f196ad06fe3b1b46dde7622f2e5c99ce6bfea9efd070fb81e5fd5e2b5197f40cee109ea7
EBUILD merlin-extend-0.6-r1.ebuild 428 BLAKE2B 5259b9ce048865f65cc97d3c93f30d45a013a7944f9c31c04a4f8bf5ed23c4f4c0d74fb80fe1c558ac88418d9723038e7290eed1e2574e806b671114ceddb480 SHA512 2fe6855da027d1dc5ce32ab61ec7068799ce193455a228fdd104797f0fbc10e9310c2991e375cd1e47015966118037731eca124cf7428bb326129a98b7989b5e
+EBUILD merlin-extend-0.6.1.ebuild 433 BLAKE2B 78ead6b669eae843a878d8412494e989a80296eb2eeb696ba3c257576d93b8f00220fd61b33533b729681efd7538bbc108784a95e16880e881746e3142c86da2 SHA512 e131a24f6b6cdd811d408be73b432d89405efb077713aae5263bd061f17ae308882a588aaeb83757f2f0111cff06380f2feaff87be4cf34d7d97f0a1346043fd
MISC metadata.xml 319 BLAKE2B 1a5504443802ca145e62b7a0a93d0db800a0723d8ccb18945d407d43f45b1631b9887d83a66062fba544fe3822b6193c0709615380baff74d2be0d60e764409d SHA512 cd5db8c1f6db80a9179cfb785c9405825285846a1bf307dea9a8bc4b1a3e21d7008ad7be8acf827abf7458690b20a41731fb3ec0a10a31350dbdb8dbd3427118
diff --git a/dev-ml/merlin-extend/merlin-extend-0.6.1.ebuild b/dev-ml/merlin-extend/merlin-extend-0.6.1.ebuild
new file mode 100644
index 000000000000..a146fd5b3c2b
--- /dev/null
+++ b/dev-ml/merlin-extend/merlin-extend-0.6.1.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="SDK to extend Merlin"
+HOMEPAGE="https://github.com/let-def/merlin-extend/"
+SRC_URI="https://github.com/let-def/merlin-extend/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+RDEPEND="dev-lang/ocaml:="
+DEPEND="
+ ${RDEPEND}
+ dev-ml/cppo
+"
diff --git a/dev-ml/mmap/Manifest b/dev-ml/mmap/Manifest
index e2b4452b1c62..ee3cb9278e2d 100644
--- a/dev-ml/mmap/Manifest
+++ b/dev-ml/mmap/Manifest
@@ -1,3 +1,5 @@
+DIST mmap-1.2.0.tar.gz 15328 BLAKE2B d7ab07cb0883c7ca53827ad3d4402caf3beba765d6a7e5355f24fb77d6876676f0920bf19e38911b08dde222dbc5d404fa3d53d146bb20f3b807c8fb00ce968d SHA512 cef6c37953d62f2f7472147a03707d60401d92aaf4ddb2dbaa697ee4eee252f70d8068e8fe5c6a36e005d4cc738f61d2c5bea12d844f1e3a696fef2f6546d59c
DIST mmap-v1.1.0.tbz 12312 BLAKE2B 3f688f5649ef51fc2a0cee76519da46dcfecd72a065de3cdc72412e27bfa39c26c6bb54d35ea6e3b139db0ccc75e9460f8285826c40ecc894a3782f279366686 SHA512 15e4ec2634998f321f495de5372dc75a3f4059ab7512115603ae8fd99a619c91299d34c8a12a697aa36df4ce14c90c66746b873eddf004b7bbbeaef8ec7858f5
EBUILD mmap-1.1.0.ebuild 409 BLAKE2B cab1ea3ee166d6ee69f312b5687dc138ea9c5e9a5c296b244772ef049635ccad32f906d90c64b759afd8ffc529f7d9df5fa747ffdef033b40a5ba12b3f6278cd SHA512 7c8bf92e1c1fa4988b55f2634f8b9cc83ec6d86d13a8ea54278f755ee77dbcf80cd18537ebabadb03beb347e3736f6084f24d0b4d7d223f153db6ca90a763dac
+EBUILD mmap-1.2.0.ebuild 382 BLAKE2B a92dc3e392dcd508bcd0d7bba0ea8cb0804e00d13b202170e1b93ecb143df0c82f9c595513d18f6f1262e26779360b279928794da83dd7bc008a435c71133b6a SHA512 f7d5238b25d43f83472092a3754b71e01aece4aa5b90953c3256791fb757be1391b94873b0ffbdbaf7d7c80734a76bd065dcee512185a868c339aeecf1e61205
MISC metadata.xml 414 BLAKE2B ca2d5e5b9b88df2016e6bdb882e300909454aeb9546b3435184ad5efb9de61849470b4007377351a108ce4ac8ee120b17e9d4a28350d46d4e3bffee8b2c8df2c SHA512 6e495ebfacdf381551c697f51db511125a438e3e5ada2b2b4a4560838df6b8e97e1fb8bf8cc5ddb27a2075ad01c2eda441207f77aec983f1b3089f05e39dfb2f
diff --git a/dev-ml/mmap/mmap-1.2.0.ebuild b/dev-ml/mmap/mmap-1.2.0.ebuild
new file mode 100644
index 000000000000..00cf777c2393
--- /dev/null
+++ b/dev-ml/mmap/mmap-1.2.0.ebuild
@@ -0,0 +1,16 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="File mapping"
+HOMEPAGE="https://github.com/mirage/mmap/"
+SRC_URI="https://github.com/mirage/mmap/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
diff --git a/dev-ml/ocaml-ctypes/Manifest b/dev-ml/ocaml-ctypes/Manifest
index 97df180c9337..319510eb154e 100644
--- a/dev-ml/ocaml-ctypes/Manifest
+++ b/dev-ml/ocaml-ctypes/Manifest
@@ -1,7 +1,7 @@
DIST ocaml-ctypes-0.17.1.tar.gz 208101 BLAKE2B b9fe6632058a670c988ba9f1ae81b75aa5373de7231cef04d5e2ede61a44cbaa0324c04197a0a202847599a9bbe7dccd18fd3279f3f351493aaec4959caf3ada SHA512 1e197009f7e6b29b43944f757e987934337ebfa11bb2ff2ca8ba3ebc607e37cf1259d07a90d7faf4b91b49ee20d5c65357ad305f34ada0a8d336a3904233150e
-DIST ocaml-ctypes-0.19.1.tar.gz 206762 BLAKE2B 29b4636e711b9b3ecf3de5d66b796d4d8ddf1109fd7b065666577ce9412e0ef3712f704729dac3b9467ac7ace8f501b90bfc1dc82b86dbe1668e5d13be46741f SHA512 cbf422a2c457b215815a04122d0522ed0f274c5927cecd25951472de6cc6fcd1151b67f95d6bbfeeb3b5f15a9fe9bdedb8861e77bd0de9902418962065e4dfc0
DIST ocaml-ctypes-0.20.0.tar.gz 206559 BLAKE2B d9bf1c3f5ae7544e3950766f7eb9bac2c9dbf84130f69b2b8807e55c6a7d659c46d9ba2227d53d578e4e49283730932213eea4c7487beffe4540432b3e700c81 SHA512 605ae95b0233f1157749475526ef00ade2f97649d06a782e8fcf97b604cb86a0dcc8f27c4ac6baec11a41b9ef5becb0e5ae55e30f1ee61b30d4ae17a0d1545c2
+DIST ocaml-ctypes-0.20.1.tar.gz 206863 BLAKE2B a101872991d4bd83464d26e79fa5052c9dadbd10da1ae734fda8976199640091939777a1ba391d2aab84d7e14fafec6f713681e2ea52f6717f5f36d26e8aa225 SHA512 f95e65ce5003a07634afcbee431cb23c54c8335f926074615fc8d76ab777b9d2fce8f75bb25bbb6ed9550a7d6237fb377aa9ad65a426d2d7e387f86c1158fe4a
EBUILD ocaml-ctypes-0.17.1-r1.ebuild 814 BLAKE2B 3a5bab91cdb4045286fd81c2fa5e6665eee9563de65008100d1f12c7930763ce0c32829cc908d1d9fe58ce6384267378a70a413b8c66368c89a0b9d21c9f4626 SHA512 b855d0975c4faef9516d0ea261f53cd913c314ce58a2dc18183686f2de17e8ec8e33be7b5529b933d070c8c6afaf00561fa5011e406688367be782ddbf555dfe
-EBUILD ocaml-ctypes-0.19.1.ebuild 855 BLAKE2B d8aecb84a61dda79cb3f1c9ff77677362e1b6c269642c1e787a4d9ddd19d7fa54648f4a48375a34a028e65082c1b17c9545c1997af871756282822954a774588 SHA512 666f5583ac7fd77f9a997d9fb759120c315f366e4f21a36148df4690b759f273b33edb625b9ca50796777a77d012cdb272a828693f1de9ea17a475b21429aa71
EBUILD ocaml-ctypes-0.20.0.ebuild 862 BLAKE2B ab245d24be123751eee7d1e6f8114eed2ac5c004abd2387da3ae13ef3cb9a52c70541a18e7cdd81c041e354c377be4c9728fe8a524d27e827117f2cbc0dfeb13 SHA512 7eb381777d9144c30af6cf39715fafc17829f4fe63db42d49e077847ee34b86374636f50026b2e622249fa97d57871c4e37109cb58faa17e4fc921010edae8dc
+EBUILD ocaml-ctypes-0.20.1.ebuild 863 BLAKE2B cc5fb2102a72d6af4695b9ca79dec3227ebdcd1a6702428b6b6c8aacd9f160fc015648067f861398757d579d8750313b65716af84900db9034cc92a5260eb36f SHA512 ebad39d93bfc440e1ca89537f9a6278bf6ead73bac5366376e6c9525af4c69482e02108b9837fdb0b54c260f57e3207d8af64994171466ce2a3fd13afc74c7e3
MISC metadata.xml 425 BLAKE2B 3bdffed177ca8fc13a9f6428824f1a97e646449037b4fa5b8053b68edd66c7c8c6bef3c7bb1135e4d76ec42812059408195c3a9cdd45573e571576175e3c9add SHA512 6bd73ddc160b2c5ba8f0630e7aa1045992ff77ece38df06538a2b6b49206c51b14abbcd27367d1b7fe9b192ebf11736e6f0e60dce8df6d475d7a4986edd2547b
diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.1.ebuild
index b89d84c33e6f..3b3fce5d0eaf 100644
--- a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.19.1.ebuild
+++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.20.1.ebuild
@@ -1,17 +1,17 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit findlib
DESCRIPTION="Library for binding to C libraries using pure OCaml"
-HOMEPAGE="https://github.com/ocamllabs/ocaml-ctypes"
+HOMEPAGE="https://github.com/ocamllabs/ocaml-ctypes/"
SRC_URI="https://github.com/ocamllabs/ocaml-ctypes/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
diff --git a/dev-ml/ocaml-migrate-parsetree/Manifest b/dev-ml/ocaml-migrate-parsetree/Manifest
index 7a5bc88d575f..66b92f277cbb 100644
--- a/dev-ml/ocaml-migrate-parsetree/Manifest
+++ b/dev-ml/ocaml-migrate-parsetree/Manifest
@@ -2,8 +2,10 @@ DIST ocaml-migrate-parsetree-1.8.0.tar.gz 466241 BLAKE2B 0b2211ed3a2a2e4e5200a6d
DIST ocaml-migrate-parsetree-2.1.0.tar.gz 169358 BLAKE2B 072ba6e1a879d5e308e7b40c55c323f353cd2187c8884bce25bffd35d7f5e64f2aa7070ae2766c1e41ef47ffbbf44218fdc8b823dbb33c6c11f0e262cd94ab83 SHA512 0fd9dc9ae9a4c0b50f100958c0df6d9bb33a4d3c2e4d9572aae52d4e7393c1432deca9f5812dbccc637150b1a8f58eabb433e87baf08c79af9e1ff3c58509a32
DIST ocaml-migrate-parsetree-2.2.0.tar.gz 188265 BLAKE2B a551ab1abd9db751d5300cd6c570e2072fa8d242c6a58c9b84387b177211081f6747526ae787ad51817bd63162c3fed61cbd1e3af083a49a524c0e38c69546e1 SHA512 7c1eec4b1d66d6d7df685684b054d8e98de6d4bafb6601116affc9f05fa89fb098824005891f0002e12c2d83ade734cffde2070792db8c9bc2d79825b86b45c1
DIST ocaml-migrate-parsetree-2.3.0.tar.gz 206750 BLAKE2B 47ffdf83d8329a5dc715f4d43f5440ee05bc88d2ebd1e7a11b8c45a2b1de64be77b2d0905f46a594fa84ca62785c64472b2b8bc1ee37440fca9b8dd5a56dbcc5 SHA512 f2000939eee0b2eac93d059292b0bc13aa809c9fe5e54b1e0bf412e41921647e9bc71ef23e0c6fba70e481891ece5a65763743932c69bf278a1036c437313219
+DIST ocaml-migrate-parsetree-2.4.0.tar.gz 207332 BLAKE2B cb8cae9eb30c09803944aae428cb0b5f8a52fdcb168beca956071507f9b3739664ee7fd99f823ca900ed61283422344ecebd96d1f526b76e6d334e3149e7e995 SHA512 9fb4fd69cc3eb64110127f9622cbb88ff1db3ecf45dc49377095d57c40ae2302b8e6928eda7e09b6e63f1820823c974ec479a8fa14b2a3f7da877faef0ca0414
EBUILD ocaml-migrate-parsetree-1.8.0.ebuild 559 BLAKE2B 90ed2c07d5c9aa5b3050545dbd0c2544ce622a24e50f53f3f2f6e13120767fe058bc29f283e6928b99fe615c859a43f6627e3c116a2883190053f8f688da16fd SHA512 10a4625b8238d3ee6a628bebd28386aaa3a228bf83f472062056c082d3f38e6ca884a8839deda917f8782db86a42f661a95ac9fac3f7d0d3ebb1d03f20156aa8
EBUILD ocaml-migrate-parsetree-2.1.0.ebuild 519 BLAKE2B 428a0551cd32ee77eae3418e4711eb40a501efe5eec5bdbb313d0a0de64359a05bd0c4b25f7917c15e64dd88069c92262514a58ff3b5f4ea84e47415926f8cc2 SHA512 5d3f9d361d7b602889ad788feda8a846fa501407e37ecf41fad67a5465a20296a53897a5ea008f6a031fb84cc731bca9654bef1a7512c4052652f0d90615c544
EBUILD ocaml-migrate-parsetree-2.2.0.ebuild 553 BLAKE2B 263d850bd6e8a14fd50fcb4753002f2507e8254dbee7a758afc06a00b8ae290bcf176150d6dc53253c35ba8258bc379928f0203e111ba8fc266f802565149eb3 SHA512 734656296bf6fe34e133a1015c9e58e3e5475b41a0aca3b59362a6c05723969140e40d8281358e2183a9d18e51c798a50339073dc022011a926097d486dac4a7
EBUILD ocaml-migrate-parsetree-2.3.0.ebuild 565 BLAKE2B f32ffd892abf9bbab36b920b26835e20b5c2098485c631e0b3501af965cf54e7ecc6c8af81bf8f1305f043be71873ee4a4d34c687e25e9f32ea085a214a4d941 SHA512 b04c4363d3baf3b0b2c164189bae82abb1b4728a44e001406b9e7a7102cb378515d952a63e47fd4a7a637043a79810a1426bcf689a8745fad78c942c89fb8654
+EBUILD ocaml-migrate-parsetree-2.4.0.ebuild 566 BLAKE2B ec2426717a9db8eb9ce5806abac34bde4ed4209babf08524b93f4a6c7ecd3f56d0b18a37786aa57b6eb7824f47564e778a7d54e4416a4bdf1fbf01cf97da9a6d SHA512 53713788a618d92085d269503a94532e14d0c59f9e331062672d5ac1778a72bbaf9c51670ff4d75e166b96651196b3d7a50049c0ed0051c5e85e312324069505
MISC metadata.xml 436 BLAKE2B ec12ef5053e8fd2d654d38ca5b81823eed65bde5ae354c27cb166834da0dd0e34a4e038d1912cc9d6653b14cff9cb06d6a3bec4388b6d4d3a96cdc20faec3efa SHA512 99bc47f7b568fc287370b85da88f4f57630844ad50e2085a5f6d6fe17d1707ace3843751b07c061a80076661edcfbfa3714eaa248009b9562e60a591b0047774
diff --git a/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-2.4.0.ebuild b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-2.4.0.ebuild
new file mode 100644
index 000000000000..89267d689c6c
--- /dev/null
+++ b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-2.4.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+DESCRIPTION="Convert OCaml parsetrees between different major versions"
+HOMEPAGE="https://github.com/let-def/ocaml-migrate-parsetree/"
+SRC_URI="https://github.com/let-def/ocaml-migrate-parsetree/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test ) strip"
+
+DEPEND="test? ( dev-ml/cinaps )"
+BDEPEND=">=dev-ml/dune-2.3"
diff --git a/dev-ml/ocaml-sha/Manifest b/dev-ml/ocaml-sha/Manifest
index cdded20dc17e..afe6dea7708f 100644
--- a/dev-ml/ocaml-sha/Manifest
+++ b/dev-ml/ocaml-sha/Manifest
@@ -1,3 +1,5 @@
DIST ocaml-sha-1.15.1.tar.gz 15972 BLAKE2B c80fe4ba9a216fb88b0ca4cdf4f467450ad7225c9aa8fbb7389c85b8372de0a965683dc4a674c82ae4c2801b9f6a83777fbd3bfe5deb68af3d5e9193c058c9d9 SHA512 25af4f3fff6d5126e5e3b5f4dff4d6cc48396ffea48da186450236825bbb79110c7918a2bfa1c77dfaee9570965f9052d87c513d9f9da01208d95962b12cfd1c
+DIST ocaml-sha-1.15.2.tar.gz 15700 BLAKE2B 7504d4302d54d94f6b8143efce6487dbc95c4f909baef515a85a7a6f7adcc5cff94225ae9231770193025312a82384b738e47001f1b6975cd39f4d21b8f6a162 SHA512 7ea47377747ef4c36791c4ed9ff88fe138ee14d012cc3f7b41fcc28776e57ea54c5ee5cc033adc6288177ed834afb73c44e60cfff01f1be28492a992f97a1d06
EBUILD ocaml-sha-1.15.1.ebuild 518 BLAKE2B ae29ba7ce2e8e29bfdc689eb099f2db08c5b52044a319813df1bba676b12fee193b422669eb554c9d5d4a499c6d75fa1934dd0fa63b4568fa22d42a5fecd5fbc SHA512 ec054f2cfa156b9b910bb45eb11d7db42a82ec01d9196c9eb35a39bab495b74cf926f1b184b6d440dcdfa89a4d26ec1a62abcaf27c4d13d889a023aba38ab325
+EBUILD ocaml-sha-1.15.2.ebuild 516 BLAKE2B b6f71cd2089ae943e05b547c270b389b96fb3322331945e7568d504d0fb2093ff7619ae98535849d93919ca81b01fac0102f5465dabe5cd09152015c91db729b SHA512 7c9a58c15620202754bab4659d2b7d10b5426306e5dca3445b5e1c3642908567a3157450c7b0e325803055d190b54c15b5327ffb6e1d16e1ee0b6e688c401086
MISC metadata.xml 649 BLAKE2B 9507a92760a7dda6fbbcfe8f4209f97c20590e73dc6b3d486339fe2650ce24c3f3acdf9aa9f03d551c9df153a35880fa37b5f9db29ae1add4eeadc1559b507e5 SHA512 c6fa82372d98c68a8c710fbcb185aa14ecbdc371d24f03ae370a51a98134b895b15a5119a54e2e01d97286ff021d3a35b0425b2b5a29a3e870432c2739098ed6
diff --git a/dev-ml/ocaml-sha/ocaml-sha-1.15.2.ebuild b/dev-ml/ocaml-sha/ocaml-sha-1.15.2.ebuild
new file mode 100644
index 000000000000..dca25b58d530
--- /dev/null
+++ b/dev-ml/ocaml-sha/ocaml-sha-1.15.2.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DUNE_PKG_NAME=sha
+
+inherit dune
+
+DESCRIPTION="Binding to the SHA cryptographic functions"
+HOMEPAGE="https://github.com/djs55/ocaml-sha/"
+SRC_URI="https://github.com/djs55/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-ml/stdlib-shims:="
+DEPEND="${RDEPEND}"
+BDEPEND="test? ( dev-ml/ounit2 )"
diff --git a/dev-ml/ocamlbuild/Manifest b/dev-ml/ocamlbuild/Manifest
index de1b37d2842d..4c95dba05396 100644
--- a/dev-ml/ocamlbuild/Manifest
+++ b/dev-ml/ocamlbuild/Manifest
@@ -2,7 +2,9 @@ AUX ocamlbuild-0.14.0-Disable-tests-failing-with-OCaml-4.08.0.patch 1259 BLAKE2B
DIST ocamlbuild-0.11.0.tar.gz 195297 BLAKE2B 2d653c402edf58035fa6efb65c99c956fe78efc4759f29c8ddab8263310a5d243d25d37d4c1a4f0699f151afb6d4c6df4c1550f95d6e915963b3d86923877225 SHA512 14bc44cc63b6c99e711658a1145247bad8263632fbb4550238cef15e226a76b83e51b83575a7a96f16b96ec321dedd0ef23f36166c354838aec1922f58179efd
DIST ocamlbuild-0.14.0.tar.gz 198267 BLAKE2B 355d61ba68e61b9ee18a9fc0fbb9062405f44707b180ca7ad4bfec727ca3d3d2cc08f17be118ca3a4161c7789d975e7f431812e9139d4fde85a1a27ab68c8ac3 SHA512 ae60247396399dfd35644c8c1986ef7679e5a9964df82e3388bfc6dd4c5b88a13d6869a698d14a9ac70dc48e4ce1c003f543c85426d8c862ca31dea37a554b07
DIST ocamlbuild-0.14.1.tar.gz 199103 BLAKE2B e29d5cf2b333dd45c0aa86cc1fa4ddb160079b8a7badfe6127039d9215d3e6ad655eeacc9410887eadf1d61615025a59ea008254cae5fd65c13eb2afc7937ec8 SHA512 1f5b43215b1d3dc427b9c64e005add9d423ed4bca9686d52c55912df8955647cb2d7d86622d44b41b14c4f0d657b770c27967c541c868eeb7c78e3bd35b827ad
+DIST ocamlbuild-0.14.2.tar.gz 199293 BLAKE2B d81613878f93f27c6de41461e6b3cebe0744a5204297725263a608cb129a708aaf6f27b444b97d68f2bde844a760f8e78647641f10eed61e727ef3936562cdea SHA512 f568bf10431a1f701e8bd7554dc662400a0d978411038bbad93d44dceab02874490a8a5886a9b44e017347e7949997f13f5c3752f74e1eb5e273d2beb19a75fd
EBUILD ocamlbuild-0.11.0.ebuild 1297 BLAKE2B 06c06922091b5e8232a0010f7d774742d6315b7df1d5fd935e2dc5159681baf8ae50721eea8054aad79a51cd4b99dfd6d8a0c986954b8d4944203a1596c43dd6 SHA512 7a89f83eb743590bd909e807f499077291960322cb21292601f1886c9ee67df531a86082a3aa9d820b7d1958e214dc04021bc5cab97c3f973742198984539532
EBUILD ocamlbuild-0.14.0-r1.ebuild 1376 BLAKE2B 50a346a4d59320120805a19fe3a026c24947bb9ffde6db3ae0146853544a9fe2ab576ce09e88a10a1f0ee9b9c87a1f1617d33d3add7e44d1dd43a0672388b352 SHA512 4319f21c440f53ee24e2a0b2c0cfe56d04864ac063280569fcb0ae9e2b796bb4e94e3a8f9ccb59911a60d36ca696ca5de98bcaed23438b8956a24808c402c107
EBUILD ocamlbuild-0.14.1.ebuild 1381 BLAKE2B 870b31268d41be571d743fc214a3f1a2a713cd69fc99c16068bc084a4710b4773ec0529db8eddaac615760df8381629e1397ca16157123b2bc9053ab6c137b97 SHA512 4dd1ec254af3f443f28f5476539d5a86440799c8ae626598f04351f902dd5dda438e681653218f66c9c0a80da2971f3e63402cd7de50b8e59a4e700e221e0364
+EBUILD ocamlbuild-0.14.2.ebuild 1258 BLAKE2B 4160d04d6b15a8c8d112a0011e67d5e85142027be4149f7dfd2bd228729db4f1bea406816d71076b1fc0fc92fa42b2f67006189de89c830a2c9e570a021ffaf9 SHA512 89d8d0a146d43e949cb519f95fe793b9e9e58b29f9f741be99970bc2b41ccb57f95273b44005c8dd4526237874f5bac73e70b989122ea4ae18dbb81cd96703a8
MISC metadata.xml 419 BLAKE2B 10c584b700f9726f803ad4a72bb6f2c3216c8550a0e373ffe03b950bf61ef04fb9eb955dcf839065eedba0917546c914f6fb8ad147e6c762898dbcd1124ce03f SHA512 b9f22d5c890c578e527e9394a79c901932c2abc148270954d43744030e39e55e3276c7ee28057353bde3301de347570aa3bdd06b758ac57e6e6ed24497a81c98
diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.14.2.ebuild b/dev-ml/ocamlbuild/ocamlbuild-0.14.2.ebuild
new file mode 100644
index 000000000000..73f2c700e2ce
--- /dev/null
+++ b/dev-ml/ocamlbuild/ocamlbuild-0.14.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Generic build tool with built-in rules for building OCaml library and programs"
+HOMEPAGE="https://github.com/ocaml/ocamlbuild"
+SRC_URI="https://github.com/ocaml/ocamlbuild/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ocamlopt"
+RESTRICT="test" # Tests fail
+
+RDEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?]"
+DEPEND="${RDEPEND}
+ dev-ml/findlib"
+
+QA_FLAGS_IGNORED='.*'
+src_prepare() {
+ sed -i \
+ -e "/package_exists/s:camlp4.macro:xxxxxx:" \
+ -e "/package_exists/s:menhirLib:xxxxxx:" \
+ testsuite/external.ml || die
+ default
+}
+
+src_configure() {
+ emake -f configure.make Makefile.config \
+ PREFIX="${EPREFIX}/usr" \
+ BINDIR="${EPREFIX}/usr/bin" \
+ LIBDIR="$(ocamlc -where)" \
+ OCAML_NATIVE=$(usex ocamlopt true false) \
+ OCAML_NATIVE_TOOLS=$(usex ocamlopt true false) \
+ NATDYNLINK=$(usex ocamlopt true false)
+}
+
+src_compile() {
+ emake src/ocamlbuild_config.cmo
+ default
+}
+
+src_install() {
+ emake CHECK_IF_PREINSTALLED=false DESTDIR="${D}" install
+ dodoc Changes
+}
diff --git a/dev-ml/parmap/Manifest b/dev-ml/parmap/Manifest
index 352b0ddbbfb0..8deb0c3e9dcd 100644
--- a/dev-ml/parmap/Manifest
+++ b/dev-ml/parmap/Manifest
@@ -1,9 +1,11 @@
DIST parmap-1.2.1.tar.gz 47069 BLAKE2B 85d67aacff70c9d8b70c73e4673486804a0d0a4cc52391cd93bf12ed19206c11cb77066e64757f5a22352580789383e04b7d984aade5e60872be12728a173fb6 SHA512 b5ed86b464f68db625e6442606cb74c7e2b10fd066a20732e60042d32b937c20f83ff4ebf17f47b79ee6725e0de9ca42bbb050c06b47d90a27052b3b0fb07afb
DIST parmap-1.2.3.tar.gz 47481 BLAKE2B 3c65448d244e6079444912ffaaea35982d44123f6259c2d15b7f1618afd10c79972f00f7e2744da270b298f4bca090c34c96e6e36638f2aaabba4ed774af24b5 SHA512 f050492ae1c5fc7c9d0baddaed44ea9920da7d2a5ed6455e93fd427648037a5e00051b6eaaf982174d88ed4de9b0123a1c4eff203f1ba6bef3384b5c7e2952c4
DIST parmap-1.2.4.tar.gz 47584 BLAKE2B a4b03f4e3aaafd2c8e75cda045741b21b9d72998a6a4ca406147cd6fc88eac1ffbcc996f862d4ea090551a6e7219e59f3df0515b48b4155305b49f8ea9b3b123 SHA512 7dfe3bb2ace3547c426bca4974bad0ccfaa1fddbe0ba6f574a0dd8c4c30e8dcd1b90d0938312fcef9468ea87358db096bf870f64467ba822b13465773054a8ed
+DIST parmap-1.2.5.tar.gz 49144 BLAKE2B 6e6c5c7dcfd1e7af4b921bc8795b2a23f0fd5e01f6ce91665bbbc5e1f9e19f0b7eaee0361b3450d4a9823744c97c6f6ef28f8c8f1f65fad80f2a0a30dc07b740 SHA512 668e969a598cdb587597c7cabf7e299cfb4e3cc4cd229edf1888977f19bd5cdf169d39f5a6d923644bcd83f1ce1a3cfbd3a4e55ff59513736a9dc740a16b49d1
DIST parmap-1.2.tar.gz 47083 BLAKE2B e790087273fcf749b000c7ad3a2f5b2cafea91c529e3a4687b1d882d203cb43e4069a42675319c27878d8bca3fa0e19af96ab1dfda8df3967dc48d28ec542b91 SHA512 69431e146e8aa01823ae1583c6a5e7753436cecee37c3da3064a836c20cf8c6b9033248412203406d03bd4efdd957b2e118ea5c5866e3bd1f668d8c4fd48777f
EBUILD parmap-1.2.1.ebuild 608 BLAKE2B 92d88cdfa1a4b8d99d84592c40953d3188669e6b5720d4bb18b5fcf27e35477244085b841968cfdb612668c7447e2e77791a83e877339f8567080738899de8a6 SHA512 ebabf3baff2fa3ebc2776e280bfb6fbead79d5f0f4f4f476fe2de10d38d7e64af6896d315e2eb77488352441a3fc0d87d4267a3cdadbfb38a8047d1899845712
EBUILD parmap-1.2.3.ebuild 603 BLAKE2B 2627f2c8559d5ab41140238d346adf54c512f8cd60c33b32c2c62b8a1f93b5b6638482dee503415d41310476655464a493e5e0280cbc2e86d12e4d92bccb7681 SHA512 739b66dcbb8150169b14257c20774f688dbc4077d3384f3a4a632d1b8745fdfcfdff94953c63381208c9cd593b071ce439c542518679346e4416ea32bf65205d
EBUILD parmap-1.2.4-r1.ebuild 617 BLAKE2B 5ae5c3d33805a7ad458067ef945fb0db8b420663a91fa90fe8cbbc304d40ae9991608290549ef7a6a558494e3e3bdf4cc479b2f9aab08fdcbe5a6b8871f4cc3e SHA512 b82f1976f9e9f54f12a90196f0afc116a5ccafb92a1d6ff14b72dc9ee23e1cfd7aef76e08151bd2548c33840f2a931bdbb1437ada665a6f21317a40842b292d6
+EBUILD parmap-1.2.5.ebuild 617 BLAKE2B 5cc6adefe1e6e0c90ace90674d99c138484f4f21abcb1b90cb10adf680977298ef54884ceb2a9655bbebb551c74dff655f6e5fa23291dbb41b52ebae40322acb SHA512 b47ab656f4784840d6094bb6cf995e0ed6b7f67fcc5142a957f2addb457e1bc3d849cf291026dea156397ef6661e174fc1e2d5859247e44dbcbcfd5e2c5df540
EBUILD parmap-1.2.ebuild 603 BLAKE2B 2627f2c8559d5ab41140238d346adf54c512f8cd60c33b32c2c62b8a1f93b5b6638482dee503415d41310476655464a493e5e0280cbc2e86d12e4d92bccb7681 SHA512 739b66dcbb8150169b14257c20774f688dbc4077d3384f3a4a632d1b8745fdfcfdff94953c63381208c9cd593b071ce439c542518679346e4416ea32bf65205d
MISC metadata.xml 323 BLAKE2B 6e7bcddc8f305eb0ad28f81bf09278c703c7dbfdc7c9825886dae7fa1d8489460a816286f0849cfbc4a1b641cfbc43f6b14a74b0d669593324050f5aefe01c80 SHA512 42cb14a0c6f2439fe053d45546efa9a8a66b2e116aabf02c64f7bb8c28316e302cd86b586cd2d6717f37228a0b04598e99d60feb45d16d301ce8a39da1f02d0a
diff --git a/dev-ml/parmap/parmap-1.2.5.ebuild b/dev-ml/parmap/parmap-1.2.5.ebuild
new file mode 100644
index 000000000000..6f83ebfb5b0b
--- /dev/null
+++ b/dev-ml/parmap/parmap-1.2.5.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit dune
+
+MY_PV="${PV/_/-}"
+DESCRIPTION="Library to exploit multicore architectures for OCaml programs"
+HOMEPAGE="https://www.dicosmo.org/code/parmap/"
+SRC_URI="https://github.com/rdicosmo/parmap/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV/+/-}"
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+
+BDEPEND="dev-ml/dune-configurator:="
+RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]"
+DEPEND="${RDEPEND}"
diff --git a/dev-ml/topkg/Manifest b/dev-ml/topkg/Manifest
index c248f8730670..52c28a4d0bc2 100644
--- a/dev-ml/topkg/Manifest
+++ b/dev-ml/topkg/Manifest
@@ -1,5 +1,7 @@
DIST topkg-1.0.3.tar.gz 122302 BLAKE2B c3c583fe6d9c6602c9eeae6ba76f0b8e1eda754cb2ffed8f6a9b51eeea53a2d16ad0af5bf3bf1f257233481efd1e7fecfca7185773dcb4258f6a0a8195aaf61f SHA512 b4f3393b142c5c2d71bb4a25f5af020831bd48ad5c354b68cf5a2df2044b534024f0568da93ad26ca383c97ba4277b4878dba7ce9267146f3805c67f52950cbf
DIST topkg-1.0.5.tar.gz 123508 BLAKE2B b6090143659607fb65257adfc78f6c12782cf4cca99e5d997a2e324196cc19689b95b1412296feba410ce894d559e92d1f2c417ce46b441ad499a94264ffff99 SHA512 ea220df58ba3727281392b335377f9cea1cf1539ee86f2947faf1ccbcf36714fa40fbc06516867852d5992ca5840778467a02a0fe67369725da95eb442e4269a
+DIST topkg-1.0.6.tar.gz 123588 BLAKE2B 49637d7ea34e243e0263a1a1cde2b3fc642325ac43f8c46d05c15a82bef9a117522e8a663c02bb8406b0a3d23b973ffc80e276aae4b316aa49f188ef5af919ee SHA512 560eb074d51824b02fb76223c2a16eefbf3bc1107c0c228b4e8491d2433e0b22e1b750ea63944f5653ab4e3e566a72c939cef6a8207e156874d6dad2b9c8ca99
EBUILD topkg-1.0.3.ebuild 977 BLAKE2B 25fb14a2f2d52e8b2f18b044c450df093fbf8803fd3ec09aa4a76529c08ce1707039567a06a05349cbd3f178aa2c4d9ba129860a1293713b613e94a7a12d20db SHA512 591ae4ca722f3d85815c0d0b53ade24bef08dfd271897ed0e9fac51441c46c60575efaa60f8110efbb12b68877affbd37619e55646cccef51679a797306dd391
EBUILD topkg-1.0.5.ebuild 989 BLAKE2B 7ebc9755ffd6fa9f0c5bff88d307859c6553d4d600a06c0b044bc48d63c96afbcbcfbc5c693b35d69e73eb0b49eb23f0d8a93b6a2e98f44b28642c9707693516 SHA512 10c3cf189a21714df866f2222c2ad5d7432ad9d5d21650423fab8412cbfa39a46d61b7a9da7c7ca6e7530bb8e203f7c9e36b349c3ca75eed0e62f1cc24c18daa
+EBUILD topkg-1.0.6.ebuild 989 BLAKE2B bd5697ff93fbe002b6a67d2c12ff7c05ba8e204a61f7cdd53606e6aa029a97234f432b9790b43017746eeb9e7e4cbbe06b6e45896cedf90ac8b473bde6d8ddd2 SHA512 b80170e0a3034291b790f8e511be3b03bc73d90aa17a129fcb623613fe16b2654f3a3649cd7d292293f8404bd35bc92be6ec760df6a8954c82b53fe3b4a34548
MISC metadata.xml 417 BLAKE2B 0b80e61196b3796c580559b88e78f3a2f95c434ba1878cb09b22a40c8f0cb964f32215532c9b14c25d5f1124a0614227a9e32fcfc64afcf4519a0c1f89f6a048 SHA512 9c041417cf7da9e56529048a9f5bedba2c0271e14dd80aafa95c10778ad98a145bb020a8984b55ae568053dedc667339bf05ed2f696f208f19289ec3d7089327
diff --git a/dev-ml/topkg/topkg-1.0.6.ebuild b/dev-ml/topkg/topkg-1.0.6.ebuild
new file mode 100644
index 000000000000..e6250c896d63
--- /dev/null
+++ b/dev-ml/topkg/topkg-1.0.6.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit findlib
+
+DESCRIPTION="The transitory OCaml software packager"
+HOMEPAGE="http://erratique.ch/software/topkg https://github.com/dbuenzli/topkg"
+SRC_URI="https://github.com/dbuenzli/topkg/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+ocamlopt"
+
+RDEPEND="dev-ml/result:=
+ dev-ml/ocamlbuild:=
+ dev-ml/findlib:=
+ dev-lang/ocaml:=[ocamlopt?]"
+DEPEND="${RDEPEND}"
+
+src_compile() {
+ ocaml pkg/pkg.ml build --pkg-name ${PN} || die
+}
+
+src_install() {
+ # Can't use opam-installer here as it is an opam dep...
+ findlib_src_preinst
+
+ local nativelibs
+ if use ocamlopt; then
+ nativelibs=$(echo _build/src/${PN}*.cm{x,xa,xs,ti} _build/src/${PN}.a)
+ fi
+
+ ocamlfind install ${PN} _build/pkg/META _build/src/${PN}.mli _build/src/${PN}.cm{a,i} ${nativelibs} || die
+ dodoc CHANGES.md DEVEL.md README.md
+}