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/alt-ergo/
Date: Mon, 21 Sep 2015 19:05:56
Message-Id: 1442860193.0d912fad71b5b99852c8506abc966543335fa12d.jlec@gentoo
1 commit: 0d912fad71b5b99852c8506abc966543335fa12d
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 21 18:29:53 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 21 18:29:53 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=0d912fad
7
8 sci-mathematics/alt-ergo: 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/alt-ergo/alt-ergo-0.95.2.ebuild | 19 +++++++++++--------
14 sci-mathematics/alt-ergo/metadata.xml | 4 ++--
15 2 files changed, 13 insertions(+), 10 deletions(-)
16
17 diff --git a/sci-mathematics/alt-ergo/alt-ergo-0.95.2.ebuild b/sci-mathematics/alt-ergo/alt-ergo-0.95.2.ebuild
18 index 3cabe4d..2ec5ece 100644
19 --- a/sci-mathematics/alt-ergo/alt-ergo-0.95.2.ebuild
20 +++ b/sci-mathematics/alt-ergo/alt-ergo-0.95.2.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2014 Gentoo Foundation
23 +# Copyright 1999-2015 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 # $Id$
26
27 @@ -15,11 +15,14 @@ SLOT="0"
28 KEYWORDS="~amd64 ~x86"
29 IUSE="+ocamlopt gtk"
30
31 -DEPEND=">=dev-lang/ocaml-3.12.1[ocamlopt?]
32 - >=dev-ml/ocamlgraph-1.8.2[gtk?,ocamlopt?]
33 - dev-ml/zarith
34 - gtk? ( >=x11-libs/gtksourceview-2.8
35 - >=dev-ml/lablgtk-2.14[sourceview,ocamlopt?] )"
36 +DEPEND="
37 + >=dev-lang/ocaml-3.12.1[ocamlopt?]
38 + >=dev-ml/ocamlgraph-1.8.2[gtk?,ocamlopt?]
39 + dev-ml/zarith
40 + gtk? (
41 + >=x11-libs/gtksourceview-2.8:2.0
42 + >=dev-ml/lablgtk-2.14[sourceview,ocamlopt?]
43 + )"
44 RDEPEND="${DEPEND}"
45
46 src_prepare(){
47 @@ -29,12 +32,12 @@ src_prepare(){
48 -i "${S}"/Makefile.in || die
49 }
50 src_compile(){
51 - emake
52 + default
53 use gtk && emake gui
54 }
55
56 src_install(){
57 - emake install DESTDIR="${D}"
58 + default
59 use gtk && emake install-gui DESTDIR="${D}"
60 dodoc README.md CHANGES
61 }
62
63 diff --git a/sci-mathematics/alt-ergo/metadata.xml b/sci-mathematics/alt-ergo/metadata.xml
64 index 70209e0..388d8d7 100644
65 --- a/sci-mathematics/alt-ergo/metadata.xml
66 +++ b/sci-mathematics/alt-ergo/metadata.xml
67 @@ -1,8 +1,8 @@
68 <?xml version="1.0" encoding="UTF-8"?>
69 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
70 <pkgmetadata>
71 -<herd>sci-mathematics</herd>
72 -<longdescription>
73 + <herd>sci-mathematics</herd>
74 + <longdescription>
75 Alt-Ergo is an open source automatic theorem prover dedicated to program verification.
76 It is an SMT solver based on CC(X): a congruence closure algorithm parameterized by an
77 equational theory X. Alt-Ergo is based on a home-made SAT-solver and implements an