commit:     b8539295143cbbfcf4a3006fafa7080b7a1efac9
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Feb 13 10:54:23 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Feb 13 10:54:23 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=b8539295

sci-biology/Scaffolder-evaluation: correctly depend on python

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .../Scaffolder-evaluation-9999.ebuild              | 23 +++++++++++++---------
 1 file changed, 14 insertions(+), 9 deletions(-)

diff --git 
a/sci-biology/Scaffolder-evaluation/Scaffolder-evaluation-9999.ebuild 
b/sci-biology/Scaffolder-evaluation/Scaffolder-evaluation-9999.ebuild
index 298dc7b22..e6c7578fa 100644
--- a/sci-biology/Scaffolder-evaluation/Scaffolder-evaluation-9999.ebuild
+++ b/sci-biology/Scaffolder-evaluation/Scaffolder-evaluation-9999.ebuild
@@ -1,33 +1,38 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit git-r3
+PYTHON_COMPAT=( python3_{7,8,9} )
+
+inherit python-r1 perl-functions git-r3
 
 DESCRIPTION="Scripts to run genome assembly scaffolding tools and analyse 
output for accuracy"
 HOMEPAGE="https://github.com/martinghunt/Scaffolder-evaluation
-       http://genomebiology.com/2014/15/3/R42";
+       
https://genomebiology.biomedcentral.com/articles/10.1186/gb-2014-15-3-r42";
 EGIT_REPO_URI="https://github.com/martinghunt/Scaffolder-evaluation.git";
 
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS=""
-IUSE=""
 
-DEPEND=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DPES}"
 RDEPEND="${DEPEND}
        dev-lang/perl
-       dev-lang/python
        dev-lang/R
        media-gfx/graphviz
        sci-biology/mummer
        sci-biology/bowtie
        sci-biology/samtools
        sci-biology/ncbi-tools
-       sci-biology/Fastaq"
+       sci-biology/Fastaq[${PYTHON_USEDEP}]
+"
 
 src_install(){
-       dobin Analysis-scripts/* Wrapper-scripts/*
+       python_foreach_impl python_doscript Analysis-scripts/*.py
+       dobin Analysis-scripts/*.sh
+       perl_domodule Wrapper-scripts/*
        dodoc README.md
 }

Reply via email to