diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-10 23:37:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-10 23:37:47 +0100 |
commit | 6990d0600970cefe6aa2c17668f9028b08d23441 (patch) | |
tree | b106c69cf74dd70e162c879310bdf2fd49a16f6a /sci-mathematics/coq | |
parent | c7c8d625ecbe5f95c445995303ed9b0e1f0de507 (diff) |
gentoo auto-resync : 10:04:2023 - 23:37:47
Diffstat (limited to 'sci-mathematics/coq')
-rw-r--r-- | sci-mathematics/coq/Manifest | 2 | ||||
-rw-r--r-- | sci-mathematics/coq/coq-8.17.0.ebuild | 103 |
2 files changed, 105 insertions, 0 deletions
diff --git a/sci-mathematics/coq/Manifest b/sci-mathematics/coq/Manifest index 97a4405ba06a..470ae352b193 100644 --- a/sci-mathematics/coq/Manifest +++ b/sci-mathematics/coq/Manifest @@ -3,9 +3,11 @@ DIST coq-8.13.0.tar.gz 7010242 BLAKE2B bf9ec96b6698a2371be3164f65424a8ffb273252a DIST coq-8.15.2.tar.gz 7222794 BLAKE2B 2f187982a56cb0a512af838ee321b245f9a44b0c32f5413aafcef8e5b7f933e9b05ba521c3e681a6c6973ca2b7ec5965a8b69b2febb978ce7cf246755187f656 SHA512 6a5487912dedb6e54145bf3f177a091cffe13429ba2f73db7c1cc241fe10e86340c968e19cefba7d680facce55f4e914cbd16a317264b109a6f9a01ec822a8c5 DIST coq-8.16.0.tar.gz 7397421 BLAKE2B 25b94002c4d1d1266ef948f0276df74d6a60c5b5100c7126232e0e33642be3ec14f33acfff5d0d5c17681676338374f694ca7c8c35200e522e480c3791f69dd8 SHA512 f324b68efcec0680a52c92d6e2fdd340a0e360e7d56d7fc3b4b781af3bec923d2fa2fdbb139b07d2253568a657a09c0d3da4cd5bdf984a6ab913e606056df4b3 DIST coq-8.16.1.tar.gz 7401345 BLAKE2B fa6bbcd6b4ee29feaf7475f58193209afeae0bf8b6e3640f2f1cf40dfcee7d7f1fb3f371e8790b8d11c993b5f234e9175f1f5036a7286b7c6569720ddd3985f7 SHA512 e9c82f1a180c2e3946628e8e039999a1841397a5b4cd77f158de69876fa43b5c0f61ce76c510cc2b2f646a489110aea59da452b88ddd7850d1eab4105f1382f5 +DIST coq-8.17.0.tar.gz 7504612 BLAKE2B 90ff0e187e13a6501580733f0e92dbaba0ddc520b418246c743f0c282e74cee3e1d69ad0249cddfd5b8f3ba363bc58cb91aad33d0936ae38afde0f4c97d47a72 SHA512 2f77bcb5211018b5d46320fd39fd34450eeb654aca44551b28bb50a2364398c4b34587630b6558db867ecfb63b246fd3e29dc2375f99967ff62bc002db9c3250 EBUILD coq-8.12.0-r2.ebuild 1847 BLAKE2B 57496afca08cfde63635e873dc6d59d32356daa211d8a140820e07398f54bb38c114ac5ae5ad7ad101a6514117dc469783d3964aae18b27a54b18330087e5f49 SHA512 84fee1004970f88cfccc28717d75fad765dbe8b27ac7dae964e5729e47727f846ac69417bb5c585a68668396896c52a5f8421dbf77e73065d8ac7b9793f4900f EBUILD coq-8.13.0-r1.ebuild 1821 BLAKE2B 785a17783ee06916fa171449aebc1e54437f878656862e3cec93f1499097e80b57994e37dc597ff571dbe5d45fc19b984e1d10baf8b0b61e2a7c8cfd6b851d35 SHA512 e35a981b036d089afe934a9bcfc96da2d965fa17b8c90e38b8fe2194f9aaf1b693ceead2b26e77c1e4ee4ae23124bcba9aafdb6f17c5fa5ba0fa955b16c1fda5 EBUILD coq-8.15.2.ebuild 2396 BLAKE2B ab3d17a65d8b2433bf22dc78c5f6612064dee6b438b6c9d307fb4c3699f5ff876fc7ee1410681b64eebd09a806d0c31edd41914deed6778c59db97b9404be117 SHA512 247f3b614b470d567f957a7ad3cca79dbbe17578d6f9ec3382c2a3315a2c05be639c992ed6335c3ea13697822d8acdee5b9301df47c177cac2770e986f453817 EBUILD coq-8.16.0.ebuild 2412 BLAKE2B 1bafcb550666d84c80a36fe90e2fc127bf023e711a7ba5cad21e20406253253ae5bd43315c6619665c1cd34a76b0793c26e0519031bf252b491335bd41020acb SHA512 8d4c2fe2e6a48e3fa4ce3ebaffd3b20bb43dfc1a7ba364ea8f20a7d71dacae15d7298e86c42a09dacc6599980dde7cb760172ccfe63e72fe55d3bcc11c3963d1 EBUILD coq-8.16.1.ebuild 2412 BLAKE2B 1bafcb550666d84c80a36fe90e2fc127bf023e711a7ba5cad21e20406253253ae5bd43315c6619665c1cd34a76b0793c26e0519031bf252b491335bd41020acb SHA512 8d4c2fe2e6a48e3fa4ce3ebaffd3b20bb43dfc1a7ba364ea8f20a7d71dacae15d7298e86c42a09dacc6599980dde7cb760172ccfe63e72fe55d3bcc11c3963d1 +EBUILD coq-8.17.0.ebuild 2150 BLAKE2B 229bb427e956cba5ea77d8f305cbd39d98800bdb7d0257b1ab8b78adae218f79314f40752128c2c7df1fbf36b3db89a0eb4dead11ae6e2c2b11d2e2b7cd8c4e6 SHA512 e3c06b7bc539ffd12c2f185a38f9ae83dc486e12438153ec19c884d078a93d8bb258ce9169bc128f01197382beafc2a254c22f6f0b1301e55f635c83bc8616d9 MISC metadata.xml 1047 BLAKE2B 9f6defdf213139ee6549bc8f3b36ce5e8f53ea73bd5aad9262932cbaea7e90bd97c9ffc9dbbd03ac50097c5a6f19f5ddf00dd2b74cc6a5349faf1b597244fb67 SHA512 0f5bfbdd9ffd6f64379e697ed7cf90c2d9257cd1815e520aa14235f1cb399d20fc863221a0cae803cc88e5975be964b9debc3d750a6378ea157146f2e567c5dc diff --git a/sci-mathematics/coq/coq-8.17.0.ebuild b/sci-mathematics/coq/coq-8.17.0.ebuild new file mode 100644 index 000000000000..baa5f98e70ae --- /dev/null +++ b/sci-mathematics/coq/coq-8.17.0.ebuild @@ -0,0 +1,103 @@ +# Copyright 1999-2023 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 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 ~x86" +IUSE="debug doc gui +ocamlopt" + +RDEPEND=" + dev-ml/zarith:= + || ( + dev-ml/num + <dev-lang/ocaml-4.09.0[ocamlopt?] + ) + 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 + ) +" + +DOCS=( CODE_OF_CONDUCT.md CONTRIBUTING.md CREDITS INSTALL.md README.md ) + +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 ) + edob 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 + + # 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 +} |