1 |
commit: 86dd71ff4e5aaf1d07e78b746045ec800fe2bafe |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Mon Feb 1 08:12:20 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Mon Feb 1 08:12:20 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=86dd71ff |
7 |
|
8 |
sci-biology/SOAPdenovo2: version bump 242 |
9 |
|
10 |
no keywords yet, because it does not compile |
11 |
|
12 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
13 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
14 |
|
15 |
...APdenovo2-241.ebuild => SOAPdenovo2-242.ebuild} | 31 +++++++++------------- |
16 |
1 file changed, 13 insertions(+), 18 deletions(-) |
17 |
|
18 |
diff --git a/sci-biology/SOAPdenovo2/SOAPdenovo2-241.ebuild b/sci-biology/SOAPdenovo2/SOAPdenovo2-242.ebuild |
19 |
similarity index 51% |
20 |
rename from sci-biology/SOAPdenovo2/SOAPdenovo2-241.ebuild |
21 |
rename to sci-biology/SOAPdenovo2/SOAPdenovo2-242.ebuild |
22 |
index e3679664d..8ae80d466 100644 |
23 |
--- a/sci-biology/SOAPdenovo2/SOAPdenovo2-241.ebuild |
24 |
+++ b/sci-biology/SOAPdenovo2/SOAPdenovo2-242.ebuild |
25 |
@@ -1,19 +1,18 @@ |
26 |
-# Copyright 1999-2018 Gentoo Foundation |
27 |
+# Copyright 1999-2021 Gentoo Authors |
28 |
# Distributed under the terms of the GNU General Public License v2 |
29 |
|
30 |
-EAPI=6 |
31 |
+EAPI=7 |
32 |
|
33 |
-inherit toolchain-funcs eutils |
34 |
+inherit toolchain-funcs |
35 |
|
36 |
DESCRIPTION="Whole genome shotgun assembler (sparse de Bruijn graph) (now MEGAHIT)" |
37 |
HOMEPAGE="https://github.com/aquaskyline/SOAPdenovo2 |
38 |
- http://gigascience.biomedcentral.com/articles/10.1186/2047-217X-1-18" |
39 |
-SRC_URI="https://github.com/aquaskyline/SOAPdenovo2/archive/r241.tar.gz -> ${P}.tar.gz" |
40 |
+ https://gigascience.biomedcentral.com/articles/10.1186/2047-217X-1-18" |
41 |
+SRC_URI="https://github.com/aquaskyline/SOAPdenovo2/archive/r${PV}.tar.gz -> ${P}.tar.gz" |
42 |
|
43 |
LICENSE="GPL-3" |
44 |
SLOT="0" |
45 |
-KEYWORDS="" |
46 |
-IUSE="" |
47 |
+KEYWORDS="" # fails to compile |
48 |
|
49 |
DEPEND="dev-libs/libaio |
50 |
sci-biology/samtools:0.1-legacy" |
51 |
@@ -22,7 +21,7 @@ RDEPEND="${DEPEND}" |
52 |
S="${WORKDIR}"/"${PN}"-r"${PV}" # version is 2.04-r241 |
53 |
|
54 |
src_prepare(){ |
55 |
- epatch "${FILESDIR}"/SOAPdenovo2-r241-Makefile.patch |
56 |
+ #eapply "${FILESDIR}"/SOAPdenovo2-r241-Makefile.patch |
57 |
# this will be partly covered by |
58 |
# https://github.com/aquaskyline/SOAPdenovo2/pull/44 |
59 |
# |
60 |
@@ -33,15 +32,11 @@ src_prepare(){ |
61 |
sparsePregraph/inc/sam.h sparsePregraph/inc/bam.h sparsePregraph/inc/bgzf.h standardPregraph/inc/zlib.h \ |
62 |
standardPregraph/inc/zconf.h sparsePregraph/inc/zlib.h sparsePregraph/inc/zconf.h standardPregraph/inc/*.so \ |
63 |
sparsePregraph/*.a || die |
64 |
+ find -type f -name "*.h" -exec sed -i -e 's/#include "sam.h"/#include "bam-0.1-legacy\/sam.h"/g' {} + || die |
65 |
+ find -type f -name "*.h" -exec sed -i -e 's/#include "bgzf.h"/#include "bam-0.1-legacy\/bgzf.h"/g' {} + || die |
66 |
+ find -type f -name "*.h" -exec sed -i -e 's/#include "sam.h"/#include "bam-0.1-legacy\/sam.h"/g' {} + || die |
67 |
+ find -type f -name "*.c*" -exec sed -i -e 's/#include "bam.h"/#include "bam-0.1-legacy\/bam.h"/g' {} + || die |
68 |
+ find -type f -name "*.c*" -exec sed -i -e 's/#include "bgzf.h"/#include "bam-0.1-legacy\/bgzf.h"/g' {} + || die |
69 |
+ find -type f -name "*.c*" -exec sed -i -e 's/#include "sam.h"/#include "bam-0.1-legacy\/sam.h"/g' {} + || die |
70 |
default |
71 |
} |
72 |
- |
73 |
-src_compile(){ |
74 |
- cd standardPregraph && emake -j1 63mer=1 |
75 |
- cd ../standardPregraph && emake -j1 127mer=1 |
76 |
- cd ../sparsePregraph && emake -j1 |
77 |
-} |
78 |
- |
79 |
-src_install(){ |
80 |
- doman "${FILESDIR}"/SOAPdenovo2.1 |
81 |
-} |