1 |
commit: 5d1cf37ff6399cd2ad05dd51f23f67a24f94ae2e |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Thu Apr 30 09:25:42 2015 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Thu Apr 30 09:25:42 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5d1cf37f |
7 |
|
8 |
sci-biology/trinityrnaseq: new package (with last release on sourceforge) |
9 |
|
10 |
Package-Manager: portage-2.2.18 |
11 |
|
12 |
sci-biology/trinityrnaseq/ChangeLog | 10 +++++ |
13 |
sci-biology/trinityrnaseq/files/r3590_chmod.patch | 24 +++++++++++ |
14 |
sci-biology/trinityrnaseq/files/sort.patch | 14 +++++++ |
15 |
sci-biology/trinityrnaseq/metadata.xml | 9 ++++ |
16 |
.../trinityrnaseq/trinityrnaseq-20140413.ebuild | 49 ++++++++++++++++++++++ |
17 |
5 files changed, 106 insertions(+) |
18 |
|
19 |
diff --git a/sci-biology/trinityrnaseq/ChangeLog b/sci-biology/trinityrnaseq/ChangeLog |
20 |
new file mode 100644 |
21 |
index 0000000..a8b96c9 |
22 |
--- /dev/null |
23 |
+++ b/sci-biology/trinityrnaseq/ChangeLog |
24 |
@@ -0,0 +1,10 @@ |
25 |
+# ChangeLog for sci-biology/trinityrnaseq |
26 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
27 |
+# $Header: $ |
28 |
+ |
29 |
+*trinityrnaseq-20140413 (30 Apr 2015) |
30 |
+ |
31 |
+ 30 Apr 2015; Martin Mokrejs <mmokrejs@×××××××××××××××.cz> |
32 |
+ +files/r3590_chmod.patch, +files/sort.patch, +metadata.xml, |
33 |
+ +trinityrnaseq-20140413.ebuild: |
34 |
+ sci-biology/trinityrnaseq: new package (with last release on sourceforge) |
35 |
|
36 |
diff --git a/sci-biology/trinityrnaseq/files/r3590_chmod.patch b/sci-biology/trinityrnaseq/files/r3590_chmod.patch |
37 |
new file mode 100644 |
38 |
index 0000000..f1bc45e |
39 |
--- /dev/null |
40 |
+++ b/sci-biology/trinityrnaseq/files/r3590_chmod.patch |
41 |
@@ -0,0 +1,24 @@ |
42 |
+--- trinityrnaseq_r20140413p1/trinity-plugins/coreutils/build_parallel_sort.sh 2014-07-03 01:22:30.000000000 +0200 |
43 |
++++ /home/mmokrejs/tmp/build_parallel_sort.sh 2014-07-03 01:18:35.690493804 +0200 |
44 |
+@@ -29,11 +29,9 @@ |
45 |
+ cd ${DIR}/bin |
46 |
+ SORTPATH=`which sort` |
47 |
+ ln -s ${SORTPATH} |
48 |
+- if [ ! -x ./sort-softlink]; then |
49 |
+- if [ ! -x ${DIR}/bin/sort ]; then |
50 |
++ if [ ! -x ${DIR}/bin/sort ]; then |
51 |
+ chmod +x ${DIR}/bin/sort |
52 |
+ fi |
53 |
+- fi |
54 |
+ exit 0 |
55 |
+ fi |
56 |
+ |
57 |
+@@ -56,7 +54,7 @@ |
58 |
+ cd ${INSTALLDIR} |
59 |
+ ./configure |
60 |
+ #make clean |
61 |
+-make -j |
62 |
++make |
63 |
+ cd src |
64 |
+ mkdir -p ${DIR}/bin |
65 |
+ cp sort ${DIR}/bin |
66 |
|
67 |
diff --git a/sci-biology/trinityrnaseq/files/sort.patch b/sci-biology/trinityrnaseq/files/sort.patch |
68 |
new file mode 100644 |
69 |
index 0000000..c2cccd7 |
70 |
--- /dev/null |
71 |
+++ b/sci-biology/trinityrnaseq/files/sort.patch |
72 |
@@ -0,0 +1,14 @@ |
73 |
+--- trinityrnaseq_r20140413p1/trinity-plugins/coreutils/build_parallel_sort.sh.ori 2014-06-25 10:54:43.000000000 +0200 |
74 |
++++ trinityrnaseq_r20140413p1/trinity-plugins/coreutils/build_parallel_sort.sh 2014-06-25 10:56:52.000000000 +0200 |
75 |
+@@ -29,7 +29,11 @@ |
76 |
+ cd ${DIR}/bin |
77 |
+ SORTPATH=`which sort` |
78 |
+ ln -s ${SORTPATH} |
79 |
++ if [ ! -x ./sort-softlink]; then |
80 |
++ if [ ! -x ${DIR}/bin/sort ]; then |
81 |
+ chmod +x ${DIR}/bin/sort |
82 |
++ fi |
83 |
++ fi |
84 |
+ exit 0 |
85 |
+ fi |
86 |
+ |
87 |
|
88 |
diff --git a/sci-biology/trinityrnaseq/metadata.xml b/sci-biology/trinityrnaseq/metadata.xml |
89 |
new file mode 100644 |
90 |
index 0000000..2bc8930 |
91 |
--- /dev/null |
92 |
+++ b/sci-biology/trinityrnaseq/metadata.xml |
93 |
@@ -0,0 +1,9 @@ |
94 |
+<?xml version="1.0" encoding="UTF-8"?> |
95 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
96 |
+<pkgmetadata> |
97 |
+ <herd>sci-biology</herd> |
98 |
+ <maintainer> |
99 |
+ <email>mmokrejs@×××××××××××××××.cz</email> |
100 |
+ <name>Martin Mokrejs</name> |
101 |
+ </maintainer> |
102 |
+</pkgmetadata> |
103 |
|
104 |
diff --git a/sci-biology/trinityrnaseq/trinityrnaseq-20140413.ebuild b/sci-biology/trinityrnaseq/trinityrnaseq-20140413.ebuild |
105 |
new file mode 100644 |
106 |
index 0000000..a2e497a |
107 |
--- /dev/null |
108 |
+++ b/sci-biology/trinityrnaseq/trinityrnaseq-20140413.ebuild |
109 |
@@ -0,0 +1,49 @@ |
110 |
+# Copyright 1999-2015 Gentoo Foundation |
111 |
+# Distributed under the terms of the GNU General Public License v2 |
112 |
+# $Header: $ |
113 |
+ |
114 |
+EAPI=5 |
115 |
+ |
116 |
+PERL_EXPORT_PHASE_FUNCTIONS=no |
117 |
+inherit perl-module eutils toolchain-funcs |
118 |
+ |
119 |
+# Butterfly should not require any special compilation, as its written in Java and already provided as portable precompiled software ... |
120 |
+# There is bundled jellyfish-1.1.11 source tree |
121 |
+ |
122 |
+DESCRIPTION="Transcriptome assembler for RNA-seq reads" |
123 |
+HOMEPAGE="http://sourceforge.net/projects/trinityrnaseq" |
124 |
+SRC_URI="http://downloads.sourceforge.net/project/trinityrnaseq/trinityrnaseq_r20140413p1.tar.gz" |
125 |
+ |
126 |
+LICENSE="BSD-BroadInstitute" |
127 |
+SLOT="0" |
128 |
+KEYWORDS="~amd64" |
129 |
+IUSE="" |
130 |
+ |
131 |
+DEPEND="" |
132 |
+RDEPEND="${DEPEND}" |
133 |
+ |
134 |
+S="${WORKDIR}"/trinityrnaseq_r20140413p1 |
135 |
+ |
136 |
+src_prepare(){ |
137 |
+ epatch "${FILESDIR}"/sort.patch |
138 |
+ epatch "${FILESDIR}"/r3590_chmod.patch |
139 |
+} |
140 |
+ |
141 |
+src_install(){ |
142 |
+ perl_set_version |
143 |
+ dobin Trinity util/*.pl util/fasta_tool |
144 |
+ dobin Inchworm/bin/* |
145 |
+ cd Chrysalis |
146 |
+ dobin MakeDepend checkLock BreakTransByPairs Chrysalis GraphFromFasta IsoformAugment JoinTransByPairs QuantifyGraph ReadsToTranscripts RunButterfly TranscriptomeFromVaryK analysis/ReadsToComponents.pl |
147 |
+ cd ${S} || die |
148 |
+ insinto ${VENDOR_LIB}/${PN} |
149 |
+ dobin util/misc/PerlLib/*.pm PerlLib/*.pm |
150 |
+ insinto ${VENDOR_LIB}/${PN}/KmerGraphLib |
151 |
+ dobin PerlLib/KmerGraphLib/*.pm |
152 |
+ insinto ${VENDOR_LIB}/${PN}/CDNA |
153 |
+ dobin PerlLib/CDNA/*.pm |
154 |
+ insinto ${VENDOR_LIB}/${PN}/HTC |
155 |
+ dobin PerlLib/HTC/*.pm |
156 |
+ insinto ${VENDOR_LIB}/${PN}/Simulate |
157 |
+ dobin PerlLib/Simulate/*.pm |
158 |
+} |