commit: d87cd1f599e0af88cc468f1d2ce330bbbae3a827
Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
AuthorDate: Sun Aug 22 19:37:16 2021 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Aug 22 19:37:16 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87cd1f5
sci-biology/velvet: Port to EAPI 8
Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
Signed-off-by: David Seifert <soap <AT> gentoo.org>
sci-biology/velvet/velvet-1.2.10.ebuild | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/sci-biology/velvet/velvet-1.2.10.ebuild
b/sci-biology/velvet/velvet-1.2.10.ebuild
index b4d8ae8641b..ea0b3630b78 100644
--- a/sci-biology/velvet/velvet-1.2.10.ebuild
+++ b/sci-biology/velvet/velvet-1.2.10.ebuild
@@ -1,28 +1,25 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
inherit flag-o-matic toolchain-funcs
-MY_P=${PN}_${PV}
-
+MY_P="${PN}_${PV}"
DESCRIPTION="A sequence assembler for very short reads"
HOMEPAGE="https://www.ebi.ac.uk/~zerbino/velvet/"
SRC_URI="https://www.ebi.ac.uk/~zerbino/velvet/${MY_P}.tgz"
+S="${WORKDIR}"/${MY_P}
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc openmp"
-RDEPEND=""
-DEPEND="${RDEPEND}
- doc? ( virtual/latex-base )"
-
-S="${WORKDIR}"/${MY_P}
+BDEPEND="doc? ( virtual/latex-base )"
src_prepare() {
+ default
if ! use doc; then
sed -i -e '/default :/ s/doc//' "${S}"/Makefile || die
fi
@@ -48,7 +45,7 @@ src_prepare() {
tc-export CC
MAKE_XOPTS=(
- CC=$(tc-getCC)
+ CC="$(tc-getCC)"
CFLAGS="${CFLAGS}"
OPT="${CFLAGS}"
)