commit:     a51248c80ee344d420c305b219c6272aae937030
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Fri Nov 20 21:08:24 2015 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Fri Nov 20 21:08:24 2015 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a51248c8

sci-biology/maker: respect USE=mpi, remove hard DEPENDency on 
repeatmasker-libraries which are fetch restricted

Package-Manager: portage-2.2.18

 sci-biology/maker/ChangeLog           |  8 ++++++--
 sci-biology/maker/maker-2.31.8.ebuild | 13 ++++++++++---
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/sci-biology/maker/ChangeLog b/sci-biology/maker/ChangeLog
index 9ad3002..62f6717 100644
--- a/sci-biology/maker/ChangeLog
+++ b/sci-biology/maker/ChangeLog
@@ -1,7 +1,11 @@
-# ChangeLog for sci-biology/MAKER
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# ChangeLog for sci-biology/maker
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
 # $Id$
 
+  20 Nov 2015; Martin Mokrejs <mmokr...@fold.natur.cuni.cz> 
maker-2.31.8.ebuild:
+  sci-biology/maker: respect USE=mpi, remove hard DEPENDency on repeatmasker-
+  libraries which are fetch restricted
+
   16 Sep 2014; Christoph Junghans <ott...@gentoo.org> MAKER-9999.ebuild:
   added license
 

diff --git a/sci-biology/maker/maker-2.31.8.ebuild 
b/sci-biology/maker/maker-2.31.8.ebuild
index 9ec94fe..d005e19 100644
--- a/sci-biology/maker/maker-2.31.8.ebuild
+++ b/sci-biology/maker/maker-2.31.8.ebuild
@@ -17,13 +17,14 @@ RESTRICT="fetch"
 LICENSE="|| ( GPL-2 Artistic-2 )"
 SLOT="0"
 KEYWORDS=""
-IUSE=""
+IUSE="mpi"
 
 # http://search.cpan.org/~rgarcia/Perl-Unsafe-Signals-0.02/
 # http://search.cpan.org/~rybskej/forks-0.36/lib/forks.pm
 # http://search.cpan.org/~rybskej/forks-0.36/lib/forks/shared.pm
 # http://search.cpan.org/~dconway/IO-Prompt-0.997002/lib/IO/Prompt.pm
-DEPEND="virtual/mpi
+DEPEND="
+       mpi? ( virtual/mpi )
        dev-perl/DBI
        dev-perl/DBD-SQLite
        dev-perl/File-Which
@@ -36,7 +37,6 @@ DEPEND="virtual/mpi
        >=sci-biology/bioperl-1.6
        sci-biology/ncbi-tools || ( sci-biology/ncbi-tools++ )
        sci-biology/snap
-       sci-biology/repeatmasker
        sci-biology/exonerate
        sci-biology/augustus"
 RDEPEND="${DEPEND}"
@@ -46,9 +46,16 @@ S="${WORKDIR}"/maker/src
 pkg_nofetch() {
        einfo "Please visit ${HOMEPAGE} and obtain the file"
        einfo "maker-"${PV}".tgz and place it into ${DISTDIR}"
+       einfo "It is also advisable to install sci-biology/repeatmasker"
+       einfo "and in turn register for sci-biology/repeatmasker-libraries"
 }
 
 src_compile(){
        perl Build.PL || die
        ./Build install || die
 }
+
+pkg_postinst(){
+       einfo "It is also advisable to install sci-biology/repeatmasker"
+       einfo "and in turn register for sci-biology/repeatmasker-libraries"
+}

Reply via email to