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-physics/qcl/
Date: Mon, 12 Jan 2015 20:24:04 +0000 (UTC)	[thread overview]
Message-ID: <1420972802.73d5c6cedc0ca09111b3fa61df413fa1166dc9ef.ottxor@gentoo> (raw)

commit:     73d5c6cedc0ca09111b3fa61df413fa1166dc9ef
Author:     Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de>
AuthorDate: Sun Jan 11 10:40:02 2015 +0000
Commit:     Christoph Junghans <ottxor <AT> gentoo <DOT> org>
CommitDate: Sun Jan 11 10:40:02 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=73d5c6ce

sci-physics/qcl: Move to EAPI=5, cleanup ebuilds

---
 sci-physics/qcl/ChangeLog           |  6 +++++-
 sci-physics/qcl/qcl-0.6.3-r1.ebuild | 18 +++++++++---------
 sci-physics/qcl/qcl-0.6.4.ebuild    | 11 ++++++-----
 3 files changed, 20 insertions(+), 15 deletions(-)

diff --git a/sci-physics/qcl/ChangeLog b/sci-physics/qcl/ChangeLog
index 587799c..d01d0e9 100644
--- a/sci-physics/qcl/ChangeLog
+++ b/sci-physics/qcl/ChangeLog
@@ -1,7 +1,11 @@
 # ChangeLog for sci-physics/qcl
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  11 Jan 2015; Marius Brehler <marbre@linux.sungazer.de>,
+  qcl-0.6.4.ebuild, qcl-0.6.3-r1.ebuild:
+  Move to EAPI=5, cleanup ebuilds
+
 *qcl-0.6.4 (02 Jun 2014)
 
   02 Jun 2014; Jauhien Piatlicki <jauhien@gentoo.org> +qcl-0.6.4.ebuild,

diff --git a/sci-physics/qcl/qcl-0.6.3-r1.ebuild b/sci-physics/qcl/qcl-0.6.3-r1.ebuild
index 6419134..22da81b 100644
--- a/sci-physics/qcl/qcl-0.6.3-r1.ebuild
+++ b/sci-physics/qcl/qcl-0.6.3-r1.ebuild
@@ -1,8 +1,9 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=2
+EAPI=5
+
 inherit eutils flag-o-matic
 
 DESCRIPTION="Quantum Computation Language with an emulator of a quantum computer"
@@ -21,19 +22,18 @@ DEPEND="media-libs/plotutils
 	sys-libs/readline"
 RDEPEND="${DEPEND}"
 
-src_prepare() {
-	epatch "${FILESDIR}"/${P}-gcc43.patch
-	epatch "${FILESDIR}"/${P}-makefile.patch
-}
+PATCHES=(
+	"${FILESDIR}/${P}"-gcc43.patch
+	"${FILESDIR}/${P}"-makefile.patch
+)
 
 src_install() {
 	emake \
 		QCLDIR="${D}/usr/share/${PN}" \
-		QCLBIN="${D}/usr/bin" install \
-		|| die "emake install failed"
+		QCLBIN="${D}/usr/bin" install
 	dodoc README CHANGES
 	if use doc; then
 		insinto /usr/share/doc/${PF}
-		doins "${DISTDIR}"/{structquprog,qcldoc,quprog}.pdf || die
+		doins "${DISTDIR}"/{structquprog,qcldoc,quprog}.pdf
 	fi
 }

diff --git a/sci-physics/qcl/qcl-0.6.4.ebuild b/sci-physics/qcl/qcl-0.6.4.ebuild
index 9338be1..cf23884 100644
--- a/sci-physics/qcl/qcl-0.6.4.ebuild
+++ b/sci-physics/qcl/qcl-0.6.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -22,9 +22,10 @@ DEPEND="media-libs/plotutils
 	sys-libs/readline"
 RDEPEND="${DEPEND}"
 
-src_prepare() {
-	epatch "${FILESDIR}/${PN}-0.6.3-gcc43.patch" "${FILESDIR}/${P}-makefile.patch"
-}
+PATCHES=(
+	"${FILESDIR}/${PN}"-0.6.3-gcc43.patch
+	"${FILESDIR}/${P}"-makefile.patch
+)
 
 src_install() {
 	emake \
@@ -33,6 +34,6 @@ src_install() {
 	dodoc README CHANGES
 	if use doc; then
 		insinto /usr/share/doc/${PF}
-		doins "${DISTDIR}"/{structquprog,qcldoc,quprog}.pdf || die
+		doins "${DISTDIR}"/{structquprog,qcldoc,quprog}.pdf
 	fi
 }


             reply	other threads:[~2015-01-12 20:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-01-12 20:24 Christoph Junghans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-06-03  6:51 [gentoo-commits] proj/sci:master commit in: sci-physics/qcl/ Andrew Savchenko
2015-01-12 20:24 Christoph Junghans
2015-01-12 20:24 Christoph Junghans
2011-06-24 17:09 Justin Lecher

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=1420972802.73d5c6cedc0ca09111b3fa61df413fa1166dc9ef.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