commit:     413ca5cc2148c5f228149e919814f7cd0db2b6ee
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 29 20:25:00 2017 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Sun Jan 29 20:25:16 2017 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=413ca5cc

sci-biology/abacas: QA fixes

Bump to EAPI 6
shorten DESCRIPTION
Use optfeature

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-biology/abacas/abacas-1.3.1.ebuild | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/sci-biology/abacas/abacas-1.3.1.ebuild 
b/sci-biology/abacas/abacas-1.3.1.ebuild
index aecd8da..43379c7 100644
--- a/sci-biology/abacas/abacas-1.3.1.ebuild
+++ b/sci-biology/abacas/abacas-1.3.1.ebuild
@@ -1,10 +1,12 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=5
+EAPI=6
 
-DESCRIPTION="Order and orientate DNA contigs even via 6-frame protein 
alignments, design primers for gap closing"
+inherit eutils
+
+DESCRIPTION="Order and orientate DNA contigs even via 6-frame protein 
alignments"
 HOMEPAGE="http://abacas.sourceforge.net";
 SRC_URI="http://downloads.sourceforge.net/project/abacas/abacas.1.3.1.pl";
 
@@ -22,12 +24,14 @@ S="${WORKDIR}"
 
 src_prepare(){
        cp -p "${DISTDIR}"/abacas.1.3.1.pl abacas.pl || die
-       sed -i 's#/usr/local/bin/perl#/usr/bin/perl#' -i abacas.pl || die
+       sed \
+               -i 's#/usr/local/bin/perl#/usr/bin/perl#' \
+               -i abacas.pl || die
 }
 src_install(){
        dobin abacas.pl
 }
 
 pkg_postinst(){
-       einfo "To view the results use Artemis ACT (sci-biology/artemis)"
+       optfeature "To view the results use Artemis ACT" sci-biology/artemis
 }

Reply via email to