commit: 00378c53612748b18b9e283cb7cece5deffe15f6 Author: François-Xavier Carton <fx.carton91 <AT> gmail <DOT> com> AuthorDate: Wed Aug 18 20:05:48 2021 +0000 Commit: Francois-Xavier Carton <fx.carton91 <AT> gmail <DOT> com> CommitDate: Sat Sep 4 13:07:38 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=00378c53
sci-mathematics/frama-c: bump to 23.1 Signed-off-by: François-Xavier Carton <fx.carton91 <AT> gmail.com> sci-mathematics/frama-c/Manifest | 1 + sci-mathematics/frama-c/frama-c-23.1.ebuild | 105 ++++++++++++++++++++++++++++ 2 files changed, 106 insertions(+) diff --git a/sci-mathematics/frama-c/Manifest b/sci-mathematics/frama-c/Manifest index 9681962f9..06b9632bc 100644 --- a/sci-mathematics/frama-c/Manifest +++ b/sci-mathematics/frama-c/Manifest @@ -1 +1,2 @@ DIST frama-c-22.0-Titanium.tar.gz 6008520 BLAKE2B 957f1fd383913718598c8d14bd0ff4b6251cc5350633888ca061fa0e44fae17273b379dcc1b70fe8a187975364aee1f255e0df232a4ee349ff29f9cb922a7b60 SHA512 7366127da4726ffec0022adc06fd867b6ea37fc23b6a5ddccbe7562fcaa635abc6894397d0101fcb0afc339c565299c6d637006305c8331aa62a8ce734740a0f +DIST frama-c-23.1-Vanadium.tar.gz 6945715 BLAKE2B aa39c5263c3dd5f407eb97ae56cd734b6209d8dd9b976e67cfa2d3d9879463e47c6ca7b9c4760e111ffa6175e3c8abe698c0bbf7f54098bd7cdd90c704a53e62 SHA512 a96ef705479971991fcdee5440f07c0f30dcf434c7a855cdc894dc03275241599036aa1475b10f062b35045f7749e5d242b930e25ad2fd9e1708e29fca024c9e diff --git a/sci-mathematics/frama-c/frama-c-23.1.ebuild b/sci-mathematics/frama-c/frama-c-23.1.ebuild new file mode 100644 index 000000000..e01b7ac8c --- /dev/null +++ b/sci-mathematics/frama-c/frama-c-23.1.ebuild @@ -0,0 +1,105 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools findlib toolchain-funcs + +DESCRIPTION="Framework for analysis of source codes written in C" +HOMEPAGE="https://frama-c.com" +NAME="Vanadium" +SRC_URI="https://frama-c.com/download/${P}-${NAME}.tar.gz" + +LICENSE="BSD LGPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+aorai +callgraph +dive +e-acsl +eva +from-analysis gtk +impact +inout +instantiate +loop-analysis +metrics +nonterm +obfuscator +ocamlopt +occurrence +pdg +postdominators +print-api +qed +report +rtegen +scope security-slicing +semantic-constant-folding +server +slicing +sparecode +studia +users +variadic +wp" +RESTRICT="strip" + +# TODO: $(use_enable markdown-report mdr) -> missing dev-ml/ppx_deriving_yojson + +RDEPEND=" + >=dev-lang/ocaml-4.08.1[ocamlopt?] + >=dev-ml/ocamlgraph-1.8.5[gtk(-)?,ocamlopt?] + >=dev-ml/zarith-1.5[ocamlopt?] + >=dev-ml/yojson-1.4.1[ocamlopt?] + gtk? ( >=dev-ml/lablgtk-2.14:2=[sourceview,gnomecanvas,ocamlopt?] ) + wp? ( >=sci-mathematics/why3-1.4.0 )" +DEPEND="${RDEPEND} + media-gfx/graphviz" + +REQUIRED_USE=" + dive? ( eva studia server ) + e-acsl? ( rtegen ) + eva? ( callgraph server ) + from-analysis? ( eva callgraph ) + impact? ( pdg eva inout slicing ) + inout? ( from-analysis eva callgraph ) + metrics? ( eva ) + nonterm? ( eva ) + occurrence? ( eva ) + pdg? ( from-analysis eva callgraph ) + scope? ( postdominators eva from-analysis pdg ) + security-slicing? ( slicing eva pdg gtk ) + semantic-constant-folding? ( eva ) + slicing? ( from-analysis pdg eva callgraph sparecode ) + sparecode? ( pdg eva users ) + studia? ( eva server ) + users? ( eva ) + wp? ( qed rtegen )" + +S="${WORKDIR}/${P}-${NAME}" + +src_prepare() { + mv configure.in configure.ac || die + sed -i 's/configure\.in/configure.ac/g' Makefile.generating Makefile || die + sed -i '/\$(CC)/s/-O2 -g3/$(CFLAGS)/' src/plugins/e-acsl/Makefile.in || die + sed -i "s/ranlib/$(tc-getRANLIB)/" src/plugins/e-acsl/Makefile.in || die + touch config_file || die + eautoreconf + eapply_user +} + +src_configure() { + econf \ + --disable-landmarks \ + $(use_enable aorai) \ + $(use_enable callgraph) \ + $(use_enable dive) \ + $(use_enable e-acsl) \ + $(use_enable eva) \ + $(use_enable from-analysis) \ + $(use_enable gtk gui) \ + $(use_enable impact) \ + $(use_enable inout) \ + $(use_enable instantiate) \ + $(use_enable loop-analysis) \ + --disable-mdr \ + $(use_enable metrics) \ + $(use_enable nonterm) \ + $(use_enable obfuscator) \ + $(use_enable occurrence) \ + $(use_enable pdg) \ + $(use_enable postdominators) \ + $(use_enable print-api) \ + $(use_enable qed) \ + $(use_enable report) \ + $(use_enable rtegen) \ + $(use_enable scope) \ + $(use_enable security-slicing) \ + $(use_enable semantic-constant-folding) \ + $(use_enable server) \ + --disable-server-zmq \ + $(use_enable slicing) \ + $(use_enable sparecode) \ + $(use_enable studia) \ + $(use_enable users) \ + $(use_enable variadic) \ + $(use_enable wp) \ + --disable-wp-coq +} + +src_compile() { + tc-export AR + default +}
