commit:     25e7181982a0e06eab199571be8765db4633591c
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Fri Dec  9 16:24:23 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Fri Dec  9 16:24:23 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=25e71819

sci-biology/kat:

Package-Manager: portage-2.3.3

 sci-biology/kat/kat-9999.ebuild | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/sci-biology/kat/kat-9999.ebuild b/sci-biology/kat/kat-9999.ebuild
index e8735e4..782d3fc 100644
--- a/sci-biology/kat/kat-9999.ebuild
+++ b/sci-biology/kat/kat-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 
 PYTHON_COMPAT=( python{3_4,3_5} ) # requires python >= 3.1
 
-inherit git-r3
+inherit git-r3 eutils flag-o-matic
 
 DESCRIPTION="K-mer Analysis Toolkit (histogram, filter, compare sets, plot)"
 HOMEPAGE="https://github.com/TGAC/KAT";
@@ -15,15 +15,23 @@ EGIT_REPO_URI="https://github.com/TGAC/KAT.git";
 LICENSE="GPL-3+"
 SLOT="0"
 KEYWORDS=""
-IUSE=""
+IUSE="cpu_flags_x86_sse"
 
-DEPEND="dev-libs/boost:0
+DEPEND="
+       dev-lang/python:3
+       >=dev-libs/boost-1.52
        dev-python/matplotlib
-       sci-visualization/gnuplot"
+       dev-python/numpy
+       sci-libs/scipy
+       dev-python/sphinx"
 RDEPEND="${DEPEND}"
-# contains bundled a modified version of jellyfish-2.2.0
+# contains bundled a modified version of jellyfish-2.2.0 
(libkat_jellyfish.{a,so})
 
 src_prepare(){
        sh ./autogen.sh . || die
-       default
+       local myconf=()
+       myconf+=( --disable-gnuplot ) # python3 does better image rendering, no 
need for gnuplot
+       use cpu_flags_x86_sse && myconf+=( $(use_with cpu_flags_x86_sse sse) ) 
# pass down to jellyfish-2.20/configure
+       PYTHON_VERSION=3 econf ${myconf[@]}
+       eapply_user
 }

Reply via email to