commit:     36fe612e94cbe92735a427847d06e30edc4285a7
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Sat Mar  6 13:53:20 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Sat Mar  6 13:53:20 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=36fe612e

sci-biology/sabre: EAPI bump

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

 sci-biology/sabre/sabre-9999.ebuild | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/sci-biology/sabre/sabre-9999.ebuild 
b/sci-biology/sabre/sabre-9999.ebuild
index bfa4bde63..afcefa226 100644
--- a/sci-biology/sabre/sabre-9999.ebuild
+++ b/sci-biology/sabre/sabre-9999.ebuild
@@ -1,15 +1,14 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
-
-[ "$PV" == "9999" ] && inherit git-r3
+EAPI=7
 
 inherit toolchain-funcs
 
 DESCRIPTION="Barcode demultiplexing and trimming tool for Illumina FastQ files"
 HOMEPAGE="https://github.com/najoshi/sabre";
 if [ "$PV" == "9999" ]; then
+       inherit git-r3
        EGIT_REPO_URI="https://github.com/najoshi/sabre.git";
        KEYWORDS=""
 else
@@ -23,9 +22,8 @@ SLOT="0"
 DEPEND="sys-libs/zlib"
 RDEPEND="${DEPEND}"
 
-S="${S}"/src
-
 src_prepare(){
+       default
        sed -e "s#OPT = -O3#OPT = ${CFLAGS}#" \
                -e "s#CC = gcc#CC = $(tc-getCC)#" -i Makefile || die
 }

Reply via email to