1 |
commit: da3ce5959e5b2a9575a88703a004ed6172e3b31c |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Tue Apr 28 19:04:22 2015 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Tue Apr 28 19:04:22 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=da3ce595 |
7 |
|
8 |
sci-biology/tophat: recorded depependencies; dropped KEYWORDS until we have slotted samtools (or multiple static binaries with version appended to filename), link tophat_reporter against -lsam-0.1.18 and similarly adjust tophat_reporter |
9 |
|
10 |
Package-Manager: portage-2.2.18 |
11 |
|
12 |
sci-biology/tophat/ChangeLog | 7 +++++++ |
13 |
sci-biology/tophat/tophat-2.0.12.ebuild | 17 ++++++++++++++--- |
14 |
sci-biology/tophat/tophat-2.0.13.ebuild | 17 +++++++++++++---- |
15 |
sci-biology/tophat/tophat-2.0.14.ebuild | 16 ++++++++++++---- |
16 |
4 files changed, 46 insertions(+), 11 deletions(-) |
17 |
|
18 |
diff --git a/sci-biology/tophat/ChangeLog b/sci-biology/tophat/ChangeLog |
19 |
index 6339ca9..62520a2 100644 |
20 |
--- a/sci-biology/tophat/ChangeLog |
21 |
+++ b/sci-biology/tophat/ChangeLog |
22 |
@@ -3,6 +3,13 @@ |
23 |
# $Header: /var/cvsroot/gentoo-x86/sci-biology/tophat/ChangeLog,v 1.14 2015/04/07 14:35:24 jlec Exp $ |
24 |
|
25 |
28 Apr 2015; Martin Mokrejs <mmokrejs@×××××××××××××××.cz> |
26 |
+ tophat-2.0.12.ebuild, tophat-2.0.13.ebuild, tophat-2.0.14.ebuild: |
27 |
+ sci-biology/tophat: recorded depependencies; dropped KEYWORDS until we have |
28 |
+ slotted samtools (or multiple static binaries with version appended to |
29 |
+ filename), link tophat_reporter against -lsam-0.1.18 and similarly adjust |
30 |
+ tophat_reporter |
31 |
+ |
32 |
+ 28 Apr 2015; Martin Mokrejs <mmokrejs@×××××××××××××××.cz> |
33 |
tophat-2.0.14.ebuild: |
34 |
sci-biology/tophat: try to introduce all-recursive target to make upstream |
35 |
'make all' call happy |
36 |
|
37 |
diff --git a/sci-biology/tophat/tophat-2.0.12.ebuild b/sci-biology/tophat/tophat-2.0.12.ebuild |
38 |
index f5f059d..13bb0f4 100644 |
39 |
--- a/sci-biology/tophat/tophat-2.0.12.ebuild |
40 |
+++ b/sci-biology/tophat/tophat-2.0.12.ebuild |
41 |
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python2_7 ) |
42 |
|
43 |
inherit autotools-utils python-single-r1 |
44 |
|
45 |
-DESCRIPTION="A fast splice junction mapper for RNA-Seq reads" |
46 |
+DESCRIPTION="Python-based splice junction mapper for RNA-Seq reads using bowtie/bowtie2" |
47 |
HOMEPAGE="http://ccb.jhu.edu/software/tophat" |
48 |
# https://github.com/infphilo/tophat |
49 |
# http://ccb.jhu.edu/software/tophat/downloads/tophat-2.0.14.tar.gz |
50 |
@@ -17,13 +17,21 @@ SRC_URI="http://ccb.jhu.edu/software/tophat/downloads/${P}.tar.gz" |
51 |
|
52 |
LICENSE="Artistic" |
53 |
SLOT="0" |
54 |
-KEYWORDS="~amd64 ~x86" |
55 |
+KEYWORDS="" |
56 |
IUSE="debug" |
57 |
|
58 |
DEPEND="dev-libs/boost" |
59 |
# sci-biology/seqan provides binaries and headers but there are no *.so files so no need for a runtime dependency |
60 |
+# boost and seqan is needed for tophat_reporter |
61 |
+ |
62 |
+# tophat.py calls |
63 |
+# samtools_0.1.18 view -h - |
64 |
+# samtools_0.1.18 sort |
65 |
+# samtools_0.1.18 merge -f -h -u -Q --sam-header |
66 |
RDEPEND="${DEPEND} |
67 |
- <=sci-biology/bowtie-2.2.3" |
68 |
+ >=sci-biology/samtools-0.1.17 |
69 |
+ <=sci-biology/samtools-0.1.19 |
70 |
+ >=sci-biology/bowtie-0.12.9 || ( >=sci-biology/bowtie-2.0.5 <=sci-biology/bowtie-2.2.3 )" |
71 |
|
72 |
# PATCHES=( "${FILESDIR}"/${P}-flags.patch ) |
73 |
|
74 |
@@ -31,6 +39,7 @@ src_prepare() { |
75 |
sed -e "s#./samtools-0.1.18#"${S}"/src/samtools-0.1.18#g" -i configure* Makefile* src/Makefile* || die |
76 |
sed -e "s#./SeqAn-1.3#"${S}"/src/SeqAn-1.3#g" -i configure* || die |
77 |
#rm -rf src/SeqAn* || die |
78 |
+ eautoreconf |
79 |
autotools-utils_src_prepare |
80 |
} |
81 |
|
82 |
@@ -44,6 +53,8 @@ src_configure() { |
83 |
} |
84 |
|
85 |
src_install() { |
86 |
+ # introduce empty all-recursive: target in tophat-2.0.14_build/src/Makefile (BUG: does not replace?) |
87 |
+ sed -e "s#^all: all-am#all: all-am\nall-recursive: all#g" -i src/Makefile* || die |
88 |
autotools-utils_src_install |
89 |
python_fix_shebang "${ED}"/usr/bin/tophat |
90 |
} |
91 |
|
92 |
diff --git a/sci-biology/tophat/tophat-2.0.13.ebuild b/sci-biology/tophat/tophat-2.0.13.ebuild |
93 |
index 5e56cc4..6d4cdcb 100644 |
94 |
--- a/sci-biology/tophat/tophat-2.0.13.ebuild |
95 |
+++ b/sci-biology/tophat/tophat-2.0.13.ebuild |
96 |
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python2_7 ) |
97 |
|
98 |
inherit autotools-utils python-single-r1 |
99 |
|
100 |
-DESCRIPTION="A fast splice junction mapper for RNA-Seq reads" |
101 |
+DESCRIPTION="Python-based splice junction mapper for RNA-Seq reads using bowtie/bowtie2" |
102 |
HOMEPAGE="http://ccb.jhu.edu/software/tophat" |
103 |
# https://github.com/infphilo/tophat |
104 |
# http://ccb.jhu.edu/software/tophat/downloads/tophat-2.0.14.tar.gz |
105 |
@@ -17,14 +17,21 @@ SRC_URI="http://ccb.jhu.edu/software/tophat/downloads/${P}.tar.gz" |
106 |
|
107 |
LICENSE="Artistic" |
108 |
SLOT="0" |
109 |
-KEYWORDS="~amd64 ~x86" |
110 |
+KEYWORDS="" |
111 |
IUSE="debug" |
112 |
|
113 |
DEPEND="dev-libs/boost" |
114 |
-# >=sci-biology/tophat-2.0.13 contain bundled samtools-0.1.18 and SeqAn-1.3 |
115 |
# sci-biology/seqan provides binaries and headers but there are no *.so files so no need for a runtime dependency |
116 |
+# boost and seqan is needed for tophat_reporter |
117 |
+ |
118 |
+# tophat.py calls |
119 |
+# samtools_0.1.18 view -h - |
120 |
+# samtools_0.1.18 sort |
121 |
+# samtools_0.1.18 merge -f -h -u -Q --sam-header |
122 |
RDEPEND="${DEPEND} |
123 |
- <=sci-biology/bowtie-2.2.3" |
124 |
+ >=sci-biology/samtools-0.1.17 |
125 |
+ <=sci-biology/samtools-0.1.19 |
126 |
+ >=sci-biology/bowtie-0.12.9 || ( >=sci-biology/bowtie-2.0.5 <=sci-biology/bowtie-2.2.3 )" |
127 |
|
128 |
# PATCHES=( "${FILESDIR}"/${P}-flags.patch ) |
129 |
|
130 |
@@ -49,6 +56,8 @@ src_configure() { |
131 |
} |
132 |
|
133 |
src_install() { |
134 |
+ # introduce empty all-recursive: target in tophat-2.0.14_build/src/Makefile (BUG: does not replace?) |
135 |
+ sed -e "s#^all: all-am#all: all-am\nall-recursive: all#g" -i src/Makefile* || die |
136 |
autotools-utils_src_install |
137 |
python_fix_shebang "${ED}"/usr/bin/tophat |
138 |
} |
139 |
|
140 |
diff --git a/sci-biology/tophat/tophat-2.0.14.ebuild b/sci-biology/tophat/tophat-2.0.14.ebuild |
141 |
index 1e48d7d..2091866 100644 |
142 |
--- a/sci-biology/tophat/tophat-2.0.14.ebuild |
143 |
+++ b/sci-biology/tophat/tophat-2.0.14.ebuild |
144 |
@@ -9,7 +9,7 @@ PYTHON_COMPAT=( python2_7 ) |
145 |
|
146 |
inherit autotools-utils python-single-r1 |
147 |
|
148 |
-DESCRIPTION="A fast splice junction mapper for RNA-Seq reads" |
149 |
+DESCRIPTION="Python-based splice junction mapper for RNA-Seq reads using bowtie/bowtie2" |
150 |
HOMEPAGE="http://ccb.jhu.edu/software/tophat" |
151 |
# https://github.com/infphilo/tophat |
152 |
# http://ccb.jhu.edu/software/tophat/downloads/tophat-2.0.14.tar.gz |
153 |
@@ -17,14 +17,22 @@ SRC_URI="http://ccb.jhu.edu/software/tophat/downloads/${P}.tar.gz" |
154 |
|
155 |
LICENSE="Artistic" |
156 |
SLOT="0" |
157 |
-KEYWORDS="~amd64 ~x86" |
158 |
+KEYWORDS="" |
159 |
IUSE="debug" |
160 |
|
161 |
DEPEND="dev-libs/boost" |
162 |
-# >=sci-biology/tophat-2.0.13 contains bundled samtools-0.1.18 and SeqAn-1.3 |
163 |
# sci-biology/seqan provides binaries and headers but there are no *.so files so no need for a runtime dependency |
164 |
+# boost and seqan is needed for tophat_reporter |
165 |
+ |
166 |
+# tophat.py calls |
167 |
+# samtools_0.1.18 view -h - |
168 |
+# samtools_0.1.18 sort |
169 |
+# samtools_0.1.18 merge -f -h -u -Q --sam-header |
170 |
RDEPEND="${DEPEND} |
171 |
- <=sci-biology/bowtie-2.2.3" |
172 |
+ >=sci-biology/samtools-0.1.17 |
173 |
+ <=sci-biology/samtools-0.1.19 |
174 |
+ >=sci-biology/bowtie-0.12.9 || ( >=sci-biology/bowtie-2.0.5 <=sci-biology/bowtie-2.2.3 )" |
175 |
+ |
176 |
# see https://aur.archlinux.org/packages/tophat/ about linking issues |
177 |
|
178 |
# PATCHES=( "${FILESDIR}"/${P}-flags.patch ) |