commit:     14b1dbd3fe67cddaf19c0502199733077cbd776b
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar  6 14:25:07 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar  6 14:25:07 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=14b1dbd3

sci-biology/sga: EAPI bump

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

 sci-biology/sga/sga-9999.ebuild | 25 +++++++++++++++----------
 1 file changed, 15 insertions(+), 10 deletions(-)

diff --git a/sci-biology/sga/sga-9999.ebuild b/sci-biology/sga/sga-9999.ebuild
index 52f7bb69c..7519b3e2a 100644
--- a/sci-biology/sga/sga-9999.ebuild
+++ b/sci-biology/sga/sga-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=7
 
-inherit eutils git-r3
+inherit git-r3 autotools
 
 DESCRIPTION="String Graph OLC Assembler for short reads 
(overlap-layout-consensus)"
 HOMEPAGE="https://github.com/jts/sga";
@@ -14,20 +14,27 @@ SLOT="0"
 KEYWORDS=""
 IUSE="jemalloc python"
 
-DEPEND="dev-cpp/sparsehash
+DEPEND="
+       dev-cpp/sparsehash
        sci-biology/bamtools
        sys-libs/zlib
-       jemalloc? ( dev-libs/jemalloc )"
+       jemalloc? ( dev-libs/jemalloc )
+"
 RDEPEND="${DEPEND}
        sci-biology/abyss
        python? ( sci-biology/pysam
                        sci-biology/ruffus )"
 
+S="${WORKDIR}/${P}/src"
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
 # http://www.vcru.wisc.edu/simonlab/bioinformatics/programs/install/sga.htm
 src_configure(){
-       cd src || die
-       ./autogen.sh || die
-       econf --with-bamtools="${EPREFIX}"/usr
+       econf --with-bamtools="${EPREFIX}"/usr 
--with-sparsehash="${EPREFIX}"/usr
 }
 
 src_compile(){
@@ -38,12 +45,10 @@ src_compile(){
        #
        # other unreviewed patches:
        # https://github.com/jts/sga/issues/96
-       cd src || die "Try -std=g++-98, try gcc-5 or -std=c++03"
        default
 }
 
 src_install(){
-       cd src || die
        dodoc README
        emake install DESTDIR="${D}"
        insinto /usr/share/sga/examples

Reply via email to