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 <[email protected]>, + 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 <[email protected]> +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 }
