diff options
Diffstat (limited to 'dev-ml')
174 files changed, 1542 insertions, 850 deletions
diff --git a/dev-ml/alcotest/alcotest-1.8.0.ebuild b/dev-ml/alcotest/alcotest-1.8.0.ebuild index 42994cde53ad..cdf5b23a1aa5 100644 --- a/dev-ml/alcotest/alcotest-1.8.0.ebuild +++ b/dev-ml/alcotest/alcotest-1.8.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/mirage/alcotest/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="ISC" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ~ppc64 x86" IUSE="+ocamlopt" RDEPEND=" diff --git a/dev-ml/camlbz2/camlbz2-0.8.0-r1.ebuild b/dev-ml/camlbz2/camlbz2-0.8.0-r1.ebuild index c78454058687..d176891871ea 100644 --- a/dev-ml/camlbz2/camlbz2-0.8.0-r1.ebuild +++ b/dev-ml/camlbz2/camlbz2-0.8.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://gitlab.com/irill/camlbz2/-/archive/${PV}/${P}.tar.bz2" LICENSE="LGPL-2.1" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" IUSE="+ocamlopt" DEPEND="app-arch/bzip2 diff --git a/dev-ml/camlidl/camlidl-1.12.ebuild b/dev-ml/camlidl/camlidl-1.12.ebuild index 08e45566bf79..9bdaa498acf1 100644 --- a/dev-ml/camlidl/camlidl-1.12.ebuild +++ b/dev-ml/camlidl/camlidl-1.12.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}"/${PN}-${PN}$(ver_rs 0-1 '') LICENSE="QPL-1.0 LGPL-2" SLOT="0/${PV}" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" DEPEND="dev-lang/ocaml:=[ocamlopt]" RDEPEND="${DEPEND}" diff --git a/dev-ml/camlp4/Manifest b/dev-ml/camlp4/Manifest index 7e9cdebe2194..4f3667862fe4 100644 --- a/dev-ml/camlp4/Manifest +++ b/dev-ml/camlp4/Manifest @@ -4,3 +4,4 @@ DIST camlp4-4.11_p1.tar.gz 650280 BLAKE2B 6fe46b49c1f2b2e5fc87fbbbdba3ccae795c55 DIST camlp4-4.12.tar.gz 650428 BLAKE2B 4957d3db73ec82fbac58dd95fa13c48f9f8480a70cd6bded43a00df0a182f9b9e31a43acef8264f9d940776667d10b0a5c46bded59ebf4a645719264628428fc SHA512 0a19bb596e47076a28a6bea62007f1d3b59c4d688075f6b723abaa205c555707feb4ea0624259994a4ba5251fdea9dc61cdc936dc13611b36937e755a4bc9b7b DIST camlp4-4.13.tar.gz 650642 BLAKE2B 5bf70b21f47eefe4631227d0d30fdd08ab965020026d0183fc94b9dbfd1eee45626afbe62bf9507b1a887217cf9245901d40f25cce9430155eb9ec1ddc577554 SHA512 d3307bd11b813540d126719c0afe7e75a7740d0851b272be9bd1a28e8b1ab1ed9a7576109000c8d6cee7ece7f777122aa83917a48147d42ed8f4d72994397819 DIST camlp4-4.14_p1.tar.gz 641790 BLAKE2B 3e1054a924956e9c23d43fb4ef00cf99fe09f6d2a5eb4216cb3d5079a439159d36703b6ae268789d73e51e87ed0329531b25c2e846df03c4ae99b1a6403b84c3 SHA512 1853ae0465a1366cf73d7aa9de56c037ef3d4bb5b341fe3eeb39677b5b08bda44316634b93d5d35d917a98dff8eb40da974937f714ab609818e7d25f716de811 +DIST camlp4-5.2_p1.tar.gz 653548 BLAKE2B 27002802bbf0d0a67d5c2c967fa54d72087c9b08020d290ec081545ef4d4c7bea794ab8ea74608d63ed4a51b58fe44a1ac921d4de9f66f754a7b3d931e5ed818 SHA512 7034cf32575b6a7dc0406fea3c354068598195aa84a75e8576ea1219c38e4bffdc048c936d440bab235aea76510972a174bffba13f4f94f531b80fb4d80ca4ad diff --git a/dev-ml/camlp4/camlp4-4.09_p1-r2.ebuild b/dev-ml/camlp4/camlp4-4.09_p1-r2.ebuild index ceba74ce980b..05a4cf801fd7 100644 --- a/dev-ml/camlp4/camlp4-4.09_p1-r2.ebuild +++ b/dev-ml/camlp4/camlp4-4.09_p1-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz LICENSE="LGPL-2-with-linking-exception" SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt" RDEPEND="dev-lang/ocaml:0/4.09[ocamlopt?]" diff --git a/dev-ml/camlp4/camlp4-4.10_p1-r3.ebuild b/dev-ml/camlp4/camlp4-4.10_p1-r3.ebuild index 0b156607191c..f5fc29bf853a 100644 --- a/dev-ml/camlp4/camlp4-4.10_p1-r3.ebuild +++ b/dev-ml/camlp4/camlp4-4.10_p1-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz LICENSE="LGPL-2-with-linking-exception" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt" RDEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" diff --git a/dev-ml/camlp4/camlp4-4.11_p1-r3.ebuild b/dev-ml/camlp4/camlp4-4.11_p1-r3.ebuild index d9e1974d1574..37fcd6a79b2a 100644 --- a/dev-ml/camlp4/camlp4-4.11_p1-r3.ebuild +++ b/dev-ml/camlp4/camlp4-4.11_p1-r3.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz LICENSE="LGPL-2-with-linking-exception" SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt" RDEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" diff --git a/dev-ml/camlp4/camlp4-4.12-r2.ebuild b/dev-ml/camlp4/camlp4-4.12-r2.ebuild index 0b156607191c..f5fc29bf853a 100644 --- a/dev-ml/camlp4/camlp4-4.12-r2.ebuild +++ b/dev-ml/camlp4/camlp4-4.12-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz LICENSE="LGPL-2-with-linking-exception" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt" RDEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" diff --git a/dev-ml/camlp4/camlp4-4.13-r2.ebuild b/dev-ml/camlp4/camlp4-4.13-r2.ebuild index 0b156607191c..f5fc29bf853a 100644 --- a/dev-ml/camlp4/camlp4-4.13-r2.ebuild +++ b/dev-ml/camlp4/camlp4-4.13-r2.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/camlp4/camlp4/archive/${MY_PV}.tar.gz -> ${P}.tar.gz LICENSE="LGPL-2-with-linking-exception" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt" RDEPEND="dev-lang/ocaml:0/$(ver_cut 1-2)[ocamlopt?]" diff --git a/dev-ml/camlp4/camlp4-4.14_p1-r2.ebuild b/dev-ml/camlp4/camlp4-4.14_p1-r2.ebuild index c907ba571e35..d46fb9fb9a43 100644 --- a/dev-ml/camlp4/camlp4-4.14_p1-r2.ebuild +++ b/dev-ml/camlp4/camlp4-4.14_p1-r2.ebuild @@ -16,7 +16,7 @@ S="${WORKDIR}"/${P/_p/-} LICENSE="LGPL-2-with-linking-exception" SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt" RDEPEND="=dev-lang/ocaml-4.14*:=[ocamlopt?]" diff --git a/dev-ml/camlp4/camlp4-5.2_p1.ebuild b/dev-ml/camlp4/camlp4-5.2_p1.ebuild new file mode 100644 index 000000000000..e7445e57932a --- /dev/null +++ b/dev-ml/camlp4/camlp4-5.2_p1.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV=${PV/_p/+} +MY_P=${PN}-${MY_PV} + +inherit edo + +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="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="+ocamlopt" + +RDEPEND=" + =dev-lang/ocaml-5.2*:=[ocamlopt?] + dev-ml/camlp-streams:=[ocamlopt?] +" +DEPEND=" + ${RDEPEND} + dev-ml/ocamlbuild[ocamlopt?] + dev-ml/findlib:= +" + +QA_FLAGS_IGNORED='.*' + +PATCHES=( "${FILESDIR}/reload.patch" ) + +src_configure() { + edo ./configure \ + --bindir="${EPREFIX}/usr/bin" \ + --libdir="$(ocamlc -where)" \ + --pkgdir="$(ocamlc -where)" +} + +src_compile() { + # Increase stack limit to 11GiB to avoid stack overflow error. + ulimit -s 11530000 + + emake byte + use ocamlopt && emake native +} + +src_install() { + # OCaml generates textrels on 32-bit arches + if use arm || use ppc || use x86 ; then + export QA_TEXTRELS='.*' + fi + emake DESTDIR="${D}" install install-META + dodoc CHANGES.md README.md +} diff --git a/dev-ml/camlp5/Manifest b/dev-ml/camlp5/Manifest index dd717f839514..d91112e16573 100644 --- a/dev-ml/camlp5/Manifest +++ b/dev-ml/camlp5/Manifest @@ -2,3 +2,4 @@ DIST camlp5-8.00.04.tar.gz 1232659 BLAKE2B 47dd18e9c518b0dccda62d054d7950dffa025 DIST camlp5-8.00.05.tar.gz 1237587 BLAKE2B 1028b1e77a048a6b2e8df4ab58171d4e182a21aa1ca01113fc0cb8b7e6f61b5db58e8c3a2f149d05c056fbd48c0c0d97e597121e4b2b55d62f1f62d80e92312b SHA512 f4cee1fba85dc3a7479929facd79d0b88f23de575107886a8d4c41cd4a0bee21ccc72f2791712635e401ca10c3ec24cfea32558eca09ba6616e01e8433c57bbe DIST camlp5-8.02.00.tar.gz 1260249 BLAKE2B d205cf29207c925bc52098c9e1e74c76b851c71514bc7ae6f6c1ff3c7bf971f7cf6974625c484d2ddf252d0befc557e3b2dd7134e8f5bed270d59d40f15be9a8 SHA512 6e3caccc780f8de1d5804ae8f5700d29255f968f7f8ee3f9ef6f3456883d63aeb0abe797233823fd368b40b74feb1f537c3a61ce35d0c9c2737ab06743a09ddd DIST camlp5-8.03.00.tar.gz 1284346 BLAKE2B 1c73c3093597b6ff7ad5b571880c8e3981edd9f9ec63b7770043e05514b87532f345dfe89eae7cf96cfd928ea36d036081ee000d0ca119d4e7d8bc96e5f5b337 SHA512 2e595aba439e9e2ce8e87d21a79e7e71e17ff460bd83ee2484dc38f171bb3d146f3ae2475b4d48f163f193c347b4485478f62a527503172d1210bb7ce9571664 +DIST camlp5-8.03.01.tar.gz 1308092 BLAKE2B 1cb69bf407eb40c3646098431a4e6b3e35f78a5ce2880399c2034ce0a50ec5650c86216029a8521af97cbc92bf4be3d8b2180336c0decaddab30822232f1a2da SHA512 144ab15e18673fa485d08cf37c6ba69146db7db4be9e7031e202e0747d922e223396b83881b1d65cf27bedb2115d91e5eb62b5a22e2d57dda838013ebd398ff2 diff --git a/dev-ml/camlp5/camlp5-8.03.00.ebuild b/dev-ml/camlp5/camlp5-8.03.00.ebuild index b427939c85a1..49822c242478 100644 --- a/dev-ml/camlp5/camlp5-8.03.00.ebuild +++ b/dev-ml/camlp5/camlp5-8.03.00.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz LICENSE="BSD" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86" IUSE="doc +ocamlopt" RDEPEND=" diff --git a/dev-ml/camlp5/camlp5-8.03.01.ebuild b/dev-ml/camlp5/camlp5-8.03.01.ebuild new file mode 100644 index 000000000000..b427939c85a1 --- /dev/null +++ b/dev-ml/camlp5/camlp5-8.03.01.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit findlib vcs-clean + +DESCRIPTION="A preprocessor-pretty-printer of ocaml" +HOMEPAGE="https://camlp5.github.io/" +SRC_URI="https://github.com/${PN}/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +IUSE="doc +ocamlopt" + +RDEPEND=" + dev-ml/bos:= + dev-ml/camlp-streams:=[ocamlopt?] + dev-ml/fmt:=[ocamlopt?] + dev-ml/fpath:= + dev-ml/logs:=[ocamlopt?] + dev-ml/re:=[ocamlopt?] + dev-ml/rresult:= +" +DEPEND="${RDEPEND}" + +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() { + ulimit -s 11530000 + emake out + if use ocamlopt; then + emake opt + emake opt.opt + fi +} + +src_test() { + ulimit -s 11530000 + emake bootstrap + if use ocamlopt; then + emake opt + emake opt.opt + fi +} + +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/camlpdf/Manifest b/dev-ml/camlpdf/Manifest index 33040fb870b6..ee79105caf4e 100644 --- a/dev-ml/camlpdf/Manifest +++ b/dev-ml/camlpdf/Manifest @@ -1,2 +1 @@ -DIST camlpdf-2.3.1.tar.gz 601531 BLAKE2B 9534baf9165e7dc48ae37a3fcaabb236e437845ef4e0a60a1c08874a2b240c9b1e96de5bbd6028a3ca87992221773dea34c31b0fa24e9c143632756954baf132 SHA512 0b8d91b6090221f996aee52f22f153a4b74cb85a127bbd5f84492ede8a0a581971a2349281b3879d6c37f4d5d267da583e7e8871372d97a3d636abc3231cb007 DIST camlpdf-2.7.1.tar.gz 841886 BLAKE2B 30215949fab2517e00cf520ef4f79a6fbf49173e7e2643ac1a47d0dd945063908de2928f7181d2182ad4fe51945bb3f6a89a54aa236a889ea392cd126ef856c8 SHA512 2480a282a6ce09444ed14a3f41561375ecf7e3c57f7559a48ad9791d9f824e59820bfd39aa36910ff6bdc9b160cef76ab90dbbfe628c836c3f5c5081dfd5e452 diff --git a/dev-ml/camlpdf/camlpdf-2.3.1.ebuild b/dev-ml/camlpdf/camlpdf-2.3.1.ebuild deleted file mode 100644 index 965e0ef70c14..000000000000 --- a/dev-ml/camlpdf/camlpdf-2.3.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit findlib - -DESCRIPTION="OCaml library for reading, writing, and modifying PDF files" -HOMEPAGE="https://github.com/johnwhitington/camlpdf/" -SRC_URI="https://github.com/johnwhitington/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -# technically LGPL-2.1+ with linking exception -LICENSE="LGPL-2.1-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="doc examples" - -RDEPEND="dev-lang/ocaml:=[ocamlopt]" -DEPEND="${RDEPEND}" - -src_compile() { - # parallel make bugs - emake -j1 -} - -src_install() { - findlib_src_install - dodoc Changes README.md - - if use doc ; then - dodoc introduction_to_camlpdf.pdf - dodoc -r doc/camlpdf/html - fi - - use examples && dodoc -r examples -} diff --git a/dev-ml/camlzip/Manifest b/dev-ml/camlzip/Manifest index d6e4ea7f08f8..45a82840869d 100644 --- a/dev-ml/camlzip/Manifest +++ b/dev-ml/camlzip/Manifest @@ -1,2 +1,4 @@ DIST camlzip-1.10.tar.gz 27335 BLAKE2B bbf24953634278589395dd9fcedf1e3becce8dad1f380393dc3ac59589143e1685dc14085ef566e12fb751c6f1a333dd368795a5083b94a43b71e058e86489f3 SHA512 5c42e0d808230e3820b2e7ef34b544ca51a7bf0a484ce4e1c8b1e4966133196bb3ff7c3ca85b9c50050aca389316eb52f0335f6e2ad60c000594a33171b9a9a9 DIST camlzip-1.11.tar.gz 28483 BLAKE2B b270e2a764547117d87a18f9ccca82891bc0dce182ea84f76b693acb34488ff25d8975154b843787554798bfd34c16dc6a25c431f8674c8c59eb2c195167c12b SHA512 4d69ef900437e66e00cd345497ec70f407f28cd8344ee5f2fad685d3bfe356924597d1854b752f2841b4007f96d6e0307cfae7e13cfb6f74951ae3eba5198a06 +DIST camlzip-1.12.tar.gz 30453 BLAKE2B 7706879ab3e9d128428404592cc506c681794233ab2efe4c99fe46fdb10b17197aca82f6dd018afdd898d05fa136d1aaebfc54c0255b3b086fc02338c5b67822 SHA512 467c82a253440caf3d8485c949c4717b77dfdeb38ee474278be8e011ed3cd563fdcf436bc262e2c88fd27b44306f70d48808f0d001b3f62ab4c87010af61f76f +DIST camlzip-1.13.tar.gz 31570 BLAKE2B 8aee80e75aa8afe9c0c1efbc8e70d962a3b5a6558b0d9fd0153a52adb9d72834680ab7720a3e3bdd8256c985a4a08021efe56209b5b9774cdf15a4f1bcbe08a0 SHA512 dc0fff718b089b89b753fe7d70f100f005b4bb4efcb29afb30bb1ccfd0a7c9a1aa8685c033b0c2c86f0573a7bb0772e499d1149bac159ec8fc11426f71903e51 diff --git a/dev-ml/camlzip/camlzip-1.12.ebuild b/dev-ml/camlzip/camlzip-1.12.ebuild new file mode 100644 index 000000000000..e68f0345ce9f --- /dev/null +++ b/dev-ml/camlzip/camlzip-1.12.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit findlib + +DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)" +HOMEPAGE="https://github.com/xavierleroy/camlzip" +SRC_URI="https://github.com/xavierleroy/camlzip/archive/rel$(ver_rs 1- '').tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-rel$(ver_rs 1- '')" + +LICENSE="LGPL-2.1" +SLOT="1/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" + +RDEPEND=">=dev-lang/ocaml-4.13:=[ocamlopt?] + >=sys-libs/zlib-1.1.3" +DEPEND="${RDEPEND}" + +QA_FLAGS_IGNORED=( + "usr/lib.*/ocaml/stublibs/dllcamlzip.so" + "usr/lib.*/ocaml/zip/zip.cmxs" +) + +src_compile() { + emake allbyt + + if use ocamlopt; then + emake allopt + fi +} + +src_install() { + findlib_src_preinst + + emake DESTDIR="${D}" install-findlib + dosym zip/libcamlzip.a /usr/$(get_libdir)/ocaml/libcamlzip.a + + dodoc README.md Changes +} diff --git a/dev-ml/camlzip/camlzip-1.13.ebuild b/dev-ml/camlzip/camlzip-1.13.ebuild new file mode 100644 index 000000000000..e68f0345ce9f --- /dev/null +++ b/dev-ml/camlzip/camlzip-1.13.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit findlib + +DESCRIPTION="Compressed file access ML library (ZIP, GZIP and JAR)" +HOMEPAGE="https://github.com/xavierleroy/camlzip" +SRC_URI="https://github.com/xavierleroy/camlzip/archive/rel$(ver_rs 1- '').tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-rel$(ver_rs 1- '')" + +LICENSE="LGPL-2.1" +SLOT="1/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" + +RDEPEND=">=dev-lang/ocaml-4.13:=[ocamlopt?] + >=sys-libs/zlib-1.1.3" +DEPEND="${RDEPEND}" + +QA_FLAGS_IGNORED=( + "usr/lib.*/ocaml/stublibs/dllcamlzip.so" + "usr/lib.*/ocaml/zip/zip.cmxs" +) + +src_compile() { + emake allbyt + + if use ocamlopt; then + emake allopt + fi +} + +src_install() { + findlib_src_preinst + + emake DESTDIR="${D}" install-findlib + dosym zip/libcamlzip.a /usr/$(get_libdir)/ocaml/libcamlzip.a + + dodoc README.md Changes +} diff --git a/dev-ml/cmdliner/cmdliner-1.3.0.ebuild b/dev-ml/cmdliner/cmdliner-1.3.0.ebuild index 00a0f217c30a..d986652a5df7 100644 --- a/dev-ml/cmdliner/cmdliner-1.3.0.ebuild +++ b/dev-ml/cmdliner/cmdliner-1.3.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz" LICENSE="ISC" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" IUSE="+ocamlopt" RDEPEND=" diff --git a/dev-ml/coq-menhirlib/Manifest b/dev-ml/coq-menhirlib/Manifest index 0b5871c9537f..9d973d98196d 100644 --- a/dev-ml/coq-menhirlib/Manifest +++ b/dev-ml/coq-menhirlib/Manifest @@ -1,2 +1,2 @@ -DIST menhir-20220210.tar.bz2 1160357 BLAKE2B a9401b50db4dfdfe56c5c10919d4d385cbb7bf27d1518932e55d6757c08989407cda17c65f72d20e21738618e4f97f20b10098c9185f3882b3391aab7f9f8bc9 SHA512 8a852e995cab57b16adc1b7708d3acdf5f8b65d13dbf907a4155ff45d71dccc65868fe369590b48a3f06d8319f74777ce2e9be05caa9dbe060c0ae3a2b37943f DIST menhir-20231231.tar.bz2 1245465 BLAKE2B 4ac27f693c9b0f34cf6f9c60343cba6c81cc5b4dc278df4da5c16de8484438238efc6e3e985b9f03676f72cc74a0153ea81fd93d057dd2914b86fe1f558d1f9f SHA512 6bcc3d32b9085e407d7ed7abc87bbbb7dcde52da7f5f343cbcf136df4aa2a9b640a94c3b809a125773d186d03bf9b806f9430dbc4a39ded7dd8ef685b1b1a65d +DIST menhir-20240715.tar.bz2 1245971 BLAKE2B b5f1a1fb234dd53e1d3f77b095e2721f8d2af354a3aa36da2b993dc9f699767bb7c98aae13316ff3405b8bcf80f9ba3addc824ace59f5548613f0f93d105adf7 SHA512 b18da35517702dbdab0d9f5819ad711f61f2ed13ec9e51db71b92fa2d6604cbf28aa6d684c36a41364324694ebbc5dc6aaed4dbb3779c14b399e49ded6fd5db6 diff --git a/dev-ml/coq-menhirlib/coq-menhirlib-20220210.ebuild b/dev-ml/coq-menhirlib/coq-menhirlib-20220210.ebuild deleted file mode 100644 index f0f543ec6276..000000000000 --- a/dev-ml/coq-menhirlib/coq-menhirlib-20220210.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune - -DESCRIPTION="A support library for verified Coq parsers produced by Menhir" -HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/" -SRC_URI="https://gitlab.inria.fr/fpottier/menhir/-/archive/${PV}/menhir-${PV}.tar.bz2" -S="${WORKDIR}"/menhir-${PV} - -LICENSE="GPL-2 LGPL-2-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" -IUSE="+ocamlopt" - -RDEPEND=" - >=dev-ml/menhir-${PV}:= - sci-mathematics/coq:= -" -DEPEND="${RDEPEND}" - -src_compile() { - emake -C ${PN} - dune build @install --profile release -p ${PN} || die -} - -src_install() { - emake -C ${PN} DESTDIR="${D}" install - dune_src_install ${PN} - - dodoc ${PN}/CHANGES.md ${PN}/README.md -} diff --git a/dev-ml/coq-menhirlib/coq-menhirlib-20231231-r1.ebuild b/dev-ml/coq-menhirlib/coq-menhirlib-20231231-r1.ebuild new file mode 100644 index 000000000000..c4426fec14fc --- /dev/null +++ b/dev-ml/coq-menhirlib/coq-menhirlib-20231231-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="A support library for verified Coq parsers produced by Menhir" +HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://gitlab.inria.fr/fpottier/menhir.git" +else + SRC_URI="https://gitlab.inria.fr/fpottier/menhir/-/archive/${PV}/menhir-${PV}.tar.bz2" + S="${WORKDIR}/menhir-${PV}" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="GPL-2 LGPL-2-with-linking-exception" +SLOT="0/${PV}" +IUSE="+ocamlopt" + +RDEPEND=" + <sci-mathematics/coq-8.20.0:= + >=dev-ml/menhir-${PV}:= +" +DEPEND=" + ${RDEPEND} +" + +src_compile() { + emake -C "${PN}" + edune build @install --profile release -p "${PN}" || die +} + +src_install() { + emake -C "${PN}" DESTDIR="${D}" install + dune_src_install + + dodoc "${PN}/CHANGES.md" "${PN}/README.md" +} diff --git a/dev-ml/coq-menhirlib/coq-menhirlib-20231231.ebuild b/dev-ml/coq-menhirlib/coq-menhirlib-20240715.ebuild index dbad929b5119..dbad929b5119 100644 --- a/dev-ml/coq-menhirlib/coq-menhirlib-20231231.ebuild +++ b/dev-ml/coq-menhirlib/coq-menhirlib-20240715.ebuild diff --git a/dev-ml/core_unix/Manifest b/dev-ml/core_unix/Manifest index ee43feb7a1d8..497f35f02a29 100644 --- a/dev-ml/core_unix/Manifest +++ b/dev-ml/core_unix/Manifest @@ -1,4 +1,3 @@ -DIST core_unix-0.15.0.tar.gz 377928 BLAKE2B 49b58471a28c356bdf39f15e22bd21ec4363182cf744c0455847ffc15015fdad2928a428986c2a9edff647ebef9f2ad2059b184b393e979119c8f007f67ec140 SHA512 eeb53bd0c06a7d1facfb133f0a45a232d57941eff644d4ed6c2d5002acd4e6b323376ec9c05838f760ebd9da3fbc39332989ed50b3921191c175811c947fcbfe DIST core_unix-0.15.2.tar.gz 377836 BLAKE2B 56551ab1509bfecc59ae4b45aaaa4d336415cffe9339932239c884bc86207bdb4066aace35144618509b78b461164bdfaaaa04030ecb1b3619de6f8fe5c3a7b9 SHA512 6d59c52111235f952f3052fb86af1d7380ff3d8d89b5c8d59a66d530a14d462fa4b06cdf29f2ee2b4356a574dbefef33b82f60f9fba512942bc0e6aad07f2b6f DIST core_unix-0.16.0.tar.gz 391719 BLAKE2B 29105ee1b8342241dbea136207d221af04d9412a74412fb4fd532f08b22b842125a72e69a47d36129a99c04cd3a83e605bc42b970d79a52420b3e273bd9915d5 SHA512 e38a126af832360f0e0079919b930f3fa99b02935c35372b1ed8c7e174af335de2f4dcb8da90be8f9f524542752dd5c62ec6192eb327d7cc6313b7402b0f7f65 DIST core_unix-0.17.0.tar.gz 403348 BLAKE2B 9afc07343427e84dc71df23b2d3a4e02780dcb75b4969d06a7d06d47b7dfe17e464223258733673265491cecfbea07f92f429167b81ead226319c452e4b895db SHA512 15472af90b0dda207eec57701f7e4f796b3aa35ae81491ffaff5611e3e5ff0532c80464c92528d970b5d651774d4a89fd3ab619b53f4871cf1ffd7741625f6e3 diff --git a/dev-ml/core_unix/core_unix-0.15.0.ebuild b/dev-ml/core_unix/core_unix-0.15.0.ebuild deleted file mode 100644 index 8ab4e487041f..000000000000 --- a/dev-ml/core_unix/core_unix-0.15.0.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 -inherit dune - -DESCRIPTION="Unix-specific portions of Core" -HOMEPAGE="https://github.com/janestreet/core_unix" -SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz - -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/$(ver_cut 1-2)" -KEYWORDS="~amd64" -IUSE="+ocamlopt" - -DEPEND=" - dev-ml/core_kernel:${SLOT} - dev-ml/expect_test_helpers_core:${SLOT} - dev-ml/ocaml_intrinsics:${SLOT} - dev-ml/timezone:${SLOT} - dev-ml/spawn:${SLOT} -" -RDEPEND="${DEPEND}" -BDEPEND="" diff --git a/dev-ml/cppo/Manifest b/dev-ml/cppo/Manifest index c78c612361f0..3ede09193753 100644 --- a/dev-ml/cppo/Manifest +++ b/dev-ml/cppo/Manifest @@ -1,3 +1,4 @@ DIST cppo-1.6.7.tar.gz 29032 BLAKE2B cc02666ca5fbc903cf6a749ee08f7fe34bad4604635084bbf964afdde66783c01e3d48d515eb42a5188189fef67ebe7cf79c0205c60537c9d1a8b14f453fd248 SHA512 fb2865b4004fe3f17d5893659fca90c01557cf6be789500c54b06ac8e0d097181c9f6437f178aae6d786b3f6b639859bc68400f4a7c59e7acd4f296cf8271a9d DIST cppo-1.6.8.tar.gz 29063 BLAKE2B 503c9dcc5f25cf69caa5057753ece9e107383a94d191a15f8056f7f417fa252147f2b2d3011493b80728aeca6979c0097e42b1d1af174784528959870366f5f9 SHA512 069bbe0ef09c03b0dc4b5795f909c3ef872fe99c6f1e6704a0fa97594b1570b3579226ec67fe11d696ccc349a4585055bbaf07c65eff423aa45af28abf38c858 DIST cppo-1.6.9.tar.gz 31210 BLAKE2B 4e2d9bea57d705bb59de6d7ec990cdd44d2492b7d104d95c9f947172e7e46f5302a0a55f981ce19e5a2fd4b2de2209b4adae478235aca0729920dcba11c07b9b SHA512 26ff5a7b7f38c460661974b23ca190f0feae3a99f1974e0fd12ccf08745bd7d91b7bc168c70a5385b837bfff9530e0e4e41cf269f23dd8cf16ca658008244b44 +DIST cppo-1.7.0.tar.gz 41051 BLAKE2B 880a9775d1da3c459bd43720615d264beed0d0ffa775c58aab21f3fe56346bd959a81f73825a0c1349dd9da48d46f9827ff0f9447d19938fd32870945a23ad19 SHA512 cafa2f7add42912b413f39e1d9fb7a2a42a9be134128c179dfe353f35a6c32840720d2166a77d985941300cb945b9c424b38401d20027d814b25f3bac534506d diff --git a/dev-ml/cppo/cppo-1.7.0.ebuild b/dev-ml/cppo/cppo-1.7.0.ebuild new file mode 100644 index 000000000000..5f499c0f0545 --- /dev/null +++ b/dev-ml/cppo/cppo-1.7.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="An equivalent of the C preprocessor for OCaml programs" +HOMEPAGE="https://github.com/ocaml-community/cppo/" +SRC_URI="https://github.com/ocaml-community/cppo/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" + +RDEPEND="dev-ml/ocamlbuild:= + dev-ml/findlib:=" +DEPEND="${RDEPEND}" diff --git a/dev-ml/csexp/csexp-1.5.2-r1.ebuild b/dev-ml/csexp/csexp-1.5.2-r1.ebuild index c37aa3253652..e2119569d306 100644 --- a/dev-ml/csexp/csexp-1.5.2-r1.ebuild +++ b/dev-ml/csexp/csexp-1.5.2-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/ocaml-dune/csexp/releases/download/${PV}/${P}.tbz" LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" IUSE="+ocamlopt test" RESTRICT="!test? ( test )" diff --git a/dev-ml/cudf/cudf-0.10-r1.ebuild b/dev-ml/cudf/cudf-0.10-r1.ebuild index c77436962e30..0bda6ee73dcd 100644 --- a/dev-ml/cudf/cudf-0.10-r1.ebuild +++ b/dev-ml/cudf/cudf-0.10-r1.ebuild @@ -14,7 +14,7 @@ S="${WORKDIR}"/${MYP} LICENSE="LGPL-3+" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" IUSE="+ocamlopt llvm-libunwind test" RESTRICT="!test? ( test )" diff --git a/dev-ml/dose3/dose3-7.0.0-r1.ebuild b/dev-ml/dose3/dose3-7.0.0-r1.ebuild index d5d0e6ece2c4..25151dbcc554 100644 --- a/dev-ml/dose3/dose3-7.0.0-r1.ebuild +++ b/dev-ml/dose3/dose3-7.0.0-r1.ebuild @@ -12,7 +12,7 @@ S="${WORKDIR}/${PN}-$(ver_cut 1-3)" LICENSE="LGPL-3+" # with OCaml linking exception SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" IUSE="+ocamlopt" BDEPEND=" diff --git a/dev-ml/dune-build-info/Manifest b/dev-ml/dune-build-info/Manifest index b1a8f56fd48a..11a5b6eec098 100644 --- a/dev-ml/dune-build-info/Manifest +++ b/dev-ml/dune-build-info/Manifest @@ -1,8 +1,3 @@ DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 27224f803547d02f7110dcfc486ef41f9a4586f6f862ef7f8bbf05cc1f3f6dc8ea03fca99c01842f4226ea3d08f4127daa0e5811dd46cc00f1b96ad7eaafe43d SHA512 4fcff34de4acc4429dd73864ca90e695d8ba436839fd679608f7db292e44be70c3db455a58f59477f2055f84ce497bfa8e90e485ed9536acad3c1b3be3d4be77 DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152 SHA512 df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494 -DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230 SHA512 2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de -DIST dune-3.11.1.tar.gz 2753844 BLAKE2B de80e4be355fe7c6f04f0004fbf28dac18c803fb055bd74a1c30a8983f8a234a487244561bd622f3330cfb55670163355c2a1647e847d2e3966690a62a10b644 SHA512 8d2eef71ae04a95b1d69784311726cafc3b275e1f202851eb116d6e7740015ce2453ec00278ef3b28c0b1544b10dbff36d942b063d7bb0ebc0a03a9a5f8261d4 -DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57 SHA512 910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5 DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e SHA512 3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23 -DIST dune-3.6.1.tar.gz 1843804 BLAKE2B 1e7bf67b596f60a553f00cfd8287ce36ef4ff5b8d8f16465df3f3b7b6d332ceef5101057df9389aeb9ceb4dc7f23bc69320412aebba7587deeb933a0f8ddca46 SHA512 2db83116a3d0995c8d0dfd6a1581d214f657a7d90c30dea04d5370327e13c575fed6ce74106a79c2e2fe0c02aa2912ae7a9f4e49c36985fb613b6a41de0700c9 -DIST dune-3.7.1.tar.gz 2011275 BLAKE2B dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929 SHA512 d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b diff --git a/dev-ml/dune-build-info/dune-build-info-3.10.0.ebuild b/dev-ml/dune-build-info/dune-build-info-3.10.0.ebuild deleted file mode 100644 index 454c8af30a23..000000000000 --- a/dev-ml/dune-build-info/dune-build-info-3.10.0.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Embed locations informations inside executable and libraries" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="amd64 ppc64 x86" -IUSE="+ocamlopt" -RESTRICT="test" - -RDEPEND=">=dev-ml/dune-3.5" -DEPEND="${RDEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p ${PN} @install --display short -j $(makeopts_jobs) || die -} diff --git a/dev-ml/dune-build-info/dune-build-info-3.11.1.ebuild b/dev-ml/dune-build-info/dune-build-info-3.11.1.ebuild deleted file mode 100644 index 71d9ca2ca130..000000000000 --- a/dev-ml/dune-build-info/dune-build-info-3.11.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune - -DESCRIPTION="Embed locations informations inside executable and libraries" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="+ocamlopt" -RESTRICT="test" - -RDEPEND=">=dev-ml/dune-3.5" -DEPEND="${RDEPEND}" - -src_configure() { - : -} - -src_compile() { - dune-compile ${PN} -} diff --git a/dev-ml/dune-build-info/dune-build-info-3.13.1.ebuild b/dev-ml/dune-build-info/dune-build-info-3.13.1.ebuild deleted file mode 100644 index 71d9ca2ca130..000000000000 --- a/dev-ml/dune-build-info/dune-build-info-3.13.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune - -DESCRIPTION="Embed locations informations inside executable and libraries" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="~amd64 ~ppc64 ~x86" -IUSE="+ocamlopt" -RESTRICT="test" - -RDEPEND=">=dev-ml/dune-3.5" -DEPEND="${RDEPEND}" - -src_configure() { - : -} - -src_compile() { - dune-compile ${PN} -} diff --git a/dev-ml/dune-build-info/dune-build-info-3.6.1.ebuild b/dev-ml/dune-build-info/dune-build-info-3.6.1.ebuild deleted file mode 100644 index a45a35cb43fa..000000000000 --- a/dev-ml/dune-build-info/dune-build-info-3.6.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Embed locations informations inside executable and libraries" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="amd64 x86" -IUSE="+ocamlopt" -RESTRICT="test" - -RDEPEND=">=dev-ml/dune-3.5" -DEPEND="${RDEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p ${PN} @install --display short -j $(makeopts_jobs) || die -} diff --git a/dev-ml/dune-build-info/dune-build-info-3.7.1.ebuild b/dev-ml/dune-build-info/dune-build-info-3.7.1.ebuild deleted file mode 100644 index 961e37103360..000000000000 --- a/dev-ml/dune-build-info/dune-build-info-3.7.1.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Embed locations informations inside executable and libraries" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="MIT" -SLOT="0/${PV}" -KEYWORDS="amd64 ~x86" -IUSE="+ocamlopt" -RESTRICT="test" - -RDEPEND=">=dev-ml/dune-3.5" -DEPEND="${RDEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p ${PN} @install --display short -j $(makeopts_jobs) || die -} diff --git a/dev-ml/dune-configurator/dune-configurator-3.16.0.ebuild b/dev-ml/dune-configurator/dune-configurator-3.16.0-r1.ebuild index 64655885dfcc..64655885dfcc 100644 --- a/dev-ml/dune-configurator/dune-configurator-3.16.0.ebuild +++ b/dev-ml/dune-configurator/dune-configurator-3.16.0-r1.ebuild diff --git a/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r3.ebuild b/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r4.ebuild index 5f18338cf9ee..5f18338cf9ee 100644 --- a/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r3.ebuild +++ b/dev-ml/dune-private-libs/dune-private-libs-3.16.0-r4.ebuild diff --git a/dev-ml/dune/Manifest b/dev-ml/dune/Manifest index 90b337f874e8..5bb453db7b36 100644 --- a/dev-ml/dune/Manifest +++ b/dev-ml/dune/Manifest @@ -3,3 +3,4 @@ DIST dune-2.9.1.tar.gz 1385381 BLAKE2B 27224f803547d02f7110dcfc486ef41f9a4586f6f DIST dune-2.9.3.tar.gz 1387667 BLAKE2B 3db54c780b9d13f40c774f53c3fe471dba4a640e7cb5aa5d70ef1dc20a217b95a66149ca5f99f07f3a20450577d622e0cda149f656f06f5a42231b89667c1152 SHA512 df6e06a9beebf41f3ed375384be781b5c87c7949048995cc0bbad13dd65c96bd8b27415cd41e43b1112bd86524a59a7dd418e14b5c72b4f1f8fd4ac5ca2d1494 DIST dune-3.13.1.tar.gz 2891852 BLAKE2B 88cee2428134ddcd6b929915b6bbeb2d17be8b8190f963919a74c63ffcf80f596fb1556f88c41ee602b2386e02fdf396596a6b2097d67c720bd00e16cdda3a57 SHA512 910d4ddd55a91ee65d8ea35b8915506db74c924eb3b67f7b0715da5599ee5088ea3edec81ce6735addd5b17234e445608e59fa353b83e991c14768d83c97a2b5 DIST dune-3.16.0.tar.gz 2999701 BLAKE2B 5e371fa1003cec31273aeeb1a830036f48d3734588bd7a980b57aaae30d4984a34dec6f9be0ee9985c72dee08c2c6d456a789eab83cfce42c142a3abc6951b2e SHA512 3b1d041907128b6598e0f6150fe300a4a69098822f823ceead63b46e1005a21485738c6fa92641dd940c9f9cde48ae141ea51959a9b250bee3cbeb06ba788e23 +DIST dune-3.16.1.tar.gz 3000392 BLAKE2B 93de09c47fda95e1d83f10c9a4e7cfb7f801c7c4e47acbed7a20ef614ff3a6585d8a25b8617c8ee45d338006a99084d096990d1e8c3cbeb6613caa7f0e1a70b5 SHA512 18e8022c5fa276e06f788cf25a4d6d08e3247c546cd69a5206d4e78ece1f47a615c6d5842e68e1fa7908cae7ae8c6e4f31d2eb835d97b5e6b5e4154957139e9f diff --git a/dev-ml/dune/dune-3.16.1.ebuild b/dev-ml/dune/dune-3.16.1.ebuild new file mode 100644 index 000000000000..e2e51c3abce7 --- /dev/null +++ b/dev-ml/dune/dune-3.16.1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2024 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/share/doc \ + --etcdir=/etc \ + --datadir=/usr/share \ + --sbindir=/usr/sbin \ + --bindir=/usr/bin \ + || die +} + +src_compile() { + ocaml boot/bootstrap.ml -j $(makeopts_jobs) --verbose || die + ./_boot/dune.exe build @install -p "${PN}" --profile dune-bootstrap \ + -j $(makeopts_jobs) --display short || die + + use emacs && elisp-compile editor-integration/emacs/*.el +} + +src_install() { + # OCaml generates textrels on 32-bit arches + if use arm || use ppc || use x86 ; then + export QA_TEXTRELS='.*' + fi + default + + mv "${ED}"/usr/share/doc/dune "${ED}"/usr/share/doc/${PF} || 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/dyn/Manifest b/dev-ml/dyn/Manifest deleted file mode 100644 index e03842497f86..000000000000 --- a/dev-ml/dyn/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230 SHA512 2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de -DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e SHA512 636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be -DIST dune-3.7.1.tar.gz 2011275 BLAKE2B dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929 SHA512 d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b diff --git a/dev-ml/dyn/dyn-3.10.0.ebuild b/dev-ml/dyn/dyn-3.10.0.ebuild deleted file mode 100644 index 231a7e7d7c30..000000000000 --- a/dev-ml/dyn/dyn-3.10.0.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Dynamic type" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND="~dev-ml/ordering-${PV}:= - dev-ml/pp:=" -RDEPEND="${DEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die -} diff --git a/dev-ml/dyn/dyn-3.6.2.ebuild b/dev-ml/dyn/dyn-3.6.2.ebuild deleted file mode 100644 index a9cca0b78834..000000000000 --- a/dev-ml/dyn/dyn-3.6.2.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Dynamic type" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND="~dev-ml/ordering-${PV}:= - dev-ml/pp:=" -RDEPEND="${DEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die -} diff --git a/dev-ml/dyn/dyn-3.7.1.ebuild b/dev-ml/dyn/dyn-3.7.1.ebuild deleted file mode 100644 index 53cc7fe224bf..000000000000 --- a/dev-ml/dyn/dyn-3.7.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Dynamic type" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND="~dev-ml/ordering-${PV}:= - dev-ml/pp:=" -RDEPEND="${DEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die -} diff --git a/dev-ml/extlib/Manifest b/dev-ml/extlib/Manifest index 8680df81ceb4..37c470807cc5 100644 --- a/dev-ml/extlib/Manifest +++ b/dev-ml/extlib/Manifest @@ -1,3 +1,4 @@ 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 +DIST extlib-1.8.0.tar.gz 90132 BLAKE2B e890a13f3d32c7c25a5fbe9dda9d85139e2d54f3275d1236f575aab88a615718a343bfcf6f0f3832d14855ac720f99c6a45a28a3aec84f2a4e27098eb648863e SHA512 f82892bcd9b3098a313c8f130c4926a093a5cbbb098f509f80d6c176c9ff3a7b345daa1c6298bd4d6da0b41b98c681aed50c68b066eba2de1fd5fc07f99dc487 diff --git a/dev-ml/extlib/extlib-1.8.0.ebuild b/dev-ml/extlib/extlib-1.8.0.ebuild new file mode 100644 index 000000000000..d0a735e0dcd9 --- /dev/null +++ b/dev-ml/extlib/extlib-1.8.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 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" + +BDEPEND="dev-ml/cppo" + +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/findlib/findlib-1.8.1-r2.ebuild b/dev-ml/findlib/findlib-1.8.1-r2.ebuild index 5ff4e23161ab..742f380f547b 100644 --- a/dev-ml/findlib/findlib-1.8.1-r2.ebuild +++ b/dev-ml/findlib/findlib-1.8.1-r2.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://download.camlcity.org/download/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="doc +ocamlopt tk" DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] diff --git a/dev-ml/findlib/findlib-1.9.3.ebuild b/dev-ml/findlib/findlib-1.9.3.ebuild index 96186048ba26..802ff15902ce 100644 --- a/dev-ml/findlib/findlib-1.9.3.ebuild +++ b/dev-ml/findlib/findlib-1.9.3.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://download.camlcity.org/download/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="doc +ocamlopt tk" DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] diff --git a/dev-ml/findlib/findlib-1.9.5.ebuild b/dev-ml/findlib/findlib-1.9.5.ebuild index c25719598182..d6ca898b5093 100644 --- a/dev-ml/findlib/findlib-1.9.5.ebuild +++ b/dev-ml/findlib/findlib-1.9.5.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://download.camlcity.org/download/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="doc +ocamlopt tk" DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] diff --git a/dev-ml/findlib/findlib-1.9.6-r1.ebuild b/dev-ml/findlib/findlib-1.9.6-r1.ebuild index 265ac12c7f5c..9f49f0d6c20b 100644 --- a/dev-ml/findlib/findlib-1.9.6-r1.ebuild +++ b/dev-ml/findlib/findlib-1.9.6-r1.ebuild @@ -9,7 +9,7 @@ SRC_URI="http://download.camlcity.org/download/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="doc +ocamlopt tk" DEPEND=">=dev-lang/ocaml-4.02.3-r1:=[ocamlopt?] diff --git a/dev-ml/gen/gen-1.1.ebuild b/dev-ml/gen/gen-1.1.ebuild index d84bb7e889a7..1bd9b6e01d24 100644 --- a/dev-ml/gen/gen-1.1.ebuild +++ b/dev-ml/gen/gen-1.1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -11,7 +11,7 @@ SRC_URI="https://github.com/c-cube/gen/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="BSD-2" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+ocamlopt" RESTRICT="test" # tests fail > unused-open diff --git a/dev-ml/hmap/Manifest b/dev-ml/hmap/Manifest new file mode 100644 index 000000000000..39e8b062c162 --- /dev/null +++ b/dev-ml/hmap/Manifest @@ -0,0 +1 @@ +DIST hmap-0.8.1.tbz 4801 BLAKE2B bded8b87eb6ec922dcc8192f4c4ae6a650c72d14814b29504f3f4d93c46f09009d5c62fd940f3132a4d93b95e2325cd8c776157767f63c48180c536c409350a2 SHA512 9c476d9cf4acc16332e646ed67086d680d14dad76b1e7d3bfbbe22ddb96c55469efba1e2f006f89ef4816b26b68a9aa8094308967bda44283ed4384554fa9bb5 diff --git a/dev-ml/hmap/hmap-0.8.1.ebuild b/dev-ml/hmap/hmap-0.8.1.ebuild new file mode 100644 index 000000000000..8d3c9b525462 --- /dev/null +++ b/dev-ml/hmap/hmap-0.8.1.ebuild @@ -0,0 +1,24 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit opam + +DESCRIPTION="Heterogeneous value maps for OCaml" +HOMEPAGE="http://erratique.ch/software/hmap" +SRC_URI="http://erratique.ch/software/${PN}/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" + +BDEPEND=" + dev-ml/ocamlbuild + dev-ml/findlib + dev-ml/topkg +" + +src_compile() { + ocaml pkg/pkg.ml build || die +} diff --git a/dev-ml/ordering/metadata.xml b/dev-ml/hmap/metadata.xml index 86dc156e664c..ff5a0cd1ae3d 100644 --- a/dev-ml/ordering/metadata.xml +++ b/dev-ml/hmap/metadata.xml @@ -5,7 +5,4 @@ <email>ml@gentoo.org</email> <name>ML</name> </maintainer> - <upstream> - <remote-id type="github">ocaml/dune</remote-id> - </upstream> </pkgmetadata> diff --git a/dev-ml/iostream/Manifest b/dev-ml/iostream/Manifest new file mode 100644 index 000000000000..08d7b70af955 --- /dev/null +++ b/dev-ml/iostream/Manifest @@ -0,0 +1 @@ +DIST iostream-0.3.tbz 14245 BLAKE2B f06596cd7a5f35e325a03f03c59214051a37d595335c483abc0d2a2f3f73327a29c895e54edc6bdee1ecf1246ab607042d57eafc19d41cb1326fc8137711973a SHA512 68ff56d48b2fcbd34ef2c15f6a8969543caa5c5e6b14177a0fde1e2b12d2fe52448d233e02cd1ab2529f74f48b31954ae8ec9e22601cfda6d3c38ce667c1b851 diff --git a/dev-ml/iostream/iostream-0.3.ebuild b/dev-ml/iostream/iostream-0.3.ebuild new file mode 100644 index 000000000000..62cda1ba3dd1 --- /dev/null +++ b/dev-ml/iostream/iostream-0.3.ebuild @@ -0,0 +1,20 @@ +# Copyright 2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +DUNE_PKG_NAME="iostream iostream-camlzip" +inherit dune + +DESCRIPTION="Generic, composable IO input and output streams" +HOMEPAGE="https://github.com/c-cube/ocaml-iostream" +SRC_URI="https://github.com/c-cube/ocaml-${PN}/releases/download/v${PV}/${P}.tbz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-ml/camlzip:=[ocamlopt?]" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-ml/ounit2 )" diff --git a/dev-ml/dyn/metadata.xml b/dev-ml/iostream/metadata.xml index 86dc156e664c..e26924c3ce3a 100644 --- a/dev-ml/dyn/metadata.xml +++ b/dev-ml/iostream/metadata.xml @@ -6,6 +6,6 @@ <name>ML</name> </maintainer> <upstream> - <remote-id type="github">ocaml/dune</remote-id> + <remote-id type="github">c-cube/ocaml-iostream</remote-id> </upstream> </pkgmetadata> diff --git a/dev-ml/jingoo/jingoo-1.5.0.ebuild b/dev-ml/jingoo/jingoo-1.5.0.ebuild index b9268dcbd0d8..e020c9cb2a96 100644 --- a/dev-ml/jingoo/jingoo-1.5.0.ebuild +++ b/dev-ml/jingoo/jingoo-1.5.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/tategakibunko/${PN}/archive/refs/tags/${PV}.tar.gz LICENSE="ISC" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+ocamlopt test" RESTRICT="!test? ( test )" diff --git a/dev-ml/lablgl/lablgl-1.06-r1.ebuild b/dev-ml/lablgl/lablgl-1.06-r1.ebuild index ad423b758d54..02fdc47b1948 100644 --- a/dev-ml/lablgl/lablgl-1.06-r1.ebuild +++ b/dev-ml/lablgl/lablgl-1.06-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/garrigue/lablgl/archive/v${PV}.tar.gz -> ${P}.tar.gz LICENSE="BSD" SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux" IUSE="doc glut +ocamlopt tk" RDEPEND=" diff --git a/dev-ml/lablgtk-sourceview/lablgtk-sourceview-3.1.5.ebuild b/dev-ml/lablgtk-sourceview/lablgtk-sourceview-3.1.5.ebuild index 74dd08f4ef45..8d613a32b038 100644 --- a/dev-ml/lablgtk-sourceview/lablgtk-sourceview-3.1.5.ebuild +++ b/dev-ml/lablgtk-sourceview/lablgtk-sourceview-3.1.5.ebuild @@ -15,7 +15,7 @@ S="${WORKDIR}"/lablgtk-${PV} LICENSE="LGPL-2.1-with-linking-exception" SLOT="3/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86" IUSE="+ocamlopt" DEPEND=" diff --git a/dev-ml/lablgtk/lablgtk-2.18.10.ebuild b/dev-ml/lablgtk/lablgtk-2.18.10.ebuild index b19033a9bf51..583f5faaa2a1 100644 --- a/dev-ml/lablgtk/lablgtk-2.18.10.ebuild +++ b/dev-ml/lablgtk/lablgtk-2.18.10.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/garrigue/lablgtk/archive/${PV}.tar.gz -> ${P}.tar.gz LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )" SLOT="2/${PV}" -KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" IUSE="debug examples glade gnomecanvas +ocamlopt sourceview spell svg" DEPEND=">=dev-lang/ocaml-4.05:=[ocamlopt?] diff --git a/dev-ml/lablgtk/lablgtk-2.18.13.ebuild b/dev-ml/lablgtk/lablgtk-2.18.13.ebuild index 3b62d5b68ad4..b959c4131e94 100644 --- a/dev-ml/lablgtk/lablgtk-2.18.13.ebuild +++ b/dev-ml/lablgtk/lablgtk-2.18.13.ebuild @@ -9,7 +9,7 @@ SRC_URI="https://github.com/garrigue/lablgtk/archive/${PV}.tar.gz -> ${P}.tar.gz LICENSE="LGPL-2.1-with-linking-exception examples? ( lablgtk-examples )" SLOT="2/${PV}" -KEYWORDS="amd64 arm arm64 ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" IUSE="debug examples glade gnomecanvas +ocamlopt sourceview spell svg" DEPEND=">=dev-lang/ocaml-4.05:=[ocamlopt?] diff --git a/dev-ml/lablgtk/lablgtk-3.1.5-r1.ebuild b/dev-ml/lablgtk/lablgtk-3.1.5-r1.ebuild index 17b27b6831ad..c395eda1ff54 100644 --- a/dev-ml/lablgtk/lablgtk-3.1.5-r1.ebuild +++ b/dev-ml/lablgtk/lablgtk-3.1.5-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="LGPL-2.1-with-linking-exception" SLOT="3/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86" IUSE="+ocamlopt sourceview" DEPEND=" diff --git a/dev-ml/labltk/labltk-8.06.10-r1.ebuild b/dev-ml/labltk/labltk-8.06.10-r1.ebuild index af13980e03aa..df02654b0011 100644 --- a/dev-ml/labltk/labltk-8.06.10-r1.ebuild +++ b/dev-ml/labltk/labltk-8.06.10-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-warnings LICENSE="QPL-1.0 LGPL-2" SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt X" RDEPEND="dev-lang/tk:= diff --git a/dev-ml/labltk/labltk-8.06.11-r1.ebuild b/dev-ml/labltk/labltk-8.06.11-r1.ebuild index 8ea74b4dcc2a..59c59df0ecee 100644 --- a/dev-ml/labltk/labltk-8.06.11-r1.ebuild +++ b/dev-ml/labltk/labltk-8.06.11-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="QPL-1.0 LGPL-2" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt X" RDEPEND="dev-lang/tk:= diff --git a/dev-ml/labltk/labltk-8.06.12-r2.ebuild b/dev-ml/labltk/labltk-8.06.12-r2.ebuild index 010fd3a179b9..afa9197af4d6 100644 --- a/dev-ml/labltk/labltk-8.06.12-r2.ebuild +++ b/dev-ml/labltk/labltk-8.06.12-r2.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="QPL-1.0 LGPL-2" SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~loong ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt X" RDEPEND="dev-lang/tk:= diff --git a/dev-ml/labltk/labltk-8.06.14.ebuild b/dev-ml/labltk/labltk-8.06.14.ebuild index 912cef12ae8e..5a4f7d3574ab 100644 --- a/dev-ml/labltk/labltk-8.06.14.ebuild +++ b/dev-ml/labltk/labltk-8.06.14.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="QPL-1.0 LGPL-2" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt X" RDEPEND="dev-lang/tk:= diff --git a/dev-ml/labltk/labltk-8.06.7-r1.ebuild b/dev-ml/labltk/labltk-8.06.7-r1.ebuild index 7d8be420df66..56f6ff5cfec9 100644 --- a/dev-ml/labltk/labltk-8.06.7-r1.ebuild +++ b/dev-ml/labltk/labltk-8.06.7-r1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/garrigue/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="QPL-1.0 LGPL-2" SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt X" RDEPEND=">=dev-lang/tk-8.0.3:= diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest index a1930a7c39a5..0e2a32e0bbc9 100644 --- a/dev-ml/llvm-ocaml/Manifest +++ b/dev-ml/llvm-ocaml/Manifest @@ -1,3 +1,4 @@ +DIST llvm-project-0e907c17214aa3b1a60b66867fea3cc0f0dcbaa0.tar.gz 222324382 BLAKE2B 8023108460d2af1688871d5534e18aa52e29f0e466bb5431194d1e710d7cd11bdab4be000433536b2d69c815a68624e347c69378a697d6fc55433bb4c2156767 SHA512 f0c23a0ac25de31f4c81f76ee82f3189da65d825579e923ace2b54714649c60d4d078220c9f2200b11f08d0c0e32c5b81a57ba368c11d67e763936df8a609279 DIST llvm-project-15.0.7.src.tar.xz 110936452 BLAKE2B f3d277e2029157329e5be78b78af36b0826a1dfd9a337992499bf701e33149665bfc47d5e14978e38f342559629a559f8b2ce328705ba34fdf6830f5ae9721a5 SHA512 4836d3603f32e8e54434cbfa8ef33d9d473ac5dc20ebf9c67132653c73f4524931abd1084655eaee5f20bcfcb91bcc4bbc5c4a0b603ad0c9029c556e14dc4c52 DIST llvm-project-15.0.7.src.tar.xz.sig 566 BLAKE2B 47dc8c82d86237b80c6d85f83a6c9a6e9e174cf8e7f367b071e0cd9481d7cd408e991337c5624e07f3f370f26387c814f212808575ed1c1b58404d3e3836b7df SHA512 fc6891b440dd1175eb8df3790590af8d36bc92301660f84744ae15123475aeb900a151e6a8e7998ded27ec4d86871903ad0b89cd61164943054c2e3bc8d8beb2 DIST llvm-project-16.0.6.src.tar.xz 118013488 BLAKE2B 95192d39cbd2914e5609db365965f1c00bfea6c2d653b3996bd2acef8a2b37e37f6fc8a9d2b65711ad72657e0ef52c42f733053cf65051e7822f27396c30406d SHA512 89a67ebfbbc764cc456e8825ecfa90707741f8835b1b2adffae0b227ab1fe5ca9cce75b0efaffc9ca8431cae528dc54fd838867a56a2b645344d9e82d19ab1b7 @@ -6,6 +7,6 @@ DIST llvm-project-17.0.6.src.tar.xz 127838860 BLAKE2B d6ede1a9fda8756995c3e06541 DIST llvm-project-17.0.6.src.tar.xz.sig 438 BLAKE2B 186e75b6a0fbfe1e85408589c149e1800fcc47d685b74e4260018e05cd08bc793d1d1197c9c50e177eea941a3d0c65cb0c583ce6dae449099b920adf8a508ef7 SHA512 f78c55053a6450625f3e95f52c305110b4468a9854fec75831b65b8d6ceee3c9206ab9e63c4b5fda8be9bd344f72cfbdaae0520ed240abd505e08ebeaa25d340 DIST llvm-project-18.1.8.src.tar.xz 132067260 BLAKE2B a950492f1dbfb874dff63b1ffef86468169ba2f211a9733ec2d4cf30040f7f277ef00f048bb44dee9f97d7d762f0f241f19e5a2a7b0b49217d3821ddfc8c354f SHA512 25eeee9984c8b4d0fbc240df90f33cbb000d3b0414baff5c8982beafcc5e59e7ef18f6f85d95b3a5f60cb3d4cd4f877c80487b5768bc21bc833f107698ad93db DIST llvm-project-18.1.8.src.tar.xz.sig 566 BLAKE2B 6ab0efc5b38d4483f4e32e8b85774b2edd5d88fdf29f23b88eb0b5130a7a7f0e80549612b025f927e92de4a08ff7c292cff224dbda91a5d598244e98f7ad0fbd SHA512 ddfd1e8a06756759af6cbe488c82a6d6a62ba91f3e8a0eb4cece561321824f5d165b08ed91010588790b76e19790931d2651b24dba8567e3b151d3cb43bec25b -DIST llvm-project-19.1.0-rc4.src.tar.xz 141255904 BLAKE2B c693dc94aeb4b59ad4a05a426037075449535c398cbc1ae9b4371d42ea0962b267a3be8af93f4fe47b21c11964fbea6e8eb662225e6f79b20bbc35e706588435 SHA512 826978a596b26040124f2ceba858f91031f78faca22f32de2eea1a4d299a849dcb1fffdfb01601adc39d733dd0cdee43b21af05159d45dcebc842f6b6b540ba8 -DIST llvm-project-19.1.0-rc4.src.tar.xz.sig 438 BLAKE2B aef02737285d2faa1b21cec1a32fff6e776ac4bb5c4fd6f26d3d1a9b9244ed1fc0a1eb786a444a6549dda8683485f67964b4d4e48393e1780e7938ee0d94348a SHA512 5b9dcbf232229fdd87824bc87d0ad4ebd54127c9288708fb3304166422d378b77a843d7c5d8258850a0de59310c24e65042d636a5314e2af8513627a43bdb6e8 -DIST llvm-project-5500e21942f7047344b6fee62d3e08c0ba2f9182.tar.gz 219148250 BLAKE2B 61880a13086c46ac9a9f8326b1e007146afb1662a0a223703fe36a91da230d5708b368f1177e76ac13c1e5a30f620c4ce6346484a0a67a0f011a816bba4d13f9 SHA512 a6d4fcae960b450be2abd2da485cea638b73290b17ceeabf560651d614f55925f86ee6f76a116262d8a1ff70ba699468cb4cf4c32015e26540ba6e47c58db1b7 +DIST llvm-project-19.1.3.src.tar.xz 141247864 BLAKE2B 4ccb30accd632a7d54eb065b724ff81ec8a50380fa527111d58acd728eecb798d42f680119b6d1cbc980523e2f39220921ca1f530daa7afea05ab27436dedb7e SHA512 0abaf158b373892d5afc184158600df17a0797547ad7238ca9018d6fcdd7310b0db803d158daa82a2e04bd42d9daebaa2c3e4b9024c0fa2df72a88596575df5c +DIST llvm-project-19.1.3.src.tar.xz.sig 438 BLAKE2B 44717741ae13bb0c52382647352e52273d8401728dc5cc1cf0c11a8f08cd74b6e3d789e788793aad767030b36fdec62e3a05bdc0b7ff60556cec7ceac17fc239 SHA512 84ef22ee78dbaad4710becbcb02119d06063099f9102bb86f3cd44fbb7e2d87bafe239d8e0cbf22ab5a479f99a11a77125f22394d5006ed86262076ccbf1634d +DIST llvm-project-3f4468faaa9525ad615118675c3c68938f4a8d5f.tar.gz 221860252 BLAKE2B 6c531df34163dc0879c79b029a13215d1bef2cd95bbaf4a6d5e10b81a8352236283d40f14b62e23a57cc1cf8edce138fb6e2720ced2397d6469c5863564c626d SHA512 4aa485f4547e210cf8f6f8147c4adab3e75afe77f1e4e1bc4718fe681b64bdcf8937f843964542f8ead90ceef52cc0fd4bd8275824d1a4c6961eddafc7d35115 diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-19.1.3.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-19.1.3.ebuild new file mode 100644 index 000000000000..84bd71875fac --- /dev/null +++ b/dev-ml/llvm-ocaml/llvm-ocaml-19.1.3.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{10..13} ) +inherit cmake llvm.org llvm-utils python-any-r1 + +DESCRIPTION="OCaml bindings for LLVM" +HOMEPAGE="https://llvm.org/" + +LICENSE="Apache-2.0-with-LLVM-exceptions UoI-NCSA" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~x86" +IUSE="debug test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lang/ocaml-4.00.0:0= + dev-ml/ocaml-ctypes:= + ~sys-devel/llvm-${PV}:=[debug?] + !sys-devel/llvm[ocaml(-)] +" + +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + ${PYTHON_DEPS} + dev-lang/perl + dev-ml/findlib +" + +LLVM_COMPONENTS=( llvm cmake third-party ) +LLVM_USE_TARGETS=llvm +llvm.org_set_globals + +src_configure() { + llvm_prepend_path "${LLVM_MAJOR}" + + local libdir=$(get_libdir) + local mycmakeargs=( + -DLLVM_LIBDIR_SUFFIX=${libdir#lib} + + -DBUILD_SHARED_LIBS=OFF + -DLLVM_BUILD_LLVM_DYLIB=ON + -DLLVM_LINK_LLVM_DYLIB=ON + -DLLVM_OCAML_OUT_OF_TREE=ON + + # cheap hack: LLVM combines both anyway, and the only difference + # is that the former list is explicitly verified at cmake time + -DLLVM_TARGETS_TO_BUILD="" + -DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="${LLVM_TARGETS// /;}" + -DLLVM_BUILD_TESTS=$(usex test) + + # disable various irrelevant deps and settings + -DLLVM_ENABLE_FFI=OFF + -DLLVM_ENABLE_TERMINFO=OFF + -DHAVE_HISTEDIT_H=NO + -DLLVM_ENABLE_ASSERTIONS=$(usex debug) + -DLLVM_ENABLE_EH=ON + -DLLVM_ENABLE_RTTI=ON + + -DLLVM_HOST_TRIPLE="${CHOST}" + + -DPython3_EXECUTABLE="${PYTHON}" + + # TODO: ocamldoc + ) + + use test && mycmakeargs+=( + -DLLVM_LIT_ARGS="$(get_lit_flags)" + ) + + # LLVM_ENABLE_ASSERTIONS=NO does not guarantee this for us, #614844 + # also: custom rules for OCaml do not work for CPPFLAGS + use debug || local -x CFLAGS="${CFLAGS} -DNDEBUG" + cmake_src_configure + + local llvm_libdir=$(llvm-config --libdir) + # an ugly hack; TODO: figure out a way to pass -L to ocaml... + cd "${BUILD_DIR}/${libdir}" || die + ln -s "${llvm_libdir}"/*.so . || die + + if use test; then + local llvm_bindir=$(llvm-config --bindir) + # Force using system-installed tools. + sed -i -e "/llvm_tools_dir/s@\".*\"@\"${llvm_bindir}\"@" \ + "${BUILD_DIR}"/test/lit.site.cfg.py || die + fi +} + +src_compile() { + cmake_build ocaml_all +} + +src_test() { + # respect TMPDIR! + local -x LIT_PRESERVES_TMP=1 + cmake_build check-llvm-bindings-ocaml +} + +src_install() { + DESTDIR="${D}" \ + cmake -P "${BUILD_DIR}"/bindings/ocaml/cmake_install.cmake || die + + dodoc bindings/ocaml/README.txt +} diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-19.1.0_rc4.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-20.0.0_pre20241029.ebuild index 36b3716c0372..36b3716c0372 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-19.1.0_rc4.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-20.0.0_pre20241029.ebuild diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-20.0.0_pre20240830.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-20.0.0_pre20241106.ebuild index 36b3716c0372..36b3716c0372 100644 --- a/dev-ml/llvm-ocaml/llvm-ocaml-20.0.0_pre20240830.ebuild +++ b/dev-ml/llvm-ocaml/llvm-ocaml-20.0.0_pre20241106.ebuild diff --git a/dev-ml/luv/Manifest b/dev-ml/luv/Manifest index 4e50b015b4b7..baa047d1acfc 100644 --- a/dev-ml/luv/Manifest +++ b/dev-ml/luv/Manifest @@ -1,3 +1,4 @@ DIST luv-0.5.10.tar.gz 805333 BLAKE2B 23edd2bc870a2886e560d330d9a20b205a77ea7bc8ed631e00e43819474eeb75246b407113b59ed9c5f74462ad5f721338ac5a157a1fe0e443abf9ff88771089 SHA512 c50a0def366944b4ef6038503ecefe75d8e45f542311198531f01a355675c08b00370480141b455616429a883c3232d34628e6a67846db5864a1b0eabfe6311f DIST luv-0.5.11.tar.gz 809549 BLAKE2B 932bf48cb2d9ca32777d3c3d7457db5f4fb9dbfd51a8efbdf9282a9ebd941c53c56d7c17cf5e502c0e742dea1d1d76623d4adad32476fb36a0c08efded331f98 SHA512 8d1d7842583b02b906d89fe14bda5a66809d8ef7185efbe95e0fe7df619b795ad89fcbf16bfe1c3e92cef8721fe3d4e6192cabe215f3fe13b33de7335783e5f3 DIST luv-0.5.12.tar.gz 817528 BLAKE2B b61cea1bc3446a4c52a80712f430e40007d260e59562f1add7518bb03c51689df76e9c6240fc4dba230bf19459980d2acda4f6710f9895c7f4bd5617a1f2ec38 SHA512 c5213914a43e83ba879b068aa59d5bf0d86f36bd880a5adee45d301d41e7371954e426f50338deda3f0e5c66104c789d3dbc666ebabbe340ba0b76c561e909e1 +DIST luv-0.5.14.tar.gz 849832 BLAKE2B 5fe04991fdf793d8981b5f978e41a7c170666e917e4272b0b94e0fbc11bcb795d0e7e3dea5a9affea86fe501fba0edcf6418d6d05a48233a9ef5b839755e4d2e SHA512 05fd79209a30d46030af7edf8f4384ec1dcf6423ccb27f25f0231a65c152946ac557ba54d8387f70ffbf402ebc474176dd312897077c46d7774afeaacd3b7d77 diff --git a/dev-ml/luv/luv-0.5.14-r1.ebuild b/dev-ml/luv/luv-0.5.14-r1.ebuild new file mode 100644 index 000000000000..5694e5cfce73 --- /dev/null +++ b/dev-ml/luv/luv-0.5.14-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Binding to libuv: cross-platform asynchronous I/O" +HOMEPAGE="https://github.com/aantron/luv" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/aantron/${PN}.git" +else + SRC_URI="https://github.com/aantron/${PN}/releases/download/${PV}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libuv:= + >=dev-ml/ocaml-ctypes-0.23:=[ocamlopt?] + dev-ml/result:=[ocamlopt?] + dev-ml/integers:=[ocamlopt?] +" +DEPEND="${RDEPEND}" +BDEPEND=" + sys-devel/gnuconfig + test? ( dev-ml/alcotest[ocamlopt?] ) +" + +src_prepare() { + default + + cp "${BROOT}"/usr/share/gnuconfig/config.{guess,sub} src/c/vendor/configure/ || die +} + +src_compile() { + LUV_USE_SYSTEM_LIBUV=yes dune_src_compile +} diff --git a/dev-ml/lwt/Manifest b/dev-ml/lwt/Manifest index e431a404eeae..334373923677 100644 --- a/dev-ml/lwt/Manifest +++ b/dev-ml/lwt/Manifest @@ -1,4 +1,4 @@ DIST lwt-5.3.0.tar.gz 298152 BLAKE2B a39494bf98fcca07bf4601a742f4bfdc1ea2a67e2babbab650c41d2df58296a859520509ddc080af9c4d55be76439b401174720765fb942586d7c866f80cc538 SHA512 9922c19944595b0c07da8e1bbdecb2cc7c5a7edcdc2224215efb819d9c735da8986388a2446bd0762e28533f5d9d386970f07a4f1b0d14255c6743f3a1d16cb6 -DIST lwt-5.4.2.tar.gz 304541 BLAKE2B d474b20538af382c6f64072da2caa25e285f431c9b161c9796a44d1c84475f72e50d81baccb22ae908f82594c9dcaac6a874f54fe6332de2550128774d1280fc SHA512 9f46fb2e56dc7bd57a12d5ab4dc68719947a1462f336087a95e991d087bb9b5b8dee2592d0f7d35abc507d9a641dd221c44c949c81d00e26c673a067d94ba3f4 DIST lwt-5.6.1.tar.gz 316067 BLAKE2B a9cf6bc2b57a130a5df8aa745987f9b8516adf0fce040d50d3bfbd6d9f801917ca37d050eb7fd7a210c5b0ae5e5726dd21fc675c2e8ee8670d0475204dbcc3aa SHA512 698875bd3bfcd5baa47eb48e412f442d289f9972421321541860ebe110b9af1949c3fbc253768495726ec547fe4ba25483cd97ff39bc668496fba95b2ed9edd8 DIST lwt-5.7.0.tar.gz 313632 BLAKE2B e1b401c70b7722b266085c0493ab4e081aeb58cdf0e3569f677ee3b66edb1b4dda9afd115143315562f301a80bf8efbb09ced3f09f641adcac01fe44b3670cdc SHA512 42e629920783428673b99c9d7a639237c9e6b35079b5d907bc67e7ea506acf9edadc48cec580bdcfd2410ed9412bf5e6bcc8b09de2fa7d35ce1490973d05ddd1 +DIST lwt-5.8.0.tar.gz 314503 BLAKE2B af98757256e5a8195549e89cb789b17789f51d09715bc48f2ae13cfadf8eeb7e5d0713ff55629835555062f21ef3d6844a2d3f9645dbd3904a608ff22e969010 SHA512 7f6548a1b1dbfdbc98d9352151ca7be97fa2ab63dbcc429208ce8d08308eee13f7fce31e0cca53f8880233959a60212d622270dd51bf164c3ee272f179769bd9 diff --git a/dev-ml/lwt/lwt-5.4.2-r1.ebuild b/dev-ml/lwt/lwt-5.8.0.ebuild index 37deef97464a..72569d034fb3 100644 --- a/dev-ml/lwt/lwt-5.4.2-r1.ebuild +++ b/dev-ml/lwt/lwt-5.8.0.ebuild @@ -1,45 +1,59 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit dune DESCRIPTION="Cooperative light-weight thread library for OCaml" -SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz" HOMEPAGE="http://ocsigen.org/lwt" +SRC_URI="https://github.com/ocsigen/lwt/archive/${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0/${PV}" LICENSE="LGPL-2.1-with-linking-exception" +SLOT="0/${PV}" KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" IUSE="+ocamlopt" DEPEND=" - dev-ml/result:= + dev-libs/libev + dev-ml/luv:= dev-ml/mmap:= dev-ml/ocplib-endian:= + dev-ml/ppx_let:= dev-ml/ppxlib:= dev-ml/react:= - dev-ml/luv:= - dev-libs/libev" + dev-ml/result:= +" RDEPEND="${DEPEND}" BDEPEND=" dev-ml/cppo - dev-ml/findlib" + dev-ml/findlib +" + +# "domainslib" is unpackaged. +OCAML_SUBPACKAGES=( + lwt + lwt_ppx + lwt_ppx_let + lwt_react +) src_prepare() { - sed -i \ - -e "s: seq::" \ - src/core/dune \ - die + sed -i "s| seq||" "${S}"/src/core/dune || die + default } +src_compile() { + dune-compile ${OCAML_SUBPACKAGES[@]} +} + +src_test() { + dune-test ${OCAML_SUBPACKAGES[@]} +} + src_install() { - local i - for i in lwt lwt_luv lwt_ppx lwt_react ; do - dune_src_install ${i} - done + dune-install ${OCAML_SUBPACKAGES[@]} einstalldocs } diff --git a/dev-ml/mccs/Manifest b/dev-ml/mccs/Manifest index 58d2790dc0c3..d3971cf7aab5 100644 --- a/dev-ml/mccs/Manifest +++ b/dev-ml/mccs/Manifest @@ -1,3 +1,4 @@ DIST mccs-1.1.13.tar.gz 1024449 BLAKE2B c653c7d0b5fb6f9ea8facd8bfab517d80c7ec8cfd1ca512d81b81760e1d21c6978696af1cac596f0b11014464851c0c32e3bb5c6f70d88ad1bb7ef0034b8ff7d SHA512 2c2bc3c0e82b53a0e20c2542704eba8e3a2a1884f31b1a0a0079dd22fc02be8a8a62e582bdbf501339be0e9d6824872d737087e0fe150073b29b374505de073d DIST mccs-1.1.14.tar.gz 1024455 BLAKE2B 60a8170bcef250532f69d78df72906f944b392dc858c6b88e19fab367d71c19a4316c78f1285fbd120fb9212c2a3f15be3c3ec9bc2262aab80bed6b0dcc76cca SHA512 f7a50473efb7823f61dda2753be4887cebc6aa43c1cc9de2596a15b418fbc577ea60d96f66488a1008032f75bbc3b3b090017d5846d5558463bd8ca062270895 DIST mccs-1.1.17.tar.gz 1025141 BLAKE2B c553e4f5d550297e70da182a7d819f62131e70cc582e2086c1eeb5b5829e2ead5c13a2e8efface8b1e1ff741b8d246a3e0299bcdd61fc50c16e1f6775da25413 SHA512 2118a95bc4f20da469c13628a9dc3d193717789fb05242cfa38a3a195228a5376c6fa50e8369aa21be5e90e2bc5094a58e319d8fe75a63da925daa52024e8c40 +DIST mccs-1.1.18.tar.gz 1025265 BLAKE2B ff49c8f93af12245da51915d9eb9295e520a9aae25ede5f4963a7d84085dcdaafd37695d65cb0a26afc8fb2d1a9371d6fe4c855c39221924df6300fdde7c60a4 SHA512 5c0a1e2e437efb1d76e7420cdd6b9bfa9a212a54a4ef27f5358c7249fcf5b1541e737b4550fe2c1e9e1761bbc31f48545df943cf4f72c8cbf530c47f5599c69d diff --git a/dev-ml/mccs/mccs-1.1.18.ebuild b/dev-ml/mccs/mccs-1.1.18.ebuild new file mode 100644 index 000000000000..6a857778b7e0 --- /dev/null +++ b/dev-ml/mccs/mccs-1.1.18.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +MY_PV=$(ver_rs 2 '+') + +DESCRIPTION="Multi Criteria CUDF Solver" +HOMEPAGE="https://github.com/ocaml-opam/ocaml-mccs" +SRC_URI="https://github.com/ocaml-opam/ocaml-mccs/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}"/ocaml-${PN}-$(ver_rs 2 '-') + +LICENSE="|| ( LGPL-2.1 BSD GPL-3 )" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-ml/cudf:= + sci-mathematics/glpk:= +" +DEPEND="${RDEPEND} + test? ( + dev-ml/extlib:= + ) +" diff --git a/dev-ml/menhir/Manifest b/dev-ml/menhir/Manifest index 740a9a2896b1..47c773467fe6 100644 --- a/dev-ml/menhir/Manifest +++ b/dev-ml/menhir/Manifest @@ -1,2 +1,3 @@ DIST menhir-20230608.tar.bz2 1195032 BLAKE2B 6d39fb89a7e5dd862cbb868170d5d7156ccab6a3524fee711535497775bc65074256f2e228da532d3365473be7577e174b7ea075fd3b5b716a402ca575c401ae SHA512 6af16eeb1e43c89a2c60ed38da100cb591726e029e58d5313c05f81a317d63511c5e15c5aa334d1e96db182b51235bfa0a9905804d8232d868e1684a630af007 DIST menhir-20231231.tar.bz2 1245465 BLAKE2B 4ac27f693c9b0f34cf6f9c60343cba6c81cc5b4dc278df4da5c16de8484438238efc6e3e985b9f03676f72cc74a0153ea81fd93d057dd2914b86fe1f558d1f9f SHA512 6bcc3d32b9085e407d7ed7abc87bbbb7dcde52da7f5f343cbcf136df4aa2a9b640a94c3b809a125773d186d03bf9b806f9430dbc4a39ded7dd8ef685b1b1a65d +DIST menhir-20240715.tar.bz2 1245971 BLAKE2B b5f1a1fb234dd53e1d3f77b095e2721f8d2af354a3aa36da2b993dc9f699767bb7c98aae13316ff3405b8bcf80f9ba3addc824ace59f5548613f0f93d105adf7 SHA512 b18da35517702dbdab0d9f5819ad711f61f2ed13ec9e51db71b92fa2d6604cbf28aa6d684c36a41364324694ebbc5dc6aaed4dbb3779c14b399e49ded6fd5db6 diff --git a/dev-ml/menhir/menhir-20240715.ebuild b/dev-ml/menhir/menhir-20240715.ebuild new file mode 100644 index 000000000000..17c4c69ae5cc --- /dev/null +++ b/dev-ml/menhir/menhir-20240715.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="LR(1) parser generator for the OCaml language" +HOMEPAGE="http://gallium.inria.fr/~fpottier/menhir/" +SRC_URI="https://gitlab.inria.fr/fpottier/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2 LGPL-2-with-linking-exception" +SLOT="0/${PV}" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" +IUSE="+ocamlopt" + +src_install() { + dune_src_install menhir + dune_src_install menhirLib + dune_src_install menhirSdk +} diff --git a/dev-ml/merlin/Manifest b/dev-ml/merlin/Manifest index 3714fde4055e..53f177d649a7 100644 --- a/dev-ml/merlin/Manifest +++ b/dev-ml/merlin/Manifest @@ -1,2 +1 @@ -DIST merlin-4.12-414.tbz 1991877 BLAKE2B d68a45efb29d7ed2dd8d2e377a7778fad5500064206e5ae27914a0be9f208f919f44f73f14be283aca653adf56462a782c4f5f895282e078478e60f13e9c09f1 SHA512 3bf4f5e4754def9818ce0abbdf2253fe9d5e0abec7e8814012e2ff9de6a174f288c257780eb9f8aa4d794c0b62a524848d579d2a3495a5747a0970ee9fbfff29 DIST merlin-4.13-414.tbz 1993752 BLAKE2B 8b5704252f771ddac843340bf2aa24f62a2b490f6bb03c46a1daa2560fae72226b92fb5a9720b18c82f476571e7e6ffc7c30e695c8a0e1a3de6bd65ee58461e1 SHA512 cf7e292a515122756bd614eedbf11cc09108e6afab77cd5805428207b3ca5a98494ee43ad59fcfb667b48fe0874f0a8359882b3c14ee270769f99c41e176d455 diff --git a/dev-ml/merlin/merlin-4.13-r3.ebuild b/dev-ml/merlin/merlin-4.13-r4.ebuild index 18c16155ded7..d7c237c47237 100644 --- a/dev-ml/merlin/merlin-4.13-r3.ebuild +++ b/dev-ml/merlin/merlin-4.13-r4.ebuild @@ -22,11 +22,11 @@ RESTRICT="test" RDEPEND=" <dev-lang/ocaml-5 >=dev-lang/ocaml-4.14.1 - dev-lang/ocaml:=[ocamlopt?] + <dev-ml/menhir-20240715:= >=dev-ml/dune-2.9:= >=dev-ml/yojson-2.0.0:= + dev-lang/ocaml:=[ocamlopt?] dev-ml/csexp:= - dev-ml/menhir:= emacs? ( >=app-editors/emacs-23.1:* app-emacs/auto-complete diff --git a/dev-ml/merlin/merlin-4.12-r1.ebuild b/dev-ml/merlin/merlin-4.13-r5.ebuild index fdaafaef2c57..9a3d8f67b7e5 100644 --- a/dev-ml/merlin/merlin-4.12-r1.ebuild +++ b/dev-ml/merlin/merlin-4.13-r5.ebuild @@ -4,7 +4,7 @@ EAPI=8 # TODO: vim-plugin, although it's not clear how to make it work here -inherit elisp-common dune +inherit elisp-common dune edo DESCRIPTION="Context sensitive completion for OCaml in Vim and Emacs" HOMEPAGE="https://github.com/ocaml/merlin/" @@ -14,25 +14,28 @@ LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="~amd64" IUSE="emacs +ocamlopt test" -RESTRICT="!test? ( test )" + +# Tests fail unexpectedly on Tinderbox. See https://bugs.gentoo.org/933857 +# RESTRICT="!test? ( test )" +RESTRICT="test" RDEPEND=" + <dev-lang/ocaml-5 + >=dev-lang/ocaml-4.14.1 + >=dev-ml/dune-2.9:= + >=dev-ml/yojson-2.0.0:= dev-lang/ocaml:=[ocamlopt?] dev-ml/csexp:= - >=dev-ml/yojson-2.0.0:= dev-ml/menhir:= - >=dev-ml/dune-2.9:= - || ( - dev-lang/ocaml:0/4.14 - dev-lang/ocaml:0/4.14.1 - ) emacs? ( >=app-editors/emacs-23.1:* app-emacs/auto-complete app-emacs/company-mode ) " -DEPEND="${RDEPEND}" +DEPEND=" + ${RDEPEND} +" # NOTICE: Block dev-ml/seq (which is a back-port of code to ocaml <4.07) # because it breaks merlin builds. # https://github.com/ocaml/merlin/issues/1500 @@ -49,10 +52,10 @@ SITEFILE="50${PN}-gentoo.el" src_unpack() { default - if has_version "dev-lang/ocaml:0/4.14" ; then - mv ${P}-414 "${S}" || die - elif has_version "dev-lang/ocaml:0/4.14.1" ; then - mv ${P}-414 "${S}" || die + if has_version "=dev-lang/ocaml-4.14*" ; then + edo mv "${P}-414" "${S}" + elif has_version "dev-lang/ocaml" ; then + die "Currently installed version of OCaml is not yet supported" fi } @@ -71,10 +74,16 @@ src_prepare() { # Remove seq references from dune build files. sed -i 's|seq||g' src/frontend/ocamlmerlin/dune || die + + # Remove Menhir requirement. + # > MenhirLib.StaticVersion.require_20201216 + sed -i src/ocaml/preprocess/parser_raw.ml \ + -e "s|MenhirLib.StaticVersion.require_.*|()|g" \ + || die } src_compile() { - edune build @install + dune_src_compile if use emacs ; then # iedit isn't packaged yet diff --git a/dev-ml/mtime/Manifest b/dev-ml/mtime/Manifest index b9d8614b95c4..909bcc4cd88e 100644 --- a/dev-ml/mtime/Manifest +++ b/dev-ml/mtime/Manifest @@ -1,3 +1,4 @@ DIST mtime-1.2.0.tbz 16272 BLAKE2B 317201f8d5e7a55636e58748ffd269db5e88aed012e8dd7ed269d1f128f8d21ed0e707679b030b9c822bac98c9b76033e8d2402171c4ee758d8c936fbeee7ee9 SHA512 0f0ed220cd0f899643930814010f8592e1f47b6dc6c4dce8eebfb17a81b0abed093a3dbf9c02490af99bf81ea640372f73b4ab88fd8ef0e0c7c66920692a8778 DIST mtime-1.4.0.tbz 15909 BLAKE2B 3c49deaf72d3873c8447f4a6d8ce89d55f3df60df108132ec078d81702a6fb9d532266efdf5290fe396d57a84de2d1912b48ad92f84db6d573d977492407b95b SHA512 0492fa5f5187b909fe2b0550363c7dcb8cffef963d51072272ef3d876b51e1ddf8de4c4e221cffb0144658fccf6a0dc584a5c8094a4b2208156e43bad5b269d4 DIST mtime-2.0.0.tbz 16284 BLAKE2B de653a8ce5d53c53520f755f706d7eea8c13a53b0dcd27146d19b273b03bbc1582c77698f8e7b2148b4d1a3af63a37698978547945b06814fe9333c963619c08 SHA512 2ebec45218901c08f73420aa3318c506f155b6c0df713e9856682e59d3246696821ea477ce3682af0bf4cafd0491b1d66904f8c0256e2cf831e93a0aea322f04 +DIST mtime-2.1.0.tbz 15370 BLAKE2B f5bde0bab808fccfbb25fb93c2d02bb1ddf63505e46f2e34c127f9c8ad6a905436d6cfc7bea28bf0688d9f4adfde92cda9fdfdeb96c548314dddd9f01331b8ad SHA512 a6619f1a3f1a5b32b7a9a067b939f94e6c66244eb90762d41f2cb1c9af852dd7d270fedb20e2b9b61875d52ba46e24af6ebf5950d1284b0b75b2fd2c380d9af3 diff --git a/dev-ml/mtime/mtime-2.1.0.ebuild b/dev-ml/mtime/mtime-2.1.0.ebuild new file mode 100644 index 000000000000..cb94f3f09ea7 --- /dev/null +++ b/dev-ml/mtime/mtime-2.1.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo opam + +DESCRIPTION="OCaml module to access monotonic wall-clock time" +HOMEPAGE="https://erratique.ch/software/mtime/ + https://github.com/dbuenzli/mtime/" +SRC_URI="https://erratique.ch/software/mtime/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-lang/ocaml:=[ocamlopt]" +DEPEND=" + ${RDEPEND} + dev-ml/topkg + dev-ml/ocamlbuild + dev-ml/findlib +" + +src_compile() { + edo ocaml pkg/pkg.ml build \ + --tests $(usex test true false) +} + +src_test() { + edo ocaml pkg/pkg.ml test +} diff --git a/dev-ml/num/num-1.5.ebuild b/dev-ml/num/num-1.5.ebuild index f8dc825a611d..45c0595876f5 100644 --- a/dev-ml/num/num-1.5.ebuild +++ b/dev-ml/num/num-1.5.ebuild @@ -12,7 +12,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 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux ~ppc-macos" IUSE="+ocamlopt" RDEPEND="dev-lang/ocaml:=[ocamlopt?]" diff --git a/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.12.3.ebuild b/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.12.3-r1.ebuild index 6c06290ddd52..91bfffeca6aa 100644 --- a/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.12.3.ebuild +++ b/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.12.3-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,3 +13,5 @@ LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="amd64 arm arm64 ~ppc ppc64 x86" IUSE="+ocamlopt" + +RDEPEND="<dev-lang/ocaml-15" diff --git a/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.12.4.ebuild b/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.12.4-r1.ebuild index 9867417d2e6a..25b0036b9083 100644 --- a/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.12.4.ebuild +++ b/dev-ml/ocaml-compiler-libs/ocaml-compiler-libs-0.12.4-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -13,3 +13,5 @@ LICENSE="MIT" SLOT="0/${PV}" KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" IUSE="+ocamlopt" + +RDEPEND="<dev-lang/ocaml-15" diff --git a/dev-ml/ocaml-ctypes/Manifest b/dev-ml/ocaml-ctypes/Manifest index 4031632b920e..6c19bdcb97bc 100644 --- a/dev-ml/ocaml-ctypes/Manifest +++ b/dev-ml/ocaml-ctypes/Manifest @@ -3,3 +3,4 @@ DIST ocaml-ctypes-0.20.0.tar.gz 206559 BLAKE2B d9bf1c3f5ae7544e3950766f7eb9bac2c DIST ocaml-ctypes-0.20.1.tar.gz 206863 BLAKE2B a101872991d4bd83464d26e79fa5052c9dadbd10da1ae734fda8976199640091939777a1ba391d2aab84d7e14fafec6f713681e2ea52f6717f5f36d26e8aa225 SHA512 f95e65ce5003a07634afcbee431cb23c54c8335f926074615fc8d76ab777b9d2fce8f75bb25bbb6ed9550a7d6237fb377aa9ad65a426d2d7e387f86c1158fe4a DIST ocaml-ctypes-0.21.1.tar.gz 200264 BLAKE2B c4539c8856c1919194f11ecaeb1b0649dc701a6c0dda62c4bb750cd64a9145f2e4a9e77392385e4e398e8e89d5ae91b7c5f68b6242f826563f0f32b78497dfe1 SHA512 3a64b29746360e7dda7725ce7af23ca64cd6a3fa585aa70188cdd143aace744f44c1bd13cdda5c9733ca53d4b874ed42749ca21aaff4f4d53636a390a2c7f94f DIST ocaml-ctypes-0.22.0.tar.gz 200377 BLAKE2B f9a27434a564d619d45bc4bd74fa0e045b21cf62e7b83203f25757e093e0ebff6b259b871eec57e404a3b043e4bbfc433a664d78e64b4b357730e09371a0d220 SHA512 98925bddfba81fd91383c5ee87a47f8f3424958e0affc299585b83029ce3cc52ac4c059f94d548cb15f37379ba3a8742a04b94f76787177b26c233b7037faa09 +DIST ocaml-ctypes-0.23.0.tar.gz 200133 BLAKE2B c079c64584a2293ee0ef3d3a2d08472728ff3891b65773a97c23af0039dd4693b3c909d969ac006c976bad9af8b2743dfa03acddb8ed74f2405e60ef1cdb0f40 SHA512 0c287cd3162d092b37bd6d4b24c196d41c93b792c4aa77938fde60f5dbc7eedde588097493a645af9bffc0ed722eadd0fa90e04b04d5e36e78e6467ae9e4baf8 diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.22.0.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.22.0.ebuild index fbec82b5da87..7a6bc1d67716 100644 --- a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.22.0.ebuild +++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.22.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/yallop/ocaml-ctypes/archive/${PV}.tar.gz -> ${P}.tar LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" IUSE="+ocamlopt test" RESTRICT="!test? ( test )" diff --git a/dev-ml/ocaml-ctypes/ocaml-ctypes-0.23.0.ebuild b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.23.0.ebuild new file mode 100644 index 000000000000..fbec82b5da87 --- /dev/null +++ b/dev-ml/ocaml-ctypes/ocaml-ctypes-0.23.0.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DUNE_PKG_NAME=ctypes +inherit dune + +DESCRIPTION="Library for binding to C libraries using pure OCaml" +HOMEPAGE="https://github.com/yallop/ocaml-ctypes/" +SRC_URI="https://github.com/yallop/ocaml-ctypes/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lang/ocaml-4.03:= + >=dev-libs/libffi-3.3_rc0:= + dev-ml/bigarray-compat:= + dev-ml/integers:= + dev-ml/dune-configurator:= +" +DEPEND="${RDEPEND} + test? ( dev-ml/ounit2 dev-ml/lwt )" +REQUIRED_USE="ocamlopt" + +src_install() { + dune-install ctypes ctypes-foreign +} 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-r1.ebuild index bcad667ef590..3e4246ed05b3 100644 --- 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-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -16,5 +16,6 @@ KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" IUSE="+ocamlopt test" RESTRICT="!test? ( test ) strip" +RDEPEND="<dev-lang/ocaml-5" DEPEND="test? ( dev-ml/cinaps )" BDEPEND=">=dev-ml/dune-2.3" diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.14.2-r1.ebuild b/dev-ml/ocamlbuild/ocamlbuild-0.14.2-r1.ebuild index b8a10c761b57..3ad1a0cb932c 100644 --- a/dev-ml/ocamlbuild/ocamlbuild-0.14.2-r1.ebuild +++ b/dev-ml/ocamlbuild/ocamlbuild-0.14.2-r1.ebuild @@ -9,7 +9,7 @@ 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="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt" RESTRICT="test" # Tests fail diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.14.3.ebuild b/dev-ml/ocamlbuild/ocamlbuild-0.14.3.ebuild index 699348fbaa8d..46636e4cf94c 100644 --- a/dev-ml/ocamlbuild/ocamlbuild-0.14.3.ebuild +++ b/dev-ml/ocamlbuild/ocamlbuild-0.14.3.ebuild @@ -9,7 +9,7 @@ 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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt" RESTRICT="test" # Tests fail diff --git a/dev-ml/ocamlbuild/ocamlbuild-0.15.0.ebuild b/dev-ml/ocamlbuild/ocamlbuild-0.15.0.ebuild index 699348fbaa8d..1c509b3c96dc 100644 --- a/dev-ml/ocamlbuild/ocamlbuild-0.15.0.ebuild +++ b/dev-ml/ocamlbuild/ocamlbuild-0.15.0.ebuild @@ -9,7 +9,7 @@ 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="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ppc ppc64 ~riscv x86 ~amd64-linux ~x86-linux" IUSE="+ocamlopt" RESTRICT="test" # Tests fail diff --git a/dev-ml/ocamlgraph/ocamlgraph-2.1.0.ebuild b/dev-ml/ocamlgraph/ocamlgraph-2.1.0.ebuild index 9ed28c085ec3..fab08f3f97fd 100644 --- a/dev-ml/ocamlgraph/ocamlgraph-2.1.0.ebuild +++ b/dev-ml/ocamlgraph/ocamlgraph-2.1.0.ebuild @@ -10,7 +10,7 @@ HOMEPAGE="http://ocamlgraph.lri.fr/index.en.html" SRC_URI="https://github.com/backtracking/${PN}/releases/download/${PV}/${P}.tbz" LICENSE="LGPL-2.1" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" RDEPEND=" dev-ml/stdlib-shims:=[ocamlopt?] dev-ml/graphics:=[ocamlopt?]" diff --git a/dev-ml/ocamlnet/files/ocamlnet-4.1.9-noWhich.patch b/dev-ml/ocamlnet/files/ocamlnet-4.1.9-noWhich.patch new file mode 100644 index 000000000000..9baed9842292 --- /dev/null +++ b/dev-ml/ocamlnet/files/ocamlnet-4.1.9-noWhich.patch @@ -0,0 +1,16 @@ +--- a/configure 2024-10-23 21:15:13.597333850 +0200 ++++ b/configure 2024-10-23 21:15:34.527082731 +0200 +@@ -1106,11 +1106,11 @@ + printf "%s" "Checking for make utility... " + if [ -z "$MAKE" ] + then +- if which gmake >/dev/null ++ if command -v gmake >/dev/null + then + make=gmake + else +- if which make >/dev/null ++ if command -v make >/dev/null + then + make=make + fi diff --git a/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild b/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild index 60b4eea78ebf..791b193f2a11 100644 --- a/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild +++ b/dev-ml/ocamlnet/ocamlnet-4.1.9-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -38,6 +38,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-unboundLexer.patch "${FILESDIR}"/${P}-shuffle.patch + "${FILESDIR}"/${P}-noWhich.patch ) ocamlnet_use_with() { diff --git a/dev-ml/ocplib-simplex/ocplib-simplex-0.5.1.ebuild b/dev-ml/ocplib-simplex/ocplib-simplex-0.5.1.ebuild index a9ff96a0a80b..1a31dc94a9e7 100644 --- a/dev-ml/ocplib-simplex/ocplib-simplex-0.5.1.ebuild +++ b/dev-ml/ocplib-simplex/ocplib-simplex-0.5.1.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/OCamlPro-Iguernlala/${PN}/archive/v${PV}.tar.gz -> $ LICENSE="LGPL-2.1-with-linking-exception" SLOT="0" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="ocamlopt test" RESTRICT="!test? ( test )" diff --git a/dev-ml/odoc/Manifest b/dev-ml/odoc/Manifest index 04e97d427fc0..6e6157dc3d0e 100644 --- a/dev-ml/odoc/Manifest +++ b/dev-ml/odoc/Manifest @@ -1,3 +1,4 @@ DIST odoc-2.2.0.tbz 1548871 BLAKE2B 251c823e5f93e8080d52486e9d048a0c31651b6ea9d4bfdc3202488d7bcd750f9c2899189b943500253bf1e6041cf0283ed5e57c34d1a7d538c7c3710fb9a260 SHA512 9f8fc2ee6b25629474e8aa69dd460becab9277261578af0f7b97f7f779cc5f1056d1b5f14ab583b9b94ea097e5df2d6e35040f2a4887021209705486f9d44a22 DIST odoc-2.2.1.tbz 1548027 BLAKE2B 846890375debd70519879de261ab829b34dc4f7754ef9d32c2cf6fa07d86ed721a828987398549021ca7805a4e298fef516b5c6e0691e083f8849ccaa6d4184e SHA512 044e37eb3dcc77d9cc8124be558cce77a438723b90225273fb3401d3315c57c8c2f395a48ebd1b6aacc01b00cbfa4bd0be1923d2bd9bd3cc92d0604eadaabc4f DIST odoc-2.4.2.tbz 1761532 BLAKE2B d690b94eae406b66ec5bc6ea44d0bf006eea534861e8a457f0355cee50b3908173c249f69c59726b867ee38c21715c05217b409fb2d6a74d26c782e8357bc8ad SHA512 8d48c99e0c253791177dd65287ce5cee47e7c6805e33f3ae0cf6c8e7d349128f26eebbe36459c31429c11519ad5979dbe36fbcb9403a5fde199a69976a3fb3a6 +DIST odoc-2.4.3.tbz 1764166 BLAKE2B b9de37c767e9c17367a0105afda75803c75e2b40c6c40c4bd63f99b503d0686224e74523c4c2f3214220d019fc6890df56c7e599d2b402f0c3e212178eea486e SHA512 e78faa68c726db3034c12f0cbf76efb87e73f03430a734f82eeea4fb8813e5ebb8ad176012ed20cc1d56a874c601489ca3f02c929474f925eec6d51ce6bdb856 diff --git a/dev-ml/odoc/odoc-2.4.3.ebuild b/dev-ml/odoc/odoc-2.4.3.ebuild new file mode 100644 index 000000000000..5954f689daba --- /dev/null +++ b/dev-ml/odoc/odoc-2.4.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="OCaml documentation generator" +HOMEPAGE="http://github.com/ocaml/odoc/" +SRC_URI="https://github.com/ocaml/${PN}/releases/download/${PV}/${P}.tbz" + +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+ocamlopt test" +RESTRICT="test" + +RDEPEND=" + dev-ml/astring:= + dev-ml/camlp-streams:=[ocamlopt?] + dev-ml/cmdliner:=[ocamlopt?] + !dev-ml/odoc-parser + dev-ml/fmt:=[ocamlopt?] + dev-ml/fpath:= + dev-ml/ocaml-crunch:=[ocamlopt?] + dev-ml/result:=[ocamlopt?] + dev-ml/tyxml:=[ocamlopt?] +" +DEPEND="${RDEPEND} + dev-ml/cppo:=[ocamlopt?] +" +BDEPEND=">=dev-ml/dune-3.7" + +src_compile() { + dune-compile ${PN} odoc-parser +} diff --git a/dev-ml/opam-installer/Manifest b/dev-ml/opam-installer/Manifest index 99e9ff684080..673d716e2db3 100644 --- a/dev-ml/opam-installer/Manifest +++ b/dev-ml/opam-installer/Manifest @@ -1,4 +1 @@ -DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147 SHA512 e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608 -DIST opam-full-2.1.2.tar.gz 9442446 BLAKE2B fe5447fe8f9bcedb30bf455e93b54a37e950e2944f6f501545bdccf6d989de2da90106938efb6a12c1b9454ecefed5be9906d65a15a4d0244302ad7ccff170db SHA512 fe12aaa27168435a978c472926d40697af0a7619a529c4bfacd0b71469dfcd534f43164bc74f60f740a735d38a869ae5e87e2414119f4f3fc1826315e8a075cd -DIST opam-full-2.1.3.tar.gz 9618995 BLAKE2B 6f33e70c2e59be87b643840128b46441828d3d83888f5d321ac23d33b2fbc4d3163cb4303ac82a7f863abcc9300227bbc48bca3b8db5d6fbcebf0e6cf8869a5d SHA512 fe3a3c86335830944683a39a34a9eb385037476853ab3e2a82b8571a9e2021830cccf25cbd5bb891d239f6a47584c1b1d91aa445e6e2a814847346c5cc526ff1 DIST opam-full-2.1.6.tar.gz 11704198 BLAKE2B 20e74551760cadf1d911e72c34502e1e7e62003f8ebc83f3b9cb46c712e13fb5f85f41421cc74b051c2e348e0c0a17f4ea34bf655f7ec48cfcdab1e0d8a57a11 SHA512 2bb24db05dc39d6e8294c10b5a6bb2dd8f675a4d56e1dc9a2e9bc576f54d14a1709005219c25586df9382897ab7ba5ea0636765410f01c06958ec59be9f14b4c diff --git a/dev-ml/opam-installer/opam-installer-2.1.2-r1.ebuild b/dev-ml/opam-installer/opam-installer-2.1.2-r1.ebuild deleted file mode 100644 index 5010cdd1712d..000000000000 --- a/dev-ml/opam-installer/opam-installer-2.1.2-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# We are opam -OPAM_INSTALLER_DEP=" " -OPAM_SKIP_VALIDATION=yes -inherit dune - -DESCRIPTION="Core installer for opam packages" -HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" -SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-full-${PV}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz" -S="${WORKDIR}/opam-full-${PV/_/-}" -OPAM_INSTALLER="${S}/_build/install/default/bin/opam-installer" - -LICENSE="LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" -IUSE="+ocamlopt" - -PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch ) - -RDEPEND=" - >=dev-lang/ocaml-4.02.3:= - dev-ml/cmdliner:= - ~dev-ml/opam-format-${PV}:= - >=dev-ml/dose3-6:= -" -DEPEND="${RDEPEND} - dev-ml/findlib" - -src_configure() { - econf \ - --prefix="${EPREFIX}/usr" \ - --with-mccs \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --mandir="${EPREFIX}/usr/share/man" -} diff --git a/dev-ml/opam-installer/opam-installer-2.1.3.ebuild b/dev-ml/opam-installer/opam-installer-2.1.3.ebuild deleted file mode 100644 index e580796a2e99..000000000000 --- a/dev-ml/opam-installer/opam-installer-2.1.3.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# We are opam -OPAM_INSTALLER_DEP=" " -OPAM_SKIP_VALIDATION=yes -inherit dune - -DESCRIPTION="Core installer for opam packages" -HOMEPAGE="https://opam.ocaml.org/ https://github.com/ocaml/opam" -SRC_URI="https://github.com/ocaml/opam/releases/download/${PV}/opam-full-${PV}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz" -S="${WORKDIR}/opam-full-${PV/_/-}" -OPAM_INSTALLER="${S}/_build/install/default/bin/opam-installer" - -LICENSE="LGPL-2.1" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="+ocamlopt" -RESTRICT="test" # sandbox not working - -PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch ) - -RDEPEND=" - >=dev-lang/ocaml-4.02.3:= - dev-ml/cmdliner:= - ~dev-ml/opam-format-${PV}:= - >=dev-ml/dose3-6:= -" -DEPEND="${RDEPEND} - dev-ml/findlib" - -src_configure() { - econf \ - --prefix="${EPREFIX}/usr" \ - --with-mccs \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - --mandir="${EPREFIX}/usr/share/man" -} diff --git a/dev-ml/opam/Manifest b/dev-ml/opam/Manifest index 27c67bf50a23..432d802b1a0c 100644 --- a/dev-ml/opam/Manifest +++ b/dev-ml/opam/Manifest @@ -1,4 +1 @@ -DIST opam-2.1.0-dose3-6.patch.xz 5896 BLAKE2B f605064ebae7d327895729962a345a3c679519895aa2568f0c2d199d4ba9d6ae948a4fc418cfd26cc65079eb6ef3545f24a35e08c969d215529664a80d0c9147 SHA512 e00da74d7baef62319e884e3a05112bcf86a02d887c274bd15fb0d15bb8198e9a37a421f388bec3fce198e7a1b4d37024b18609dc65978c6ee8a7889df9bd608 -DIST opam-2.1.2.tar.gz 818848 BLAKE2B ffb50f3cf1421aa9bff6877d636a3d1d1cc2c2e3961ecd60fcae8a35b069c8d22e7a36bf17cb8166533621a3c85a82195fd3fa646b2fd8dcea9e626b61d5b86c SHA512 bea6f75728a6ef25bcae4f8903dde7a297df7186208dccacb3f58bd6a0caec551c11b79e8544f0983feac038971dbe49481fc405a5962973a5f56ec811abe396 -DIST opam-2.1.3.tar.gz 832450 BLAKE2B c5e50c0a41b7197bc7645eaef0d8cba79c978b4432fc824aa6a4280df65ec7d59df52a22b76877da4949c8562a5fecb8da2a179ca67bd312bf9a514961bf4444 SHA512 040e4f58f93e962ff422617ce0d35ed45dd86921a9aac3505914c33dd942d0e5e5771e7e1774046504f9aa84f32bc4fbd6ac7720fbea862d48bf1ca29e02cefc DIST opam-2.1.6.tar.gz 837526 BLAKE2B 1ee60691f4fcc1011f461505942f00ff5f5cc0f0bbfc97edb8e4c676d1e4cd28fed8b49ef341af51a750848be3110713cc97e93a9e63999e4b92e7c7f68d743e SHA512 f75d81b4eb19ef6603e7a2a18e1a281ea6f5eea47b820ae888593102db5b98ded5b593b176e70235611b63a07f4a406a57fe016386f4e921f51b55eb62b9864d diff --git a/dev-ml/opam/opam-2.1.2-r1.ebuild b/dev-ml/opam/opam-2.1.2-r1.ebuild deleted file mode 100644 index e06c25473f6b..000000000000 --- a/dev-ml/opam/opam-2.1.2-r1.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit dune - -DESCRIPTION="A source-based package manager for OCaml" -HOMEPAGE="http://opam.ocaml.org/" -SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz" -S="${WORKDIR}/opam-${PV/_/-}" - -LICENSE="LGPL-2.1-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" -IUSE="+ocamlopt" -RESTRICT="test" #see bugs 838658 - -RDEPEND=" - dev-ml/cmdliner:= - dev-ml/cudf:= - >=dev-ml/dose3-6.0:= - dev-ml/extlib:= - ~dev-ml/opam-client-${PV}:= - dev-ml/opam-file-format:= - sys-apps/bubblewrap - dev-ml/re:=" -DEPEND="${RDEPEND}" - -PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch ) - -src_prepare() { - default - - cat <<- EOF >> "${S}/dune" - (env - (dev - (flags (:standard -warn-error -3-9-33))) - (release - (flags (:standard -warn-error -3-9-33)))) - EOF -} diff --git a/dev-ml/opam/opam-2.1.3.ebuild b/dev-ml/opam/opam-2.1.3.ebuild deleted file mode 100644 index a3e5be157c57..000000000000 --- a/dev-ml/opam/opam-2.1.3.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune - -DESCRIPTION="A source-based package manager for OCaml" -HOMEPAGE="http://opam.ocaml.org/" -SRC_URI="https://github.com/ocaml/opam/archive/${PV/_/-}.tar.gz -> opam-${PV}.tar.gz" -SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/dev-ml/opam/opam-2.1.0-dose3-6.patch.xz" -S="${WORKDIR}/opam-${PV/_/-}" - -LICENSE="LGPL-2.1-with-linking-exception" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="+ocamlopt" -RESTRICT="test" #see bugs 838658 - -RDEPEND=" - dev-ml/cmdliner:= - dev-ml/cudf:= - >=dev-ml/dose3-6.0:= - dev-ml/extlib:= - ~dev-ml/opam-client-${PV}:= - dev-ml/opam-file-format:= - sys-apps/bubblewrap - dev-ml/re:=" -DEPEND="${RDEPEND}" - -PATCHES=( "${WORKDIR}"/opam-2.1.0-dose3-6.patch ) - -src_prepare() { - default - - cat <<- EOF >> "${S}/dune" - (env - (dev - (flags (:standard -warn-error -3-9-33))) - (release - (flags (:standard -warn-error -3-9-33)))) - EOF -} diff --git a/dev-ml/ordering/Manifest b/dev-ml/ordering/Manifest deleted file mode 100644 index e03842497f86..000000000000 --- a/dev-ml/ordering/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230 SHA512 2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de -DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e SHA512 636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be -DIST dune-3.7.1.tar.gz 2011275 BLAKE2B dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929 SHA512 d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b diff --git a/dev-ml/ordering/ordering-3.10.0.ebuild b/dev-ml/ordering/ordering-3.10.0.ebuild deleted file mode 100644 index f2ca25f126e5..000000000000 --- a/dev-ml/ordering/ordering-3.10.0.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Element ordering" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND=">=dev-lang/ocaml-4.08" -RDEPEND="${DEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die -} diff --git a/dev-ml/ordering/ordering-3.6.2.ebuild b/dev-ml/ordering/ordering-3.6.2.ebuild deleted file mode 100644 index bd18c18b90bb..000000000000 --- a/dev-ml/ordering/ordering-3.6.2.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Element ordering" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND=">=dev-lang/ocaml-4.08" -RDEPEND="${DEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die -} diff --git a/dev-ml/ordering/ordering-3.7.1.ebuild b/dev-ml/ordering/ordering-3.7.1.ebuild deleted file mode 100644 index 669840ebf990..000000000000 --- a/dev-ml/ordering/ordering-3.7.1.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Element ordering" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND=">=dev-lang/ocaml-4.08" -RDEPEND="${DEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die -} diff --git a/dev-ml/pp/Manifest b/dev-ml/pp/Manifest index 55dc8ae007d9..838a730aa585 100644 --- a/dev-ml/pp/Manifest +++ b/dev-ml/pp/Manifest @@ -1,2 +1,3 @@ DIST pp-1.1.2.tbz 9586 BLAKE2B 36bf09c2623c28215f2d4d3260681dacf7041919e09eb5e53ee04f90706b037784c0f7d5cbdfee58ce2808f28df09638fa4d15b82d8542badc05c06c0d8cce96 SHA512 58f78b083483006b40814be9aac33c895349eb1c6427d2762b4d760192613401262478bd5deff909763517560b06af7bf013c6a6f87d549aafa77b26345303f2 DIST pp-1.2.0.tbz 10959 BLAKE2B 92d9ca14a9c6370cdd2ccadacfe74cd44fd260a5c0c8ae757354ebbde9a41be14c4af88636e8cd8221cea3a7b4bb3eb584e51a220055473462ed8c43a5d3e0e7 SHA512 912164c2aa7241d73f735dadfbefe8ed0138d241579d2e885440e068fac78eb9f0b3d782c2420e757e313168c1725daff6ab91800dd315b1e05288456998b40a +DIST pp-2.0.0.tbz 11585 BLAKE2B f1b9965c1bd455b7f421facfddd2e639c64d659f6090db342d3f2d8a21e1528373b65307f633732b1fbb07c4d0d9ff91fbedcaaf0f1e9895c8b4227d4432d93e SHA512 78cb68f35c0b975dd1e91bd83d5e33bcec1ee642431585d55864c483c70a032755dfcf21ec5697691e7e7554381ddb580639fd149e28ba6f74d04d2ee43d360d diff --git a/dev-ml/pp/pp-1.2.0.ebuild b/dev-ml/pp/pp-1.2.0.ebuild index b9cb6b75d1b6..3fb76ea320ea 100644 --- a/dev-ml/pp/pp-1.2.0.ebuild +++ b/dev-ml/pp/pp-1.2.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/ocaml-dune/pp/releases/download/${PV}/${P}.tbz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" IUSE="+ocamlopt test" RESTRICT="!test? ( test )" diff --git a/dev-ml/pp/pp-2.0.0.ebuild b/dev-ml/pp/pp-2.0.0.ebuild new file mode 100644 index 000000000000..b9cb6b75d1b6 --- /dev/null +++ b/dev-ml/pp/pp-2.0.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Pretty-printing library" +HOMEPAGE="https://github.com/ocaml-dune/pp" +SRC_URI="https://github.com/ocaml-dune/pp/releases/download/${PV}/${P}.tbz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +BDEPEND="test? ( dev-ml/ppx_expect )" diff --git a/dev-ml/ppx_blob/Manifest b/dev-ml/ppx_blob/Manifest index eba88998c7b8..4e8810b1f134 100644 --- a/dev-ml/ppx_blob/Manifest +++ b/dev-ml/ppx_blob/Manifest @@ -1,2 +1,3 @@ DIST ppx_blob-0.7.2.tbz 3155 BLAKE2B 86262f4ef91dde30bbfc466dd0404c0f4825156097d0b019b180332e8f7d91630660f568193f8e8e184d3db07ec9dbc007e888f8dcb6874e2c04a077e8477a16 SHA512 d1701f640ce3dda2e2f0dce7d3f4a6b33ddfdaf793a9beab73e4f9ac93b2912adb7bb3b7fd1800bab258302aef0f0cdefb1e20ee62e6d882b25f0a64eae390a3 DIST ppx_blob-0.8.0.tbz 5505 BLAKE2B b0e22578abf518d9f2812b7b31664878361259c3d03604e45f01460dfbc8491aeeeca5485f151f3e66f53d2365bf25d61a275326565a7ceaafd9d195a29ef64a SHA512 bcbd58f7b0505063eaf4799792696f633a11ee734ce57d75b8f24b53d05fafbda8330bbf577a1d7a6149bb936b535216ae83574c1d40a61434e8d3bc6b6fd973 +DIST ppx_blob-0.9.0.tbz 6037 BLAKE2B c21ae191560c6cc75fb911d56aaa3770fdfc9bcd452de97c444224dc4316ebaaf75540483af63013ac05556275d0d52f863a1472885e5eee4e887d258ad9bebd SHA512 bad11f8ffbec82a04bb5f90e7548a7ad9ac4bf7e9b733815f6c956d7e0002fb258c52783ded847ab09fe3cd60e5eac2901fccaefd4fd4f885f20942d0ef66fea diff --git a/dev-ml/ppx_blob/ppx_blob-0.8.0.ebuild b/dev-ml/ppx_blob/ppx_blob-0.8.0.ebuild index 5a85e7b54633..4a531dc3b3d7 100644 --- a/dev-ml/ppx_blob/ppx_blob-0.8.0.ebuild +++ b/dev-ml/ppx_blob/ppx_blob-0.8.0.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/johnwhitington/${PN}/releases/download/${PV}/${P}.tb LICENSE="Unlicense" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+ocamlopt test" RESTRICT="!test? ( test )" diff --git a/dev-ml/ppx_blob/ppx_blob-0.9.0.ebuild b/dev-ml/ppx_blob/ppx_blob-0.9.0.ebuild new file mode 100644 index 000000000000..5a85e7b54633 --- /dev/null +++ b/dev-ml/ppx_blob/ppx_blob-0.9.0.ebuild @@ -0,0 +1,20 @@ +# Copyright 2023-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Include a file as a string at compile time" +HOMEPAGE="https://github.com/johnwhitington/ppx_blob" +SRC_URI="https://github.com/johnwhitington/${PN}/releases/download/${PV}/${P}.tbz" + +LICENSE="Unlicense" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +DEPEND="dev-ml/ppxlib:=[ocamlopt?]" +RDEPEND="${DEPEND}" +BDEPEND="test? ( dev-ml/alcotest )" diff --git a/dev-ml/ppx_deriving/Manifest b/dev-ml/ppx_deriving/Manifest index 4da95e8396b3..eb83129aee70 100644 --- a/dev-ml/ppx_deriving/Manifest +++ b/dev-ml/ppx_deriving/Manifest @@ -1,2 +1,2 @@ DIST ppx_deriving-5.2.1.tar.gz 46148 BLAKE2B 75c5f95841e4e54d5a58221c27d4a904347fb2b20ff0189bbe99bcc200eefd4abb94a476a120b6c6c7d0eba3b2233054875868a71064d032815cc8907919371d SHA512 01d2eb920f3375960a9228138ccb5f2af49bfba1111894795c24b3c37d5a021d6bc95e9de1d867c35d03645334300ccc89f1fca0cb75007ec62e5620f328e078 -DIST ppx_deriving-6.0.2.tar.gz 48443 BLAKE2B dc597740321f8f8e6d5b837cbb1dc4b9a7c4b00314455e24d4671b187e3bda8b10c232df95fe7fef67064250b73f4fb21cb3f2b3c64e43e41f400bc395b767cd SHA512 4dc4ca4839cd46a9457e1ec5cff4a778f71ac9284b7c2d917c808137b730c9911b782895360e388c1fc72e614616b7cc5961a17dd6268e41c0b67cca5188d4b3 +DIST ppx_deriving-6.0.3.tar.gz 48541 BLAKE2B cd3a846ea5ca2b62407f60ce82bf19a7cfdd8329292cb7238c636ab921dcf6ac98936131cdd3a6315f9bf0462961dcf539efc5568954a829be2566ef180672d4 SHA512 8d58d7f003f135107d8c8eb236259a64b4b7ffcfa3193e51e87a55bdd4c56b0f0e97885050f45e27268f47a2d37a4a813dbe9517171eaae34375c3e0447fa0b1 diff --git a/dev-ml/ppx_deriving/ppx_deriving-6.0.2.ebuild b/dev-ml/ppx_deriving/ppx_deriving-6.0.3.ebuild index baaf2c560fd9..baaf2c560fd9 100644 --- a/dev-ml/ppx_deriving/ppx_deriving-6.0.2.ebuild +++ b/dev-ml/ppx_deriving/ppx_deriving-6.0.3.ebuild diff --git a/dev-ml/ppx_deriving_yojson/Manifest b/dev-ml/ppx_deriving_yojson/Manifest index 08f3a993a349..f01ddb5c24b1 100644 --- a/dev-ml/ppx_deriving_yojson/Manifest +++ b/dev-ml/ppx_deriving_yojson/Manifest @@ -1,3 +1,4 @@ DIST ppx_deriving_yojson-3.6.1.tar.gz 19477 BLAKE2B f7b4e34e1c5ca77af6dbe6f4639c00a3b47076e2cf1f79b157a4c8f9aef34ec0e95e2c6c805fe9d0f9fa0ec72ea0672696b7e7a21d0a7d93764fad2e8d89a15a SHA512 b1bf04f77e1c1a887352b21cfd43a67d37de9f61a70f89d06828c7d9611027711a600b22e4bbc95ab128511a48fce3ae1a1c7a655f25c4bb2b6944444cea4989 DIST ppx_deriving_yojson-3.7.0.tar.gz 20027 BLAKE2B f89bae5542ab551da13bbfdf4bb3da359e0bad65b1700bcdcfefd4dc42b70c5c17133bfbe8ef9cbcac7b5d2630b95b81de95510a9152260874911bb72fb659ec SHA512 6aa8b3a6e60afd1ce68995bad6776c975b3640303b2049233e661c46300abea1f48916d4e876412de49f35744f31b99c29736e2bb974e1b4a494b0932bbd6e80 DIST ppx_deriving_yojson-3.8.0.tar.gz 20819 BLAKE2B ce216726fb7466c30a1580961f01d3f61ee85b3d8fd3e8465f6747afda394fa4440e8bb9f2734466fc928d421f09c89813363fd2622ff3b6ca13cb55ad313040 SHA512 c6939139cb0fa758b1812c4fee16a47a640e0f1a4316961635ab438b21ccc4268d93e202df04b34106d0cf8d3189ccd8a4f4fd85fc9d3c616d810f9c07055d84 +DIST ppx_deriving_yojson-3.9.0.tar.gz 20979 BLAKE2B 4182701c4346a2820f6f27abf11f457d4c24dcff7c2ef55e234331126b38ae39d84a98fba6f0c12dc854c50216054cf3ab45e0d1d36b62654b5ce1dcc6eac3be SHA512 a046aabe09175638ca8cea5907bfd4b4a057e0be181008dae3dd0bd32a23808fa815d820e7ca98c2e15a4f8ef2a1f66cd421aced6c68fd6a3cf7e31c261d81da diff --git a/dev-ml/ppx_deriving_yojson/ppx_deriving_yojson-3.9.0.ebuild b/dev-ml/ppx_deriving_yojson/ppx_deriving_yojson-3.9.0.ebuild new file mode 100644 index 000000000000..8faeb0f644f0 --- /dev/null +++ b/dev-ml/ppx_deriving_yojson/ppx_deriving_yojson-3.9.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="JSON codec generator for OCaml" +HOMEPAGE="https://github.com/ocaml-ppx/ppx_deriving_yojson/" +SRC_URI="https://github.com/ocaml-ppx/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-ml/ppxlib-0.30.0:=[ocamlopt?] + dev-ml/ppx_deriving:=[ocamlopt?] + dev-ml/yojson:=[ocamlopt?] +" +DEPEND="${RDEPEND}" +BDEPEND="test? ( dev-ml/ounit2 )" diff --git a/dev-ml/ppx_expect/Manifest b/dev-ml/ppx_expect/Manifest index 60f9ccd30608..d0e338c9c81a 100644 --- a/dev-ml/ppx_expect/Manifest +++ b/dev-ml/ppx_expect/Manifest @@ -4,4 +4,4 @@ DIST ppx_expect-0.14.2.tar.gz 45703 BLAKE2B cd1371f6e7e0519c1b30c6d471a1f4be6cbe DIST ppx_expect-0.15.0.tar.gz 48825 BLAKE2B 9363497cc5a507d4f9c51be11a3fef254cbd2541c146a1248755763bed6f54a69738ed72ac590e270856b9c04a5949c9bbd59ba25bc8e7d1fc9d76574bcc70c3 SHA512 945ebd31a94debd4a65c3a8dd7e6481e7debe043c48a60bab4085f9d05cba5b8663bf0f5498cb4cd0e86a24182b21006506f20873e5242b31db5de5629113ade DIST ppx_expect-0.15.1.tar.gz 48800 BLAKE2B de36b8eafb1393c6489f60d91a4eb0da15e0108db7b56536011cb4e0e7fd2168ab97d76256920d40bcf39283435b19b69afe17204a3ecca615ced9c3482e974a SHA512 483c320dcfa628a1140d727e63fe4c5e2b298d9c58ab9975f8b3b5fcfbb3348f04a901d8b4a8d8288b14959fddbf2578a8b48de7352e4ce90439e26a27026780 DIST ppx_expect-0.16.0.tar.gz 48460 BLAKE2B c4e9eecd689c1d0f79183020e634636ca340b16638fb0b76e5a7e89e08626d4cc88bd981533184ed7b81b8d34a0d302ff68920414472c084d5a969e45b6e791e SHA512 fdc8cb76afc9c9b436cbf8627b0c6543ae64fc51e92bf25db99ace10646aef3be3d1a3659dedb3e888494ab4e380e387b92557a584fa3e1eca79e19751a0b950 -DIST ppx_expect-0.17.0.tar.gz 58411 BLAKE2B f9d503b2e6cca52ee66572e0d6e415b4840c3cabed45be034c7ef8265645d0a8916275b314c1042df32a2a126464e944bfbe5982dfbf136ecea0ff8dfd422bac SHA512 2e313d4cbc6bac8d85924f14c927a34e4382c224eebc2180a473638717e3a59776998075e64efde0d387f953ffdc23ab57d7a3968d74b0012dd34b95cf9d1fb5 +DIST ppx_expect-0.17.2.tar.gz 58430 BLAKE2B 4f9937cfd52f966ea8cfbd5626e315f12e3a461df1a2e840d185515a5b11789c3ee9b19778850254b9bc7e2b8b114f694d48f73f498c123f8d2a7d3c30a17736 SHA512 c6394522da7f1e03df5d2f62766aa8534c09a12efff7908cc1215b06959e6eeaa2cb85514cd5def1582db66455ed922024387f28b84b4412aed4879ea905c38a diff --git a/dev-ml/ppx_expect/ppx_expect-0.17.0.ebuild b/dev-ml/ppx_expect/ppx_expect-0.17.2.ebuild index bf163bf0869d..bf163bf0869d 100644 --- a/dev-ml/ppx_expect/ppx_expect-0.17.0.ebuild +++ b/dev-ml/ppx_expect/ppx_expect-0.17.2.ebuild diff --git a/dev-ml/ppx_import/ppx_import-1.11.0.ebuild b/dev-ml/ppx_import/ppx_import-1.11.0.ebuild index 85c7cf214e17..06d71850b5b9 100644 --- a/dev-ml/ppx_import/ppx_import-1.11.0.ebuild +++ b/dev-ml/ppx_import/ppx_import-1.11.0.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/ocaml-ppx/${PN}/archive/refs/tags/v${PV}.tar.gz LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+ocamlopt test" RESTRICT="!test? ( test )" diff --git a/dev-ml/ppx_js_style/ppx_js_style-0.14.0.ebuild b/dev-ml/ppx_js_style/ppx_js_style-0.14.0-r1.ebuild index 047ad1309189..dd7d4f88755c 100644 --- a/dev-ml/ppx_js_style/ppx_js_style-0.14.0.ebuild +++ b/dev-ml/ppx_js_style/ppx_js_style-0.14.0-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2024 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-lang/ocaml-4.13 + <dev-lang/ocaml-4.13 >=dev-ml/base-0.14.0:= dev-ml/findlib:= dev-ml/octavius:= diff --git a/dev-ml/ppxlib/Manifest b/dev-ml/ppxlib/Manifest index 4d396cba52b4..9eaa21a58d42 100644 --- a/dev-ml/ppxlib/Manifest +++ b/dev-ml/ppxlib/Manifest @@ -7,3 +7,4 @@ DIST ppxlib-0.29.0.tar.gz 572842 BLAKE2B e772cfbbc5ff0390b1d256b7671e51aac0c86fe DIST ppxlib-0.29.1.tar.gz 543819 BLAKE2B b0d3920b2aaef887b0120ae66dfa3a0f83d4a4edb237390bddd5206084f77bbd8483d99bc422ce6411a9a1aca7de4fcc5f1f85f9cf46532b7e06c476f2b76b72 SHA512 9bfd52709a63399ff35697b442de6818e2a61b9a2ccf33638f2da6295e3e034e2ae6108a2b8567402e80d928636cdee1572cc14d228a47fbda50625219e411f9 DIST ppxlib-0.30.0.tar.gz 573753 BLAKE2B f16ba3b01288a535ebf7842d8b9379061cc86cb1bad7841540855508d7d9c10c27e63456d68a16a2408a6eee5cffe82c3c0202ad7894b9fabad8194136762e30 SHA512 a7310c5c0fe76c72984bc6a27648bf12ac83222c029b91a7abf8be13f1950f84de4b24e28f2bb50a6a65c16c9a6bb8c4d3d0596c4b5f7f5bedba87f8ca55a810 DIST ppxlib-0.32.1.tar.gz 610383 BLAKE2B 307b8591eb3d0c5fe44cb4b8361c1196eb84d65fd1613e7e1fc0e6ae51a7572003acb6fb76f273a484d36cd53b5a26d7daaeb8074253fba64024dbf56031a5a4 SHA512 542b49667b3536ac20ddefe0673b833ec728cf0b02ef79da2c98a750bf5ea1293f688134b227638acbbcffd0e5f344ab4ed5b8db6291f1aef096d106fffd0ce9 +DIST ppxlib-0.33.0.tar.gz 638136 BLAKE2B a4b8b82912d6ea83104be05bc8784b4666c3749e906b4c52406f90924afafd2358bfbf2c6d715c02b6c55a539264c8f9655c1c44b7dfd239f63e6012bfa497cb SHA512 8437ed1e7616deb371b50a4ca11cb3d50a294a722b64d7732808321d312aa212d9433bedc4a66ea3a4ebbfeed1ab6f739470b99a01991ac56279cea151b2ded8 diff --git a/dev-ml/ppxlib/ppxlib-0.20.0-r2.ebuild b/dev-ml/ppxlib/ppxlib-0.20.0-r3.ebuild index 15a01ecf7ce7..ff2387240bfa 100644 --- a/dev-ml/ppxlib/ppxlib-0.20.0-r2.ebuild +++ b/dev-ml/ppxlib/ppxlib-0.20.0-r3.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit dune @@ -29,6 +29,7 @@ RDEPEND=" dev-ml/stdlib-shims:=[ocamlopt?] >=dev-ml/ppx_derivers-1.2.1:=[ocamlopt?] >=dev-ml/stdio-0.11.0:=[ocamlopt?] + <dev-lang/ocaml-5 " DEPEND="${RDEPEND} test? ( dev-ml/cinaps:= )" diff --git a/dev-ml/ppxlib/ppxlib-0.21.0-r4.ebuild b/dev-ml/ppxlib/ppxlib-0.21.0-r5.ebuild index 8957b814656c..828bc48e8d1d 100644 --- a/dev-ml/ppxlib/ppxlib-0.21.0-r4.ebuild +++ b/dev-ml/ppxlib/ppxlib-0.21.0-r5.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit dune @@ -29,6 +29,7 @@ RDEPEND=" dev-ml/stdlib-shims:=[ocamlopt?] >=dev-ml/ppx_derivers-1.2.1:=[ocamlopt?] >=dev-ml/stdio-0.11.0:=[ocamlopt?] + <dev-lang/ocaml-5 " DEPEND="${RDEPEND} test? ( diff --git a/dev-ml/ppxlib/ppxlib-0.22.0-r4.ebuild b/dev-ml/ppxlib/ppxlib-0.22.0-r5.ebuild index ac19e6280bab..9b49b5754109 100644 --- a/dev-ml/ppxlib/ppxlib-0.22.0-r4.ebuild +++ b/dev-ml/ppxlib/ppxlib-0.22.0-r5.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit dune @@ -26,6 +26,7 @@ RDEPEND=" dev-ml/sexplib0:=[ocamlopt?] dev-ml/stdlib-shims:=[ocamlopt?] >=dev-ml/ppx_derivers-1.2.1:=[ocamlopt?] + <dev-lang/ocaml-5 " DEPEND="${RDEPEND} test? ( diff --git a/dev-ml/ppxlib/ppxlib-0.22.2-r3.ebuild b/dev-ml/ppxlib/ppxlib-0.22.2-r4.ebuild index 80bdccbf966e..b303e11a6738 100644 --- a/dev-ml/ppxlib/ppxlib-0.22.2-r3.ebuild +++ b/dev-ml/ppxlib/ppxlib-0.22.2-r4.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit dune @@ -26,6 +26,7 @@ RDEPEND=" dev-ml/sexplib0:=[ocamlopt?] dev-ml/stdlib-shims:=[ocamlopt?] >=dev-ml/ppx_derivers-1.2.1:=[ocamlopt?] + <dev-lang/ocaml-5 " DEPEND="${RDEPEND} test? ( diff --git a/dev-ml/ppxlib/ppxlib-0.29.1-r1.ebuild b/dev-ml/ppxlib/ppxlib-0.24.0-r2.ebuild index ba772d5ce6a8..9c9eb99f2700 100644 --- a/dev-ml/ppxlib/ppxlib-0.29.1-r1.ebuild +++ b/dev-ml/ppxlib/ppxlib-0.24.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,6 +26,7 @@ RDEPEND=" dev-ml/sexplib0:=[ocamlopt?] dev-ml/stdlib-shims:=[ocamlopt?] >=dev-ml/ppx_derivers-1.2.1:=[ocamlopt?] + <dev-lang/ocaml-5 " DEPEND="${RDEPEND} test? ( diff --git a/dev-ml/ppxlib/ppxlib-0.29.0-r1.ebuild b/dev-ml/ppxlib/ppxlib-0.29.0-r2.ebuild index 7e0d07cf07ad..332c7ff99c67 100644 --- a/dev-ml/ppxlib/ppxlib-0.29.0-r1.ebuild +++ b/dev-ml/ppxlib/ppxlib-0.29.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,6 +26,7 @@ RDEPEND=" dev-ml/sexplib0:=[ocamlopt?] dev-ml/stdlib-shims:=[ocamlopt?] >=dev-ml/ppx_derivers-1.2.1:=[ocamlopt?] + <dev-lang/ocaml-5 " DEPEND="${RDEPEND} test? ( diff --git a/dev-ml/ppxlib/ppxlib-0.24.0-r1.ebuild b/dev-ml/ppxlib/ppxlib-0.29.1-r2.ebuild index f15f96e90ae0..9c9eb99f2700 100644 --- a/dev-ml/ppxlib/ppxlib-0.24.0-r1.ebuild +++ b/dev-ml/ppxlib/ppxlib-0.29.1-r2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit dune @@ -26,6 +26,7 @@ RDEPEND=" dev-ml/sexplib0:=[ocamlopt?] dev-ml/stdlib-shims:=[ocamlopt?] >=dev-ml/ppx_derivers-1.2.1:=[ocamlopt?] + <dev-lang/ocaml-5 " DEPEND="${RDEPEND} test? ( diff --git a/dev-ml/ppxlib/ppxlib-0.30.0-r1.ebuild b/dev-ml/ppxlib/ppxlib-0.30.0-r2.ebuild index 7e0d07cf07ad..332c7ff99c67 100644 --- a/dev-ml/ppxlib/ppxlib-0.30.0-r1.ebuild +++ b/dev-ml/ppxlib/ppxlib-0.30.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -26,6 +26,7 @@ RDEPEND=" dev-ml/sexplib0:=[ocamlopt?] dev-ml/stdlib-shims:=[ocamlopt?] >=dev-ml/ppx_derivers-1.2.1:=[ocamlopt?] + <dev-lang/ocaml-5 " DEPEND="${RDEPEND} test? ( diff --git a/dev-ml/ppxlib/ppxlib-0.33.0.ebuild b/dev-ml/ppxlib/ppxlib-0.33.0.ebuild new file mode 100644 index 000000000000..96351ba3ae61 --- /dev/null +++ b/dev-ml/ppxlib/ppxlib-0.33.0.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +# Note that new "major" versions may change which OCaml version they support +# See: +# https://github.com/ocaml-ppx/ppxlib/issues/243 +# https://github.com/ocaml-ppx/ppxlib/issues/232 + +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 ~arm64 ~ppc ~ppc64" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +# It also works with ocaml >= 4 but tests are to be fixed +RDEPEND=" + >=dev-lang/ocaml-5:= + >=dev-ml/ocaml-compiler-libs-0.17:=[ocamlopt?] + dev-ml/ppx_derivers:=[ocamlopt?] + dev-ml/sexplib0:0/0.17[ocamlopt?] + dev-ml/stdlib-shims:=[ocamlopt?] +" +DEPEND="${RDEPEND}" +BDEPEND=" + >=dev-ml/dune-3.11 + test? ( + dev-ml/base:0/0.17 + dev-ml/cinaps + >=dev-ml/findlib-1.9.6[ocamlopt?] + dev-ml/re + ) +" diff --git a/dev-ml/ptime/Manifest b/dev-ml/ptime/Manifest index 3fcbaa0c7ed4..24f4308662c0 100644 --- a/dev-ml/ptime/Manifest +++ b/dev-ml/ptime/Manifest @@ -1,2 +1,3 @@ DIST ptime-1.0.0.tbz 33749 BLAKE2B 6765924f624a92c69495883accd47c66294f49e2d2841fafc66444369b97b9dceaecac0c00a14cba2e8e710bf85c6d5759f419e83d4d0a7bee56c197d06bb000 SHA512 df2410d9cc25a33083fe968a584b8fb4d68ad5c077f3356da0a20427e6cd8756a5b946b921e5cf8ed4097f2c506e93345d9dca63b113be644d5a7cc0753d1534 DIST ptime-1.1.0.tbz 34641 BLAKE2B b4e4991921d348ffcaf9b3a6c822b5e668f0dfad804a2be56e0f1ce2ef775a892312b545d0d098c9c74c1ab6725ddcd63aa2424571f61107fe4f945c03de35b2 SHA512 309b8383f61b58840e58a82802ec8fbc61b7cc95a4590d38ad427e484cbaaf66f03fa8e6484b5b6855468a87e745aed103bf6f1041ec05062230a9fa5fb86cc6 +DIST ptime-1.2.0.tbz 30885 BLAKE2B 45b4f980fbd44af49c3e26a6cc94b7a6ccbaafb0ea72cd7b75f6864d7bfe002a84230d74368a6f1c33b894cd08faf4151559012678b60c91fe463f9cb833499e SHA512 b0c3240dd9e777a5e60b5269eb2e312fc644d29ef55e257d2f2538c03bf62274173ed36e13858c44d2dbee8fe375c9c483e705706e4aa5b3b5c4609ca6324a5c diff --git a/dev-ml/ptime/ptime-1.2.0.ebuild b/dev-ml/ptime/ptime-1.2.0.ebuild new file mode 100644 index 000000000000..82cca9a16c21 --- /dev/null +++ b/dev-ml/ptime/ptime-1.2.0.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit opam findlib + +DESCRIPTION="POSIX time for OCaml" +HOMEPAGE=" + https://erratique.ch/software/ptime + https://github.com/dbuenzli/ptime + https://opam.ocaml.org/packages/ptime/ +" +SRC_URI="https://erratique.ch/software/ptime/releases/${P}.tbz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" + +DEPEND=" + dev-ml/topkg +" +BDEPEND="dev-ml/ocamlbuild" + +OPAM_FILE=opam + +src_compile() { + ocaml pkg/pkg.ml build || die +} diff --git a/dev-ml/re/Manifest b/dev-ml/re/Manifest index 3e9df29c5276..1e97d873b315 100644 --- a/dev-ml/re/Manifest +++ b/dev-ml/re/Manifest @@ -1,2 +1,4 @@ DIST ocaml-re-1.10.4.tar.gz 90379 BLAKE2B 411786bd89c712db0a7fba071abd303895621f0353b52e33dffeba146994cf145ea7f5199435d5b4c4738eedafa5bb00b430c92fe072f13fe455bb30a0b29998 SHA512 1bef38154f856b48985a0dfa975dc8539f146d0308d7c2af01078f5e998683fd635c7ae4a888e95c1a4dc4df9539dcd5dc506a5ef8718386cf0073947507f91a DIST ocaml-re-1.11.0.tar.gz 93319 BLAKE2B ccfba746e39d379c862576372694b9ce27f365996cad6c041b14e0a39514663cfb9bf32319ec67207cc5c8a65cd6278d0e111d2f15508bda54f7e0d89d528e8d SHA512 92096672833defba1b92b23bc4ce78cffb2501a21aca0dee264da1c8f35b5995154108d5f47318b9e37933537144359a742dce7825734c68dbd7d3d8ad4bc5b1 +DIST ocaml-re-1.12.0.tar.gz 91945 BLAKE2B 2694ae75589484570d7eff17cf76e9cd6ac1869c4579964fa6a335d9d43dc3f5127141ea285661e9f16d706c8e8d5a861de566e9e0ae4e602de5c6fb29a3f4df SHA512 679a23d86e9ee21f2c451623b04e990beeedabdd5e6c460827292044804f7f7790c3c6a918c02cd6723a3885a7acf3c349b7529c6d4d7e03b9bc53767a3b7ae4 +DIST ocaml-re-1.13.0.tar.gz 98675 BLAKE2B dd5a2dabdb73d5c5079cc36b7d82ea829b25fcd19625098b14de6c78abe4e4e1832f35865b3ab76cc8d09c5d59ad697f5086bddc58b0963716c965d22d3cbcae SHA512 f6105787f318cfda72e4dedda085d44d6e95ca1ca98d2a3d0d4b877464c8aa50c816fd1592d9e23e7493b67734b7362748c17fe490cf31e2dba2c07381cd0b2a diff --git a/dev-ml/re/files/re-1.13.0-noSeq.patch b/dev-ml/re/files/re-1.13.0-noSeq.patch new file mode 100644 index 000000000000..07171df838ed --- /dev/null +++ b/dev-ml/re/files/re-1.13.0-noSeq.patch @@ -0,0 +1,9 @@ +--- a/lib_test/expect/dune 2024-11-02 16:53:56.144246101 +0100 ++++ b/lib_test/expect/dune 2024-11-02 16:54:33.130770522 +0100 +@@ -20,5 +20,5 @@ + private_re + (library + (name re_private) +- (libraries seq)) ++ ) + (copy_files %{project_root}/lib/*.{ml,mli})) diff --git a/dev-ml/re/re-1.12.0.ebuild b/dev-ml/re/re-1.12.0.ebuild new file mode 100644 index 000000000000..045394dd3ea7 --- /dev/null +++ b/dev-ml/re/re-1.12.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Regular expression library for OCaml" +HOMEPAGE="https://github.com/ocaml/ocaml-re" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/ocaml/ocaml-re.git" +else + SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz + -> ocaml-${P}.tar.gz" + S="${WORKDIR}/ocaml-${P}" + + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="LGPL-2-with-linking-exception" +SLOT="0/${PV}" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + !<dev-ml/seq-0.3 + >=dev-lang/ocaml-4.12 +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + test? ( dev-ml/ounit2 ) +" + +src_prepare() { + default + + sed -i lib/dune -e "/(libraries seq)/d" || die +} diff --git a/dev-ml/re/re-1.13.0.ebuild b/dev-ml/re/re-1.13.0.ebuild new file mode 100644 index 000000000000..e135ea7f1a86 --- /dev/null +++ b/dev-ml/re/re-1.13.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Regular expression library for OCaml" +HOMEPAGE="https://github.com/ocaml/ocaml-re" + +if [[ "${PV}" == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/ocaml/ocaml-re.git" +else + SRC_URI="https://github.com/ocaml/ocaml-re/archive/${PV}.tar.gz + -> ocaml-${P}.tar.gz" + S="${WORKDIR}/ocaml-${P}" + + KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +fi + +LICENSE="LGPL-2-with-linking-exception" +SLOT="0/${PV}" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-lang/ocaml-4.12 +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + test? ( dev-ml/ounit2 ) +" + +PATCHES=( "${FILESDIR}"/${P}-noSeq.patch ) + +src_prepare() { + default + + sed -i lib/dune -e "/(libraries seq)/d" || die +} diff --git a/dev-ml/reason/Manifest b/dev-ml/reason/Manifest index db2f1a18f01c..c65698ee2da6 100644 --- a/dev-ml/reason/Manifest +++ b/dev-ml/reason/Manifest @@ -1 +1,2 @@ -DIST reason-3.11.0.tar.gz 699692 BLAKE2B c377e7ccb222ade2f0a5a9b50147a045fb10a95d7e3a8a9ce91674f76a3174ef169f5575ecde7004db2a43350ac8e7cc73315eefcda57b98c9b3d6cc83ed13bd SHA512 71b70e06afbc193c1c4b379c570347e4f971ed001d60e73cf4a745a9bc110e78d329d5ce5334b59aacb7dbe8d2f12f50b7c6786c9a35fff445da0d26f6a87f7d +DIST reason-3.12.0.tar.gz 661530 BLAKE2B e2855359595f6240055577f4477975cbe4a836801f5db2431d9b243cc583938c401fcdb36a0e8636aa8ee1368f3565625580c10bef679f520a92fb937571b717 SHA512 4258ee4c6bdc20ff3034458e923e58db7da792d8e22a8ab0b281ea2d6bb503cad30356346e255ad9fcac6fbf4e6bf9bf8cacca08b37ece73f3311d9ef821f9f5 +DIST reason-3.13.0.tar.gz 667524 BLAKE2B 2f27bc6ade3b1826687e6eed67c600603efd087ac2fa1e5b17560ff77233f9e77bccc98fafa142ff82291b8eb6aaa397557964b7c9be0c050ce8a5b9d33748d7 SHA512 afd7a714f836f38c5a7343a85a565ca5f20b109910973518d88befddd6c8fec0f2f3a2c54eebfb53f4bb52dcb45fdd30bb41663c7d979bca4f17aa1139ba5ce0 diff --git a/dev-ml/reason/files/reason-3.10.0-fake-git-version.patch b/dev-ml/reason/files/reason-3.12.0-fake-git-version.patch index f4be44e80e2f..a00a2e063b84 100644 --- a/dev-ml/reason/files/reason-3.10.0-fake-git-version.patch +++ b/dev-ml/reason/files/reason-3.12.0-fake-git-version.patch @@ -1,6 +1,6 @@ ---- a/src/refmt/dune -+++ b/src/refmt/dune -@@ -10,5 +10,5 @@ +--- a/src/refmt/dune 2024-10-19 14:08:14.370857664 +0200 ++++ b/src/refmt/dune 2024-10-19 14:09:03.820258355 +0200 +@@ -10,8 +10,8 @@ (with-stdout-to %{targets} (progn @@ -8,3 +8,6 @@ - (bash "echo let short_version = \\\"$(git rev-parse --short HEAD)\\\""))))) + (bash "echo let version = \\\"0000000000000000000000000000000000000000\\\"") + (bash "echo let short_version = \\\"0000000000000000000000000000000000000000\\\""))))) + + (rule + (with-stdout-to diff --git a/dev-ml/reason/reason-3.11.0.ebuild b/dev-ml/reason/reason-3.12.0.ebuild index d9655ff84950..9bf06edc77e2 100644 --- a/dev-ml/reason/reason-3.11.0.ebuild +++ b/dev-ml/reason/reason-3.12.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -23,18 +23,17 @@ SLOT="0/${PV}" IUSE="+ocamlopt" RDEPEND=" - dev-ml/dune-build-info:= - dev-ml/fix:= - dev-ml/menhir:= - dev-ml/merlin-extend:= - dev-ml/ocaml-migrate-parsetree:= - dev-ml/ppx_derivers:= - dev-ml/ppxlib:= - dev-ml/utop:= + dev-ml/dune-build-info:=[ocamlopt?] + dev-ml/fix:=[ocamlopt?] + dev-ml/menhir:=[ocamlopt?] + dev-ml/merlin-extend:=[ocamlopt?] + dev-ml/ppx_derivers:=[ocamlopt?] + dev-ml/ppxlib:=[ocamlopt?] + dev-ml/utop:=[ocamlopt?] " DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}/${PN}-3.10.0-fake-git-version.patch" ) +PATCHES=( "${FILESDIR}/${P}-fake-git-version.patch" ) src_install() { dune-install reason rtop diff --git a/dev-ml/reason/reason-3.13.0.ebuild b/dev-ml/reason/reason-3.13.0.ebuild new file mode 100644 index 000000000000..2dae216689fa --- /dev/null +++ b/dev-ml/reason/reason-3.13.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Simple, fast & type safe language that leverages JavaScript and OCaml" +HOMEPAGE="https://reasonml.github.io/ + https://github.com/reasonml/reason/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + + EGIT_REPO_URI="https://github.com/reasonml/${PN}.git" +else + SRC_URI="https://github.com/reasonml/${PN}/archive/${PV}.tar.gz + -> ${P}.tar.gz" + + KEYWORDS="~amd64 ~x86" +fi + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="+ocamlopt" + +RDEPEND=" + dev-ml/dune-build-info:=[ocamlopt?] + dev-ml/fix:=[ocamlopt?] + dev-ml/menhir:=[ocamlopt?] + dev-ml/merlin-extend:=[ocamlopt?] + dev-ml/ppx_derivers:=[ocamlopt?] + dev-ml/ppxlib:=[ocamlopt?] + dev-ml/utop:=[ocamlopt?] +" +DEPEND=" + ${RDEPEND} +" + +PATCHES=( "${FILESDIR}/${PN}-3.12.0-fake-git-version.patch" ) + +src_install() { + dune-install reason rtop + + dodoc *.md docs/*.md +} diff --git a/dev-ml/sedlex/Manifest b/dev-ml/sedlex/Manifest index f5034bf53f8a..160fe4bba647 100644 --- a/dev-ml/sedlex/Manifest +++ b/dev-ml/sedlex/Manifest @@ -2,3 +2,4 @@ DIST sedlex-2.5.tar.gz 134289 BLAKE2B 47aa67ed34ee0226b92d538e61bbf7252dcead236d DIST sedlex-3.0.tar.gz 133248 BLAKE2B f1adb73087b132d4e99b4785af3a99d3d82ee860d16691c48fbec6bd2776d8de23f736f5d6f21b734c846ef793caa8e7c925ce58dfc472d205268eab39973c6a SHA512 564780b7af8b3ddd32c9164caa42fd24b2ff59e0bf9977bcee4c3ddea2be3f0c870bd95949b639c5f1942e0fa2604902f5cd3eb9041d59b6ee2367895df556df DIST sedlex-3.1.tar.gz 139786 BLAKE2B 6bacf781f25a5a21ea4cf710ffef04949fbeea90033eb429a5f9d7733e64108526de7f94b56c2da5c8a3af4fab6eff94421b705de9ffe8137a4e8282aa9900cd SHA512 27c7954c03a9d78f252167708afe7d91648ad3d3aa529e00c73da75bac49c2cf552cc9d27d29f1d9a04b1e2b47b7c6de9e9850c53124ad9f311d0a8f54bb9cae DIST sedlex-3.2.tar.gz 134560 BLAKE2B 302a35a33d6b5be6fc504f655d6d6d24d60d64eac7fd3a36970253d181bd470aa7fdd35bec9f31199f0225a62942a64da90aa6a325656ca0ae2a2d9862dd4689 SHA512 00e257d1b97e99d49028d2e38b20a05c6aa151c362991c37c17522bf58c19e273b762ea39dd9783ed9ecc60d11dadeabb0487e16b4af91536e45e7e18c86cfe9 +DIST sedlex-3.3.tar.gz 128967 BLAKE2B aab0e15246dbdd5eb442be930483bf3b8950a13189b0175d9c1af90f1a42cff1b39337284dd69e10b06fd94b7889e749faad0d97279675482dc776621d12e686 SHA512 791b172b59256cb77df1bbd9e3136aa79e65bcb3df1f64bbe10933d624bad59a7d8b358c35abd07c267b89a3feb01f935e927ffc4fe9c6eb2ac6637cfa9b42cd diff --git a/dev-ml/sedlex/sedlex-3.2.ebuild b/dev-ml/sedlex/sedlex-3.2.ebuild index e191dab20e8f..7dea86f85e6c 100644 --- a/dev-ml/sedlex/sedlex-3.2.ebuild +++ b/dev-ml/sedlex/sedlex-3.2.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/ocaml-community/${PN}/archive/v${PV}.tar.gz LICENSE="MIT" SLOT="0/${PV}" -KEYWORDS="~amd64 ~x86" +KEYWORDS="amd64 x86" IUSE="+ocamlopt test" RESTRICT="!test? ( test )" diff --git a/dev-ml/sedlex/sedlex-3.3.ebuild b/dev-ml/sedlex/sedlex-3.3.ebuild new file mode 100644 index 000000000000..e191dab20e8f --- /dev/null +++ b/dev-ml/sedlex/sedlex-3.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Using "--for-release-of-packages" skips the regeneration of "unicode.ml" file +# (using curl), see "src_compile" and "src_test" and "dune-release". +DUNE_PKG_NAME=${PN} + +inherit dune + +DESCRIPTION="An OCaml lexer generator for Unicode" +HOMEPAGE="https://github.com/ocaml-community/sedlex/" +SRC_URI="https://github.com/ocaml-community/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-ml/gen:= + >=dev-ml/ppxlib-0.26:= +" +RDEPEND="${DEPEND}" +BDEPEND="test? ( dev-ml/ppx_expect )" + +src_compile() { + dune-compile ${DUNE_PKG_NAME} +} + +src_test() { + dune-test ${DUNE_PKG_NAME} +} diff --git a/dev-ml/stdune/Manifest b/dev-ml/stdune/Manifest deleted file mode 100644 index e03842497f86..000000000000 --- a/dev-ml/stdune/Manifest +++ /dev/null @@ -1,3 +0,0 @@ -DIST dune-3.10.0.tar.gz 2640800 BLAKE2B 5fc479a91ee6792f07a4fb61af530d55f46dea56b2fd5919975c0bfb231229395e7d0769bdae88419a89d378b8d7e2b229f7410ce7a34414629aa5117e606230 SHA512 2884a4eaaa44164ce911286ca6670b548a4a564e2b5040f05405d1d2729af84083fbfdde7c92db4f6f7a54d15a43fc9dddcec19d8d79d5a66221b2be861473de -DIST dune-3.6.2.tar.gz 1906058 BLAKE2B 7bbf1f346805432015a0e2a20bbeb1d94bbdc9f10537d31129c70466f88713d6659fddae18ab48c95d1a97f5e7931d8a5505eb08b89a27b6193b82b059f1c29e SHA512 636f6cbccca588b576f36840b752fc17d4a46b4c0625262a43c10f948bbb9820bdbee752a8d9a5cf7d5b79987bf824bdef9a44ecf49696959c9f597c4950d7be -DIST dune-3.7.1.tar.gz 2011275 BLAKE2B dd0f473a720fc65ac550a2aab64930ff472a9bd306d603f088d813817df56148f676abe2a56ff3458bb1ed887784e565154eee08988bf984585b35bc9333d929 SHA512 d741b2a92e970f9747240d4356045f46447238f7c8d8c47ba0b1cad96b8194461a47fa315d86a1eef2033a4d38001c999e6033c31b0c75a311367fb78ea12b6b diff --git a/dev-ml/stdune/metadata.xml b/dev-ml/stdune/metadata.xml deleted file mode 100644 index 86dc156e664c..000000000000 --- a/dev-ml/stdune/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>ml@gentoo.org</email> - <name>ML</name> - </maintainer> - <upstream> - <remote-id type="github">ocaml/dune</remote-id> - </upstream> -</pkgmetadata> diff --git a/dev-ml/stdune/stdune-3.10.0.ebuild b/dev-ml/stdune/stdune-3.10.0.ebuild deleted file mode 100644 index 16e94f7b57b7..000000000000 --- a/dev-ml/stdune/stdune-3.10.0.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2022-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Dune's unstable standard library" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND=" - dev-ml/pp:=[ocamlopt?] - ~dev-ml/dyn-${PV}:=[ocamlopt?] - ~dev-ml/ordering-${PV}:=[ocamlopt?] - >=dev-ml/csexp-1.5:=[ocamlopt?] - !<dev-ml/dune-private-libs-3 -" -RDEPEND="${DEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die -} diff --git a/dev-ml/stdune/stdune-3.6.2-r1.ebuild b/dev-ml/stdune/stdune-3.6.2-r1.ebuild deleted file mode 100644 index 58729dd1a5c9..000000000000 --- a/dev-ml/stdune/stdune-3.6.2-r1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Dune's unstable standard library" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND=" - dev-ml/pp:=[ocamlopt?] - ~dev-ml/dyn-${PV}:=[ocamlopt?] - ~dev-ml/ordering-${PV}:=[ocamlopt?] - >=dev-ml/csexp-1.5:=[ocamlopt?] - !<dev-ml/dune-private-libs-3 -" -RDEPEND="${DEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die -} diff --git a/dev-ml/stdune/stdune-3.7.1.ebuild b/dev-ml/stdune/stdune-3.7.1.ebuild deleted file mode 100644 index c31152e785e8..000000000000 --- a/dev-ml/stdune/stdune-3.7.1.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 2022-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit dune multiprocessing - -DESCRIPTION="Dune's unstable standard library" -HOMEPAGE="https://github.com/ocaml/dune" -SRC_URI="https://github.com/ocaml/dune/archive/${PV}.tar.gz - -> dune-${PV}.tar.gz" -S="${WORKDIR}/dune-${PV}" - -LICENSE="Apache-2.0" -SLOT="0/${PV}" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" -IUSE="+ocamlopt" -RESTRICT="test" - -BDEPEND=">=dev-ml/dune-3.5" -DEPEND=" - dev-ml/pp:=[ocamlopt?] - ~dev-ml/dyn-${PV}:=[ocamlopt?] - ~dev-ml/ordering-${PV}:=[ocamlopt?] - >=dev-ml/csexp-1.5:=[ocamlopt?] - !<dev-ml/dune-private-libs-3 -" -RDEPEND="${DEPEND}" - -src_configure() { - : -} - -src_compile() { - dune build -p "${PN}" @install -j $(makeopts_jobs) --profile release || die -} diff --git a/dev-ml/textutils_kernel/Manifest b/dev-ml/textutils_kernel/Manifest index e4996d0a4dae..53adb26c936a 100644 --- a/dev-ml/textutils_kernel/Manifest +++ b/dev-ml/textutils_kernel/Manifest @@ -1,2 +1,3 @@ DIST textutils_kernel-0.15.0.tar.gz 17691 BLAKE2B 564a2bfd6d6a1248e9c004dd6740be1552219a11960872e67eae2c2485f01e662fbd108345992f4a924dc9b125516ac39c1c5b211a35aa296f64ca473a9bef3b SHA512 6295f0285e16829ba2282ca23225e783a422edfc2ea1a1e7b02df519430efd05b7e8e21a61078a1a523ddfb3668dba04f44836341efa260ffe3e9738603afdaf DIST textutils_kernel-0.16.0.tar.gz 19413 BLAKE2B 3201a051215fdcd38d3f132d8de07712065397a2f534ada3de5e427c40a85deec29fda7a940dff7e5d3dc57dc0acd1f0c6bb9ec1c32f27f6e0b0904540b00a7d SHA512 ea3323c3070ab531484c9ad7ca579fd25a3f9c96ef2a7aebdd824f4de027759d29d52039018a98fdc250159ec566b9c38638d3da7c44df490540076a0c11352f +DIST textutils_kernel-0.17.0.tar.gz 19590 BLAKE2B d2522b69e098afe1577eece8a78a1df203bf979ee1d0dd90d5f93854c3768b2da237e2a8f40ff3870bd85dee3d23310f924431340d41f9c4a7c509b9fabcde1f SHA512 692c5f37ee4cf9beb28ea64ef018426a6761377552bba42b839f9dc9420adf950fa8cab4939ccbe138a2ecf71625f96a653b513f640bb90498f331d93edb3fe9 diff --git a/dev-ml/textutils_kernel/textutils_kernel-0.17.0.ebuild b/dev-ml/textutils_kernel/textutils_kernel-0.17.0.ebuild new file mode 100644 index 000000000000..6041426f40f7 --- /dev/null +++ b/dev-ml/textutils_kernel/textutils_kernel-0.17.0.ebuild @@ -0,0 +1,25 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="Text output utilities" +HOMEPAGE="https://github.com/janestreet/textutils_kernel" +SRC_URI="https://github.com/janestreet/${PN}/archive/refs/tags/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/$(ver_cut 1-2)" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" + +DEPEND=" + >=dev-lang/ocaml-5 + dev-ml/core:${SLOT}[ocamlopt?] + dev-ml/ppx_jane:${SLOT}[ocamlopt?] + >=dev-ml/uutf-1.0.2:=[ocamlopt?] + >=dev-ml/dune-3.11 +" +RDEPEND="${DEPEND}" diff --git a/dev-ml/tiny_httpd/Manifest b/dev-ml/tiny_httpd/Manifest index e6f641205e00..fcec6b5c3309 100644 --- a/dev-ml/tiny_httpd/Manifest +++ b/dev-ml/tiny_httpd/Manifest @@ -1,2 +1,3 @@ DIST tiny_httpd-0.12.tar.gz 49124 BLAKE2B c3f407a605dabad1c710a696a3fca5dce04a75deb61e25e9ce572432e0d96cd3029628ea24d17d55a051d1d0f78aa1fd80797e7ff9c0bb7fc9d190e461784cd3 SHA512 99b4d01d4f4d138b122c689b8b3bc5043fc386d6686675311f625bf5fec72c6e1a7513712b00889fe17cd392b8c475440d4f89ee46392aff32ac6ccc39cefe09 DIST tiny_httpd-0.16.tar.gz 66034 BLAKE2B 5bbbe87f48b19c2c8519d4c109e2b9eaef0ca5c42f77acdad8f6a216a23f59a68121d03d1ab95762999cb0f7089e0eee36ac0ed11151bbb72d4b9c5ab4314500 SHA512 fea483b931c1431117f7a1d3244749f856982e440d20b64a8d7c6fd841398eec3c7f91afaece707b5a35c0b332a06dde6464337aa1ac7b757f7952047981b130 +DIST tiny_httpd-0.17.0.tar.gz 93730 BLAKE2B f5764bbc224ef3e0f2eaf25771935149ec86f38cdac8e19cc7114d361948f54d3fbbd2c3729a3e3043131b6c7461f6a00ac0d51d409672a242826fe9e1e849a5 SHA512 a891b7920c8b92f1c800e7add57bf1dea20bec3e364af66ea5dda5e46abd9d10dfe4d026a8d76c127761f63a9563df35473bd8df2e8b4f5ed692f7f6a3570f64 diff --git a/dev-ml/tiny_httpd/files/tiny_httpd-0.17.0-noseq.patch b/dev-ml/tiny_httpd/files/tiny_httpd-0.17.0-noseq.patch new file mode 100644 index 000000000000..7c05632bf0e3 --- /dev/null +++ b/dev-ml/tiny_httpd/files/tiny_httpd-0.17.0-noseq.patch @@ -0,0 +1,31 @@ +--- a/src/dune 2024-10-20 18:15:24.137632115 +0200 ++++ b/src/dune 2024-10-20 18:15:39.144450132 +0200 +@@ -2,5 +2,5 @@ + (name tiny_httpd) + (public_name tiny_httpd) + (flags :standard -open Tiny_httpd_core) +- (libraries threads seq unix hmap tiny_httpd.core tiny_httpd.html ++ (libraries threads unix hmap tiny_httpd.core tiny_httpd.html + tiny_httpd.unix)) +--- a/src/core/dune 2024-10-21 12:06:33.365496763 +0200 ++++ b/src/core/dune 2024-10-21 12:06:48.673307538 +0200 +@@ -3,7 +3,7 @@ + (name tiny_httpd_core) + (public_name tiny_httpd.core) + (private_modules parse_ common_) +- (libraries threads seq hmap iostream ++ (libraries threads hmap iostream + (select log.ml from + (logs -> log.logs.ml) + (-> log.default.ml)))) +--- a/src/html/dune 2024-10-21 12:07:25.727849443 +0200 ++++ b/src/html/dune 2024-10-21 12:07:39.004685307 +0200 +@@ -4,7 +4,7 @@ + (name tiny_httpd_html) + (public_name tiny_httpd.html) + (flags :standard -open Tiny_httpd_core) +- (libraries seq tiny_httpd.core)) ++ (libraries tiny_httpd.core)) + + (rule + (targets html_.ml) diff --git a/dev-ml/tiny_httpd/tiny_httpd-0.16.ebuild b/dev-ml/tiny_httpd/tiny_httpd-0.16-r1.ebuild index a0453cacbc4c..559f87998011 100644 --- a/dev-ml/tiny_httpd/tiny_httpd-0.16.ebuild +++ b/dev-ml/tiny_httpd/tiny_httpd-0.16-r1.ebuild @@ -19,8 +19,9 @@ IUSE="camlzip ocamlopt test" RDEPEND=" >=dev-lang/ocaml-4.08 - dev-ml/result:= - camlzip? ( >=dev-ml/camlzip-1.06:= ) + dev-ml/logs:=[ocamlopt?] + dev-ml/result:=[ocamlopt?] + camlzip? ( >=dev-ml/camlzip-1.06:=[ocamlopt?] ) " DEPEND=" ${RDEPEND} diff --git a/dev-ml/tiny_httpd/tiny_httpd-0.17.0.ebuild b/dev-ml/tiny_httpd/tiny_httpd-0.17.0.ebuild new file mode 100644 index 000000000000..f0947b7f0508 --- /dev/null +++ b/dev-ml/tiny_httpd/tiny_httpd-0.17.0.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune multiprocessing + +DESCRIPTION="Minimal HTTP server with a small request router" +HOMEPAGE=" + https://github.com/c-cube/tiny_httpd + https://opam.ocaml.org/packages/tiny_httpd +" +SRC_URI="https://github.com/c-cube/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="camlzip ocamlopt test" + +RDEPEND=" + >=dev-lang/ocaml-4.08 + dev-ml/hmap:= + dev-ml/iostream:=[ocamlopt?] + dev-ml/logs:=[ocamlopt?] + dev-ml/result:=[ocamlopt?] + camlzip? ( >=dev-ml/camlzip-1.06:=[ocamlopt?] ) +" +DEPEND=" + ${RDEPEND} + test? ( + dev-ml/qtest + dev-ml/ounit2 + dev-ml/ptime + dev-ml/qcheck + net-misc/curl + ) +" + +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( camlzip )" + +PATCHES=( "${FILESDIR}"/${P}-noseq.patch ) + +src_compile() { + local pkgs="tiny_httpd" + use camlzip && pkgs="${pkgs},tiny_httpd_camlzip" + dune build -p "${pkgs}" -j $(makeopts_jobs) || die +} + +src_install() { + dune_src_install tiny_httpd + use camlzip && dune_src_install "tiny_httpd_camlzip" +} diff --git a/dev-ml/uucp/Manifest b/dev-ml/uucp/Manifest index e4ffebe703d8..73ed215e4393 100644 --- a/dev-ml/uucp/Manifest +++ b/dev-ml/uucp/Manifest @@ -1,2 +1,3 @@ DIST uucp-15.0.0.tbz 481932 BLAKE2B f8f23b8233e65b77dbea5defb968d253a022556b11f0276094fcdebe010fe5de99c36f581fee6aa3e54afadff62345fa5a3d6951ba0baba394f4ddae4175ba1c SHA512 ee4acff5666961766321e85e287fb9d5b8d50533319f22bf6f4eceb943242df2d0e0f4e775c4a140f68ca142837938eaa5926e22362215a3365ffe7f8768923b DIST uucp-15.1.0.tbz 499248 BLAKE2B 33dc1de451565b216445ead78c66c60e93a8853f27b3ab26a9fe9a71ee0b0f2b12c0ef964e0386eef1a2fb61ee6c03ce90feb970373990bc58ec1a111a734cd1 SHA512 998f94fadb72357b15a3042a3d11c31b3e16f281822673f2defdd515cd1394d55de1817628be8bd5c030175f9e62c53630d4139a1c0253800f9fb898b0f11364 +DIST uucp-16.0.0.tbz 509732 BLAKE2B a9618c15c7460d350707c34b0413fc472999dd2b597f543564e3d26db13d03c28288ea37ba10046d514a5508e6c2050f0a8504033d35be65bb3c0143fc91e120 SHA512 5c06d8cadb2b011b1e4ac52e14732044f6ab8e9c11e1184950ff8629b26bd173f1264247623a635b8aa4033e287bfe42d709994f19a3d79f7cbfd20158aa4992 diff --git a/dev-ml/uucp/uucp-16.0.0.ebuild b/dev-ml/uucp/uucp-16.0.0.ebuild new file mode 100644 index 000000000000..40a8fbfe03fb --- /dev/null +++ b/dev-ml/uucp/uucp-16.0.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +DEPEND=" + dev-ml/topkg + dev-ml/findlib +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-ml/ocamlbuild +" + +OPAM_FILE="opam" + +src_compile() { + ocaml pkg/pkg.ml build \ + --with-uunf false \ + --with-cmdliner true \ + || die "failed to run the pkg/pkg.ml ocaml compilation script" +} diff --git a/dev-ml/uuidm/Manifest b/dev-ml/uuidm/Manifest index c59ce5b27bed..adb7fce2280a 100644 --- a/dev-ml/uuidm/Manifest +++ b/dev-ml/uuidm/Manifest @@ -1,2 +1,3 @@ DIST uuidm-0.9.7.tar.gz 9258 BLAKE2B 37867ee562fcf5c44e0f40df53707a5066d74c185037049b4b4034326e1efa93543d518f6c9d5d27e9663f18d824f951d27952c844e1169d951abb7b91caeebb SHA512 7048e467bbd9eefd19ca057caadcc8f634d4eae7642665a84df88f726df3fb849085613d75a485272b0d0e19c9041c560a8c864e780dbed29ff68e3cfa8ba3d4 DIST uuidm-0.9.8.tar.gz 10079 BLAKE2B d441380dc3a4e326f777b2f9ed313cf3c27213ca5e1a02197fff40e3422df12a3451badf732b3dfae00eb8feb9fc72c137c9d5b0c20f7df4c17494d903e1b65c SHA512 af3ca7faa7eba04c4078ddc43eee6cd8a1e210127e18d1d97fbdd00b98729caab0b52a6a05c090061e05656ef321c5e07bab13113e656c5c8b5285f193f070a8 +DIST uuidm-0.9.9.tar.gz 14007 BLAKE2B 815197aae4f3ae47b70b33a13d73ae6e4461722f93dcb3baf83096837c3f075fa5297bc92edd07fd3b6be743bb29d72482228d8da7301f6bbd65c6325db736cb SHA512 432e95fa8167403794db63eb116f7c3695cb680b4b6141dd11f490a3b566bc4f736b2741ad55d40c040f2ec7515b91d0ada4618d1e7689d6e4f270ac57153f13 diff --git a/dev-ml/uuidm/uuidm-0.9.9.ebuild b/dev-ml/uuidm/uuidm-0.9.9.ebuild new file mode 100644 index 000000000000..d09999e9f6dc --- /dev/null +++ b/dev-ml/uuidm/uuidm-0.9.9.ebuild @@ -0,0 +1,25 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit opam + +DESCRIPTION="Universally unique identifiers (UUIDs) for OCaml" +HOMEPAGE="https://github.com/dbuenzli/uuidm/" +SRC_URI="https://github.com/dbuenzli/uuidm/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="+ocamlopt" + +BDEPEND=" + dev-ml/findlib[ocamlopt=] + dev-ml/ocamlbuild[ocamlopt=] + dev-ml/topkg +" + +src_compile() { + ocaml pkg/pkg.ml build || die +} diff --git a/dev-ml/uunf/Manifest b/dev-ml/uunf/Manifest index ccf497d91079..ffa57e6fc2c5 100644 --- a/dev-ml/uunf/Manifest +++ b/dev-ml/uunf/Manifest @@ -1,2 +1,3 @@ DIST uunf-15.0.0.tbz 42418 BLAKE2B add1dda2f6af07ccaec26d9715eddf31dc398f0cdae85eec0297bcbcd9f5e23f59846813d96e554d88b18096c9419490265c061bf5835a4b67daacf3938c2876 SHA512 204d923d4e8d910318180c15087fe53d98d8ec0a8d3c3f6c54219e5e09ee5c5bdf57585e5570d895f8d90647c4eeaa45d9e6e75d58edeb9febee053e0dd47fbc DIST uunf-15.1.0.tbz 43837 BLAKE2B 1af584fd25f1a1c0f15ba999ab11f155c607fdb54b208094d5586a274b54a823dab94a655ae0d80f6f75b90e1ef42d36295dc03dfb82d4c91fd9b6230689cb11 SHA512 1df1edbcb37da80e6d96eedd5e01c43c81275eca727a53d91a777d01f30cf0b964968c7be1d943e574e40ad4acb75c86e42976b3048dacb2c798b38475d0a6d0 +DIST uunf-16.0.0.tbz 44311 BLAKE2B 568801f6c2732f83cb9463a1de24a205380305980da8fd9d09463ddb0f5d070a90044416387de30c1ebd1801e64034beee5296013305558f123cc38f351b1f37 SHA512 55e6aa2c0190667467744991839ae1024aa539fc94d9b8dcbaf8fdefed4f77a274acd22f79354b48b4a7582f308dbaadf14991ffee0c2aaf6e16f8efd538b756 diff --git a/dev-ml/uunf/uunf-16.0.0.ebuild b/dev-ml/uunf/uunf-16.0.0.ebuild new file mode 100644 index 000000000000..108d409c5067 --- /dev/null +++ b/dev-ml/uunf/uunf-16.0.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2019-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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" + +DEPEND=" + dev-ml/cmdliner:= + dev-ml/topkg:= + dev-ml/uchar:= + dev-ml/uutf:= +" +RDEPEND=" + ${DEPEND} +" +BDEPEND=" + dev-ml/findlib +" + +OPAM_FILE="opam" + +src_compile() { + # Increase stack limit to 11GiB to avoid stack overflow error. + # bug #798270 + ulimit -s 11530000 + + ocaml pkg/pkg.ml build \ + || die "failed to run the pkg/pkg.ml ocaml compilation script" +} diff --git a/dev-ml/uuseg/Manifest b/dev-ml/uuseg/Manifest index 564878a67f1c..f0c85dc6760e 100644 --- a/dev-ml/uuseg/Manifest +++ b/dev-ml/uuseg/Manifest @@ -1,2 +1,3 @@ DIST uuseg-15.0.0.tar.gz 25540 BLAKE2B 4ee1512bde79aab4777395d3ccfb8fe76c97ba7e93b722acd7c36acac432a44a9eade512ea45a0204a1d947a60e3d61773de05890d64d7afac4b1965d1493bb3 SHA512 c117868d52ca8f5de3104b0ea25ea011c19cefd53018c4d9bdf900185d04f74c097b7f129b75366a8da905a79dac3cbf8e6c66ff6c20fee1c2e42b9cdd6a9fa6 DIST uuseg-15.1.0.tar.gz 25603 BLAKE2B fcf0817b60040eb9065c487d2e2ac4c8124c19eed09f80de2c874a5704a658a69f9f478dcf94647cfe433f9b2082119824085cac075469d2ab5fa77b0e2c8472 SHA512 959769f915edac4961e50fe7a7f866fe50bed31866e44c6240c95b58034efc4e06b7bfdf5a7c0a7d3f41f21f0979f7b470c9d26c1e37da19613d07d2ad93d829 +DIST uuseg-16.0.0.tar.gz 25725 BLAKE2B 17fda7018037a82fc053424aa499bda7c476a6575993bc2b37d87da1e1c0d203900f206308617ae8f080f6db978c7cc3fd87f344de8841f28df41b067291de5f SHA512 89a91eb83407daea72f664e093adf338e18b5b1f8ea030eecef49ae1ccfd660bf38f86edf74a0907a33540dfc12acfaafd038f894a74718cabe009a0177e58ce diff --git a/dev-ml/uuseg/uuseg-16.0.0.ebuild b/dev-ml/uuseg/uuseg-16.0.0.ebuild new file mode 100644 index 000000000000..21daa1c5d3d2 --- /dev/null +++ b/dev-ml/uuseg/uuseg-16.0.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit opam + +DESCRIPTION="Unicode text segmentation for OCaml" +HOMEPAGE="https://erratique.ch/software/uuseg/ + https://github.com/dbuenzli/uuseg/" +SRC_URI="https://github.com/dbuenzli/uuseg/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~x86" +IUSE="+ocamlopt test" +RESTRICT="test" + +RDEPEND=" + >=dev-lang/ocaml-4.14:= + dev-ml/cmdliner:=[ocamlopt?] + dev-ml/uucp:= + dev-ml/uutf:=[ocamlopt?] +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-ml/ocamlbuild + dev-ml/findlib + dev-ml/topkg +" + +src_compile() { + ocaml pkg/pkg.ml build --tests $(usex test true false) || die +} + +src_test() { + ocaml pkg/pkg.ml test || die +} diff --git a/dev-ml/xml-light/xml-light-2.5.ebuild b/dev-ml/xml-light/xml-light-2.5.ebuild index 6d190f97e1ad..359303fb8c2b 100644 --- a/dev-ml/xml-light/xml-light-2.5.ebuild +++ b/dev-ml/xml-light/xml-light-2.5.ebuild @@ -11,5 +11,5 @@ SRC_URI="https://github.com/ncannasse/${PN}/archive/refs/tags/${PV}.tar.gz -> ${ LICENSE="LGPL-2.1" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +KEYWORDS="amd64 arm arm64 ~ppc ppc64 ~riscv x86" IUSE="+ocamlopt" diff --git a/dev-ml/yojson/yojson-2.2.1.ebuild b/dev-ml/yojson/yojson-2.2.1.ebuild index 13f7fb0fb563..11214fae1428 100644 --- a/dev-ml/yojson/yojson-2.2.1.ebuild +++ b/dev-ml/yojson/yojson-2.2.1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://github.com/ocaml-community/${PN}/archive/${PV}.tar.gz LICENSE="BSD" SLOT="0/${PV}" -KEYWORDS="~amd64" +KEYWORDS="amd64" IUSE="examples +ocamlopt test" RESTRICT="!test? ( test )" diff --git a/dev-ml/yojson/yojson-2.2.2.ebuild b/dev-ml/yojson/yojson-2.2.2-r1.ebuild index e987fb1738dd..a7fa0df8fb96 100644 --- a/dev-ml/yojson/yojson-2.2.2.ebuild +++ b/dev-ml/yojson/yojson-2.2.2-r1.ebuild @@ -18,6 +18,7 @@ RESTRICT="!test? ( test )" RDEPEND=" dev-ml/sedlex:=[ocamlopt?] + dev-ml/ppxlib:=[ocamlopt?] !!<dev-ml/seq-0.3 " DEPEND="${RDEPEND}" diff --git a/dev-ml/zarith/zarith-1.14.ebuild b/dev-ml/zarith/zarith-1.14.ebuild index 71653713a899..6fd8ce772abc 100644 --- a/dev-ml/zarith/zarith-1.14.ebuild +++ b/dev-ml/zarith/zarith-1.14.ebuild @@ -13,7 +13,7 @@ S="${WORKDIR}/Zarith-release-${PV}" LICENSE="LGPL-2.1-with-linking-exception" SLOT="0/${PV}" -KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86" +KEYWORDS="amd64 ~arm ~arm64 ~ppc x86" IUSE="doc +ocamlopt" RESTRICT="!ocamlopt? ( test )" diff --git a/dev-ml/zmq/Manifest b/dev-ml/zmq/Manifest index df4e516c7a95..1ff83498af0c 100644 --- a/dev-ml/zmq/Manifest +++ b/dev-ml/zmq/Manifest @@ -1 +1,2 @@ DIST ocaml-zmq-5.2.1.tar.gz 33027 BLAKE2B 935468c29394abaac36fdea922f82b525f0cdaf35365b893a0186cc54e9b0a4e3fa25a9d8362addad52e89a3b930d36974590c481647c19a55fca8fdfef68bf3 SHA512 85d1b16f8e9d6abc24e175b7dd3574585f4d854f5355bb67797f8651eea3f0835ade03a28d5d9e8dbd5cb5573f517e271854099ee91a79835c2d84076983dff4 +DIST ocaml-zmq-5.3.0.tar.gz 35119 BLAKE2B ce5a51ccbf6cab1d500adaa08dbab39fc9fe90d6c1173af7388ff8d4f7ebe11158d944368179b1d350b140baeee8b63a5bd5cafdb663b7df3f2754c10bdbf1f3 SHA512 7db98b584fb86574eb925871ffac0751d5bb17a56e6945fe10349ef9455f90f0971bac5102bd5a6fe4c7a2067ccd88b99643a2f27257b009f489e457e03d0726 diff --git a/dev-ml/zmq/zmq-5.3.0.ebuild b/dev-ml/zmq/zmq-5.3.0.ebuild new file mode 100644 index 000000000000..de9b7c6b4992 --- /dev/null +++ b/dev-ml/zmq/zmq-5.3.0.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="OCaml bindings for ZeroMQ 4.x" +HOMEPAGE="https://github.com/issuu/ocaml-zmq/" + +if [[ ${PV} == *9999* ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/issuu/ocaml-zmq.git" +else + SRC_URI="https://github.com/issuu/ocaml-zmq/archive/${PV}.tar.gz + -> ocaml-zmq-${PV}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi +S="${WORKDIR}"/ocaml-zmq-${PV} + +LICENSE="MIT" +SLOT="0/${PV}" +IUSE="+ocamlopt test" +RESTRICT="!test? ( test )" + +RDEPEND=" + net-libs/zeromq:= +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-ml/dune-configurator + test? ( dev-ml/ounit2 ) +" + +src_compile() { + dune-compile ${DUNE_PKG_NAME} +} + +src_test() { + dune-test ${DUNE_PKG_NAME} +} |