Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/velvet/
Date: Sun, 22 Aug 2021 19:38:03
Message-Id: 1629661036.d87cd1f599e0af88cc468f1d2ce330bbbae3a827.soap@gentoo
1 commit: d87cd1f599e0af88cc468f1d2ce330bbbae3a827
2 Author: Jakov Smolic <jakov.smolic <AT> sartura <DOT> hr>
3 AuthorDate: Sun Aug 22 19:37:16 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 22 19:37:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d87cd1f5
7
8 sci-biology/velvet: Port to EAPI 8
9
10 Signed-off-by: Jakov Smolic <jakov.smolic <AT> sartura.hr>
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 sci-biology/velvet/velvet-1.2.10.ebuild | 15 ++++++---------
14 1 file changed, 6 insertions(+), 9 deletions(-)
15
16 diff --git a/sci-biology/velvet/velvet-1.2.10.ebuild b/sci-biology/velvet/velvet-1.2.10.ebuild
17 index b4d8ae8641b..ea0b3630b78 100644
18 --- a/sci-biology/velvet/velvet-1.2.10.ebuild
19 +++ b/sci-biology/velvet/velvet-1.2.10.ebuild
20 @@ -1,28 +1,25 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=8
26
27 inherit flag-o-matic toolchain-funcs
28
29 -MY_P=${PN}_${PV}
30 -
31 +MY_P="${PN}_${PV}"
32 DESCRIPTION="A sequence assembler for very short reads"
33 HOMEPAGE="https://www.ebi.ac.uk/~zerbino/velvet/"
34 SRC_URI="https://www.ebi.ac.uk/~zerbino/velvet/${MY_P}.tgz"
35 +S="${WORKDIR}"/${MY_P}
36
37 LICENSE="GPL-2"
38 SLOT="0"
39 KEYWORDS="~amd64 ~x86"
40 IUSE="doc openmp"
41
42 -RDEPEND=""
43 -DEPEND="${RDEPEND}
44 - doc? ( virtual/latex-base )"
45 -
46 -S="${WORKDIR}"/${MY_P}
47 +BDEPEND="doc? ( virtual/latex-base )"
48
49 src_prepare() {
50 + default
51 if ! use doc; then
52 sed -i -e '/default :/ s/doc//' "${S}"/Makefile || die
53 fi
54 @@ -48,7 +45,7 @@ src_prepare() {
55 tc-export CC
56
57 MAKE_XOPTS=(
58 - CC=$(tc-getCC)
59 + CC="$(tc-getCC)"
60 CFLAGS="${CFLAGS}"
61 OPT="${CFLAGS}"
62 )