Gentoo Archives: gentoo-commits

From: Christoph Junghans <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/why3/
Date: Sun, 08 Feb 2015 21:08:01
Message-Id: 1423389851.c901a3e918a37be894738ac50ba0b12752916903.ottxor@gentoo
1 commit: c901a3e918a37be894738ac50ba0b12752916903
2 Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
3 AuthorDate: Sun Feb 8 10:04:11 2015 +0000
4 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 8 10:04:11 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c901a3e9
7
8 sci-mathematics/why3-0.83: Cleanup ebuild
9
10 ---
11 sci-mathematics/why3/ChangeLog | 6 +++++-
12 sci-mathematics/why3/why3-0.83.ebuild | 28 ++++++++++++++++------------
13 2 files changed, 21 insertions(+), 13 deletions(-)
14
15 diff --git a/sci-mathematics/why3/ChangeLog b/sci-mathematics/why3/ChangeLog
16 index 5fa385d..e50e10d 100644
17 --- a/sci-mathematics/why3/ChangeLog
18 +++ b/sci-mathematics/why3/ChangeLog
19 @@ -1,7 +1,11 @@
20 # ChangeLog for sci-mathematics/why3
21 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
22 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 + 08 Feb 2015; Marius Brehler <marbre@××××××××××××××.de>
26 + why3-0.83.ebuild:
27 + Cleanup ebuild
28 +
29 16 Sep 2014; Christoph Junghans <ottxor@g.o> why3-0.83.ebuild:
30 drop autotools.eclass
31
32
33 diff --git a/sci-mathematics/why3/why3-0.83.ebuild b/sci-mathematics/why3/why3-0.83.ebuild
34 index 61ceaed..1abb3d5 100644
35 --- a/sci-mathematics/why3/why3-0.83.ebuild
36 +++ b/sci-mathematics/why3/why3-0.83.ebuild
37 @@ -1,8 +1,8 @@
38 -# Copyright 1999-2014 Gentoo Foundation
39 +# Copyright 1999-2015 Gentoo Foundation
40 # Distributed under the terms of the GNU General Public License v2
41 # $Header: $
42
43 -EAPI="5"
44 +EAPI=5
45
46 inherit eutils
47
48 @@ -23,28 +23,32 @@ DEPEND=">=dev-lang/ocaml-3.12.1
49 doc? ( dev-tex/rubber )"
50 RDEPEND="${DEPEND}"
51
52 +DOCS=( CHANGES README Version )
53 +
54 src_prepare() {
55 - mv doc/why.1 doc/why3.1
56 - sed -i configure.in -e "s/\"pvs\"/\"sri-pvs\"/g"
57 - sed -i configure -e "s/\"pvs\"/\"sri-pvs\"/g"
58 + mv doc/why.1 doc/why3.1 || die
59 + sed -i configure.in -e "s/\"pvs\"/\"sri-pvs\"/g" || die
60 + sed -i configure -e "s/\"pvs\"/\"sri-pvs\"/g" || die
61 sed -i Makefile.in -e "s:DESTDIR =::g" \
62 - -e "s:\$(RUBBER) --warn all --pdf manual.tex:makeindex manual.tex; \$(RUBBER) --warn all --pdf manual.tex; cd ..:g"
63 + -e "s:\$(RUBBER) --warn all --pdf manual.tex:makeindex manual.tex; \$(RUBBER) --warn all --pdf manual.tex; cd ..:g" || die
64 }
65
66 src_configure() {
67 - econf $(use_enable frama-c) || die "econf failed"
68 + econf $(use_enable frama-c)
69 }
70
71 src_compile() {
72 - emake -j1 || die "emake failed"
73 + MAKEOPTS+=" -j1"
74 +
75 + emake
76 if use doc; then
77 - emake -j1 doc/manual.pdf || die "emake doc failed"
78 + emake doc/manual.pdf
79 fi
80 }
81
82 src_install(){
83 - emake install DESTDIR="${D}" || die "emake install failed"
84 - dodoc CHANGES README Version
85 + default
86 +
87 doman doc/why3.1
88 if use doc; then
89 dodoc doc/manual.pdf
90 @@ -53,4 +57,4 @@ src_install(){
91 insinto /usr/share/doc/${PF}
92 doins -r examples
93 fi
94 - }
95 +}