Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/trinityrnaseq/files/, sci-biology/trinityrnaseq/
Date: Mon, 01 Feb 2021 09:14:16
Message-Id: 1612170811.451b8632c92318dc8aec4ec7b625a968c30a28be.andrewammerlaan@gentoo
1 commit: 451b8632c92318dc8aec4ec7b625a968c30a28be
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Mon Feb 1 09:13:31 2021 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Mon Feb 1 09:13:31 2021 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=451b8632
7
8 sci-biology/trinityrnaseq: version bump 2.11.0
9
10 no keywords, because dep GAL is missing them
11
12 Package-Manager: Portage-3.0.14, Repoman-3.0.2
13 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
14
15 .../trinityrnaseq-2.1.1-disable_some_plugins.patch | 20 ------
16 .../trinityrnaseq-2.11.0-fix-compilation.patch | 12 ++++
17 .../trinityrnaseq-2.6.6-disable_some_plugins.patch | 23 -------
18 .../trinityrnaseq/trinityrnaseq-2.0.6.ebuild | 66 -------------------
19 .../trinityrnaseq/trinityrnaseq-2.1.1.ebuild | 75 ---------------------
20 ...eq-2.6.6.ebuild => trinityrnaseq-2.11.0.ebuild} | 37 +++++------
21 .../trinityrnaseq/trinityrnaseq-2.2.0.ebuild | 76 ----------------------
22 7 files changed, 30 insertions(+), 279 deletions(-)
23
24 diff --git a/sci-biology/trinityrnaseq/files/trinityrnaseq-2.1.1-disable_some_plugins.patch b/sci-biology/trinityrnaseq/files/trinityrnaseq-2.1.1-disable_some_plugins.patch
25 deleted file mode 100644
26 index 43a06ae53..000000000
27 --- a/sci-biology/trinityrnaseq/files/trinityrnaseq-2.1.1-disable_some_plugins.patch
28 +++ /dev/null
29 @@ -1,20 +0,0 @@
30 ---- trinityrnaseq-2.1.1/trinity-plugins/Makefile.ori 2015-11-21 00:34:52.310075544 +0100
31 -+++ trinityrnaseq-2.1.1/trinity-plugins/Makefile 2015-11-21 00:37:16.260075920 +0100
32 -@@ -10,7 +10,7 @@
33 - PARAFLY_CODE=parafly-code
34 - TRIMMOMATIC_CODE=Trimmomatic-0.32
35 -
36 --trinity_essentials: jellyfish scaffold_iworm_contigs_target fastool_target parafly_target trimmomatic_target samtools
37 -+trinity_essentials: scaffold_iworm_contigs_target fastool_target parafly_target
38 -
39 - trimmomatic_target:
40 - ln -sf ${TRIMMOMATIC_CODE} Trimmomatic
41 -@@ -31,7 +31,7 @@
42 - # cd htslib-1.2.1 && ./configure && $(MAKE)
43 - tar xvf ${HTSLIB_CODE} && cd htslib && $(MAKE)
44 -
45 --scaffold_iworm_contigs_target: htslib_target
46 -+scaffold_iworm_contigs_target:
47 - cd scaffold_iworm_contigs && $(MAKE)
48 -
49 - fastool_target:
50
51 diff --git a/sci-biology/trinityrnaseq/files/trinityrnaseq-2.11.0-fix-compilation.patch b/sci-biology/trinityrnaseq/files/trinityrnaseq-2.11.0-fix-compilation.patch
52 new file mode 100644
53 index 000000000..8647aad3a
54 --- /dev/null
55 +++ b/sci-biology/trinityrnaseq/files/trinityrnaseq-2.11.0-fix-compilation.patch
56 @@ -0,0 +1,12 @@
57 +diff --git a/trinity-plugins/bamsifter/sift_bam_max_cov.cpp b/trinity-plugins/bamsifter/sift_bam_max_cov.cpp
58 +index e8ecbcf..ccdbd27 100644
59 +--- a/trinity-plugins/bamsifter/sift_bam_max_cov.cpp
60 ++++ b/trinity-plugins/bamsifter/sift_bam_max_cov.cpp
61 +@@ -10,6 +10,7 @@
62 + #include <set>
63 + #include <utility>
64 + #include <vector>
65 ++#include <string>
66 +
67 + #include "htslib/sam.h"
68 + #include "htslib/bgzf.h"
69
70 diff --git a/sci-biology/trinityrnaseq/files/trinityrnaseq-2.6.6-disable_some_plugins.patch b/sci-biology/trinityrnaseq/files/trinityrnaseq-2.6.6-disable_some_plugins.patch
71 deleted file mode 100644
72 index 02f4d5d8a..000000000
73 --- a/sci-biology/trinityrnaseq/files/trinityrnaseq-2.6.6-disable_some_plugins.patch
74 +++ /dev/null
75 @@ -1,23 +0,0 @@
76 ---- trinity-plugins/Makefile 2018-04-21 20:01:58.389880915 +0200
77 -+++ trinity-plugins/Makefile 2018-04-21 20:03:31.752684954 +0200
78 -@@ -7,7 +7,7 @@
79 -
80 -
81 -
82 --trinity_essentials: seqtk_target parafly_target trimmomatic_target
83 -+trinity_essentials: parafly_target
84 -
85 - trimmomatic_target:
86 - ln -sf ${TRIMMOMATIC_CODE} Trimmomatic
87 -@@ -39,11 +39,9 @@
88 - cd COLLECTL && tar xvf ${COLLECTL_CODE}.src.tar.gz && ln -sf ${COLLECTL_CODE} collectl
89 -
90 - clean:
91 -- rm -rf ./seqtk-trinity-0.0.2
92 - cd scaffold_iworm_contigs && $(MAKE) clean
93 - cd parafly-code && $(MAKE) clean
94 - rm -f ./parafly # rm symlink
95 -- rm -f ./Trimmomatic # rm symlink
96 - cd slclust && $(MAKE) clean
97 - cd COLLECTL && rm -rf ${COLLECTL_CODE} && rm -f collectl
98 - @echo "\n\n** Done cleaning plugins area **"
99
100 diff --git a/sci-biology/trinityrnaseq/trinityrnaseq-2.0.6.ebuild b/sci-biology/trinityrnaseq/trinityrnaseq-2.0.6.ebuild
101 deleted file mode 100644
102 index 1941db22a..000000000
103 --- a/sci-biology/trinityrnaseq/trinityrnaseq-2.0.6.ebuild
104 +++ /dev/null
105 @@ -1,66 +0,0 @@
106 -# Copyright 1999-2018 Gentoo Foundation
107 -# Distributed under the terms of the GNU General Public License v2
108 -
109 -EAPI=5
110 -
111 -PERL_EXPORT_PHASE_FUNCTIONS=no
112 -inherit perl-module eutils toolchain-funcs
113 -
114 -# Butterfly should not require any special compilation, as its written in Java and already provided as portable precompiled software ...
115 -# There is bundled jellyfish-1.1.11 source tree
116 -
117 -DESCRIPTION="Transcriptome assembler for RNA-seq reads"
118 -HOMEPAGE="http://trinityrnaseq.github.io/"
119 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
120 -
121 -LICENSE="BSD-BroadInstitute"
122 -SLOT="0"
123 -KEYWORDS=""
124 -IUSE=""
125 -
126 -DEPEND=""
127 -RDEPEND="${DEPEND}
128 - sci-biology/parafly
129 - >=sci-biology/jellyfish-2.1.4:2
130 - sci-biology/samtools:0.1-legacy
131 - >=sci-biology/GAL-0.2.1
132 - dev-perl/IO-All"
133 -# ReleaseNotes mentions that <sci-biology/samtools-1.1 is needed
134 -# version of bundled jellyfish is 2.1.4
135 -
136 -# optionally install https://github.com/HpcGridRunner/HpcGridRunner/releases
137 -
138 -#src_compile(){
139 -# emake all
140 -# emake plugins # bundled copies of TransDecoder, trimmomatic, fastool, parafly
141 -#}
142 -
143 -src_install(){
144 - perl_set_version
145 - dobin Trinity util/*.pl
146 - # should become a new package depending on dev-perl/IO-All
147 - dobin trinity-plugins/fstrozzi-Fastool-7c3e034f05/fastool
148 - dodoc trinity-plugins/fstrozzi-Fastool-7c3e034f05/README.md
149 - #
150 - insinto /usr/share/"${PN}"/util
151 - rm -rf trinity-plugins/GAL_0.2.1 util/fasta_tool
152 - doins -r util/*
153 - #
154 - dobin Inchworm/bin/*
155 - cd Chrysalis || die
156 - dobin MakeDepend checkLock BreakTransByPairs Chrysalis GraphFromFasta IsoformAugment JoinTransByPairs QuantifyGraph ReadsToTranscripts RunButterfly TranscriptomeFromVaryK analysis/ReadsToComponents.pl
157 - cd "${S}" || die
158 - insinto "${VENDOR_LIB}/${PN}"
159 - doins util/misc/PerlLib/*.pm PerlLib/*.pm
160 - insinto "${VENDOR_LIB}/${PN}"/KmerGraphLib
161 - doins PerlLib/KmerGraphLib/*.pm
162 - insinto "${VENDOR_LIB}/${PN}"/CDNA
163 - doins PerlLib/CDNA/*.pm
164 - insinto "${VENDOR_LIB}/${PN}"/HPC
165 - doins PerlLib/HPC/*.pm
166 - insinto "${VENDOR_LIB}/${PN}"/Simulate
167 - doins PerlLib/Simulate/*.pm
168 - insinto "${VENDOR_LIB}/${PN}"/CanvasXpress
169 - doins PerlLib/CanvasXpress/*.pm
170 - chmod a+rx -R "${ED}/${VENDOR_LIB}/${PN}"
171 -}
172
173 diff --git a/sci-biology/trinityrnaseq/trinityrnaseq-2.1.1.ebuild b/sci-biology/trinityrnaseq/trinityrnaseq-2.1.1.ebuild
174 deleted file mode 100644
175 index 05759d02d..000000000
176 --- a/sci-biology/trinityrnaseq/trinityrnaseq-2.1.1.ebuild
177 +++ /dev/null
178 @@ -1,75 +0,0 @@
179 -# Copyright 1999-2018 Gentoo Foundation
180 -# Distributed under the terms of the GNU General Public License v2
181 -
182 -EAPI=5
183 -
184 -PERL_EXPORT_PHASE_FUNCTIONS=no
185 -inherit perl-module eutils toolchain-funcs
186 -
187 -# Butterfly should not require any special compilation, as its written in Java and already provided as portable precompiled software ...
188 -
189 -DESCRIPTION="Transcriptome assembler for RNA-seq reads"
190 -HOMEPAGE="http://trinityrnaseq.github.io/"
191 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
192 -
193 -LICENSE="BSD-BroadInstitute"
194 -SLOT="0"
195 -KEYWORDS=""
196 -IUSE=""
197 -
198 -DEPEND=""
199 -RDEPEND="${DEPEND}
200 - sci-biology/parafly
201 - >=sci-biology/jellyfish-2.1.4:2
202 - >=sci-libs/htslib-1.2.1
203 - sci-biology/samtools:0.1-legacy
204 - >=sci-biology/trimmomatic-0.32
205 - >=sci-biology/GAL-0.2.1
206 - dev-perl/IO-All"
207 -# ReleaseNotes mentions that <sci-biology/samtools-1.1 is needed
208 -# version of bundled jellyfish is 2.1.4
209 -# version of bundled samtools is 0.1.19
210 -# version of bundled htslib is 1.2.1
211 -# version of bundled GAL is 0.2.1
212 -# version of bundled trimmomatic is 0.32
213 -
214 -# optionally install https://github.com/HpcGridRunner/HpcGridRunner/releases
215 -
216 -src_prepare(){
217 - epatch "${FILESDIR}"/trinityrnaseq-2.1.1-disable_some_plugins.patch
218 -}
219 -
220 -#src_compile(){
221 -# emake all
222 -# emake plugins # bundled copies of TransDecoder, trimmomatic, fastool, parafly
223 -#}
224 -
225 -src_install(){
226 - perl_set_version
227 - dobin Trinity util/*.pl
228 - # should become a new package depending on dev-perl/IO-All
229 - dobin trinity-plugins/fstrozzi-Fastool-7c3e034f05/fastool
230 - dodoc trinity-plugins/fstrozzi-Fastool-7c3e034f05/README.md
231 - #
232 - insinto /usr/share/"${PN}"/util
233 - rm -rf trinity-plugins/GAL_0.2.1 util/fasta_tool
234 - doins -r util/*
235 - #
236 - dobin Inchworm/bin/*
237 - cd Chrysalis || die
238 - dobin MakeDepend checkLock BreakTransByPairs Chrysalis GraphFromFasta IsoformAugment JoinTransByPairs QuantifyGraph ReadsToTranscripts RunButterfly TranscriptomeFromVaryK analysis/ReadsToComponents.pl
239 - cd "${S}" || die
240 - insinto "${VENDOR_LIB}/${PN}"
241 - doins util/misc/PerlLib/*.pm PerlLib/*.pm
242 - insinto "${VENDOR_LIB}/${PN}"/KmerGraphLib
243 - doins PerlLib/KmerGraphLib/*.pm
244 - insinto "${VENDOR_LIB}/${PN}"/CDNA
245 - doins PerlLib/CDNA/*.pm
246 - insinto "${VENDOR_LIB}/${PN}"/HPC
247 - doins PerlLib/HPC/*.pm
248 - insinto "${VENDOR_LIB}/${PN}"/Simulate
249 - doins PerlLib/Simulate/*.pm
250 - insinto "${VENDOR_LIB}/${PN}"/CanvasXpress
251 - doins PerlLib/CanvasXpress/*.pm
252 - chmod a+rx -R "${ED}/${VENDOR_LIB}/${PN}"
253 -}
254
255 diff --git a/sci-biology/trinityrnaseq/trinityrnaseq-2.6.6.ebuild b/sci-biology/trinityrnaseq/trinityrnaseq-2.11.0.ebuild
256 similarity index 63%
257 rename from sci-biology/trinityrnaseq/trinityrnaseq-2.6.6.ebuild
258 rename to sci-biology/trinityrnaseq/trinityrnaseq-2.11.0.ebuild
259 index 238766eed..4fd8dac9a 100644
260 --- a/sci-biology/trinityrnaseq/trinityrnaseq-2.6.6.ebuild
261 +++ b/sci-biology/trinityrnaseq/trinityrnaseq-2.11.0.ebuild
262 @@ -1,21 +1,19 @@
263 -# Copyright 1999-2018 Gentoo Foundation
264 +# Copyright 1999-2021 Gentoo Authors
265 # Distributed under the terms of the GNU General Public License v2
266
267 -EAPI=5
268 +EAPI=7
269
270 -PERL_EXPORT_PHASE_FUNCTIONS=no
271 -inherit perl-module eutils toolchain-funcs
272 +inherit perl-module toolchain-funcs
273
274 # Butterfly should not require any special compilation, as its written in Java and already provided as portable precompiled software ...
275
276 DESCRIPTION="Transcriptome assembler for RNA-seq reads"
277 -HOMEPAGE="http://trinityrnaseq.github.io/"
278 -SRC_URI="https://github.com/trinityrnaseq/trinityrnaseq/archive/Trinity-v${PV}.tar.gz -> ${P}.tar.gz"
279 +HOMEPAGE="https://github.com/Trinotate/Trinotate.github.io/wiki"
280 +SRC_URI="https://github.com/trinityrnaseq/trinityrnaseq/releases/download/v${PV}/${PN}-v${PV}.FULL_with_extendedTestData.tar.gz -> ${P}.tar.gz"
281
282 LICENSE="BSD-BroadInstitute"
283 SLOT="0"
284 KEYWORDS="" # PERL5INC path is wrong when /usr/bin/Trinity is executed
285 -IUSE=""
286
287 DEPEND=""
288 RDEPEND="${DEPEND}
289 @@ -34,26 +32,27 @@ RDEPEND="${DEPEND}
290 # COLLECTL
291 # ParaFly-0.1.0
292
293 -S="${WORKDIR}"/trinityrnaseq-Trinity-v"${PV}"
294 +S="${WORKDIR}/${PN}-v${PV}"
295
296 -src_prepare(){
297 - epatch "${FILESDIR}"/"${P}"-disable_some_plugins.patch
298 -}
299 +PATCHES=(
300 + "${FILESDIR}/${PN}-2.11.0-fix-compilation.patch"
301 +)
302
303 -#src_compile(){
304 -# emake all
305 -# emake plugins # bundled copies of TransDecoder, trimmomatic, fastool, parafly
306 -#}
307 +src_compile(){
308 + emake all
309 + emake plugins # bundled copies of TransDecoder, trimmomatic, fastool, parafly
310 +}
311
312 src_install(){
313 dodoc Chrysalis/chrysalis.notes
314 dodoc Changelog.txt
315 perl_set_version
316 - dobin Trinity util/*.pl
317 + dobin Trinity
318 + perl_domodule util/*.pl
319 dobin Inchworm/bin/*
320 - cd Chrysalis || die
321 - dobin MakeDepend checkLock BreakTransByPairs BubbleUpClustering Chrysalis CreateIwormFastaBundle GraphFromFasta GraphFromFasta_MPI IsoformAugment JoinTransByPairs QuantifyGraph ReadsToTranscripts ReadsToTranscripts_MPI ReadsToTranscripts_MPI_chang RunButterfly TranscriptomeFromVaryK analysis/ReadsToComponents.pl
322 - cd ../util/R || die
323 + cd Chrysalis/bin || die
324 + dobin BubbleUpClustering Chrysalis CreateIwormFastaBundle GraphFromFasta QuantifyGraph ReadsToTranscripts
325 + cd ../../util/R || die
326 insinto /usr/share/"${PN}"/R
327 doins *.R
328 cd ../PBS || die
329
330 diff --git a/sci-biology/trinityrnaseq/trinityrnaseq-2.2.0.ebuild b/sci-biology/trinityrnaseq/trinityrnaseq-2.2.0.ebuild
331 deleted file mode 100644
332 index 6d8da6ab9..000000000
333 --- a/sci-biology/trinityrnaseq/trinityrnaseq-2.2.0.ebuild
334 +++ /dev/null
335 @@ -1,76 +0,0 @@
336 -# Copyright 1999-2018 Gentoo Foundation
337 -# Distributed under the terms of the GNU General Public License v2
338 -
339 -EAPI=5
340 -
341 -PERL_EXPORT_PHASE_FUNCTIONS=no
342 -inherit perl-module eutils toolchain-funcs
343 -
344 -# Butterfly should not require any special compilation, as its written in Java and already provided as portable precompiled software ...
345 -
346 -DESCRIPTION="Transcriptome assembler for RNA-seq reads"
347 -HOMEPAGE="http://trinityrnaseq.github.io/"
348 -SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
349 -
350 -LICENSE="BSD-BroadInstitute"
351 -SLOT="0"
352 -KEYWORDS=""
353 -IUSE=""
354 -
355 -DEPEND=""
356 -RDEPEND="${DEPEND}
357 - sci-biology/parafly
358 - >=sci-biology/jellyfish-2.1.4:2
359 - >=sci-libs/htslib-1.2.1
360 - sci-biology/samtools:0.1-legacy
361 - >=sci-biology/trimmomatic-0.32
362 - >=sci-biology/GAL-0.2.1
363 - dev-perl/IO-All"
364 -# ReleaseNotes mentions that <sci-biology/samtools-1.1 is needed
365 -# version of bundled jellyfish is 2.1.4
366 -# version of bundled samtools is 0.1.19
367 -# version of bundled htslib is 1.2.1
368 -# version of bundled GAL is 0.2.1
369 -# version of bundled trimmomatic is 0.32
370 -
371 -# optionally install https://github.com/HpcGridRunner/HpcGridRunner/releases
372 -
373 -src_prepare(){
374 - epatch "${FILESDIR}"/trinityrnaseq-2.1.1-disable_some_plugins.patch
375 -}
376 -
377 -#src_compile(){
378 -# emake all
379 -# emake plugins # bundled copies of TransDecoder, trimmomatic, fastool, parafly
380 -#}
381 -
382 -src_install(){
383 - perl_set_version
384 - dobin Trinity util/*.pl
385 - # should become a new package depending on dev-perl/IO-All
386 - dobin trinity-plugins/fstrozzi-Fastool-7c3e034f05/fastool
387 - dodoc trinity-plugins/fstrozzi-Fastool-7c3e034f05/README.md
388 - #
389 - # https://github.com/trinityrnaseq/trinityrnaseq/issues/126
390 - insinto /usr/share/"${PN}"/util
391 - rm -rf trinity-plugins/GAL_0.2.1 util/fasta_tool
392 - doins -r util/*
393 - #
394 - dobin Inchworm/bin/*
395 - cd Chrysalis || die
396 - dobin MakeDepend checkLock BreakTransByPairs Chrysalis GraphFromFasta IsoformAugment JoinTransByPairs QuantifyGraph ReadsToTranscripts RunButterfly TranscriptomeFromVaryK analysis/ReadsToComponents.pl
397 - cd "${S}" || die
398 - insinto "${VENDOR_LIB}/${PN}"
399 - doins util/misc/PerlLib/*.pm PerlLib/*.pm
400 - insinto "${VENDOR_LIB}/${PN}"/KmerGraphLib
401 - doins PerlLib/KmerGraphLib/*.pm
402 - insinto "${VENDOR_LIB}/${PN}"/CDNA
403 - doins PerlLib/CDNA/*.pm
404 - insinto "${VENDOR_LIB}/${PN}"/HPC
405 - doins PerlLib/HPC/*.pm
406 - insinto "${VENDOR_LIB}/${PN}"/Simulate
407 - doins PerlLib/Simulate/*.pm
408 - insinto "${VENDOR_LIB}/${PN}"/CanvasXpress
409 - doins PerlLib/CanvasXpress/*.pm
410 - chmod a+rx -R "${ED}/${VENDOR_LIB}/${PN}"
411 -}