1 |
commit: 2a68e26824aa72d512a85e1f79435f5353745f00 |
2 |
Author: Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com> |
3 |
AuthorDate: Mon Feb 6 14:38:07 2012 +0000 |
4 |
Commit: Jonathan-Christofer Demay <jcdemay <AT> gmail <DOT> com> |
5 |
CommitDate: Mon Feb 6 14:38:07 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=2a68e268 |
7 |
|
8 |
sci-mathematics/why: version bump |
9 |
|
10 |
--- |
11 |
sci-mathematics/why/ChangeLog | 5 +- |
12 |
sci-mathematics/why/files/why-2.30.patch | 36 +++++++++++ |
13 |
sci-mathematics/why/files/why_jessie-carbon.patch | 36 ----------- |
14 |
sci-mathematics/why/metadata.xml | 2 +- |
15 |
sci-mathematics/why/why-2.29.ebuild | 69 --------------------- |
16 |
sci-mathematics/why/why-2.30.ebuild | 65 +++++++++++++++++++ |
17 |
6 files changed, 105 insertions(+), 108 deletions(-) |
18 |
|
19 |
diff --git a/sci-mathematics/why/ChangeLog b/sci-mathematics/why/ChangeLog |
20 |
index 2a1bf9c..b7fb3e4 100644 |
21 |
--- a/sci-mathematics/why/ChangeLog |
22 |
+++ b/sci-mathematics/why/ChangeLog |
23 |
@@ -2,8 +2,9 @@ |
24 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
25 |
# $Header: $ |
26 |
|
27 |
- 24 Jun 2011; Justin Lecher <jlec@g.o> why-2.29.ebuild: |
28 |
- EAPI bump |
29 |
+ 21 Dec 2011; J.-C. Demay <jcdemay@×××××.com> |
30 |
+ -why-2.29.ebuild, +why-2.30.ebuild, -files/why_jessie-carbon.patch, +files/why-2.30.patch: |
31 |
+ version bump |
32 |
|
33 |
06 May 2011; J.-C. Demay <jcdemay@×××××.com> |
34 |
-why-2.28.ebuild, +why-2.29.ebuild: |
35 |
|
36 |
diff --git a/sci-mathematics/why/files/why-2.30.patch b/sci-mathematics/why/files/why-2.30.patch |
37 |
new file mode 100644 |
38 |
index 0000000..2c8f48c |
39 |
--- /dev/null |
40 |
+++ b/sci-mathematics/why/files/why-2.30.patch |
41 |
@@ -0,0 +1,36 @@ |
42 |
+diff -Naurp why-2.30-orig/jc/jc_annot_inference.ml why-2.30-save/jc/jc_annot_inference.ml |
43 |
+--- why-2.30-orig/jc/jc_annot_inference.ml 2011-10-24 15:21:06.000000000 +0000 |
44 |
++++ why-2.30-save/jc/jc_annot_inference.ml 2011-12-21 18:08:50.920338014 +0000 |
45 |
+@@ -147,6 +147,7 @@ let rec destruct_pointer t = |
46 |
+ let offt = new term ~typ:integer_type tnode in |
47 |
+ Some(tptr,offt) |
48 |
+ end |
49 |
++ | JCTlet _ |
50 |
+ | JCTvar _ | JCTderef _ | JCTapp _ | JCTold _ | JCTat _ | JCTif _ |
51 |
+ | JCTrange _ | JCTmatch _ | JCTaddress _ | JCTbase_block _ |
52 |
+ | JCTconst _ | JCTbinary _ | JCTunary _ | JCToffset _ | JCTinstanceof _ |
53 |
+@@ -491,7 +492,7 @@ let reg_annot ?id ?kind ?name ~pos ~anch |
54 |
+ in |
55 |
+ Format.fprintf Format.str_formatter "%a" Jc_output.assertion a; |
56 |
+ let formula = Format.flush_str_formatter () in |
57 |
+- let lab = Output.reg_pos "G" ?id ?kind ?name ~formula loc in |
58 |
++ let lab = Output.old_reg_pos "G" ?id ?kind ?name ~formula (Loc.extract loc) in |
59 |
+ new assertion_with ~mark:lab a |
60 |
+ |
61 |
+ |
62 |
+@@ -608,6 +609,7 @@ let rec atp_of_term t = |
63 |
+ Atp.Fn(atp_of_unop uop, [atp_of_term t1]) |
64 |
+ | JCTvar _ | JCTderef _ | JCTapp _ | JCToffset _ -> |
65 |
+ Atp.Var (Vwp.variable_for_term t) |
66 |
++ | JCTlet _ |
67 |
+ | JCTshift _ | JCTold _ | JCTat _ | JCTmatch _ | JCTinstanceof _ |
68 |
+ | JCTcast _ | JCTrange_cast _ | JCTbitwise_cast _ | JCTreal_cast _ |
69 |
+ | JCTaddress _ | JCTif _ | JCTrange _ | JCTunary _ | JCTbase_block _ -> |
70 |
+@@ -1194,6 +1196,7 @@ let linearize t = |
71 |
+ (coeffs, minus_num cst1) |
72 |
+ | _ -> err () |
73 |
+ end |
74 |
++ | JCTlet _ |
75 |
+ | JCTvar _ | JCTderef _ | JCToffset _ | JCTapp _ | JCTbinary _ |
76 |
+ | JCTunary _ | JCTshift _ | JCTinstanceof _ | JCTmatch _ |
77 |
+ | JCTold _ | JCTat _ | JCTcast _ | JCTbitwise_cast _ |
78 |
|
79 |
diff --git a/sci-mathematics/why/files/why_jessie-carbon.patch b/sci-mathematics/why/files/why_jessie-carbon.patch |
80 |
deleted file mode 100644 |
81 |
index 0288bc7..0000000 |
82 |
--- a/sci-mathematics/why/files/why_jessie-carbon.patch |
83 |
+++ /dev/null |
84 |
@@ -1,36 +0,0 @@ |
85 |
-diff -Naurp why-2.28-orig/jc/jc_annot_inference.ml why-2.28/jc/jc_annot_inference.ml |
86 |
---- why-2.28/jc/jc_annot_inference.ml 2010-12-17 20:06:44.000000000 +0000 |
87 |
-+++ why-2.28/jc/jc_annot_inference.ml 2011-02-14 11:34:21.000000000 +0000 |
88 |
-@@ -150,8 +150,8 @@ let rec destruct_pointer t = |
89 |
- | JCTvar _ | JCTderef _ | JCTapp _ | JCTold _ | JCTat _ | JCTif _ |
90 |
- | JCTrange _ | JCTmatch _ | JCTaddress _ | JCTbase_block _ |
91 |
- | JCTconst _ | JCTbinary _ | JCTunary _ | JCToffset _ | JCTinstanceof _ |
92 |
-- | JCTreal_cast _ | JCTrange_cast _ | JCTbitwise_cast _ | JCTcast _ -> |
93 |
-- None |
94 |
-+ | JCTreal_cast _ | JCTrange_cast _ | JCTbitwise_cast _ | JCTcast _ |
95 |
-+ | JCTlet (_, _, _) -> None |
96 |
- |
97 |
- let equality_operator_of_type ty = `Beq, operator_of_type ty |
98 |
- |
99 |
-@@ -610,8 +610,8 @@ let rec atp_of_term t = |
100 |
- Atp.Var (Vwp.variable_for_term t) |
101 |
- | JCTshift _ | JCTold _ | JCTat _ | JCTmatch _ | JCTinstanceof _ |
102 |
- | JCTcast _ | JCTrange_cast _ | JCTbitwise_cast _ | JCTreal_cast _ |
103 |
-- | JCTaddress _ | JCTif _ | JCTrange _ | JCTunary _ | JCTbase_block _ -> |
104 |
-- err () |
105 |
-+ | JCTaddress _ | JCTif _ | JCTrange _ | JCTunary _ | JCTbase_block _ |
106 |
-+ | JCTlet (_, _, _) -> err () |
107 |
- |
108 |
- let rec term_of_atp tm = |
109 |
- try |
110 |
-@@ -1198,8 +1198,8 @@ let linearize t = |
111 |
- | JCTunary _ | JCTshift _ | JCTinstanceof _ | JCTmatch _ |
112 |
- | JCTold _ | JCTat _ | JCTcast _ | JCTbitwise_cast _ |
113 |
- | JCTrange_cast _ | JCTreal_cast _ | JCTaddress _ | JCTbase_block _ |
114 |
-- | JCTrange _ | JCTif _ -> |
115 |
-- err () |
116 |
-+ | JCTrange _ | JCTif _ |
117 |
-+ | JCTlet (_, _, _) -> err () |
118 |
- with Failure "linearize" -> |
119 |
- (TermMap.add t (Int 1) TermMap.empty, Int 0) |
120 |
- in aux t |
121 |
|
122 |
diff --git a/sci-mathematics/why/metadata.xml b/sci-mathematics/why/metadata.xml |
123 |
index 33676ea..8098c56 100644 |
124 |
--- a/sci-mathematics/why/metadata.xml |
125 |
+++ b/sci-mathematics/why/metadata.xml |
126 |
@@ -1,7 +1,7 @@ |
127 |
<?xml version="1.0" encoding="UTF-8"?> |
128 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
129 |
<pkgmetadata> |
130 |
- <herd>sci-mathematics</herd> |
131 |
+ <herd>sci</herd> |
132 |
<longdescription> |
133 |
Why is a software verification platform. It contains a general-purpose |
134 |
verification condition generator (VCG) which is used as a back-end |
135 |
|
136 |
diff --git a/sci-mathematics/why/why-2.29.ebuild b/sci-mathematics/why/why-2.29.ebuild |
137 |
deleted file mode 100644 |
138 |
index c8cc38d..0000000 |
139 |
--- a/sci-mathematics/why/why-2.29.ebuild |
140 |
+++ /dev/null |
141 |
@@ -1,69 +0,0 @@ |
142 |
-# Copyright 1999-2011 Gentoo Foundation |
143 |
-# Distributed under the terms of the GNU General Public License v2 |
144 |
-# $Header: $ |
145 |
- |
146 |
-EAPI=4 |
147 |
- |
148 |
-inherit autotools eutils |
149 |
- |
150 |
-DESCRIPTION="Software verification platform" |
151 |
-HOMEPAGE="http://why.lri.fr/" |
152 |
-SRC_URI="http://why.lri.fr/download/${P}.tar.gz" |
153 |
- |
154 |
-LICENSE="GPL-2" |
155 |
-SLOT="0" |
156 |
-KEYWORDS="~amd64 ~ppc ~x86" |
157 |
-IUSE="apron coq doc examples gappa gtk jessie pff" |
158 |
- |
159 |
-DEPEND=" |
160 |
- >=dev-lang/ocaml-3.09 |
161 |
- >=dev-ml/ocamlgraph-1.2 |
162 |
- apron? ( sci-mathematics/apron ) |
163 |
- coq? ( sci-mathematics/coq ) |
164 |
- gappa? ( sci-mathematics/gappalib-coq ) |
165 |
- gtk? ( >=dev-ml/lablgtk-2.14 ) |
166 |
- jessie? ( >=sci-mathematics/frama-c-20100401 ) |
167 |
- pff? ( sci-mathematics/pff )" |
168 |
-RDEPEND="${DEPEND}" |
169 |
- |
170 |
-src_prepare() { |
171 |
- sed \ |
172 |
- -e "s/DESTDIR =.*//g" \ |
173 |
- -e "s/@COQLIB@/\$(DESTDIR)\/@COQLIB@/g" \ |
174 |
- -i Makefile.in || die |
175 |
- |
176 |
- #to build with apron-0.9.10 |
177 |
- sed \ |
178 |
- -e "s/pvs/sri-pvs/g" \ |
179 |
- -e "s/oct_caml/octMPQ_caml/g" \ |
180 |
- -e "s/box_caml/boxMPQ_caml/g" \ |
181 |
- -e "s/polka_caml/polkaMPQ_caml/g" \ |
182 |
- -i configure.in || die |
183 |
- |
184 |
- epatch "${FILESDIR}"/${PN}_jessie-carbon.patch |
185 |
- eautoreconf |
186 |
-} |
187 |
- |
188 |
-src_configure() { |
189 |
- econf \ |
190 |
- $(use_enable apron) |
191 |
-} |
192 |
- |
193 |
-src_compile(){ |
194 |
- emake -j1 DESTDIR="${EROOT}" || die "emake failed" |
195 |
-} |
196 |
- |
197 |
-src_install(){ |
198 |
- default |
199 |
- |
200 |
- doman doc/why.1 |
201 |
- |
202 |
- if use doc; then |
203 |
- dodoc doc/manual.ps |
204 |
- fi |
205 |
- |
206 |
- if use examples; then |
207 |
- insinto /usr/share/doc/${PF} |
208 |
- doins -r examples examples-c |
209 |
- fi |
210 |
-} |
211 |
|
212 |
diff --git a/sci-mathematics/why/why-2.30.ebuild b/sci-mathematics/why/why-2.30.ebuild |
213 |
new file mode 100644 |
214 |
index 0000000..79036b6 |
215 |
--- /dev/null |
216 |
+++ b/sci-mathematics/why/why-2.30.ebuild |
217 |
@@ -0,0 +1,65 @@ |
218 |
+# Copyright 1999-2010 Gentoo Foundation |
219 |
+# Distributed under the terms of the GNU General Public License v2 |
220 |
+# $Header: $ |
221 |
+ |
222 |
+EAPI="2" |
223 |
+ |
224 |
+inherit autotools eutils |
225 |
+ |
226 |
+DESCRIPTION="Why is a software verification platform." |
227 |
+HOMEPAGE="http://why.lri.fr/" |
228 |
+SRC_URI="http://why.lri.fr/download/${P}.tar.gz" |
229 |
+ |
230 |
+LICENSE="GPL-2" |
231 |
+SLOT="0" |
232 |
+KEYWORDS="~amd64 ~ppc ~x86" |
233 |
+IUSE="apron coq doc examples gappa jessie gtk pff" |
234 |
+ |
235 |
+DEPEND=">=dev-lang/ocaml-3.09 |
236 |
+ >=dev-ml/ocamlgraph-1.2 |
237 |
+ gtk? ( >=dev-ml/lablgtk-2.14 ) |
238 |
+ apron? ( sci-mathematics/apron ) |
239 |
+ coq? ( sci-mathematics/coq ) |
240 |
+ gappa? ( sci-mathematics/gappalib-coq ) |
241 |
+ pff? ( sci-mathematics/pff ) |
242 |
+ jessie? ( >=sci-mathematics/frama-c-20100401 )" |
243 |
+RDEPEND="${DEPEND}" |
244 |
+ |
245 |
+src_prepare() { |
246 |
+ sed -i Makefile.in \ |
247 |
+ -e "s/DESTDIR =.*//g" \ |
248 |
+ -e "s/@COQLIB@/\$(DESTDIR)\/@COQLIB@/g" |
249 |
+ |
250 |
+ #to build with apron-0.9.10 |
251 |
+ sed -i configure.in \ |
252 |
+ -e "s/pvs/sri-pvs/g" \ |
253 |
+ -e "s/oct_caml/octMPQ_caml/g" \ |
254 |
+ -e "s/box_caml/boxMPQ_caml/g" \ |
255 |
+ -e "s/polka_caml/polkaMPQ_caml/g" |
256 |
+ |
257 |
+ epatch "${FILESDIR}"/${P}.patch |
258 |
+ eautoreconf |
259 |
+} |
260 |
+ |
261 |
+src_configure() { |
262 |
+ econf $(use_enable apron) PATH="/usr/bin:$PATH" || die "econf failed" |
263 |
+} |
264 |
+ |
265 |
+src_compile(){ |
266 |
+ emake -j1 DESTDIR="/" || die "emake failed" |
267 |
+} |
268 |
+ |
269 |
+src_install(){ |
270 |
+ DESTDIR="${D}" emake install || die "emake install failed" |
271 |
+ dodoc CHANGES README Version |
272 |
+ doman doc/why.1 |
273 |
+ |
274 |
+ if use doc; then |
275 |
+ dodoc doc/manual.ps |
276 |
+ fi |
277 |
+ |
278 |
+ if use examples; then |
279 |
+ insinto /usr/share/doc/${PF} |
280 |
+ doins -r examples examples-c |
281 |
+ fi |
282 |
+} |