summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-17 23:35:33 +0000
committerLiguros - Gitlab CI/CD [master] <gitlab@liguros.net>2021-01-17 23:35:33 +0000
commit8e8120eabdd28020aa69c7a60505cce2edd20adc (patch)
tree061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /dev-ml
parentc16790af2c9b4cbc38e565d4311252193ff85484 (diff)
downloadbaldeagleos-repo-21.1.2.tar.gz
baldeagleos-repo-21.1.2.tar.xz
baldeagleos-repo-21.1.2.zip
Updating liguros repo21.1.2
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/biniou/Manifest2
-rw-r--r--dev-ml/biniou/biniou-1.2.0.ebuild32
-rw-r--r--dev-ml/biniou/biniou-1.2.1.ebuild20
-rw-r--r--dev-ml/biniou/metadata.xml9
-rw-r--r--dev-ml/cairo-ocaml/cairo-ocaml-1.2.0-r1.ebuild2
-rw-r--r--dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild81
-rw-r--r--dev-ml/calendars/Manifest1
-rw-r--r--dev-ml/calendars/calendars-1.0.0.ebuild19
-rw-r--r--dev-ml/calendars/metadata.xml12
-rw-r--r--dev-ml/camlp4/Manifest1
-rw-r--r--dev-ml/camlp4/camlp4-4.05_p1.ebuild41
-rw-r--r--dev-ml/camlp5/Manifest1
-rw-r--r--dev-ml/camlp5/camlp5-7.14.ebuild59
-rw-r--r--dev-ml/camlp5/metadata.xml6
-rw-r--r--dev-ml/camlzip/metadata.xml6
-rw-r--r--dev-ml/cppo/cppo-1.6.6.ebuild2
-rw-r--r--dev-ml/dune/dune-2.7.1.ebuild2
-rw-r--r--dev-ml/dune/metadata.xml4
-rw-r--r--dev-ml/findlib/findlib-1.8.1-r2.ebuild (renamed from dev-ml/findlib/findlib-1.8.1-r1.ebuild)9
-rw-r--r--dev-ml/findlib/findlib-1.8.1.ebuild73
-rw-r--r--dev-ml/findlib/metadata.xml7
-rw-r--r--dev-ml/jingoo/Manifest1
-rw-r--r--dev-ml/jingoo/jingoo-1.4.2.ebuild25
-rw-r--r--dev-ml/jingoo/metadata.xml12
-rw-r--r--dev-ml/lablgtk/metadata.xml6
-rw-r--r--dev-ml/llvm-ocaml/Manifest3
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-11.0.1.ebuild (renamed from dev-ml/llvm-ocaml/llvm-ocaml-11.0.1_rc1.ebuild)4
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-11.1.0_rc1.ebuild (renamed from dev-ml/llvm-ocaml/llvm-ocaml-11.0.1.9999.ebuild)2
-rw-r--r--dev-ml/markup/Manifest1
-rw-r--r--dev-ml/markup/markup-1.0.0.ebuild23
-rw-r--r--dev-ml/markup/metadata.xml5
-rw-r--r--dev-ml/menhir/metadata.xml5
-rw-r--r--dev-ml/num/metadata.xml6
-rw-r--r--dev-ml/num/num-1.3-r1.ebuild4
-rw-r--r--dev-ml/ocaml-migrate-parsetree/Manifest2
-rw-r--r--dev-ml/ocaml-migrate-parsetree/metadata.xml4
-rw-r--r--dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.8.0.ebuild20
-rw-r--r--dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-2.1.0.ebuild18
-rw-r--r--dev-ml/ocaml-sqlite3/ocaml-sqlite3-4.3.0.ebuild2
-rw-r--r--dev-ml/ocplib-simplex/metadata.xml6
-rw-r--r--dev-ml/ounit2/metadata.xml4
-rw-r--r--dev-ml/parmap/Manifest1
-rw-r--r--dev-ml/parmap/parmap-1.2.ebuild21
-rw-r--r--dev-ml/ppx_deriving/Manifest2
-rw-r--r--dev-ml/ppx_deriving/files/ounit2.patch128
-rw-r--r--dev-ml/ppx_deriving/metadata.xml4
-rw-r--r--dev-ml/ppx_deriving/ppx_deriving-4.2-r1.ebuild52
-rw-r--r--dev-ml/ppx_deriving/ppx_deriving-4.5.ebuild4
-rw-r--r--dev-ml/ppx_deriving/ppx_deriving-5.2.ebuild28
-rw-r--r--dev-ml/ppxfind/metadata.xml4
-rw-r--r--dev-ml/ppxfind/ppxfind-1.4.ebuild4
-rw-r--r--dev-ml/ppxlib/Manifest1
-rw-r--r--dev-ml/ppxlib/ppxlib-0.20.0.ebuild29
-rw-r--r--dev-ml/seq/metadata.xml6
-rw-r--r--dev-ml/unidecode/Manifest1
-rw-r--r--dev-ml/unidecode/files/unidecode-0.4.0-test.patch8
-rw-r--r--dev-ml/unidecode/metadata.xml12
-rw-r--r--dev-ml/unidecode/unidecode-0.4.0.ebuild28
-rw-r--r--dev-ml/uucp/Manifest1
-rw-r--r--dev-ml/uucp/metadata.xml12
-rw-r--r--dev-ml/uucp/uucp-13.0.0-r2.ebuild29
-rw-r--r--dev-ml/uunf/Manifest1
-rw-r--r--dev-ml/uunf/metadata.xml12
-rw-r--r--dev-ml/uunf/uunf-13.0.0.ebuild27
-rw-r--r--dev-ml/xml-light/metadata.xml5
-rw-r--r--dev-ml/yojson/Manifest1
-rw-r--r--dev-ml/yojson/metadata.xml9
-rw-r--r--dev-ml/yojson/yojson-1.7.0.ebuild36
-rw-r--r--dev-ml/zarith/Manifest1
-rw-r--r--dev-ml/zarith/metadata.xml6
-rw-r--r--dev-ml/zarith/zarith-1.11.ebuild58
71 files changed, 784 insertions, 289 deletions
diff --git a/dev-ml/biniou/Manifest b/dev-ml/biniou/Manifest
index 529a970cd468..8be3c33cfb31 100644
--- a/dev-ml/biniou/Manifest
+++ b/dev-ml/biniou/Manifest
@@ -1 +1 @@
-DIST biniou-1.2.0.tar.gz 23611 BLAKE2B 01f5afada666d23b74f31cf12b5f578f3622c85311d7a1b6eb319843beac4c3ebe8e8e314a47ec14ee0ef6f5c1a5b6dd849dcf24b0c3cc8a38ca6a54d89e4c4d SHA512 04c04c2dd5e3e1237106db257567ba6900bd94759b07b02ba2e0d9209d1bbdc9ed629864e06d44a8b61f72d46fbcc7a0ffc86f82feb223d9d99ca41afc625fab
+DIST biniou-1.2.1.tar.gz 23970 BLAKE2B 139f17e3fd31f3f834c8111d81cecfa5fa48f860fc4fc898f7896b6d39a9756989504fa88901efaa0f67a51de25cdf304bea2ecabf15ea9cace59b4b311c00e1 SHA512 f0166666559f3a767fdc6987bad45ec4a772b70b8880b6d769ef644c9bfd46962f089c7b5dfff368413015e765daf4bacffe253bdb3478d9a4d30a15f0d29589
diff --git a/dev-ml/biniou/biniou-1.2.0.ebuild b/dev-ml/biniou/biniou-1.2.0.ebuild
deleted file mode 100644
index 6a9705355a2a..000000000000
--- a/dev-ml/biniou/biniou-1.2.0.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit findlib
-
-DESCRIPTION="A binary data serialization format inspired by JSON for OCaml"
-HOMEPAGE="https://github.com/mjambon/biniou"
-SRC_URI="https://github.com/mjambon/biniou/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-SLOT="0/${PV}"
-LICENSE="BSD"
-KEYWORDS="~amd64"
-IUSE="+ocamlopt"
-
-RDEPEND=">=dev-lang/ocaml-3.11:=[ocamlopt?]
- dev-ml/easy-format:=[ocamlopt?]
-"
-DEPEND="${RDEPEND}
- dev-ml/jbuilder
- dev-ml/opam
-"
-
-src_install() {
- opam-installer -i \
- --prefix="${ED}/usr" \
- --libdir="${D}/$(ocamlc -where)" \
- --docdir="${ED}/usr/share/doc/${PF}" \
- --mandir="${ED}/usr/share/man" \
- ${PN}.install || die
-}
diff --git a/dev-ml/biniou/biniou-1.2.1.ebuild b/dev-ml/biniou/biniou-1.2.1.ebuild
new file mode 100644
index 000000000000..0f3a349bbbde
--- /dev/null
+++ b/dev-ml/biniou/biniou-1.2.1.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="A binary data serialization format inspired by JSON for OCaml"
+HOMEPAGE="https://github.com/ocaml-community/biniou/"
+SRC_URI="https://github.com/ocaml-community/biniou/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="+ocamlopt"
+
+RDEPEND=">=dev-lang/ocaml-4.02.3:=[ocamlopt?]
+ dev-ml/easy-format:=[ocamlopt?]
+"
+DEPEND="${RDEPEND}"
diff --git a/dev-ml/biniou/metadata.xml b/dev-ml/biniou/metadata.xml
index c962d465eba5..9e1fde19ba7b 100644
--- a/dev-ml/biniou/metadata.xml
+++ b/dev-ml/biniou/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <name>François-Xavier Carton</name>
+ <email>fx.carton91@gmail.com</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<upstream>
<remote-id type="github">mjambon/biniou</remote-id>
</upstream>
diff --git a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0-r1.ebuild b/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0-r1.ebuild
index 19eead630c6c..f05710bc7330 100644
--- a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0-r1.ebuild
+++ b/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://cgit.freedesktop.org/cairo-ocaml/snapshot/${P}.tar.bz2"
LICENSE="LGPL-2.1"
SLOT="0/${PV}"
-KEYWORDS="~amd64 ~ppc x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
IUSE="doc examples gtk pango"
RDEPEND="dev-lang/ocaml:=
diff --git a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild b/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
deleted file mode 100644
index c9c07c183718..000000000000
--- a/dev-ml/cairo-ocaml/cairo-ocaml-1.2.0.ebuild
+++ /dev/null
@@ -1,81 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit eutils findlib autotools
-
-DESCRIPTION="Ocaml bindings for the cairo vector graphics library"
-HOMEPAGE="https://www.cairographics.org/cairo-ocaml/"
-SRC_URI="https://cgit.freedesktop.org/cairo-ocaml/snapshot/${P}.tar.bz2"
-
-LICENSE="LGPL-2.1"
-SLOT="0/${PV}"
-KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux"
-IUSE="doc examples gtk pango"
-
-RDEPEND="dev-lang/ocaml:=
- x11-libs/cairo
- gtk? ( dev-ml/lablgtk:2= )
- pango? ( x11-libs/pango )"
-DEPEND="${RDEPEND}"
-
-src_prepare() {
- # 3 patches from debian and one for automagic on libsvg-cairo
- epatch \
- "${FILESDIR}"/0001-Add-missing-libraries-used-by-the-stubs-to-CAIRO_LIB.patch \
- "${FILESDIR}"/0002-Fix-Makefile-to-avoid-recompiling-files-in-usr.patch \
- "${FILESDIR}"/0003-Fix-FTBFS-on-bytecode-architectures.patch \
- "${FILESDIR}"/0004-no-automagic.patch
- AT_M4DIR=support eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_with gtk) \
- $(use_with pango pango-cairo) \
- --without-svg-cairo
-}
-
-src_compile() {
- emake -j1
- use doc && emake doc
-}
-
-src_install() {
- findlib_src_install
- dodoc README ChangeLog
- if use examples; then
- insinto /usr/share/doc/${PF}/examples
- doins test/*.ml
- fi
- # ocamlfind support
- cat <<-EOF > META
- name = "${PN}"
- description = "${DESCRIPTION}"
- requires = "bigarray"
- version = "${PV}"
- archive(byte) = "cairo.cma"
- archive(native) = "cairo.cmxa"
- EOF
- if use gtk; then
- cat <<-EOF >> META
- package "lablgtk2" (
- requires = "cairo lablgtk2"
- archive(byte) = "cairo_lablgtk.cma"
- archive(native) = "cairo_lablgtk.cmxa"
- )
- EOF
- fi
- if use pango; then
- cat <<-EOF >> META
- package "pango" (
- requires = "cairo"
- archive(byte) = "pango_cairo.cma"
- archive(native) = "pango_cairo.cmxa"
- )
- EOF
- fi
- insinto /usr/$(get_libdir)/ocaml/cairo
- doins META
-}
diff --git a/dev-ml/calendars/Manifest b/dev-ml/calendars/Manifest
new file mode 100644
index 000000000000..e539c264aaef
--- /dev/null
+++ b/dev-ml/calendars/Manifest
@@ -0,0 +1 @@
+DIST calendars-1.0.0.tar.gz 7374 BLAKE2B 8792bc8b9996ec4f71eec6d34570d5b3d4fa17ea40be3dbc6cb379f0318ae01897b50df20e8cbfe5d91450078231155547bcb2a25b1789efc0e6c9993b3d2c3d SHA512 84bcc9c96eab1a1821699ebd90ab04a14c3afa54d9f112001a5bde8efb3b8fe29baf6da133dde561e9ed290fec5babd673818e490779986725f6c5ab644c2391
diff --git a/dev-ml/calendars/calendars-1.0.0.ebuild b/dev-ml/calendars/calendars-1.0.0.ebuild
new file mode 100644
index 000000000000..23b2fd6daec4
--- /dev/null
+++ b/dev-ml/calendars/calendars-1.0.0.ebuild
@@ -0,0 +1,19 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="Convert dates between gregorian/julian/french/hebrew calendars"
+HOMEPAGE="https://github.com/geneweb/calendars"
+SRC_URI="https://github.com/geneweb/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-ml/ounit2 )"
diff --git a/dev-ml/calendars/metadata.xml b/dev-ml/calendars/metadata.xml
new file mode 100644
index 000000000000..d6035e428a84
--- /dev/null
+++ b/dev-ml/calendars/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">geneweb/calendars</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-ml/camlp4/Manifest b/dev-ml/camlp4/Manifest
index 41d84baaecb5..44d3605c0dc4 100644
--- a/dev-ml/camlp4/Manifest
+++ b/dev-ml/camlp4/Manifest
@@ -1,3 +1,4 @@
+DIST camlp4-4.05_p1.tar.gz 647566 BLAKE2B 068c1016a75616811787eb480b61349a32960997f03e0bc99d63e15357a8932a6019d9e7195541fd942ef99fc1d71c067fb5fcb0fd0c2c3efb77aac494589854 SHA512 0ee9720286d0d832fb7d2d21a8877856e0e47c94c86b1b58d28f8e757a18472eecb56a16e3a04ce815f240dd5048f5d597515461d084fd1cf4da1b121f97a3fe
DIST camlp4-4.08_p1.tar.gz 649830 BLAKE2B 8dff6f82618d0f61a56acfa71ae679d4ba5ed4aea272019da7b19ea64960c80e50c55482ff9782748dad5042aa1bcd8728ff0825f8f900ff27239db0e0db3515 SHA512 1f8d6df42935ecdbed96a7b02d05564665b4bf0cbe4f5fd1800a1f292d8b3864d973df1e9e8c566c0fd00b5a55ba47ecd9bd07f134a9be83601e010b0246e075
DIST camlp4-4.10_p1.tar.gz 650092 BLAKE2B d7a6221dba5f6ec6963fe35236c29f39b8ae8f928618b5a58f72e7b1cc1f50d716b110f9684150716b56784cf703c0d8fcbc1aad32aeab638faca9c1bf2d5b9e SHA512 7ae0e20053a43399daa4ee9b93b6f4dbebc3e17c5ee79d069c4903cdfb2bf1cfc7d6badecf92fcf62e97a5f85f3be6ed82a62eb2a311bf6398b2792eacf763d8
DIST camlp4-4.11_p1.tar.gz 650280 BLAKE2B 6fe46b49c1f2b2e5fc87fbbbdba3ccae795c555737495c298456b84f0dca79c750aa6e4ab2c23bbc7ba4724defdfb739e370f468a78658035474d2f3ad255995 SHA512 8e572602c1c465017a234565efa2249c935ba1ad3d399a6b264bfbec345958130a96311c79e437ac995e3ead9ff7b4f2d3fe6aa4a3a82431ae0cc6257a300f4c
diff --git a/dev-ml/camlp4/camlp4-4.05_p1.ebuild b/dev-ml/camlp4/camlp4-4.05_p1.ebuild
new file mode 100644
index 000000000000..e3f1c78d6c13
--- /dev/null
+++ b/dev-ml/camlp4/camlp4-4.05_p1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PV=${PV/_p/+}
+MY_P=${PN}-${MY_PV}
+DESCRIPTION="System for writing extensible parsers for programming languages"
+HOMEPAGE="https://github.com/camlp4/camlp4"
+SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${P/_p/-}"
+
+LICENSE="LGPL-2-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="+ocamlopt"
+
+DEPEND="=dev-lang/ocaml-4.05*:=[ocamlopt?]"
+RDEPEND="${DEPEND}"
+DEPEND="${DEPEND}
+ dev-ml/ocamlbuild"
+
+src_configure() {
+ ./configure \
+ --bindir="${EPREFIX}/usr/bin" \
+ --libdir="$(ocamlc -where)" \
+ --pkgdir="$(ocamlc -where)" \
+ || die
+}
+
+src_compile() {
+ # Increase stack limit to 11GiB to avoid stack overflow error.
+ ulimit -s 11530000
+ emake byte
+ use ocamlopt && emake native
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install-META
+ dodoc CHANGES.md README.md
+}
diff --git a/dev-ml/camlp5/Manifest b/dev-ml/camlp5/Manifest
index ecf3d1602bdc..87216412e8f6 100644
--- a/dev-ml/camlp5/Manifest
+++ b/dev-ml/camlp5/Manifest
@@ -1,3 +1,4 @@
DIST camlp5-7.11.tar.gz 878224 BLAKE2B f384764da43653a2f75664681a4f202ec84497720470a0a33f99fc61a1ce7b4a9d494ffe6b523c74906c122ee04ae25a08bf1fcd356145e85a11e3e3095bbf7d SHA512 109a43f0a3aaa7a3ba9bd51b1fc1273b054d32787e189b138d69b39c42642b480c13abb9e91f15e6b6e889eaf4dc422ad3ff51e4dee298fb9d8cd9a2db99c159
DIST camlp5-7.12.tar.gz 1008350 BLAKE2B 8f390f6d617a6ef029462aa74ca4d80c0e2eb267bb6957aac43fdecc425aae34dfc7f3e572c8a1f4ee6b032dd90b3b8262094f80a19ea0bb19b80a88d22d3f28 SHA512 233d973b0a968a7812b977e8a37da8e8daa0f3ef81ca7c473d83c1602380dae6c14f94daffb6bb799f8d90fab121238a46e89a233202cd6f622b0da2f728c0c0
DIST camlp5-7.13.tar.gz 1031832 BLAKE2B 2afd7e269092d9c40f263e9ce92b3b9f66b0b3f0ae01da43e2094c6a919aa9f26790030f835b630547d51e7bb4a08e74ac8522e7f308864896fa0414370f8f2f SHA512 8ab94b951e6791be895c70e32b930e498229c9ba7bccc505a3e7c2a91ca12fe038b979b9d5822b43e9c74ee2bf552efa1af7a61f1d287100803efb540d5db8b2
+DIST camlp5-7.14.tar.gz 1044110 BLAKE2B c9aa5be80df8d2c376fc41c157b2cd86658dbb90e1babd346b7681afd7453649c7f3682f95f238e51b74b3b3a7a2c5b5a854be892b30a7d1e3b62c3272f5442e SHA512 1b39949c532ca622b01a8e800aa1dcad34f1c944ffe580003642bd742dedc158f3ee54602f3b05f89c0e259525d7feed101b971ebd589449b6d56046389a5bf6
diff --git a/dev-ml/camlp5/camlp5-7.14.ebuild b/dev-ml/camlp5/camlp5-7.14.ebuild
new file mode 100644
index 000000000000..cd630ba25bd9
--- /dev/null
+++ b/dev-ml/camlp5/camlp5-7.14.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit findlib vcs-clean
+
+DESCRIPTION="A preprocessor-pretty-printer of ocaml"
+HOMEPAGE="https://camlp5.github.io/"
+SRC_URI="https://github.com/camlp5/camlp5/archive/rel$(ver_rs 1- '').tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-rel$(ver_rs 1- '')"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="doc +ocamlopt"
+
+DEPEND="
+ >=dev-lang/ocaml-3.10:=[ocamlopt?]
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=( "${FILESDIR}/${PN}-7.12-destdir.patch" )
+
+src_prepare() {
+ egit_clean
+ default
+}
+
+src_configure() {
+ ./configure \
+ --strict \
+ -prefix /usr \
+ -bindir /usr/bin \
+ -libdir /usr/$(get_libdir)/ocaml \
+ -mandir /usr/share/man || die "configure failed"
+}
+
+src_compile() {
+ emake out
+ if use ocamlopt; then
+ emake opt
+ emake opt.opt
+ fi
+}
+
+src_test() {
+ emake bootstrap
+}
+
+src_install() {
+ emake DESTDIR="${ED}" install
+ # findlib support
+ insinto "$(ocamlfind printconf destdir)/${PN}"
+ doins etc/META
+
+ dodoc -r doc/*
+ dodoc CHANGES DEVEL ICHANGES README.md UPGRADING MODE
+}
diff --git a/dev-ml/camlp5/metadata.xml b/dev-ml/camlp5/metadata.xml
index ba0facb7958f..cdbfc6e27510 100644
--- a/dev-ml/camlp5/metadata.xml
+++ b/dev-ml/camlp5/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
</maintainer>
<maintainer type="person">
<email>gienah@gentoo.org</email>
diff --git a/dev-ml/camlzip/metadata.xml b/dev-ml/camlzip/metadata.xml
index 312348ebfe42..ee82e63d1f73 100644
--- a/dev-ml/camlzip/metadata.xml
+++ b/dev-ml/camlzip/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
</maintainer>
<upstream>
<remote-id type="github">xavierleroy/camlzip</remote-id>
diff --git a/dev-ml/cppo/cppo-1.6.6.ebuild b/dev-ml/cppo/cppo-1.6.6.ebuild
index 320c0464d7fa..893668e3e2a6 100644
--- a/dev-ml/cppo/cppo-1.6.6.ebuild
+++ b/dev-ml/cppo/cppo-1.6.6.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/ocaml-community/cppo/archive/v${PV}.tar.gz -> ${P}.t
SLOT="0/${PV}"
LICENSE="BSD"
-KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
IUSE="+ocamlopt"
diff --git a/dev-ml/dune/dune-2.7.1.ebuild b/dev-ml/dune/dune-2.7.1.ebuild
index 36da8ec6f77d..010bc0fc6a56 100644
--- a/dev-ml/dune/dune-2.7.1.ebuild
+++ b/dev-ml/dune/dune-2.7.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0/${PV}"
-KEYWORDS="~amd64 ~arm ~arm64 ppc ~ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86"
IUSE="test"
DEPEND="dev-lang/ocaml"
diff --git a/dev-ml/dune/metadata.xml b/dev-ml/dune/metadata.xml
index a62126151db0..55e4e58b0d59 100644
--- a/dev-ml/dune/metadata.xml
+++ b/dev-ml/dune/metadata.xml
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
<maintainer type="person">
<email>gienah@gentoo.org</email>
<name>Mark Wright</name>
diff --git a/dev-ml/findlib/findlib-1.8.1-r1.ebuild b/dev-ml/findlib/findlib-1.8.1-r2.ebuild
index 415b2535faa7..00af3da8eeb1 100644
--- a/dev-ml/findlib/findlib-1.8.1-r1.ebuild
+++ b/dev-ml/findlib/findlib-1.8.1-r2.ebuild
@@ -3,19 +3,16 @@
EAPI=7
-inherit multilib
-
DESCRIPTION="OCaml tool to find/use non-standard packages"
HOMEPAGE="https://projects.camlcity.org/projects/findlib.html"
SRC_URI="http://download.camlcity.org/download/${P}.tar.gz"
-IUSE="doc +ocamlopt tk"
LICENSE="MIT"
-
SLOT="0"
-KEYWORDS="~alpha ~amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="doc +ocamlopt tk"
-DEPEND=">=dev-lang/ocaml-4.08.1-r1:=[ocamlopt?]
+DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?]
tk? ( dev-ml/labltk:= )"
RDEPEND="${DEPEND}"
diff --git a/dev-ml/findlib/findlib-1.8.1.ebuild b/dev-ml/findlib/findlib-1.8.1.ebuild
deleted file mode 100644
index 7547ce832d5a..000000000000
--- a/dev-ml/findlib/findlib-1.8.1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit multilib eutils
-
-DESCRIPTION="OCaml tool to find/use non-standard packages"
-HOMEPAGE="https://projects.camlcity.org/projects/findlib.html"
-SRC_URI="http://download.camlcity.org/download/${P}.tar.gz"
-IUSE="doc +ocamlopt tk"
-
-LICENSE="MIT"
-
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos"
-
-DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?]
- tk? ( dev-ml/labltk:= )"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- sed -i 's/\$llabltk \$lcamlp4 \$lobuild//' configure || die "Unable to make meta external."
- export ocamlfind_destdir="${EPREFIX}/usr/$(get_libdir)/ocaml"
- export stublibs="${ocamlfind_destdir}/stublibs"
-}
-
-src_configure() {
- local myconf
- use tk && myconf="-with-toolbox"
- ./configure -bindir "${EPREFIX}"/usr/bin -mandir "${EPREFIX}"/usr/share/man \
- -sitelib ${ocamlfind_destdir} \
- -config ${ocamlfind_destdir}/findlib/findlib.conf \
- -no-custom \
- ${myconf} || die "configure failed"
-}
-
-src_compile() {
- emake -j1 all
- if use ocamlopt; then
- emake -j1 opt # optimized code
- fi
-}
-
-src_install() {
- emake prefix="${D}" install
-
- dodir "${stublibs#${EPREFIX}}"
-
- cd "${S}/doc"
- dodoc QUICKSTART README DOCINFO
- use doc && dohtml -r ref-html guide-html
-}
-
-check_stublibs() {
- local ocaml_stdlib=`ocamlc -where`
- local ldconf="${ocaml_stdlib}/ld.conf"
-
- if [ ! -e ${ldconf} ]
- then
- echo "${ocaml_stdlib}" > ${ldconf}
- echo "${ocaml_stdlib}/stublibs" >> ${ldconf}
- fi
-
- if [ -z `grep -e ${stublibs} ${ldconf}` ]
- then
- echo ${stublibs} >> ${ldconf}
- fi
-}
-
-pkg_postinst() {
- check_stublibs
-}
diff --git a/dev-ml/findlib/metadata.xml b/dev-ml/findlib/metadata.xml
index 0ebdbd8af882..b245899f8b6d 100644
--- a/dev-ml/findlib/metadata.xml
+++ b/dev-ml/findlib/metadata.xml
@@ -1,9 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
<maintainer type="person">
<email>gienah@gentoo.org</email>
<name>Mark Wright</name>
</maintainer>
+ <upstream>
+ <remote-id type="github">ocaml/ocamlfind</remote-id>
+ </upstream>
<origin>gentoo-staging</origin>
</pkgmetadata>
diff --git a/dev-ml/jingoo/Manifest b/dev-ml/jingoo/Manifest
new file mode 100644
index 000000000000..85cb0b3b3baf
--- /dev/null
+++ b/dev-ml/jingoo/Manifest
@@ -0,0 +1 @@
+DIST jingoo-1.4.2.tar.gz 67611 BLAKE2B 5d2ead117863a2edd18320da4fa7539a7ebd6c537509b5cd37df3778d90c3459dde73d03d3d97b0ed64cfa4b7ef46f620e5638dd75f7e5b290340cc53761deea SHA512 d54d9114b87efdf49b81931b28ee2b61edbd984792c8371f7498b42175f574da7d2774b7b28702b62eeae704168e18c7e9283c4618045abc559b2d1d680e92ad
diff --git a/dev-ml/jingoo/jingoo-1.4.2.ebuild b/dev-ml/jingoo/jingoo-1.4.2.ebuild
new file mode 100644
index 000000000000..4164b805b6a0
--- /dev/null
+++ b/dev-ml/jingoo/jingoo-1.4.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="OCaml template engine almost compatible with Jinja2."
+HOMEPAGE="https://github.com/tategakibunko/jingoo"
+SRC_URI="https://github.com/tategakibunko/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-ml/ppx_deriving
+ dev-ml/uucp
+ dev-ml/uutf
+ dev-ml/re
+ dev-ml/menhir"
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit )"
diff --git a/dev-ml/jingoo/metadata.xml b/dev-ml/jingoo/metadata.xml
new file mode 100644
index 000000000000..481f445624e1
--- /dev/null
+++ b/dev-ml/jingoo/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">tategakibunko/jingoo</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-ml/lablgtk/metadata.xml b/dev-ml/lablgtk/metadata.xml
index e67332bcf66f..baf6eb3acc63 100644
--- a/dev-ml/lablgtk/metadata.xml
+++ b/dev-ml/lablgtk/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
</maintainer>
<maintainer type="person">
<email>gienah@gentoo.org</email>
diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest
index d36c99982c35..07cacd71fa2f 100644
--- a/dev-ml/llvm-ocaml/Manifest
+++ b/dev-ml/llvm-ocaml/Manifest
@@ -1,4 +1,5 @@
DIST llvmorg-10.0.1.tar.gz 120880730 BLAKE2B 30f19f56c4d1f6abcda5fec76256219d1e3c8a6ff1a1f152f94bfe362c07884339fe571ff7fe903ed3b3deb150b2fa868c387887a0dea2930dc08b81db71a5b1 SHA512 48078fff9293a87f1a973f3348f79506f04c3da774295f5eb67d74dd2d1aa94f0973f8ced3f4ab9e8339902071f82c603b43d5608ad7227046c4da769c5d2151
DIST llvmorg-11.0.0.tar.gz 122743665 BLAKE2B 3f95570240789fd68ddb747df817f5c6cdc9da40911bbe9ee3531c15ada9165e5002b1c2f778cf8735858485ea05a8754e3d3a5f4b15bdd6cb33d64a14692984 SHA512 b6d38871ccce0e086e27d35e42887618d68e57d8274735c59e3eabc42dee352412489296293f8d5169fe0044936345915ee7da61ebdc64ec10f7737f6ecd90f2
-DIST llvmorg-11.0.1-rc1.tar.gz 122777435 BLAKE2B 23b520d33cf4b641027ee52bb10c6171d60356c9167d5b94012929e6e547c526cda1a6177c295ed19592dfb83b020f63b2cef4cabc70ce9a2a8e098fe654a3cd SHA512 605c7bbff1610f335be8ea4f1204df797fed21185a54c77565f6ff2d00794d1967e9c5fab7c87633e242f2f999bdffb76da83f756d261c1ca476114599409ae1
+DIST llvmorg-11.0.1.tar.gz 122790338 BLAKE2B 0130996b4a8c4d9f757136fd7fb318068c9bfdc565060dec0d4336480c4ab66c4ae3185a7fdb05f13cf9ee8fd4123b09df938881b75d6e5d3689595114b7e32a SHA512 f5e6ef0b3111aae08a89cd01adb2ff4abfa9ef779c68b9190421d0447efd25c2cc00e5aae9f4764805f5fa31434866043d1510ae7389817e28ae53a5442e2fdf
+DIST llvmorg-11.1.0-rc1.tar.gz 122793491 BLAKE2B f4777455f5903cffea284eaffd872be6c287c6c1ebbd0c4b5b5473f146d7f5476f3551998a58d3e976ab90cde7b0d05db2b3be97f4e8e2c3474755ff38739268 SHA512 44e281486c44fa1611042ab658b9833a75f9613b7f896863613cfb99de66d13607fb1e9064f42ea3d89ca7951113465a90fd96ca4544262f165f78bd5261f5a8
DIST llvmorg-9.0.1.tar.gz 113193320 BLAKE2B b86e405f2b8e00436045fd409fe19cdde75c797b1192c62a22b5ec75e6b4dc8e874a0f33008dc31562445e4cbe53a992b6f48c684255a6a1ef261e595b8b161f SHA512 fa88beeaae94b6d0cd9b5ba38658d0ffed8004035d7d8a4f95c3d31a709b88b581ae9bd7761333c8e5375c44b8f6be01768b5a3be901163159d7e6c43b71da59
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.1_rc1.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.1.ebuild
index 623dc26f8c90..02c8e22591db 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.1_rc1.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-11.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -18,7 +18,7 @@ ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA"
SLOT="0/${PV}"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm ~x86"
IUSE="debug test ${ALL_LLVM_TARGETS[*]}"
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )"
RESTRICT="!test? ( test )"
diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.1.9999.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-11.1.0_rc1.ebuild
index 623dc26f8c90..b8f1af55b146 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-11.0.1.9999.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-11.1.0_rc1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
diff --git a/dev-ml/markup/Manifest b/dev-ml/markup/Manifest
index 490a2129a27d..c44ed7db0601 100644
--- a/dev-ml/markup/Manifest
+++ b/dev-ml/markup/Manifest
@@ -1 +1,2 @@
DIST markup-0.7.5.tar.gz 278654 BLAKE2B 5338d4b546c74ade522c84c5a0583ad08b09e4ca3ecb96712725dd33792e401f66f076e47cf24986047f36236c53134272cadcd2abe322307377bb79055bf39a SHA512 19350df7a3a619c479fa030b8772009bc32f3e9830494f5707e05f85b9ee9ff0ddf382d292c7a11bbd3b63c8c108e6a84b2d01f5e983f49d7cdf63ee3c4545c8
+DIST markup-1.0.0.tar.gz 280927 BLAKE2B cdf670e97c9f6e9b514d98f19a50bb4915c0c434a4ca27ac71be36f3893ed049eef8c0b5f48893e3f247938283272ff0c03d24743d679ef5e0296f7059131c58 SHA512 6383ed24fd86be0f6a64d9386b547d323fa0e763571ff3e7405119173c6ac6a7ed043bc0d35afd6e933101f22ed4b2f8baa08ba07d3df57a68015caaf79030ab
diff --git a/dev-ml/markup/markup-1.0.0.ebuild b/dev-ml/markup/markup-1.0.0.ebuild
new file mode 100644
index 000000000000..65041afd6bac
--- /dev/null
+++ b/dev-ml/markup/markup-1.0.0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="Error-recovering streaming HTML5 and XML parsers"
+HOMEPAGE="https://github.com/aantron/markup.ml"
+SRC_URI="https://github.com/aantron/markup.ml/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-ml/lwt
+ dev-ml/uutf"
+DEPEND="${RDEPEND}
+ test? ( dev-ml/ounit2 )"
+
+S="${WORKDIR}/${PN}.ml-${PV}"
diff --git a/dev-ml/markup/metadata.xml b/dev-ml/markup/metadata.xml
index cc192fbdb488..61a04a6f0a1e 100644
--- a/dev-ml/markup/metadata.xml
+++ b/dev-ml/markup/metadata.xml
@@ -1,7 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
<upstream>
<remote-id type="github">aantron/markup.ml</remote-id>
</upstream>
diff --git a/dev-ml/menhir/metadata.xml b/dev-ml/menhir/metadata.xml
index d85b4252fc33..01c0465e345f 100644
--- a/dev-ml/menhir/metadata.xml
+++ b/dev-ml/menhir/metadata.xml
@@ -1,6 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<!-- maintainer-needed -->
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
<origin>gentoo-staging</origin>
</pkgmetadata>
diff --git a/dev-ml/num/metadata.xml b/dev-ml/num/metadata.xml
index 8631aa453b3b..b7f8ab15300b 100644
--- a/dev-ml/num/metadata.xml
+++ b/dev-ml/num/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
</maintainer>
<maintainer type="person">
<email>gienah@gentoo.org</email>
diff --git a/dev-ml/num/num-1.3-r1.ebuild b/dev-ml/num/num-1.3-r1.ebuild
index ca07753a4fde..ceaa548dcdef 100644
--- a/dev-ml/num/num-1.3-r1.ebuild
+++ b/dev-ml/num/num-1.3-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/ocaml/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-2.1-with-linking-exception"
SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
IUSE=""
DEPEND=">=dev-lang/ocaml-4.09.0:=[ocamlopt]
diff --git a/dev-ml/ocaml-migrate-parsetree/Manifest b/dev-ml/ocaml-migrate-parsetree/Manifest
index 1c58aad13898..b32dbc70f60e 100644
--- a/dev-ml/ocaml-migrate-parsetree/Manifest
+++ b/dev-ml/ocaml-migrate-parsetree/Manifest
@@ -1,4 +1,6 @@
DIST ocaml-migrate-parsetree-1.0.5.tar.gz 209078 BLAKE2B f56bd7c142280c3da6439f2e8d72ca43a9c2f5068775fb7ae5e4b73b8f8824ead04d9646b3dfcacc1db6acef2245038b7e4dcfc927c4e7d79e1e90229b143bf5 SHA512 eff87416eeb6175820bedfa3160160fa7328bcee3d05e066b5a94db25a476299f3f5ad07db22eb192f84e5b83804cf2e3a66d77561c984d658d9255c43660b90
DIST ocaml-migrate-parsetree-1.0.6.tar.gz 209199 BLAKE2B 5682cf02ea17e53f352a9ed8d198bb5a8a8aceedac6754f3d60644a7f21e1fc9cd4daecc24cc8d65f790846cd8518daf874710a6e4ee9ef8c27aec0f7fd43162 SHA512 b44b9fc59cef787a0188245be357685fe7ecd5cc81368b5677b3389e8d09834e5e40f94a3cd7be762f3eb27657a628c0a228c4cefe4443ad1dc8ce012f2552b4
DIST ocaml-migrate-parsetree-1.0.7.tar.gz 209251 BLAKE2B ad221fd6a3a91d546d3bc75495f32914b99eb0dcdcf3fbe6f76cb80f85a46346815a21bffa872f2aefe09109ab162d19f7019a8d0441d4f9f7ce22c0ada13f2e SHA512 3ba1bfe4840b2664b5053068b3659eb6a2ca216f29ece3f4522d1e7c5d87cb643bfb59ebe0563264cafdc31b9aa572007b4261fd3df8b27607fad47ff6168892
+DIST ocaml-migrate-parsetree-1.8.0.tar.gz 466241 BLAKE2B 0b2211ed3a2a2e4e5200a6da0eb288839620fb6397b3cb2b1b83ed7c9a6a23eb7505e1311d30a8449a198221888a5d3b44d528dc84b1f6cabc546adad4110c67 SHA512 25eefd57a23221c7e71025557c977159c2a831713a40188e9750af7ddb93f089163ad4d8b24c53667869839249f1f389ea7928f54777101d5c291684e76be1a1
DIST ocaml-migrate-parsetree-2.0.0.tar.gz 150973 BLAKE2B f9cdaabfccd82ba2fcd02a044815072ac6495c46ece5cce306a108246dbe68b711f163b05702dc657cc8ee56f1080a5e83430ce2084990fa4ab2a4740fef77c2 SHA512 eba6574339225c44a1872e91fb95b3e8953031b2550038497c57832c94b02297ca3215525341bbe114fe480198519965a6a1619e6490a57ad66f65eff66d160d
+DIST ocaml-migrate-parsetree-2.1.0.tar.gz 169358 BLAKE2B 072ba6e1a879d5e308e7b40c55c323f353cd2187c8884bce25bffd35d7f5e64f2aa7070ae2766c1e41ef47ffbbf44218fdc8b823dbb33c6c11f0e262cd94ab83 SHA512 0fd9dc9ae9a4c0b50f100958c0df6d9bb33a4d3c2e4d9572aae52d4e7393c1432deca9f5812dbccc637150b1a8f58eabb433e87baf08c79af9e1ff3c58509a32
diff --git a/dev-ml/ocaml-migrate-parsetree/metadata.xml b/dev-ml/ocaml-migrate-parsetree/metadata.xml
index 81e89de8eec6..b3d91df1c289 100644
--- a/dev-ml/ocaml-migrate-parsetree/metadata.xml
+++ b/dev-ml/ocaml-migrate-parsetree/metadata.xml
@@ -1,6 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
<maintainer type="person">
<email>gienah@gentoo.org</email>
<name>Mark Wright</name>
diff --git a/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.8.0.ebuild b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.8.0.ebuild
new file mode 100644
index 000000000000..3516d59f1555
--- /dev/null
+++ b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-1.8.0.ebuild
@@ -0,0 +1,20 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-ml/cinaps:=
+ dev-ml/ppx_derivers:="
+RDEPEND="${DEPEND}"
diff --git a/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-2.1.0.ebuild b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-2.1.0.ebuild
new file mode 100644
index 000000000000..15c2c38d9b40
--- /dev/null
+++ b/dev-ml/ocaml-migrate-parsetree/ocaml-migrate-parsetree-2.1.0.ebuild
@@ -0,0 +1,18 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+DEPEND="test? ( dev-ml/cinaps )"
diff --git a/dev-ml/ocaml-sqlite3/ocaml-sqlite3-4.3.0.ebuild b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-4.3.0.ebuild
index 4dba9ccab8d2..e6b5df3eaae4 100644
--- a/dev-ml/ocaml-sqlite3/ocaml-sqlite3-4.3.0.ebuild
+++ b/dev-ml/ocaml-sqlite3/ocaml-sqlite3-4.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=5
diff --git a/dev-ml/ocplib-simplex/metadata.xml b/dev-ml/ocplib-simplex/metadata.xml
index 951449585aae..9c8563f6bf56 100644
--- a/dev-ml/ocplib-simplex/metadata.xml
+++ b/dev-ml/ocplib-simplex/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
</maintainer>
<longdescription lang="en">
A library implementing a simplex algorithm, in a functional style,
diff --git a/dev-ml/ounit2/metadata.xml b/dev-ml/ounit2/metadata.xml
index 44d5461096f0..097b029f3e61 100644
--- a/dev-ml/ounit2/metadata.xml
+++ b/dev-ml/ounit2/metadata.xml
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
<maintainer type="person">
<email>gienah@gentoo.org</email>
<name>Mark Wright</name>
diff --git a/dev-ml/parmap/Manifest b/dev-ml/parmap/Manifest
index 5714ec1af55c..78a77aa680b5 100644
--- a/dev-ml/parmap/Manifest
+++ b/dev-ml/parmap/Manifest
@@ -1,2 +1,3 @@
DIST parmap-1.0_rc8.tar.gz 98699 BLAKE2B 755208d0b380c200c5fb2a38334bcd422ea3e3c86bd8a52db37e256dd45c22c05e8577a5f13ae14d4ad553d16c212ae2a1b299e0870ac71a52e0bf11ddf2ecc4 SHA512 96bbe49f06dc3611577e87d9e6f5ca32e10271d6a14a0970bd4548fcaf268f833b3143258e14328237a60578e2355687e4bff031a021903f3e2280ef1713cc65
DIST parmap-1.1.1.tar.gz 44311 BLAKE2B db80056b2207d0e6723486b930bd0636171e0f2d710706b5348f2f098eb866fe9ab5dc516754e70bc81641484d4403868950ed6b35abd926d3212402f91ca41f SHA512 8333337b4f58496dad7c3417449ad6ba319c84d5cdb8434772479c9bde5708af95c230c9e1a9a31e4276d88cce3d827b1655c42a110ccd889d1735fcfecf0c20
+DIST parmap-1.2.tar.gz 47083 BLAKE2B e790087273fcf749b000c7ad3a2f5b2cafea91c529e3a4687b1d882d203cb43e4069a42675319c27878d8bca3fa0e19af96ab1dfda8df3967dc48d28ec542b91 SHA512 69431e146e8aa01823ae1583c6a5e7753436cecee37c3da3064a836c20cf8c6b9033248412203406d03bd4efdd957b2e118ea5c5866e3bd1f668d8c4fd48777f
diff --git a/dev-ml/parmap/parmap-1.2.ebuild b/dev-ml/parmap/parmap-1.2.ebuild
new file mode 100644
index 000000000000..44ada0a27777
--- /dev/null
+++ b/dev-ml/parmap/parmap-1.2.ebuild
@@ -0,0 +1,21 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~x86"
+IUSE="+ocamlopt"
+
+BDEPEND="dev-ml/dune-configurator"
+RDEPEND=">=dev-lang/ocaml-4.03:=[ocamlopt?]"
+DEPEND="${RDEPEND}"
diff --git a/dev-ml/ppx_deriving/Manifest b/dev-ml/ppx_deriving/Manifest
index 23ba45711d2c..8d62b98a54f5 100644
--- a/dev-ml/ppx_deriving/Manifest
+++ b/dev-ml/ppx_deriving/Manifest
@@ -1,2 +1,2 @@
-DIST ppx_deriving-4.2.tar.gz 48327 BLAKE2B 8ce5ccbfb7992fbd5e9c777ad0b577f8846d92df21926a877fb8f7b6804acc4fa2fd78586fc209c3bd83b8496eb6f8e8ee37c39e0c7462fb55f39389356f3c8f SHA512 084526157d6f4b41f7ad73157c5edb54d5bb9130d706525031670d8495ede8af5545302f442c2d2c506772201b79ccc93bdc7fead9455d3a59977ddfa9c3284d
DIST ppx_deriving-4.5.tar.gz 45886 BLAKE2B 257bacda986a3830e3efd55b8e97d8c633b64740a36c7954c7b13ef42578fef8795f268e709a2b7285fa3dda1297afe7cfcc277da8557ed654dda6401a550680 SHA512 f79153c5231ba1e03a3491fde95ca82ecb62fe05b60a649a374d2fbc5ea5dd9242126de7dfbe917c22fd7077c026c940e18c6b36c5ce0ec4bb6e07f11d2b710b
+DIST ppx_deriving-5.2.tar.gz 45766 BLAKE2B 67d041b69ad675873500844f8ef638797e271c3a3a82467407914a073e6eb9ff84f911d128ccf507be051fb89c7c85991987793067046b0dd1ecdc534b658b05 SHA512 0daf7d0050b8e2b18b441da994e8cf1f05e37f7d88d1f4512204979f19ac4d116a6c72f683c615b091e0340a4d380684f9b2ed1b70d84fae6ca928843ed3f479
diff --git a/dev-ml/ppx_deriving/files/ounit2.patch b/dev-ml/ppx_deriving/files/ounit2.patch
new file mode 100644
index 000000000000..d81231557c97
--- /dev/null
+++ b/dev-ml/ppx_deriving/files/ounit2.patch
@@ -0,0 +1,128 @@
+Index: ppx_deriving-4.4.1/src_test/create/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/create/dune
++++ ppx_deriving-4.4.1/src_test/create/dune
+@@ -1,4 +1,4 @@
+ (test
+ (name test_deriving_create)
+- (libraries oUnit ppx_deriving.runtime)
++ (libraries ounit2 ppx_deriving.runtime)
+ (preprocess (pps ppx_deriving.create ppx_deriving.show)))
+Index: ppx_deriving-4.4.1/src_test/deriving/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/deriving/dune
++++ ppx_deriving-4.4.1/src_test/deriving/dune
+@@ -1,4 +1,4 @@
+ (test
+ (name test_ppx_deriving)
+- (libraries oUnit compiler-libs.common ppx_deriving.api)
++ (libraries ounit2 compiler-libs.common ppx_deriving.api)
+ (preprocess (pps ppx_deriving.ord ppx_deriving.show ppx_deriving.eq)))
+Index: ppx_deriving-4.4.1/src_test/enum/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/enum/dune
++++ ppx_deriving-4.4.1/src_test/enum/dune
+@@ -1,4 +1,4 @@
+ (test
+ (name test_deriving_enum)
+- (libraries oUnit ppx_deriving.runtime)
++ (libraries ounit2 ppx_deriving.runtime)
+ (preprocess (pps ppx_deriving.enum ppx_deriving.show)))
+Index: ppx_deriving-4.4.1/src_test/eq/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/eq/dune
++++ ppx_deriving-4.4.1/src_test/eq/dune
+@@ -5,5 +5,5 @@
+
+ (test
+ (name test_deriving_eq)
+- (libraries oUnit ppx_deriving.runtime)
++ (libraries ounit2 ppx_deriving.runtime)
+ (preprocess (pps ppx_deriving.eq ppx_deriving.show)))
+Index: ppx_deriving-4.4.1/src_test/fold/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/fold/dune
++++ ppx_deriving-4.4.1/src_test/fold/dune
+@@ -5,5 +5,5 @@
+
+ (test
+ (name test_deriving_fold)
+- (libraries oUnit ppx_deriving.runtime)
++ (libraries ounit2 ppx_deriving.runtime)
+ (preprocess (pps ppx_deriving.fold)))
+Index: ppx_deriving-4.4.1/src_test/iter/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/iter/dune
++++ ppx_deriving-4.4.1/src_test/iter/dune
+@@ -5,5 +5,5 @@
+
+ (test
+ (name test_deriving_iter)
+- (libraries oUnit ppx_deriving.runtime)
++ (libraries ounit2 ppx_deriving.runtime)
+ (preprocess (pps ppx_deriving.iter ppx_deriving.show)))
+Index: ppx_deriving-4.4.1/src_test/make/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/make/dune
++++ ppx_deriving-4.4.1/src_test/make/dune
+@@ -1,4 +1,4 @@
+ (test
+ (name test_deriving_make)
+- (libraries oUnit ppx_deriving.runtime)
++ (libraries ounit2 ppx_deriving.runtime)
+ (preprocess (pps ppx_deriving.make ppx_deriving.show)))
+Index: ppx_deriving-4.4.1/src_test/map/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/map/dune
++++ ppx_deriving-4.4.1/src_test/map/dune
+@@ -5,5 +5,5 @@
+
+ (test
+ (name test_deriving_map)
+- (libraries oUnit ppx_deriving.runtime)
++ (libraries ounit2 ppx_deriving.runtime)
+ (preprocess (pps ppx_deriving.map ppx_deriving.show)))
+Index: ppx_deriving-4.4.1/src_test/ord/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/ord/dune
++++ ppx_deriving-4.4.1/src_test/ord/dune
+@@ -5,5 +5,5 @@
+
+ (test
+ (name test_deriving_ord)
+- (libraries oUnit ppx_deriving.runtime)
++ (libraries ounit2 ppx_deriving.runtime)
+ (preprocess (pps ppx_deriving.ord)))
+Index: ppx_deriving-4.4.1/src_test/runtime/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/runtime/dune
++++ ppx_deriving-4.4.1/src_test/runtime/dune
+@@ -5,5 +5,5 @@
+
+ (test
+ (name test_runtime)
+- (libraries oUnit ppx_deriving.runtime)
++ (libraries ounit2 ppx_deriving.runtime)
+ (preprocess (pps ppx_deriving.eq ppx_deriving.show)))
+Index: ppx_deriving-4.4.1/src_test/show/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/show/dune
++++ ppx_deriving-4.4.1/src_test/show/dune
+@@ -5,5 +5,5 @@
+
+ (test
+ (name test_deriving_show)
+- (libraries oUnit ppx_deriving.runtime)
++ (libraries ounit2 ppx_deriving.runtime)
+ (preprocess (pps ppx_deriving.show)))
+Index: ppx_deriving-4.4.1/src_test/api/dune
+===================================================================
+--- ppx_deriving-4.4.1.orig/src_test/api/dune
++++ ppx_deriving-4.4.1/src_test/api/dune
+@@ -5,5 +5,5 @@
+
+ (test
+ (name test_api)
+- (libraries oUnit compiler-libs.common ppx_deriving.api)
++ (libraries ounit2 compiler-libs.common ppx_deriving.api)
+ (preprocess (action (run ppxfind -legacy ppx_tools.metaquot --as-pp %{input-file}))))
diff --git a/dev-ml/ppx_deriving/metadata.xml b/dev-ml/ppx_deriving/metadata.xml
index b6c42a290047..ecce90f28c42 100644
--- a/dev-ml/ppx_deriving/metadata.xml
+++ b/dev-ml/ppx_deriving/metadata.xml
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
<maintainer type="person">
<email>gienah@gentoo.org</email>
<name>Mark Wright</name>
diff --git a/dev-ml/ppx_deriving/ppx_deriving-4.2-r1.ebuild b/dev-ml/ppx_deriving/ppx_deriving-4.2-r1.ebuild
deleted file mode 100644
index 5b315e69bee2..000000000000
--- a/dev-ml/ppx_deriving/ppx_deriving-4.2-r1.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit findlib eutils opam
-
-DESCRIPTION="Type-driven code generation for OCaml"
-HOMEPAGE="https://github.com/ocaml-ppx/ppx_deriving"
-SRC_URI="https://github.com/ocaml-ppx/ppx_deriving/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="doc +ocamlopt test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
- dev-ml/ppx_tools:=
- dev-ml/ocaml-migrate-parsetree:=
- dev-ml/ppx_derivers:=
- dev-ml/result:=
-"
-RDEPEND="${DEPEND}"
-DEPEND="${RDEPEND}
- dev-ml/cppo
- test? ( dev-ml/ounit )"
-
-src_compile() {
- cp pkg/META.in pkg/META || die
- ocaml pkg/build.ml \
- native=$(usex ocamlopt true false) \
- native-dynlink=$(usex ocamlopt true false) \
- || die
- use doc && emake doc
-}
-
-src_test() {
- ocamlbuild -j 0 -use-ocamlfind -classic-display \
- src_test/test_ppx_deriving.byte -- || die
- if use ocamlopt; then
- ocamlbuild -j 0 -use-ocamlfind -classic-display \
- src_test/test_ppx_deriving.native -- || die
- fi
-}
-
-src_install() {
- opam_src_install
- mv "${ED}/usr/lib/ppx_deriving/ppx_deriving" "${D}/$(ocamlc -where)/ppx_deriving/" || die
-
- use doc && dohtml api.docdir/*
-}
diff --git a/dev-ml/ppx_deriving/ppx_deriving-4.5.ebuild b/dev-ml/ppx_deriving/ppx_deriving-4.5.ebuild
index 648dc3f3f471..47ccd56be1af 100644
--- a/dev-ml/ppx_deriving/ppx_deriving-4.5.ebuild
+++ b/dev-ml/ppx_deriving/ppx_deriving-4.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -17,7 +17,7 @@ RESTRICT="!test? ( test )"
DEPEND="
dev-ml/ppx_tools:=
- dev-ml/ocaml-migrate-parsetree:=
+ <dev-ml/ocaml-migrate-parsetree-2.0.0:=
dev-ml/ppx_derivers:=
dev-ml/result:=
"
diff --git a/dev-ml/ppx_deriving/ppx_deriving-5.2.ebuild b/dev-ml/ppx_deriving/ppx_deriving-5.2.ebuild
new file mode 100644
index 000000000000..73a1495d16a7
--- /dev/null
+++ b/dev-ml/ppx_deriving/ppx_deriving-5.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="Type-driven code generation for OCaml"
+HOMEPAGE="https://github.com/ocaml-ppx/ppx_deriving"
+SRC_URI="https://github.com/ocaml-ppx/ppx_deriving/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+ dev-ml/ppx_tools:=
+ dev-ml/ocaml-migrate-parsetree:=
+ dev-ml/ppx_derivers:=
+ >=dev-ml/ppxlib-0.20.0:=
+ dev-ml/result:=
+"
+RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+ dev-ml/cppo
+ test? ( dev-ml/ounit2 )"
diff --git a/dev-ml/ppxfind/metadata.xml b/dev-ml/ppxfind/metadata.xml
index 6ff9b2127c55..c3a9907bb74a 100644
--- a/dev-ml/ppxfind/metadata.xml
+++ b/dev-ml/ppxfind/metadata.xml
@@ -1,6 +1,10 @@
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
<maintainer type="person">
<email>gienah@gentoo.org</email>
<name>Mark Wright</name>
diff --git a/dev-ml/ppxfind/ppxfind-1.4.ebuild b/dev-ml/ppxfind/ppxfind-1.4.ebuild
index 364bb0ea69ce..b964ae76cb11 100644
--- a/dev-ml/ppxfind/ppxfind-1.4.ebuild
+++ b/dev-ml/ppxfind/ppxfind-1.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -15,7 +15,7 @@ KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
IUSE="+ocamlopt"
DEPEND="
- dev-ml/ocaml-migrate-parsetree:=
+ <=dev-ml/ocaml-migrate-parsetree-1.80:=
dev-ml/findlib:=
"
RDEPEND="${DEPEND}"
diff --git a/dev-ml/ppxlib/Manifest b/dev-ml/ppxlib/Manifest
index c1e2284bfcf3..402675b1c89f 100644
--- a/dev-ml/ppxlib/Manifest
+++ b/dev-ml/ppxlib/Manifest
@@ -1 +1,2 @@
DIST ppxlib-0.18.0.tar.gz 192929 BLAKE2B db14821aa77eac02038632ee8a9756ffd7a7b561c5852c4a5bb6882da531a6d2833737d4d1d372ff73251c168e2da57c7df0c724b1d9a6c4829632881aa4d2b3 SHA512 73b785eec34ca68451936c750ff68a4799b8c265cd973a587bd77b60cb933409eed4edfd4c9a4b0b1ada8d3a0bae5c5c719e4258d00cb0290a6842c67be1fd3d
+DIST ppxlib-0.20.0.tar.gz 193453 BLAKE2B baf5703737792f274654de489aee31c1d324011cbe7e4f5b73102ea352d10ca513ed1b04ec43324640a01c0e5d168945806f6fd4e3a60c9f70c28392a720ec61 SHA512 e19699cb09c441d0ecbda191df78e8227111f1880be4f2810228cbfbf93c9474ba6d04e0e3b4b14820ea7dbd1388fd4ac86f818a28819e7d8b0dd00200609a7d
diff --git a/dev-ml/ppxlib/ppxlib-0.20.0.ebuild b/dev-ml/ppxlib/ppxlib-0.20.0.ebuild
new file mode 100644
index 000000000000..5fb766c7f1bd
--- /dev/null
+++ b/dev-ml/ppxlib/ppxlib-0.20.0.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="Base library and tools for ppx rewriters "
+HOMEPAGE="https://github.com/ocaml-ppx/ppxlib"
+SRC_URI="https://github.com/ocaml-ppx/ppxlib/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-ml/base-0.11.0:=
+ dev-ml/findlib:=
+ >=dev-ml/ocaml-compiler-libs-0.11.0:=
+ >=dev-ml/ocaml-migrate-parsetree-2.1.0:=
+ dev-ml/sexplib0:=
+ dev-ml/stdlib-shims:=
+ >=dev-ml/ppx_derivers-1.2.1:=
+ >=dev-ml/stdio-0.11.0:=
+"
+DEPEND="${DEPEND}
+ test? ( dev-ml/cinaps:= )"
diff --git a/dev-ml/seq/metadata.xml b/dev-ml/seq/metadata.xml
index 8631aa453b3b..b7f8ab15300b 100644
--- a/dev-ml/seq/metadata.xml
+++ b/dev-ml/seq/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
</maintainer>
<maintainer type="person">
<email>gienah@gentoo.org</email>
diff --git a/dev-ml/unidecode/Manifest b/dev-ml/unidecode/Manifest
new file mode 100644
index 000000000000..892a54afe5f9
--- /dev/null
+++ b/dev-ml/unidecode/Manifest
@@ -0,0 +1 @@
+DIST unidecode-0.4.0.tar.gz 20571 BLAKE2B 864888e1f3db1a784f847f49584fcb6da93ad30066b8ea5764395b25d3d86c47749a98d13771107dbd6c68dacb2ff4e6e2cb9370e8adb35d84e8149b93122ccd SHA512 a411685ddb1d52585251eff3e2cd56fc9b4e91dcfceff424d7cfd5f721be73561d7a8e9223ecaeeda6178b02e5f6df74d50a49d4ce61d72a7d3fa1e8aefe5cf3
diff --git a/dev-ml/unidecode/files/unidecode-0.4.0-test.patch b/dev-ml/unidecode/files/unidecode-0.4.0-test.patch
new file mode 100644
index 000000000000..039de4e1b564
--- /dev/null
+++ b/dev-ml/unidecode/files/unidecode-0.4.0-test.patch
@@ -0,0 +1,8 @@
+--- a/test/test_data.ml 2021-01-10 22:20:26.800309802 +0100
++++ b/test/test_data.ml 2021-01-10 22:20:36.290138477 +0100
+@@ -46,4 +46,4 @@
+ Norvegi, Finland, Estoni, Latvi, Litva, Pol'cho, Belarous', OUkraina, \
+ Gurji, Azerbaidjan, Kazakhstan, KHitad, Mongol, KHoito Solongos geһen \
+ arban durben gurenuudte khile zourydag, mun ouһaar ANOU-ai Alyaska \
+- mojotoi bolon YApon oulastai khile negetei. "
++ mojotoi bolon YApon oulastai khile negetei."
diff --git a/dev-ml/unidecode/metadata.xml b/dev-ml/unidecode/metadata.xml
new file mode 100644
index 000000000000..0910e60393d3
--- /dev/null
+++ b/dev-ml/unidecode/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">geneweb/unidecode</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-ml/unidecode/unidecode-0.4.0.ebuild b/dev-ml/unidecode/unidecode-0.4.0.ebuild
new file mode 100644
index 000000000000..35cfaf39fd6c
--- /dev/null
+++ b/dev-ml/unidecode/unidecode-0.4.0.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="Convert unicode strings into its ASCII representation"
+HOMEPAGE="https://github.com/geneweb/unidecode"
+SRC_URI="https://github.com/geneweb/${PN}/archive/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE="+ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND=""
+DEPEND="test? ( dev-ml/ounit2 )"
+BDEPEND=""
+
+PATCHES=( "${FILESDIR}"/${P}-test.patch )
+
+src_install() {
+ dune_src_install
+ mv "${D}"/usr/bin/unidecode{,-gw} || die
+}
diff --git a/dev-ml/uucp/Manifest b/dev-ml/uucp/Manifest
new file mode 100644
index 000000000000..08d06a8a8e95
--- /dev/null
+++ b/dev-ml/uucp/Manifest
@@ -0,0 +1 @@
+DIST uucp-13.0.0.tbz 466488 BLAKE2B 90b62446ed069f95b0ca8bbad8273b215f0a66f6a3d19639d60a73f440268e9274d4e98e7ac8a534bbb6a34ab485e989432894f22f2f5c1303ca49f828efe859 SHA512 24d0fc75ba337115fd6445d3c3dfa60fe5f6920b227cd8360cd60ad51b652ccc2129a47f195f7559d99635367e64855343dc03de1109987f296a280e0fefff4d
diff --git a/dev-ml/uucp/metadata.xml b/dev-ml/uucp/metadata.xml
new file mode 100644
index 000000000000..971a9936fe1d
--- /dev/null
+++ b/dev-ml/uucp/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">dbuenzli/uucp</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-ml/uucp/uucp-13.0.0-r2.ebuild b/dev-ml/uucp/uucp-13.0.0-r2.ebuild
new file mode 100644
index 000000000000..2dd9913cbd8d
--- /dev/null
+++ b/dev-ml/uucp/uucp-13.0.0-r2.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit opam
+
+DESCRIPTION="Unicode character properties for OCaml"
+HOMEPAGE="https://erratique.ch/software/uucp https://github.com/dbuenzli/uucp"
+SRC_URI="https://erratique.ch/software/uucp/releases/${P}.tbz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-ml/topkg
+ dev-ml/findlib"
+RDEPEND="${DEPEND}"
+BDEPEND="dev-ml/ocamlbuild"
+OPAM_FILE=opam
+
+src_compile() {
+ ocaml pkg/pkg.ml build \
+ --with-uutf true \
+ --with-uunf false \
+ --with-cmdliner true \
+ || die
+}
diff --git a/dev-ml/uunf/Manifest b/dev-ml/uunf/Manifest
new file mode 100644
index 000000000000..7f4a79e2e136
--- /dev/null
+++ b/dev-ml/uunf/Manifest
@@ -0,0 +1 @@
+DIST uunf-13.0.0.tbz 39387 BLAKE2B fa8c46f63e2f8cf44cffe0db8c0aea73a0ffb6449f4a3c7c59baf4750db8e2364686276e6e5f284b2a528a45f02400274669c4e081533fbb25cdd36c6eb8fcb0 SHA512 ade9815b1d620a055a63dd0f8c5d5c54544eacfdcf0c6059cd20f1004a1319287f71021018fbc7e652bde738a97fae7e9d0963d5b192a4b0bb6e5b95456012a8
diff --git a/dev-ml/uunf/metadata.xml b/dev-ml/uunf/metadata.xml
new file mode 100644
index 000000000000..52304779dcda
--- /dev/null
+++ b/dev-ml/uunf/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">dbuenzli/uunf</remote-id>
+ </upstream>
+ <origin>gentoo-staging</origin>
+</pkgmetadata>
diff --git a/dev-ml/uunf/uunf-13.0.0.ebuild b/dev-ml/uunf/uunf-13.0.0.ebuild
new file mode 100644
index 000000000000..5c1c8bdaf9b8
--- /dev/null
+++ b/dev-ml/uunf/uunf-13.0.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit opam
+
+DESCRIPTION="Unicode text normalization"
+HOMEPAGE="https://erratique.ch/software/uunf https://github.com/dbuenzli/uunf"
+SRC_URI="https://erratique.ch/software/uunf/releases/${P}.tbz"
+
+LICENSE="ISC"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="dev-ml/topkg
+ dev-ml/uutf
+ dev-ml/cmdliner"
+RDEPEND="${DEPEND}"
+BDEPEND="dev-ml/findlib"
+OPAM_FILE=opam
+
+src_compile() {
+ ocaml pkg/pkg.ml build \
+ || die
+}
diff --git a/dev-ml/xml-light/metadata.xml b/dev-ml/xml-light/metadata.xml
index 35527d1ae4b0..d85b4252fc33 100644
--- a/dev-ml/xml-light/metadata.xml
+++ b/dev-ml/xml-light/metadata.xml
@@ -1,9 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<maintainer type="person">
- <email>maksbotan@gentoo.org</email>
- <name>Maxim Koltsov</name>
-</maintainer>
+<!-- maintainer-needed -->
<origin>gentoo-staging</origin>
</pkgmetadata>
diff --git a/dev-ml/yojson/Manifest b/dev-ml/yojson/Manifest
index 1e6fd2ae0045..040e490a07d3 100644
--- a/dev-ml/yojson/Manifest
+++ b/dev-ml/yojson/Manifest
@@ -1 +1,2 @@
DIST yojson-1.4.0.tar.gz 26197 BLAKE2B c7d1a9d47f448995b31cd7631f64dec29e65b1f141854092bfe186a58c28b96c5c7f246f7e4ab4563dfcd84776904d4af77bbcbdc4e149229fbde339bd92df9f SHA512 dc019ecf0387299282c3df9a548456d2529993241911a83acb14f2361ed14886e5ebebe415773b6bc718cb0b12a25529184f3b5b62c71b42960fbd62e1c63bf6
+DIST yojson-1.7.0.tar.gz 29704 BLAKE2B edbd7f66d69a85880fc8ee9bb25a993744a310887024f7af63665ba8f5067f1b9383ec4d6dd5f4ca3376d698665a8f605c078f7597ddd4e71857c1a20143c2e5 SHA512 25eedb64e4bf7c7e8d5a5a115812cd502540afbdeb7c947da3a14e5968aa0a7db8ab402425662571d8935b9cd6a19796ce81dd80a65dc614f156626c60e7036e
diff --git a/dev-ml/yojson/metadata.xml b/dev-ml/yojson/metadata.xml
index dade9d517c44..b9aedf32a551 100644
--- a/dev-ml/yojson/metadata.xml
+++ b/dev-ml/yojson/metadata.xml
@@ -1,7 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <!-- maintainer-needed -->
+ <maintainer type="person">
+ <name>François-Xavier Carton</name>
+ <email>fx.carton91@gmail.com</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
<upstream>
<remote-id type="github">mjambon/yojson</remote-id>
</upstream>
diff --git a/dev-ml/yojson/yojson-1.7.0.ebuild b/dev-ml/yojson/yojson-1.7.0.ebuild
new file mode 100644
index 000000000000..48357a363ee7
--- /dev/null
+++ b/dev-ml/yojson/yojson-1.7.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit dune
+
+DESCRIPTION="JSON parsing and pretty-printing library for OCaml"
+HOMEPAGE="https://github.com/ocaml-community/yojson"
+SRC_URI="https://github.com/ocaml-community/yojson/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0/${PV}"
+KEYWORDS="~amd64"
+IUSE="examples +ocamlopt test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-lang/ocaml-4.02.3:=[ocamlopt=]
+ dev-ml/easy-format:=[ocamlopt=]
+ >=dev-ml/biniou-1.2:=[ocamlopt=]
+"
+DEPEND="
+ ${RDEPEND}
+ test? ( dev-ml/alcotest )
+"
+BDEPEND=">=dev-ml/cppo-1.6.1"
+
+src_install() {
+ dune_src_install
+
+ if use examples; then
+ dodoc -r examples
+ docompress -x /usr/share/doc/${PF}/examples
+ fi
+}
diff --git a/dev-ml/zarith/Manifest b/dev-ml/zarith/Manifest
index e8e4215241c2..ecd22ba5ccef 100644
--- a/dev-ml/zarith/Manifest
+++ b/dev-ml/zarith/Manifest
@@ -1,3 +1,4 @@
DIST zarith-1.10.tar.gz 95543 BLAKE2B 4effafb5a4f90fe48282feb6a3deb07cde4e465c52149d663b1185f82c20ad7e72a02e5965cc3d589ea873f82c33f69dcb47299bbd6a9fa7a6fd686ce14ad61d SHA512 94958feccd3be863b4bcc7887f5108099962402ab6eddbae42420cd04323aafe930dac75c6f1f3d50d8f57cdd2108f1b25546999bac3f03a0a682127d5b67612
+DIST zarith-1.11.tar.gz 98909 BLAKE2B 01deed333dc79dfdb5748c835ef80403c7892e36e461a1c65e5bb97f147b32df2e6cbe8f4e9b916aabc3bd2479bd97439a68d9cdb123d15b7c9ed0e3e7f784f3 SHA512 7c0645d63511d42b763cd0a33b3fb139c26d23ae0cf59cd651388644cb8e7c43a83265d55d69ff3320d8c4586c4f8dbd9c3412197bab2e110c38e6e7dac88b83
DIST zarith-1.7.tar.gz 89617 BLAKE2B ee8a272a7421d9e723af8aa6207da8fe046585804e669058b6dec8fb47cab80e438d0520c1b61ed6c79bc279d162a7a1043fa40e74c50342b7e4d553ca8e8f5b SHA512 812b5f9b24ce7a24d3370b8728ff6eeb56e3280fa1573e694fe54e781668c29bf8ff95e94aeff59df948adc85b8acd6b4efe117fb50a124f19b4227bee78e753
DIST zarith-1.9.1.tar.gz 92321 BLAKE2B d61def81600cb5f3ae931eabebcdf081b6025dd24b1deae46a55f5db4f2c67d44b38b9cb9d73fc7fd9bd76c81545294373e3df5969da217209079a2912a8e285 SHA512 e77620c66a59d35811acfc45c7ef3f0d50d3042194654b1f5b652a2ed5fb9d5f88e9173222e5ced286c61854434da05a4d96668089faa66ff2917afa677fc32f
diff --git a/dev-ml/zarith/metadata.xml b/dev-ml/zarith/metadata.xml
index f4aa31a97abd..5877d7369373 100644
--- a/dev-ml/zarith/metadata.xml
+++ b/dev-ml/zarith/metadata.xml
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>tupone@gentoo.org</email>
- <name>Tupone Alfredo</name>
+ <maintainer type="project">
+ <email>ml@gentoo.org</email>
+ <name>ML</name>
</maintainer>
<use>
<flag name="mpir">Use MPIR library instead of GMP.</flag>
diff --git a/dev-ml/zarith/zarith-1.11.ebuild b/dev-ml/zarith/zarith-1.11.ebuild
new file mode 100644
index 000000000000..038a15cc6fd7
--- /dev/null
+++ b/dev-ml/zarith/zarith-1.11.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit findlib toolchain-funcs
+
+DESCRIPTION="Arithmetic and logic operations over arbitrary-precision integers"
+HOMEPAGE="https://github.com/ocaml/Zarith"
+SRC_URI="https://github.com/ocaml/Zarith/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1-with-linking-exception"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
+IUSE="doc mpir +ocamlopt"
+RESTRICT="!ocamlopt? ( test )"
+
+RDEPEND="
+ >=dev-lang/ocaml-4.05:=[ocamlopt=]
+ !mpir? ( dev-libs/gmp:0= )
+ mpir? ( sci-libs/mpir:= )"
+
+DEPEND="${RDEPEND} dev-lang/perl"
+DOCS=( README.md Changes )
+
+S="${WORKDIR}/Zarith-release-${PV}"
+
+src_configure() {
+ tc-export CC AR
+ ./configure \
+ -host "${CHOST}" \
+ -ocamllibdir /usr/$(get_libdir)/ocaml \
+ -installdir "${ED}"/usr/$(get_libdir)/ocaml \
+ $(usex mpir "-mpir" "-gmp") || die
+}
+
+src_compile() {
+ emake -j 1 HASOCAMLOPT=$(usex ocamlopt yes no) HASDYNLINK=$(usex ocamlopt yes no) all
+ use doc && emake doc
+}
+
+src_test() {
+ emake HASOCAMLOPT=yes HASDYNLINK=yes tests
+}
+
+src_install() {
+ findlib_src_preinst
+
+ emake \
+ HASOCAMLOPT=$(usex ocamlopt yes no) \
+ HASDYNLINK=$(usex ocamlopt yes no) \
+ install
+
+ dosym zarith/libzarith.a /usr/$(get_libdir)/ocaml/libzarith.a
+
+ use doc && HTML_DOCS=( html/* )
+ einstalldocs
+}