Gentoo Archives: gentoo-commits

From: Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/trinityrnaseq/, sci-biology/trinityrnaseq/files/
Date: Thu, 30 Apr 2015 10:53:17
Message-Id: 1430391153.cd5ffe2b8f606c841206f700c8718f5c3b7fda9e.mmokrejs@gentoo
1 commit: cd5ffe2b8f606c841206f700c8718f5c3b7fda9e
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Thu Apr 30 10:52:33 2015 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Thu Apr 30 10:52:33 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=cd5ffe2b
7
8 sci-biology/trinityrnaseq: version bump; dropped patches because target file is gone; ideally should depend on <sci-biology/samtools-1.1 but lets see what are the real requirements
9
10 Package-Manager: portage-2.2.18
11
12 sci-biology/trinityrnaseq/ChangeLog | 9 ++++
13 sci-biology/trinityrnaseq/files/r3590_chmod.patch | 24 ---------
14 sci-biology/trinityrnaseq/files/sort.patch | 14 -----
15 .../trinityrnaseq/trinityrnaseq-2.0.6.ebuild | 63 ++++++++++++++++++++++
16 .../trinityrnaseq/trinityrnaseq-20140413.ebuild | 49 -----------------
17 5 files changed, 72 insertions(+), 87 deletions(-)
18
19 diff --git a/sci-biology/trinityrnaseq/ChangeLog b/sci-biology/trinityrnaseq/ChangeLog
20 index a8b96c9..a630ba3 100644
21 --- a/sci-biology/trinityrnaseq/ChangeLog
22 +++ b/sci-biology/trinityrnaseq/ChangeLog
23 @@ -2,6 +2,15 @@
24 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
25 # $Header: $
26
27 +*trinityrnaseq-2.0.6 (30 Apr 2015)
28 +
29 + 30 Apr 2015; Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
30 + +trinityrnaseq-2.0.6.ebuild, -files/r3590_chmod.patch, -files/sort.patch,
31 + -trinityrnaseq-20140413.ebuild:
32 + sci-biology/trinityrnaseq: version bump; dropped patches because target file
33 + is gone; ideally should depend on <sci-biology/samtools-1.1 but lets see what
34 + are the real requirements
35 +
36 *trinityrnaseq-20140413 (30 Apr 2015)
37
38 30 Apr 2015; Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
39
40 diff --git a/sci-biology/trinityrnaseq/files/r3590_chmod.patch b/sci-biology/trinityrnaseq/files/r3590_chmod.patch
41 deleted file mode 100644
42 index f1bc45e..0000000
43 --- a/sci-biology/trinityrnaseq/files/r3590_chmod.patch
44 +++ /dev/null
45 @@ -1,24 +0,0 @@
46 ---- trinityrnaseq_r20140413p1/trinity-plugins/coreutils/build_parallel_sort.sh 2014-07-03 01:22:30.000000000 +0200
47 -+++ /home/mmokrejs/tmp/build_parallel_sort.sh 2014-07-03 01:18:35.690493804 +0200
48 -@@ -29,11 +29,9 @@
49 - cd ${DIR}/bin
50 - SORTPATH=`which sort`
51 - ln -s ${SORTPATH}
52 -- if [ ! -x ./sort-softlink]; then
53 -- if [ ! -x ${DIR}/bin/sort ]; then
54 -+ if [ ! -x ${DIR}/bin/sort ]; then
55 - chmod +x ${DIR}/bin/sort
56 - fi
57 -- fi
58 - exit 0
59 - fi
60 -
61 -@@ -56,7 +54,7 @@
62 - cd ${INSTALLDIR}
63 - ./configure
64 - #make clean
65 --make -j
66 -+make
67 - cd src
68 - mkdir -p ${DIR}/bin
69 - cp sort ${DIR}/bin
70
71 diff --git a/sci-biology/trinityrnaseq/files/sort.patch b/sci-biology/trinityrnaseq/files/sort.patch
72 deleted file mode 100644
73 index c2cccd7..0000000
74 --- a/sci-biology/trinityrnaseq/files/sort.patch
75 +++ /dev/null
76 @@ -1,14 +0,0 @@
77 ---- trinityrnaseq_r20140413p1/trinity-plugins/coreutils/build_parallel_sort.sh.ori 2014-06-25 10:54:43.000000000 +0200
78 -+++ trinityrnaseq_r20140413p1/trinity-plugins/coreutils/build_parallel_sort.sh 2014-06-25 10:56:52.000000000 +0200
79 -@@ -29,7 +29,11 @@
80 - cd ${DIR}/bin
81 - SORTPATH=`which sort`
82 - ln -s ${SORTPATH}
83 -+ if [ ! -x ./sort-softlink]; then
84 -+ if [ ! -x ${DIR}/bin/sort ]; then
85 - chmod +x ${DIR}/bin/sort
86 -+ fi
87 -+ fi
88 - exit 0
89 - fi
90 -
91
92 diff --git a/sci-biology/trinityrnaseq/trinityrnaseq-2.0.6.ebuild b/sci-biology/trinityrnaseq/trinityrnaseq-2.0.6.ebuild
93 new file mode 100644
94 index 0000000..335d075
95 --- /dev/null
96 +++ b/sci-biology/trinityrnaseq/trinityrnaseq-2.0.6.ebuild
97 @@ -0,0 +1,63 @@
98 +# Copyright 1999-2015 Gentoo Foundation
99 +# Distributed under the terms of the GNU General Public License v2
100 +# $Header: $
101 +
102 +EAPI=5
103 +
104 +PERL_EXPORT_PHASE_FUNCTIONS=no
105 +inherit perl-module eutils toolchain-funcs
106 +
107 +# Butterfly should not require any special compilation, as its written in Java and already provided as portable precompiled software ...
108 +# There is bundled jellyfish-1.1.11 source tree
109 +
110 +DESCRIPTION="Transcriptome assembler for RNA-seq reads"
111 +HOMEPAGE="http://trinityrnaseq.github.io/"
112 +SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
113 +
114 +LICENSE="BSD-BroadInstitute"
115 +SLOT="0"
116 +KEYWORDS="~amd64"
117 +IUSE=""
118 +
119 +DEPEND=""
120 +RDEPEND="${DEPEND}
121 + sci-biology/parafly
122 + =sci-biology/jellyfish-2.1.4
123 + sci-biology/samtools
124 + dev-perl/IO-All"
125 +# ReleaseNotes mentions that <sci-biology/samtools-1.1 is needed
126 +# version of bundled jellyfish is 2.1.4
127 +
128 +#src_compile(){
129 +# emake all
130 +# emake plugins # bundled copies of TransDecoder, trimmomatic, fastool, parafly
131 +#}
132 +
133 +src_install(){
134 + perl_set_version
135 + dobin Trinity util/*.pl trinity-plugins/GAL_0.2.1/fasta_tool
136 + # should become a new package depending on dev-perl/IO-All
137 + dobin trinity-plugins/fstrozzi-Fastool-7c3e034f05/fastool
138 + dodoc trinity-plugins/fstrozzi-Fastool-7c3e034f05/README.md
139 + #
140 + insinto /usr/share/${PN}/util
141 + doins -r util/*
142 + #
143 + dobin Inchworm/bin/*
144 + cd Chrysalis
145 + dobin MakeDepend checkLock BreakTransByPairs Chrysalis GraphFromFasta IsoformAugment JoinTransByPairs QuantifyGraph ReadsToTranscripts RunButterfly TranscriptomeFromVaryK analysis/ReadsToComponents.pl
146 + cd ${S} || die
147 + insinto ${VENDOR_LIB}/${PN}
148 + doins util/misc/PerlLib/*.pm PerlLib/*.pm
149 + insinto ${VENDOR_LIB}/${PN}/KmerGraphLib
150 + doins PerlLib/KmerGraphLib/*.pm
151 + insinto ${VENDOR_LIB}/${PN}/CDNA
152 + doins PerlLib/CDNA/*.pm
153 + insinto ${VENDOR_LIB}/${PN}/HPC
154 + doins PerlLib/HPC/*.pm
155 + insinto ${VENDOR_LIB}/${PN}/Simulate
156 + doins PerlLib/Simulate/*.pm
157 + insinto ${VENDOR_LIB}/${PN}/CanvasXpress
158 + doins PerlLib/CanvasXpress/*.pm
159 + chmod a+rx -R ${ED}/${VENDOR_LIB}/${PN}
160 +}
161
162 diff --git a/sci-biology/trinityrnaseq/trinityrnaseq-20140413.ebuild b/sci-biology/trinityrnaseq/trinityrnaseq-20140413.ebuild
163 deleted file mode 100644
164 index a2e497a..0000000
165 --- a/sci-biology/trinityrnaseq/trinityrnaseq-20140413.ebuild
166 +++ /dev/null
167 @@ -1,49 +0,0 @@
168 -# Copyright 1999-2015 Gentoo Foundation
169 -# Distributed under the terms of the GNU General Public License v2
170 -# $Header: $
171 -
172 -EAPI=5
173 -
174 -PERL_EXPORT_PHASE_FUNCTIONS=no
175 -inherit perl-module eutils toolchain-funcs
176 -
177 -# Butterfly should not require any special compilation, as its written in Java and already provided as portable precompiled software ...
178 -# There is bundled jellyfish-1.1.11 source tree
179 -
180 -DESCRIPTION="Transcriptome assembler for RNA-seq reads"
181 -HOMEPAGE="http://sourceforge.net/projects/trinityrnaseq"
182 -SRC_URI="http://downloads.sourceforge.net/project/trinityrnaseq/trinityrnaseq_r20140413p1.tar.gz"
183 -
184 -LICENSE="BSD-BroadInstitute"
185 -SLOT="0"
186 -KEYWORDS="~amd64"
187 -IUSE=""
188 -
189 -DEPEND=""
190 -RDEPEND="${DEPEND}"
191 -
192 -S="${WORKDIR}"/trinityrnaseq_r20140413p1
193 -
194 -src_prepare(){
195 - epatch "${FILESDIR}"/sort.patch
196 - epatch "${FILESDIR}"/r3590_chmod.patch
197 -}
198 -
199 -src_install(){
200 - perl_set_version
201 - dobin Trinity util/*.pl util/fasta_tool
202 - dobin Inchworm/bin/*
203 - cd Chrysalis
204 - dobin MakeDepend checkLock BreakTransByPairs Chrysalis GraphFromFasta IsoformAugment JoinTransByPairs QuantifyGraph ReadsToTranscripts RunButterfly TranscriptomeFromVaryK analysis/ReadsToComponents.pl
205 - cd ${S} || die
206 - insinto ${VENDOR_LIB}/${PN}
207 - dobin util/misc/PerlLib/*.pm PerlLib/*.pm
208 - insinto ${VENDOR_LIB}/${PN}/KmerGraphLib
209 - dobin PerlLib/KmerGraphLib/*.pm
210 - insinto ${VENDOR_LIB}/${PN}/CDNA
211 - dobin PerlLib/CDNA/*.pm
212 - insinto ${VENDOR_LIB}/${PN}/HTC
213 - dobin PerlLib/HTC/*.pm
214 - insinto ${VENDOR_LIB}/${PN}/Simulate
215 - dobin PerlLib/Simulate/*.pm
216 -}