Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/frama-c/
Date: Mon, 21 Sep 2015 19:06:09
Message-Id: 1442861123.1ad7fca0e8ab4b753fb39283ae8f17d55f2e4a60.jlec@gentoo
1 commit: 1ad7fca0e8ab4b753fb39283ae8f17d55f2e4a60
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 21 18:45:23 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 21 18:45:23 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=1ad7fca0
7
8 sci-mathematics/frama-c: Add subslot operators
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-mathematics/frama-c/frama-c-20140301.ebuild | 34 +++++++++++++------------
14 sci-mathematics/frama-c/metadata.xml | 4 +--
15 2 files changed, 20 insertions(+), 18 deletions(-)
16
17 diff --git a/sci-mathematics/frama-c/frama-c-20140301.ebuild b/sci-mathematics/frama-c/frama-c-20140301.ebuild
18 index dd11106..28166cd 100644
19 --- a/sci-mathematics/frama-c/frama-c-20140301.ebuild
20 +++ b/sci-mathematics/frama-c/frama-c-20140301.ebuild
21 @@ -17,22 +17,25 @@ KEYWORDS="~amd64 ~x86"
22 IUSE="doc gtk +ocamlopt"
23 RESTRICT="strip"
24
25 -DEPEND=">=dev-lang/ocaml-3.12.1[ocamlopt?]
26 - >=dev-ml/ocamlgraph-1.8.5[gtk?,ocamlopt?]
27 - dev-ml/zarith
28 - sci-mathematics/coq
29 - sci-mathematics/ltl2ba
30 - sci-mathematics/alt-ergo
31 - gtk? ( >=x11-libs/gtksourceview-2.8
32 - >=gnome-base/libgnomecanvas-2.26
33 - >=dev-ml/lablgtk-2.14[sourceview,gnomecanvas,ocamlopt?] )"
34 +DEPEND="
35 + >=dev-lang/ocaml-3.12.1[ocamlopt?]
36 + >=dev-ml/ocamlgraph-1.8.5[gtk?,ocamlopt?]
37 + dev-ml/zarith
38 + sci-mathematics/coq
39 + sci-mathematics/ltl2ba
40 + sci-mathematics/alt-ergo
41 + gtk? (
42 + >=x11-libs/gtksourceview-2.8:2.0
43 + >=gnome-base/libgnomecanvas-2.26
44 + >=dev-ml/lablgtk-2.14[sourceview,gnomecanvas,ocamlopt?]
45 + )"
46 RDEPEND="${DEPEND}"
47
48 S="${WORKDIR}/${PN/-c/-c-$NAME}-${PV/_/-}"
49
50 src_prepare(){
51 - touch config_file
52 - rm -f ocamlgraph.tar.gz
53 + touch config_file || die
54 + rm -f ocamlgraph.tar.gz || die
55 epatch "${FILESDIR}/ocamlgraph185_compat.patch"
56 eautoreconf
57 }
58 @@ -43,14 +46,14 @@ src_configure(){
59 else
60 myconf="--disable-gui"
61 fi
62 - econf ${myconf} || die "econf failed"
63 + econf ${myconf}
64 }
65
66 src_compile(){
67 # dependencies can not be processed in parallel,
68 # this is the intended behavior.
69 - emake -j1 depend || die "emake depend failed"
70 - emake all top DESTDIR="/" || die "emake failed"
71 + emake -j1 depend
72 + emake all top DESTDIR="/"
73
74 if use doc; then
75 emake -j1 doc doc-tgz
76 @@ -59,8 +62,7 @@ src_compile(){
77 }
78
79 src_install(){
80 - emake install DESTDIR="${D}" || die "emake install failed"
81 - dodoc Changelog
82 + default
83
84 if use doc; then
85 dohtml -A svg -r doc/frama-c-api/*
86
87 diff --git a/sci-mathematics/frama-c/metadata.xml b/sci-mathematics/frama-c/metadata.xml
88 index e429e61..960aec4 100644
89 --- a/sci-mathematics/frama-c/metadata.xml
90 +++ b/sci-mathematics/frama-c/metadata.xml
91 @@ -1,8 +1,8 @@
92 <?xml version="1.0" encoding="UTF-8"?>
93 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
94 <pkgmetadata>
95 -<herd>sci-mathematics</herd>
96 -<longdescription>
97 + <herd>sci-mathematics</herd>
98 + <longdescription>
99 Frama-C is a suite of tools dedicated to the analysis of the source code
100 of software written in C. It gathers several static analysis techniques
101 in a single collaborative framework. The collaborative approach of