diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-11-20 03:02:59 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-11-20 03:02:59 +0000 |
commit | 8a5f3383bbc5f817d89554020a3600d06985bc4a (patch) | |
tree | c1f7e85e7de87c74b4c730fab5369051cef5cb32 /sci-mathematics | |
parent | f2e359c456b051f95efc92e21299d55a302e58ed (diff) |
gentoo auto-resync : 20:11:2024 - 03:02:59
Diffstat (limited to 'sci-mathematics')
-rw-r--r-- | sci-mathematics/Manifest.gz | bin | 19656 -> 19660 bytes | |||
-rw-r--r-- | sci-mathematics/coq-serapi/Manifest | 2 | ||||
-rw-r--r-- | sci-mathematics/coq-serapi/coq-serapi-0.19.0.ebuild | 76 | ||||
-rw-r--r-- | sci-mathematics/coq/Manifest | 4 | ||||
-rw-r--r-- | sci-mathematics/coq/coq-8.19.0.ebuild | 122 | ||||
-rw-r--r-- | sci-mathematics/coq/coq-8.19.1.ebuild | 122 | ||||
-rw-r--r-- | sci-mathematics/why3/Manifest | 2 | ||||
-rw-r--r-- | sci-mathematics/why3/why3-1.7.2.ebuild | 107 |
8 files changed, 109 insertions, 326 deletions
diff --git a/sci-mathematics/Manifest.gz b/sci-mathematics/Manifest.gz Binary files differindex e553be480c35..bc29b07e7391 100644 --- a/sci-mathematics/Manifest.gz +++ b/sci-mathematics/Manifest.gz diff --git a/sci-mathematics/coq-serapi/Manifest b/sci-mathematics/coq-serapi/Manifest index b5943328f02f..38d4086a6458 100644 --- a/sci-mathematics/coq-serapi/Manifest +++ b/sci-mathematics/coq-serapi/Manifest @@ -1,7 +1,5 @@ AUX 50sertop-gentoo.el 85 BLAKE2B d06e7c0823a3bedbf5f9c91ea8ea26bc9ed9d2ea44030316a1f3d65c19e51d874f03c845af5ae8237a9562cff7c81e24196c5ae29e54d79d1ba322f51904ba5d SHA512 42e61d798800d2e4c7e0702bdff53401a06ff6def54a1c7c0a8a6fd3e6a2f502c48bc84a04356818aa2ec5241bdd63b407837df123bfad76fafb78cf8a5a6cca AUX coq-serapi-0.19.0-sertop-el.patch 303 BLAKE2B 106d44d3dc7e0e6400861382e582734111a2e64ab018d78722214d2858a0449e9f519fc7119893a78615e2d9afb5f481446141714a6f288cda6236f0d1156b01 SHA512 038508239e54194ff70207611c517c5f46ecb323f0492c3cd901492bc717995753dea6dd003228de7d2ccde2aaf8d87033cb5fd4271fd6f1504a00ea7de0eb82 -DIST coq-serapi-0.19.0.tar.gz 180779 BLAKE2B 27083a851139e983158b4cb251d37971d0eec61dd91303a0d09512e690c56a75624dab8c5120eebaed1e7bb168d0b2b889d538854812506c4d0a804f7bee7423 SHA512 e01706beb957315011682f2f74448e66c7a8a077418eeaf7d3fa21414bdf88950b75adbfe2392656e4d6036ce6585d4d53b1dadfd8379249b2943ea389c9c83e DIST coq-serapi-0.20.0.tar.gz 182481 BLAKE2B 0483eb7023c67b42def13d23ceec7375d4a575f58ef0b6ed39cbcf8c8f76633c74c83bdebff18b7a777d90beeb20d03c38f20cff525afd1822db31c4a168d413 SHA512 00f8ff851c1b99f45761d098af51949f9a6844d05e23b2cede795bb4f93a9a0a753b45c38271537b257f0ec9cd7538be251174eff483a89cd57889f40a358c27 -EBUILD coq-serapi-0.19.0.ebuild 1506 BLAKE2B 3d4fa121e18fce87c36d18c07fb74e3b476923f70297a9379ec33cf8226c784ed701de068d73739437fed6efc669f49ee71efcb869d7f249fa97b70df4f78f25 SHA512 d7b63c62d34855d298f6129dff53ca46bb805a0714719111d95611bc39d6c2db77db9d0404edc50145ae14beebe53a7acd214be42ba62720c8e3d6d2d78bf818 EBUILD coq-serapi-0.20.0.ebuild 1631 BLAKE2B a55991677a6b688de88659d22920ad87d0941c6cdc9f80337af1aba008a7defa9435b49ae6879ff26c352211fc7528ad2ab023b2d4e7bcab3426d0219d50de64 SHA512 3619ab65129df0f07d1aeb54349f03c1b44dd1c13f43a87ff0834a6b599bbdad481c0c91954935d03e7dd4bec22a62aa09d3288509840bbf27bd801997b98cfa MISC metadata.xml 935 BLAKE2B e1444df414ce499df466597f5e0949e8ebf2d6da23d77028546324109659f58c5f0284a315ea062410a2f2e4631aac8d3564664719e89d76ad6ded9bb8ba7a5f SHA512 172fedbb2aa42e2be9aff426d64fcd69d2dfa206bb0e6072c6ecdc14a1923a2f0676303d8d8aebfe9a3e96e0a1e89185d2d4952bdb9ba1fff44b3891f26d6bf7 diff --git a/sci-mathematics/coq-serapi/coq-serapi-0.19.0.ebuild b/sci-mathematics/coq-serapi/coq-serapi-0.19.0.ebuild deleted file mode 100644 index ed213e2d76e6..000000000000 --- a/sci-mathematics/coq-serapi/coq-serapi-0.19.0.ebuild +++ /dev/null @@ -1,76 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -COQ_MIN_V=8.19.0 -COQ_MAX_V=8.20.0 - -inherit dune elisp-common - -DESCRIPTION="Serialization library and protocol for interaction with the Coq proof assistant" -HOMEPAGE="https://github.com/ejgallego/coq-serapi/" - -# The tarball in SRC_URI is comprised of <supported coq>+<package version> -SRC_URI="https://github.com/ejgallego/${PN}/archive/${COQ_MIN_V}+${PV}.tar.gz - -> ${P}.tar.gz" -S="${WORKDIR}/${PN}-${COQ_MIN_V}-${PV}" - -LICENSE="GPL-3+" -SLOT="0/${PV}" -KEYWORDS="~amd64" -IUSE="emacs +ocamlopt test" -RESTRICT="!test? ( test )" - -RDEPEND=" - >=sci-mathematics/coq-${COQ_MIN_V}:= <sci-mathematics/coq-${COQ_MAX_V}:= - >=dev-ml/ppx_sexp_conv-0.13.0:= - dev-ml/cmdliner:= - dev-ml/ppx_compare:= - dev-ml/ppx_deriving:= - dev-ml/ppx_deriving_yojson:= - dev-ml/ppx_hash:= - dev-ml/ppx_import:= - dev-ml/sexplib:= - dev-ml/yojson:= -" -DEPEND=" - ${RDEPEND} -" -BDEPEND=" - emacs? ( - >=app-editors/emacs-23.1:* - ) - test? ( - sci-mathematics/coq-mathcomp - ) -" - -PATCHES=( "${FILESDIR}/${PN}-0.19.0-sertop-el.patch" ) - -SITEFILE="50sertop-gentoo.el" - -src_compile() { - dune_src_compile - - use emacs && elisp-compile sertop/*.el -} - -src_install() { - dune_src_install - - rm -r "${ED}/usr/share/emacs" || die - - if use emacs ; then - elisp-install "${PN}" sertop/*.el{,c} - elisp-site-file-install "${FILESDIR}/${SITEFILE}" - fi -} - -pkg_postinst() { - use emacs && elisp-site-regen -} - -pkg_postrm() { - use emacs && elisp-site-regen -} diff --git a/sci-mathematics/coq/Manifest b/sci-mathematics/coq/Manifest index f655d2918323..937ffb5bf1c6 100644 --- a/sci-mathematics/coq/Manifest +++ b/sci-mathematics/coq/Manifest @@ -1,9 +1,5 @@ -DIST coq-8.19.0.tar.gz 7674352 BLAKE2B 195040c01797ac9ce67611e0c96a4601e0a48966e094e868b9f3644aa9f75fa85adf0e2e6340a14ae0a0598b746f5ad989d8f10736cd2d3852a449f6f79d2c93 SHA512 02fb5b4fb575af79e092492cbec6dc0d15a1d74a07f827f657a72d4e6066532630e5a6d15be4acdb73314bd40b9a321f9ea0584e0ccfe51fd3a56353bd30db9b -DIST coq-8.19.1.tar.gz 7675945 BLAKE2B 62ee346f50d0a22ab217a8e689c3078347519d159619b75f20a8decace356b49c60bcd5b2cec5fbcaffc758a8944f8a7940298df1c0ddddfbd858ed9269c12f3 SHA512 ec8379df34ba6e72bcf0218c66fef248b0e4c5c436fb3f2d7dd83a2c5f349dd0874a67484fcf9c0df3e5d5937d7ae2b2a79274725595b4b0065a381f70769b42 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.0.ebuild 2491 BLAKE2B ee610273d5294b25e7aa48cfb048b99af86aef21fb8d3c21019da509c82912b4f6624ae5076a694d98eb3679e9eba7ef138cb12a8ba0f938ce7ecbe4aacf6027 SHA512 498a461e9bc69016aab3abc5578bbd2367322dc14f8c2db9293a246022a4d8065dd06966741db3ae45365b3c1049703f85a9cef42416a8be3ed469dc4d80233e -EBUILD coq-8.19.1.ebuild 2492 BLAKE2B 1c1d296a61f57bf8e5120aa8e70dce382548cc55a8c1365c1e85b33080e3fd346ea1b904e9440af465c67416b83f4b4e538ec558ce0b8c10ec42a94efee7e0f8 SHA512 9783ef6098d6028dd207a239796916ed90d8eab01429c4fded5e25f0a1c776f1c9dc0bac9f15e4d0847ad5d915bb69760937347cb6f295806f61af95cec2199b EBUILD coq-8.19.2.ebuild 2483 BLAKE2B ce2870e40fe70f113cb52eea1a7b5771bee4180d0a58e4bfb539feb0c499531b2dc1388066f33bb7024d77c5efc8541d3e545e86568e58cec12c48eaa9f8360d SHA512 49605fd89331d80ac24bd886f1b96ffbf9ad17c0ffec3dfe2ac0bda2176853f10e023708a02ccffbcda2c0f2a9443e921a44e2745446ac13181aada4c5aebb97 EBUILD coq-8.20.0.ebuild 2896 BLAKE2B 0b241fec6dd165b83fa07c0708b03461ceebbf800fd6501936c8c36e7c9a0f42c6c01594c1ee48903b535dbd65a2fc389bd4bdb66e98ffe926a78fe302e4acec SHA512 5d4d0a01cf012f142cb341d63c2c19ea05be45c2605ca2a2ebe92a9773703d046927318371afc5804187546e0a60daa225b20df05428f721dd04e964a4dc1378 MISC metadata.xml 1047 BLAKE2B 9f6defdf213139ee6549bc8f3b36ce5e8f53ea73bd5aad9262932cbaea7e90bd97c9ffc9dbbd03ac50097c5a6f19f5ddf00dd2b74cc6a5349faf1b597244fb67 SHA512 0f5bfbdd9ffd6f64379e697ed7cf90c2d9257cd1815e520aa14235f1cb399d20fc863221a0cae803cc88e5975be964b9debc3d750a6378ea157146f2e567c5dc diff --git a/sci-mathematics/coq/coq-8.19.0.ebuild b/sci-mathematics/coq/coq-8.19.0.ebuild deleted file mode 100644 index bd6df0374602..000000000000 --- a/sci-mathematics/coq/coq-8.19.0.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2024 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 ~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 ) -declare -a 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.1.ebuild b/sci-mathematics/coq/coq-8.19.1.ebuild deleted file mode 100644 index a4d16f2c2b48..000000000000 --- a/sci-mathematics/coq/coq-8.19.1.ebuild +++ /dev/null @@ -1,122 +0,0 @@ -# Copyright 1999-2024 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 ~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 ) -declare -a 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/why3/Manifest b/sci-mathematics/why3/Manifest index ed5979c08b8f..32defd10808f 100644 --- a/sci-mathematics/why3/Manifest +++ b/sci-mathematics/why3/Manifest @@ -1,3 +1,5 @@ DIST why3-1.6.0.tar.gz 6850062 BLAKE2B 91db6f67a9d0fe24b7d7d18e6c5e9cd362563a55702bfb28c478754f53e831beb3033adde251214facd8d64ab923389b0b9fe7b240b6cd09f0b4b3e6f8eca143 SHA512 60d61b8337ab9f2fd2e6c7174eb0bab063f122417738cd75990c5c53120dd535bcedccb670567f5753853d6bc9f8efebb563d079e4d368372a7687193f1346b1 +DIST why3-1.7.2.tar.gz 7005562 BLAKE2B cd1b25e35147a319e5d5d1f1380ecfaa3555624c797459e8df5cb3b1558928d9c02b567645a2f2952b877c7135a5a393f4b734dd35e569bea6e6b073708901ce SHA512 7e80671480ce0dc3c69514bea2836f5899c686b43a4e8607c27d28e63f78150150dc45fcac5760dbee9721d363e456b1dcaeb1501fc9f63f360722a1021f675f EBUILD why3-1.6.0.ebuild 2348 BLAKE2B 0b8f27f14bb7d2117a9f5f6451d12e57ae3123ac6f491c653fb762bdf2410b5af17f9f3d7c2655c56f6a2f3f198aad07411a7c07e4943e62e1673b66e4779e41 SHA512 7a4ff6be794f77a6a319ee5e39e0bb3c80c82777d45da510d54ab6ac1793c0d249ebf10516c4db4ad7bf27441a0ef37171c43c04295ae0bd757f34619ac6fd61 +EBUILD why3-1.7.2.ebuild 2364 BLAKE2B f58d8a3fe69e1f50efd2fa08b47091e83a80fb8796c0b8326d242ab918792342817abf61422f0b930f94e14a333e332ec48254ffa95522e93637a8814e14f917 SHA512 45fc4136e2efb6e95c3bf39a48857246e02be2cf557fda5d2f231cd8e9b004ad23d197b8b2566c6b041f18471994dec9e679f83979ac355bfa4f2e6247af98b4 MISC metadata.xml 1902 BLAKE2B 1868834e446b471f4b3f7b11fc987661dee83790110fa31c73f0060fd8340891ff85ec16591d1326977760c726ec04bd06a4cca46fb1a87f792340a002cba247 SHA512 4dc9408d44eafc037bfce9c996570e58c161e07c3ded2a052954c834fcf8c3a36cf8429493bc705ced7445d199eaf207cabb5df1b0ed6b625015af518e55d9e9 diff --git a/sci-mathematics/why3/why3-1.7.2.ebuild b/sci-mathematics/why3/why3-1.7.2.ebuild new file mode 100644 index 000000000000..7517d54b1b67 --- /dev/null +++ b/sci-mathematics/why3/why3-1.7.2.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools findlib + +DESCRIPTION="Platform for deductive program verification" +HOMEPAGE="https://why3.lri.fr/" +SRC_URI="https://why3.gitlabpages.inria.fr/releases/${P}.tar.gz" + +LICENSE="LGPL-2" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="coq doc emacs gtk +ocamlopt re sexp stackify +zarith zip" + +RDEPEND=" + !sci-mathematics/why3-for-spark + >=dev-lang/ocaml-4.05.0:=[ocamlopt?] + >=dev-ml/menhir-20170418:= + dev-ml/num:= + coq? ( >=sci-mathematics/coq-8.7:= ) + emacs? ( app-editors/emacs:* ) + gtk? ( dev-ml/lablgtk:=[sourceview,ocamlopt?] ) + re? ( dev-ml/re:= ) + sexp? ( + dev-ml/ppx_deriving:=[ocamlopt?] + dev-ml/ppx_sexp_conv:=[ocamlopt?] + dev-ml/sexplib:=[ocamlopt?] + ) + stackify? ( dev-ml/ocamlgraph:=[ocamlopt?] ) + zarith? ( dev-ml/zarith:= ) + zip? ( dev-ml/camlzip:= ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + doc? ( + dev-python/sphinx + dev-python/sphinxcontrib-bibtex + media-gfx/graphviz + dev-texlive/texlive-latex + dev-texlive/texlive-fontsrecommended + dev-texlive/texlive-latexextra + ) +" + +DOCS=( CHANGES.md README.md ) + +src_prepare() { + mv configure.in configure.ac || die + + sed -i 's/configure\.in/configure.ac/g' Makefile.in || die + sed -e '/^lib\/why3[a-z]*\$(EXE):/{n;s/-Wall/$(CFLAGS) $(LDFLAGS)/}' \ + -e '/^%.o: %.c/{n;s/\$(CC).*-o/$(CC) $(CFLAGS) -o/}' \ + -e '/\$(SPHINX)/s/ -d doc\/\.doctrees / /' \ + -i Makefile.in || die + + # remove QA warning about duplicated compressed file: + rm examples/mlcfg/basic/why3shapes.gz || die + + eautoreconf + default +} + +src_configure() { + local -a myconf=( + --enable-verbose-make + --disable-frama-c + --disable-hypothesis-selection + --disable-infer + --disable-isabelle-libs + --disable-pvs-libs + --disable-web-ide + $(use_enable coq coq-libs) + $(use_enable doc) + $(use_enable emacs emacs-compilation) + $(use_enable gtk ide) + $(use_enable ocamlopt native-code) + $(use_enable re) + $(use_enable sexp) + $(use_enable stackify) + $(use_enable zarith) + $(use_enable zip) + ) + econf "${myconf[@]}" +} + +src_compile() { + emake + emake plugins + + use doc && emake doc +} + +src_install(){ + findlib_src_preinst + emake install install-lib DESTDIR="${ED}" + + einstalldocs + docompress -x /usr/share/doc/${PF}/examples + dodoc -r examples + + if use doc; then + dodoc doc/latex/manual.pdf + dodoc -r doc/html + fi +} |