commit:     ee8afc8624d23ec0bd41a5b63ca03ab40973af00
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 25 15:16:26 2017 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Feb 25 15:23:58 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee8afc86

sci-biology/clustalw: Modernise to EAPI 6

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../{clustalw-1.83-r3.ebuild => clustalw-1.83-r4.ebuild}   | 14 +++++++-------
 sci-biology/clustalw/files/1.83-as-needed.patch            |  4 ++--
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/sci-biology/clustalw/clustalw-1.83-r3.ebuild 
b/sci-biology/clustalw/clustalw-1.83-r4.ebuild
similarity index 74%
rename from sci-biology/clustalw/clustalw-1.83-r3.ebuild
rename to sci-biology/clustalw/clustalw-1.83-r4.ebuild
index 6047a08ed4..bf6e6a9c28 100644
--- a/sci-biology/clustalw/clustalw-1.83-r3.ebuild
+++ b/sci-biology/clustalw/clustalw-1.83-r4.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
 
 DESCRIPTION="General purpose multiple alignment program for DNA and proteins"
 HOMEPAGE="http://www.embl-heidelberg.de/~seqanal/";
@@ -17,8 +17,10 @@ IUSE=""
 
 S="${WORKDIR}"/${PN}${PV}
 
+PATCHES=( "${FILESDIR}"/${PV}-as-needed.patch )
+
 src_prepare() {
-       epatch "${FILESDIR}"/${PV}-as-needed.patch
+       default
 
        sed \
                -e "/^CC/s:cc:$(tc-getCC):g" \
@@ -30,7 +32,5 @@ src_prepare() {
 
 src_install() {
        dobin clustalw
-       dodoc README clustalv.doc clustalw.doc clustalw.ms
-       insinto /usr/share/doc/${PF}
-       doins clustalw_help
+       dodoc README clustalv.doc clustalw{.doc,.ms,_help}
 }

diff --git a/sci-biology/clustalw/files/1.83-as-needed.patch 
b/sci-biology/clustalw/files/1.83-as-needed.patch
index 62b4654cdd..9bb35b43f2 100644
--- a/sci-biology/clustalw/files/1.83-as-needed.patch
+++ b/sci-biology/clustalw/files/1.83-as-needed.patch
@@ -1,5 +1,5 @@
---- makefile   2003-01-29 09:53:45.000000000 +0100
-+++ makefile.new       2009-08-17 08:33:16.000000000 +0200
+--- a/makefile
++++ b/makefile
 @@ -11,11 +11,11 @@
  HEADERS = general.h clustalw.h
  

Reply via email to