1 |
commit: 717a929b44dd20599cfb826e521397cebda099ce |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
3 |
AuthorDate: Wed Feb 3 04:49:05 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Wed Feb 3 04:49:05 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=717a929b |
7 |
|
8 |
sci-biology/pileup: EAPI bump |
9 |
|
10 |
Package-Manager: Portage-3.0.14, Repoman-3.0.2 |
11 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> |
12 |
|
13 |
sci-biology/pileup/pileup-0.6.ebuild | 41 ++++++++++++++++-------------------- |
14 |
1 file changed, 18 insertions(+), 23 deletions(-) |
15 |
|
16 |
diff --git a/sci-biology/pileup/pileup-0.6.ebuild b/sci-biology/pileup/pileup-0.6.ebuild |
17 |
index 54c16576b..ad978f70f 100644 |
18 |
--- a/sci-biology/pileup/pileup-0.6.ebuild |
19 |
+++ b/sci-biology/pileup/pileup-0.6.ebuild |
20 |
@@ -1,36 +1,36 @@ |
21 |
# Copyright 1999-2021 Gentoo Authors |
22 |
# Distributed under the terms of the GNU General Public License v2 |
23 |
|
24 |
-EAPI=5 |
25 |
+EAPI=7 |
26 |
|
27 |
DESCRIPTION="SSAHA2-based pipeline to align reads" |
28 |
-HOMEPAGE="http://www.sanger.ac.uk/resources/software/ssaha2/" |
29 |
+HOMEPAGE="https://www.sanger.ac.uk/resources/software/ssaha2/" |
30 |
SRC_URI="ftp://ftp.sanger.ac.uk/pub4/resources/software/ssaha2/pileup.tgz -> ${P}.tgz" |
31 |
|
32 |
# http://samtools.sourceforge.net/pileup.shtml |
33 |
# |
34 |
LICENSE="GRL" |
35 |
SLOT="0" |
36 |
-KEYWORDS="" |
37 |
-IUSE="" |
38 |
+KEYWORDS="~amd64" |
39 |
|
40 |
-DEPEND="" |
41 |
-RDEPEND="${DEPEND}" |
42 |
- |
43 |
-S="${WORKDIR}"/pileup_v"${PV}" |
44 |
+S="${WORKDIR}/pileup_v${PV}" |
45 |
|
46 |
src_prepare(){ |
47 |
- sed -i "s/^CC= gcc/#CC= gcc/" ssaha_pileup/ssaha_pileup/makefile || die "sed failed to fix makefile" |
48 |
- sed -i "s/^CFLAGS= -O2/#CFLAGS= -O2/" ssaha_pileup/ssaha_pileup/makefile || die "sed failed to fix makefile" |
49 |
+ default |
50 |
+ sed -i -e "s/^CC= gcc/#CC= gcc/" \ |
51 |
+ -e "s/^CFLAGS= -O2/#CFLAGS= -O2/" \ |
52 |
+ ssaha_pileup/ssaha_pileup/makefile || die "sed failed to fix makefile" |
53 |
|
54 |
for d in get_seqreads ssaha_split; do |
55 |
- sed -i "s/^CC = cc/#CC = cc/" ssaha_pileup/other_codes/$d/Makefile || die "sed failed to fix Makefile" |
56 |
- sed -i "s/^CFLAGS = -O4/#CFLAGS = -O4/" ssaha_pileup/other_codes/$d/Makefile || die "sed failed to fix Makefile" |
57 |
+ sed -i -e "s/^CC = cc/#CC = cc/" \ |
58 |
+ -e "s/^CFLAGS = -O4/#CFLAGS = -O4/" \ |
59 |
+ ssaha_pileup/other_codes/$d/Makefile || die "sed failed to fix Makefile" |
60 |
done |
61 |
|
62 |
for d in search_read ssaha_parseSNP; do |
63 |
- sed -i "s/^CC = gcc/#CC = gcc/" ssaha_pileup/other_codes/$d/Makefile || die "sed failed to fix Makefile" |
64 |
- sed -i "s/^CFLAGS = -Wall -O4/#CFLAGS = -Wall -O4/" ssaha_pileup/other_codes/$d/Makefile || die "sed failed to fix Makefile" |
65 |
+ sed -i -e "s/^CC = gcc/#CC = gcc/" \ |
66 |
+ -e "s/^CFLAGS = -Wall -O4/#CFLAGS = -Wall -O4/" \ |
67 |
+ ssaha_pileup/other_codes/$d/Makefile || die "sed failed to fix Makefile" |
68 |
done |
69 |
} |
70 |
|
71 |
@@ -40,22 +40,17 @@ src_compile(){ |
72 |
|
73 |
for d in get_seqreads ssaha_split ssaha_parseSNP search_read; do |
74 |
cd "${S}"/ssaha_pileup/other_codes/$d || die "Cannot cd to "${S}"ssaha_pileup/other_codes/"$d |
75 |
- make clean |
76 |
+ emake clean |
77 |
default |
78 |
done |
79 |
} |
80 |
|
81 |
src_install(){ |
82 |
cd ssaha_pileup/ssaha_pileup || die "Cannot cd to "${S}"ssaha_pileup/ssaha_pileup" |
83 |
- dobin ssaha_pileup ssaha_solexa ssaha_pairs ssaha_clean ssaha_mates ssaha_cigar ssaha_indel view_pileup ssaha_reads ssaha_merge ssaha_check-cigar "dobin failed" |
84 |
+ dobin ssaha_pileup ssaha_solexa ssaha_pairs ssaha_clean ssaha_mates ssaha_cigar ssaha_indel view_pileup ssaha_reads ssaha_merge ssaha_check-cigar |
85 |
|
86 |
- cd "${S}" || die |
87 |
- for f in ssaha_pileup/other_codes/get_seqreads/get_seqreads \ |
88 |
- ssaha_pileup/other_codes/ssaha_split/ssaha_split \ |
89 |
- ssaha_pileup/other_codes/ssaha_parseSNP/ssaha_parseSNP \ |
90 |
- ssaha_pileup/other_codes/search_read/search_read; do |
91 |
- dobin $f "dobin failed" |
92 |
- done |
93 |
+ cd "${S}/ssaha_pileup/other_codes" || die |
94 |
+ dobin get_seqreads/get_seqreads ssaha_split/ssaha_split ssaha_parseSNP/ssaha_parseSNP search_read/search_read |
95 |
|
96 |
# TODO: |
97 |
# pileup_v0.6/ssaha_pileup/tag.pl |