1 |
commit: f7e2b8faced793d6f723a7da224fca410ae3c9ca |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Tue Dec 1 00:09:23 2015 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Tue Dec 1 00:09:23 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f7e2b8fa |
7 |
|
8 |
sci-biology/repeatmasker: added file checksum; add missing quotes |
9 |
|
10 |
Package-Manager: portage-2.2.18 |
11 |
|
12 |
...ch => RepeatMasker-open-4-0-1__configure.patch} | 0 |
13 |
...ch => RepeatMasker-open-4-0-6__configure.patch} | 42 +++++++--------------- |
14 |
...r-4.0.1-r1.ebuild => repeatmasker-4.0.6.ebuild} | 6 ++-- |
15 |
3 files changed, 16 insertions(+), 32 deletions(-) |
16 |
|
17 |
diff --git a/sci-biology/repeatmasker/files/configure.patch b/sci-biology/repeatmasker/files/RepeatMasker-open-4-0-1__configure.patch |
18 |
similarity index 100% |
19 |
copy from sci-biology/repeatmasker/files/configure.patch |
20 |
copy to sci-biology/repeatmasker/files/RepeatMasker-open-4-0-1__configure.patch |
21 |
|
22 |
diff --git a/sci-biology/repeatmasker/files/configure.patch b/sci-biology/repeatmasker/files/RepeatMasker-open-4-0-6__configure.patch |
23 |
similarity index 74% |
24 |
rename from sci-biology/repeatmasker/files/configure.patch |
25 |
rename to sci-biology/repeatmasker/files/RepeatMasker-open-4-0-6__configure.patch |
26 |
index 0b8a75c..e404219 100644 |
27 |
--- a/sci-biology/repeatmasker/files/configure.patch |
28 |
+++ b/sci-biology/repeatmasker/files/RepeatMasker-open-4-0-6__configure.patch |
29 |
@@ -1,5 +1,5 @@ |
30 |
---- configure.ori 2013-02-21 02:32:30.000000000 +0100 |
31 |
-+++ configure 2015-11-24 19:54:50.630202150 +0100 |
32 |
+--- configure.ori 2015-11-24 20:56:46.000000000 +0100 |
33 |
++++ configure 2015-11-24 20:59:58.000000000 +0100 |
34 |
@@ -253,17 +253,16 @@ |
35 |
close INVERS; |
36 |
} |
37 |
@@ -67,16 +67,16 @@ |
38 |
|
39 |
my $wuDefault = &promptScreen( |
40 |
"", |
41 |
-@@ -748,7 +747,7 @@ |
42 |
- } |
43 |
+@@ -756,7 +755,7 @@ |
44 |
} |
45 |
- else { |
46 |
-- print "ERROR: Could not find nhmmer program in this directory!\n"; |
47 |
-+ print "ERROR: Could not find nhmmer program in '$location' directory!\n"; |
48 |
- } |
49 |
- if ( $goodParam == 0 ) { |
50 |
- print "<PRESS ENTER TO CONTINUE>\n"; |
51 |
-@@ -773,7 +772,7 @@ |
52 |
+ } |
53 |
+ else { |
54 |
+- print "ERROR: Could not find nhmmer program in this directory!\n"; |
55 |
++ print "ERROR: Could not find nhmmer program in '$location' directory!\n"; |
56 |
+ } |
57 |
+ } |
58 |
+ |
59 |
+@@ -776,7 +775,7 @@ |
60 |
} |
61 |
close IN; |
62 |
close OUT; |
63 |
@@ -85,7 +85,7 @@ |
64 |
|
65 |
my $default = &promptScreen( |
66 |
"", |
67 |
-@@ -827,7 +826,7 @@ |
68 |
+@@ -830,7 +829,7 @@ |
69 |
} |
70 |
close IN; |
71 |
close OUT; |
72 |
@@ -94,7 +94,7 @@ |
73 |
|
74 |
my $deDefault = &promptScreen( |
75 |
"", |
76 |
-@@ -863,9 +862,6 @@ |
77 |
+@@ -866,9 +865,6 @@ |
78 |
|
79 |
my $answer = undef; |
80 |
|
81 |
@@ -104,19 +104,3 @@ |
82 |
print "\n\n\n"; |
83 |
print $screenText; |
84 |
my $numLines = ( $screenText =~ s/(\n)/$1/g ); |
85 |
---- configure.ori 2015-11-24 20:10:58.640204679 +0100 |
86 |
-+++ configure 2015-11-24 20:11:00.970204685 +0100 |
87 |
-@@ -728,11 +728,12 @@ |
88 |
- # HMMER 3.0dev (March 2010); http://hmmer.org/ |
89 |
- # HMMER 3.1dev_0.33 (July 2012); http://hmmer.org |
90 |
- # HMMER hmmer3.1-snap20120830 (August 2012); http://hmmer.org/ |
91 |
-+ # HMMER 3.1b2 (February 2015); http://hmmer.org/ |
92 |
- while ( $result =~ /([^\n\r]*)[\n\r]/ig ) { |
93 |
- my $line = $1; |
94 |
- |
95 |
- if ( $line =~ /^#\s+HMMER\s+(\d+\.\d+)((dev)?(_\d+\.\d+)?\s+\(.*\)).*/ |
96 |
-- || $line =~ /^#\s+HMMER\s+hmmer(\d+\.\d+)-snap.*/ ) |
97 |
-+ || $line =~ /^#\s+HMMER\s+hmmer(\d+\.\d+)-snap.*/ || $line =~ /^#\s+HMMER\s+(\d+\.\d+).*/) |
98 |
- { |
99 |
- if ( $1 >= 3.1 ) { |
100 |
- $goodParam = 1; |
101 |
|
102 |
diff --git a/sci-biology/repeatmasker/repeatmasker-4.0.1-r1.ebuild b/sci-biology/repeatmasker/repeatmasker-4.0.6.ebuild |
103 |
similarity index 94% |
104 |
rename from sci-biology/repeatmasker/repeatmasker-4.0.1-r1.ebuild |
105 |
rename to sci-biology/repeatmasker/repeatmasker-4.0.6.ebuild |
106 |
index 0899978..89b7c7f 100644 |
107 |
--- a/sci-biology/repeatmasker/repeatmasker-4.0.1-r1.ebuild |
108 |
+++ b/sci-biology/repeatmasker/repeatmasker-4.0.6.ebuild |
109 |
@@ -28,7 +28,7 @@ RDEPEND=" |
110 |
S="${WORKDIR}/RepeatMasker" |
111 |
|
112 |
src_prepare(){ |
113 |
- epatch "${FILESDIR}"/configure.patch |
114 |
+ epatch "${FILESDIR}"/"${P}"__configure.patch |
115 |
} |
116 |
|
117 |
src_configure() { |
118 |
@@ -37,11 +37,11 @@ src_configure() { |
119 |
# -- Building monolithic RM database...sh: /var/tmp/portage/sci-biology/repeatmasker-4.0.1-r1/image///usr/share/repeatmasker/Libraries/RepeatMasker.lib: No such file or directory |
120 |
# -e 's|> \($rmLocation/Libraries/RepeatMasker.lib\)|> '${D}'/\1|' |
121 |
sed -i -e 's/system( "clear" );//' "${S}/configure" || die |
122 |
- mkdir -p ${D}//usr/share/repeatmasker/Libraries/ || die |
123 |
+ mkdir -p "${D}"/usr/share/repeatmasker/Libraries/ || die |
124 |
# |
125 |
# the below files is actually overwritten by buildRMLibFromEMBL.pl so the 'blah' |
126 |
# item does not get installed |
127 |
- echo ">blah\natgc" > ${D}//usr/share/repeatmasker/Libraries/RepeatMasker.lib || die |
128 |
+ echo ">blah\natgc" > "${D}"/usr/share/repeatmasker/Libraries/RepeatMasker.lib || die |
129 |
# below try to define paths to trf, cross_match, rmblast and nhmmer as search tools |
130 |
echo " |
131 |
env |