diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-03 03:04:04 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-03 03:04:04 +0000 |
commit | 212000bb5eabdfeb9a6e7a9b8f28e2740cae555a (patch) | |
tree | dbbe26e892147b95a24336cc44d791dbe0c0ce5f /dev-ml/dune | |
parent | 37a097af13d675b83911ac006ee9ee22d2163f9a (diff) |
gentoo auto-resync : 03:11:2024 - 03:04:03
Diffstat (limited to 'dev-ml/dune')
-rw-r--r-- | dev-ml/dune/Manifest | 2 | ||||
-rw-r--r-- | dev-ml/dune/dune-3.16.1.ebuild | 70 |
2 files changed, 72 insertions, 0 deletions
diff --git a/dev-ml/dune/Manifest b/dev-ml/dune/Manifest index 1ea2d3cae670..f113074e0cd9 100644 --- a/dev-ml/dune/Manifest +++ b/dev-ml/dune/Manifest @@ -4,9 +4,11 @@ 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 EBUILD dune-2.8.4.ebuild 925 BLAKE2B aaf039c23fdec35db8eafa1362e05e0a0007b4d5a59483726cffdd4c3f2738ab53cae26451001fa051fe46444f29d08ffd3e22233acaa3280db2c761822c1295 SHA512 175a4b03a248ade24a4a0fc232d13364f5332f9cd686056710dd1fce04b27ac59d81b3844ef1476867f3c5f646167dc40ada4609afc5594ac721ca5f216670a7 EBUILD dune-2.9.1.ebuild 904 BLAKE2B f98314d3cd1daa6fd08610daee2695a30b4c751bc1d060aad8b99b8e3e138fbe9751a92b5df3e1d1f62a8235b509ed884c75f2e11673d8a8a3cb50ddc414bdd2 SHA512 10a59aa34098669ca0d6d6a568cc63d124fd174850bb66591e9798b452629cc7647d6204050a4fbda2db394782c17590155467d798783018ff1205cde4b92e0e EBUILD dune-2.9.3-r3.ebuild 1264 BLAKE2B a38c604ee7d3af231344f66fa0f72e4f55ac93813110de4d72b6c2fae9f3c8e16cba485a4ab512d997767aad730137c39332906cdf8c5d8e5d1119794dadd1b2 SHA512 a7913eae88b0502c0b925454a7d8db6904e90a0b6680ac0b566fcab9859e96952ec3cf1f6aee48f2d1333fe3a433dcb70c910b5439c451fea69852521a2708e3 EBUILD dune-3.13.1.ebuild 1642 BLAKE2B 133eef4ad3c190ae5aa6d52e784a470dbbe42db2a1d2eb83e58ec80b6553087f8529c741f6645e42a2bf9d1489ec90d993a8b9fb154901ee94939733b08353b4 SHA512 a15f357b7f5f4cb388f1173ee7e7285d94af85a4f16215fd424b22d40c164ce1db4ce55aaeffa929f33ef49210a5b54994470538c809ac9a26b873dc0cba99d2 EBUILD dune-3.16.0.ebuild 1637 BLAKE2B 875a93fdfbfc24e5368009fca7d8e049754936833186f4c36ee51532ac40adb0c33ec1ec1b37a30c185025bb4481e42ea57f84aa0f1dfd3dafadc9cfac874b40 SHA512 21234d7b3b0423482c656c91466e9939c5844b3f10a225a9b41ca011be9b9cd3ca27ed16f0a9362206a8839d55805de4a0adaf7848699b7ad5bb41213a542671 +EBUILD dune-3.16.1.ebuild 1642 BLAKE2B 133eef4ad3c190ae5aa6d52e784a470dbbe42db2a1d2eb83e58ec80b6553087f8529c741f6645e42a2bf9d1489ec90d993a8b9fb154901ee94939733b08353b4 SHA512 a15f357b7f5f4cb388f1173ee7e7285d94af85a4f16215fd424b22d40c164ce1db4ce55aaeffa929f33ef49210a5b54994470538c809ac9a26b873dc0cba99d2 MISC metadata.xml 308 BLAKE2B 555692890c7fe4dee18d07e140384b70278e2a4a0230916a01ab9e5306776e0ed0d979e9a3487423fa1779a166da3038dca13273811e36593bb2b821b60cdfe0 SHA512 e50e28cb6f41fda295f12af1b94aba12dda8a7091322c0e7093d19ee60615d449bc1806354043e572d70aff1284e16b644b188911adbca60a2a5c8299fcee748 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 +} |