diff options
author | V3n3RiX <venerix@koprulu.sector> | 2025-02-09 00:12:01 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2025-02-09 00:12:01 +0000 |
commit | b95a6fd4a7b591baa7cfc689f8ce5643592d07be (patch) | |
tree | 6a7c4722b40bdb6c409879ce253d8b42817fec14 /sci-mathematics/coq | |
parent | 8b3c41ecef8a1cdd270ce3aabcfdfb991839699c (diff) |
gentoo auto-resync : 09:02:2025 - 00:12:00
Diffstat (limited to 'sci-mathematics/coq')
-rw-r--r-- | sci-mathematics/coq/Manifest | 6 | ||||
-rw-r--r-- | sci-mathematics/coq/coq-8.17.1.ebuild | 122 | ||||
-rw-r--r-- | sci-mathematics/coq/coq-8.19.2.ebuild | 4 | ||||
-rw-r--r-- | sci-mathematics/coq/coq-8.20.0.ebuild | 4 |
4 files changed, 130 insertions, 6 deletions
diff --git a/sci-mathematics/coq/Manifest b/sci-mathematics/coq/Manifest index daefd4ddc0dd..22b204260021 100644 --- a/sci-mathematics/coq/Manifest +++ b/sci-mathematics/coq/Manifest @@ -1,5 +1,7 @@ +DIST coq-8.17.1.tar.gz 7506035 BLAKE2B 29b5b11666185ec293f50264f5a8ad66433c3ce05d74128b524f6fc3c6810551fe76d11d6f9db7d3741b829ac8bacb66948aad522d0cd2c487692c3df8b563ff SHA512 9a35311acec2a806730b94ac7dceabc88837f235c52a14c026827d9b89433bd7fa9555a9fc6829aa49edfedb24c8bbaf1411ebf463b74a50aeb17cba47745b6b DIST coq-8.19.2.tar.gz 7678311 BLAKE2B 5f9617fbe0127b0c8357c63f331ba3e9fb5a931be9a4a8e8de2e27820a0d986bf99ed9a512740a0f721c742504225ae56e240af893510aa0e449931499d10aab SHA512 91bc81530fa4f6498961583ad51eac5001f139881788b88e360a866ad8e2a6e2c5bce86d1a580ab4cd4782bf49d48318767df82471ce33ba3ac143e5569ad33c DIST coq-8.20.0.tar.gz 7839432 BLAKE2B 9b489db0cc6874b0a629f3bdb4b503201005ec95a3375441538cd7e51d371a39561b9d0ab23ac485652782fdc7ae8d90c97ca1ff4d9a85fb8727a39ed4a6f48c SHA512 1a7eac6e2f58724a3f9d68bbb321e4cfe963ba1a5551b9b011db4b3f559c79be433d810ff262593d753770ee41ea68fbd6a60daa1e2319ea00dff64c8851d70b -EBUILD coq-8.19.2.ebuild 2483 BLAKE2B ce2870e40fe70f113cb52eea1a7b5771bee4180d0a58e4bfb539feb0c499531b2dc1388066f33bb7024d77c5efc8541d3e545e86568e58cec12c48eaa9f8360d SHA512 49605fd89331d80ac24bd886f1b96ffbf9ad17c0ffec3dfe2ac0bda2176853f10e023708a02ccffbcda2c0f2a9443e921a44e2745446ac13181aada4c5aebb97 -EBUILD coq-8.20.0.ebuild 2895 BLAKE2B 537f16925a0b630a4fec48a5503aa3e10a8a225aca594d2cdd529f6ede52bdca5b6139b9556daba827f8283278827a013438ce4b4ce5153c038a01b79b774ac9 SHA512 c24c2a9d573a348ca6934de093b281c84de698b95355714f9d8d7d9d81d1d945eafa869370f9847731e4d930ae10e77600581aa3d27be6cace6adfaaa4f62323 +EBUILD coq-8.17.1.ebuild 2491 BLAKE2B cc88e3c71a041b67cbb100551f78c168111e77c7d8b5e3219331b629af909cc80be4a3ef2651fd1705f37505e5df80de5ae0a802f3e8b33a7fa97cc9d1fbaf0e SHA512 b532cd7cecb6279f077a94ddc3dfb579243361f4d3eeb4690467fd3e79e7e8de43c98b9293264733345ca9e4716edd268e6ad68c344d24d3d46b5b9ea823280f +EBUILD coq-8.19.2.ebuild 2490 BLAKE2B 256cdcc9dd137a45d00f29b7d3f426231b3da7ea3b83a1f6fc6d7a488b74a3d960bbe64fe9086c9d966e286451f6a5db395d508ca269c5468db36349386b5a92 SHA512 ef1951b26bd3e181b7f496dcd4d083bd4d2a7a72a49b5d7001deaa3e2f148080ff3c40a3fbdfc5feff380ce41df5bb611e71bdd7ebd08a240e0cc963650adecf +EBUILD coq-8.20.0.ebuild 2902 BLAKE2B f733906f095c446825c9266a9dcd302325a9ea7e516362a7fd99cf6290797660a6a2e500e516544187c046f613076f5b970fd8b55aaf615312620929f7a0379f SHA512 d1d2bd27a3fe7b98bb8dae6bf4dbbeaad8721fa0f0193b23427520c10d6fb642026fd2a9f7f8293363ee9226bf4fa68ef70fdff188b691a8299cfe9f00f4e579 MISC metadata.xml 1047 BLAKE2B 9f6defdf213139ee6549bc8f3b36ce5e8f53ea73bd5aad9262932cbaea7e90bd97c9ffc9dbbd03ac50097c5a6f19f5ddf00dd2b74cc6a5349faf1b597244fb67 SHA512 0f5bfbdd9ffd6f64379e697ed7cf90c2d9257cd1815e520aa14235f1cb399d20fc863221a0cae803cc88e5975be964b9debc3d750a6378ea157146f2e567c5dc diff --git a/sci-mathematics/coq/coq-8.17.1.ebuild b/sci-mathematics/coq/coq-8.17.1.ebuild new file mode 100644 index 000000000000..f9f1b9c3cb76 --- /dev/null +++ b/sci-mathematics/coq/coq-8.17.1.ebuild @@ -0,0 +1,122 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +MY_PV="${PV/_p/pl}" +MY_P="${PN}-${MY_PV}" + +inherit check-reqs desktop dune edo + +DESCRIPTION="Proof assistant written in O'Caml" +HOMEPAGE="http://coq.inria.fr/ + https://github.com/coq/coq/" +SRC_URI="https://github.com/coq/coq/archive/V${MY_PV}.tar.gz + -> ${P}.tar.gz" +S="${WORKDIR}/${MY_P}" + +LICENSE="LGPL-2.1" +SLOT="0/${PV}" +KEYWORDS="~amd64 ~arm64 ~x86" +IUSE="debug doc gui +ocamlopt test" + +# TODO: Lots of failing tests. Maybe investigate later. +# RESTRICT="!test? ( test )" +RESTRICT="test" + +RDEPEND=" + dev-ml/num:= + dev-ml/zarith:= + gui? ( + >=dev-ml/lablgtk-3.1.2:3=[sourceview,ocamlopt?] + >=dev-ml/lablgtk-sourceview-3.1.2:3=[ocamlopt?] + ) +" +DEPEND=" + ${RDEPEND} +" +BDEPEND=" + dev-ml/findlib + doc? ( + >=dev-java/antlr-4.7:4 + dev-python/antlr4-python3-runtime + dev-python/beautifulsoup4 + dev-python/pexpect + dev-python/sphinx-rtd-theme + dev-python/sphinxcontrib-bibtex + dev-tex/latexmk + dev-texlive/texlive-fontsextra + dev-texlive/texlive-latexextra + dev-texlive/texlive-xetex + media-fonts/freefont + ) + test? ( + dev-ml/ounit2 + ) +" + +CHECKREQS_DISK_BUILD="2G" + +DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md CREDITS INSTALL.md README.md ) +DUNE_PACKAGES=() + +src_prepare() { + # Remove failing tests. bug #904186 + rm -r test-suite/coq-makefile/timing || die + + default +} + +src_configure() { + export CAML_LD_LIBRARY_PATH="${S}/kernel/byterun/" + + DUNE_PACKAGES=( + coq-core + coq-stdlib + coqide-server + coq + ) + use gui && DUNE_PACKAGES+=( coqide ) + + emake clean + + local -a myconf=( + -prefix /usr + -libdir "/usr/$(get_libdir)/coq" + -mandir /usr/share/man + -docdir "/usr/share/doc/${PF}" + -datadir /usr/share/coq + -configdir "/etc/xdg/${PN}" + -native-compiler "$(usex ocamlopt yes no)" + ) + use debug && myconf+=( -debug ) + edo sh ./configure "${myconf[@]}" +} + +src_compile() { + emake DUNEOPT="--display=short --profile release" VERBOSE=1 dunestrap + + dune-compile "${DUNE_PACKAGES[@]}" + + use doc && emake refman-html +} + +src_install() { + dune-install "${DUNE_PACKAGES[@]}" + + if use gui ; then + make_desktop_entry coqide "Coq IDE" "${EPREFIX}/usr/share/coq/coq.png" + fi + + local ocamlc_where + ocamlc_where="$(ocamlc -where)" + + # Dune installs into /usr/<libdir>/ocaml/<coq> but + # Coq wants /usr/<libdir>/<coq> ; symlink those directories + local sym + for sym in "${DUNE_PACKAGES[@]}" ; do + dosym "${ocamlc_where}/${sym}" "/usr/$(get_libdir)/${sym}" + done + + einstalldocs +} diff --git a/sci-mathematics/coq/coq-8.19.2.ebuild b/sci-mathematics/coq/coq-8.19.2.ebuild index 4be3a3484836..b18c93f1bb56 100644 --- a/sci-mathematics/coq/coq-8.19.2.ebuild +++ b/sci-mathematics/coq/coq-8.19.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ S="${WORKDIR}/${MY_P}" LICENSE="LGPL-2.1" SLOT="0/${PV}" -KEYWORDS="amd64 ~x86" +KEYWORDS="amd64 ~arm64 ~x86" IUSE="debug doc gui +ocamlopt test" # TODO: Lots of failing tests. Maybe investigate later. diff --git a/sci-mathematics/coq/coq-8.20.0.ebuild b/sci-mathematics/coq/coq-8.20.0.ebuild index ed305875cdd0..67166c74be15 100644 --- a/sci-mathematics/coq/coq-8.20.0.ebuild +++ b/sci-mathematics/coq/coq-8.20.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -17,7 +17,7 @@ else SRC_URI="https://github.com/coq/coq/archive/V${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="amd64 ~x86" + KEYWORDS="amd64 ~arm64 ~x86" fi LICENSE="LGPL-2.1" |