public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christoph Junghans" <ottxor@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-mathematics/why3/
Date: Sun,  8 Feb 2015 21:07:48 +0000 (UTC)	[thread overview]
Message-ID: <1423389851.c901a3e918a37be894738ac50ba0b12752916903.ottxor@gentoo> (raw)

commit:     c901a3e918a37be894738ac50ba0b12752916903
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Feb  8 10:04:11 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sun Feb  8 10:04:11 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=c901a3e9

sci-mathematics/why3-0.83: Cleanup ebuild

---
 sci-mathematics/why3/ChangeLog        |  6 +++++-
 sci-mathematics/why3/why3-0.83.ebuild | 28 ++++++++++++++++------------
 2 files changed, 21 insertions(+), 13 deletions(-)

diff --git a/sci-mathematics/why3/ChangeLog b/sci-mathematics/why3/ChangeLog
index 5fa385d..e50e10d 100644
--- a/sci-mathematics/why3/ChangeLog
+++ b/sci-mathematics/why3/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-mathematics/why3
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  08 Feb 2015; Marius Brehler <marbre@linux.sungazer.de>
+  why3-0.83.ebuild:
+  Cleanup ebuild
+
   16 Sep 2014; Christoph Junghans <ottxor@gentoo.org> why3-0.83.ebuild:
   drop autotools.eclass
 

diff --git a/sci-mathematics/why3/why3-0.83.ebuild b/sci-mathematics/why3/why3-0.83.ebuild
index 61ceaed..1abb3d5 100644
--- a/sci-mathematics/why3/why3-0.83.ebuild
+++ b/sci-mathematics/why3/why3-0.83.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI="5"
+EAPI=5
 
 inherit eutils
 
@@ -23,28 +23,32 @@ DEPEND=">=dev-lang/ocaml-3.12.1
 		doc? ( dev-tex/rubber )"
 RDEPEND="${DEPEND}"
 
+DOCS=( CHANGES README Version )
+
 src_prepare() {
-	mv doc/why.1 doc/why3.1
-	sed -i configure.in -e "s/\"pvs\"/\"sri-pvs\"/g"
-	sed -i configure -e "s/\"pvs\"/\"sri-pvs\"/g"
+	mv doc/why.1 doc/why3.1 || die
+	sed -i configure.in -e "s/\"pvs\"/\"sri-pvs\"/g" || die
+	sed -i configure -e "s/\"pvs\"/\"sri-pvs\"/g" || die
 	sed -i Makefile.in -e "s:DESTDIR =::g" \
-		-e "s:\$(RUBBER) --warn all --pdf manual.tex:makeindex manual.tex; \$(RUBBER) --warn all --pdf manual.tex; cd ..:g"
+		-e "s:\$(RUBBER) --warn all --pdf manual.tex:makeindex manual.tex; \$(RUBBER) --warn all --pdf manual.tex; cd ..:g" || die
 }
 
 src_configure() {
-	econf $(use_enable frama-c) || die "econf failed"
+	econf $(use_enable frama-c)
 }
 
 src_compile() {
-	emake -j1 || die "emake failed"
+	MAKEOPTS+=" -j1"
+
+	emake
 	if use doc; then
-		emake -j1 doc/manual.pdf || die "emake doc failed"
+		emake doc/manual.pdf
 	fi
 }
 
 src_install(){
-	emake install DESTDIR="${D}" || die "emake install failed"
-	dodoc CHANGES README Version
+	default
+
 	doman doc/why3.1
 	if use doc; then
 		dodoc doc/manual.pdf
@@ -53,4 +57,4 @@ src_install(){
 		insinto /usr/share/doc/${PF}
 		doins -r examples
 	fi
-	}
+}


             reply	other threads:[~2015-02-08 21:08 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-08 21:07 Christoph Junghans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-12-13 10:57 [gentoo-commits] proj/sci:master commit in: sci-mathematics/why3/ Andrew Ammerlaan
2021-03-04 13:53 Andrew Ammerlaan
2021-03-04 13:07 Andrew Ammerlaan
2021-03-04 11:53 Andrew Ammerlaan
2021-03-04 11:53 Andrew Ammerlaan
2016-06-15 14:57 Marius Brehler
2014-09-16  4:07 Christoph Junghans
2014-09-02 21:19 Jauhien Piatlicki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1423389851.c901a3e918a37be894738ac50ba0b12752916903.ottxor@gentoo \
    --to=ottxor@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox