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/repeatmasker/files/, sci-biology/repeatmasker/
Date: Tue, 01 Dec 2015 00:30:17
Message-Id: 1448929763.88c83795fd0b56239cc79b4b2c24e1d459dc348a.mmokrejs@gentoo
1 commit: 88c83795fd0b56239cc79b4b2c24e1d459dc348a
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Tue Dec 1 00:29:23 2015 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Tue Dec 1 00:29:23 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=88c83795
7
8 sci-biology/repeatmasker: rename and move the patch file; drop old patch for a previous version
9
10 Package-Manager: portage-2.2.18
11
12 sci-biology/repeatmasker/ChangeLog | 7 ++
13 .../files/RepeatMasker-open-4-0-1__configure.patch | 122 ---------------------
14 ...e.patch => repeatmasker-4.0.6__configure.patch} | 0
15 3 files changed, 7 insertions(+), 122 deletions(-)
16
17 diff --git a/sci-biology/repeatmasker/ChangeLog b/sci-biology/repeatmasker/ChangeLog
18 index c7fadb6..872aa83 100644
19 --- a/sci-biology/repeatmasker/ChangeLog
20 +++ b/sci-biology/repeatmasker/ChangeLog
21 @@ -2,6 +2,13 @@
22 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
23 # $Id$
24
25 + 01 Dec 2015; Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
26 + +files/repeatmasker-4.0.6__configure.patch,
27 + -files/RepeatMasker-open-4-0-1__configure.patch,
28 + -files/RepeatMasker-open-4-0-6__configure.patch:
29 + sci-biology/repeatmasker: rename and move the patch file; drop old patch for a
30 + previous version
31 +
32 24 Nov 2015; Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
33 repeatmasker-4.0.1-r1.ebuild:
34 sci-biology/repeatmasker: improve einfo message
35
36 diff --git a/sci-biology/repeatmasker/files/RepeatMasker-open-4-0-1__configure.patch b/sci-biology/repeatmasker/files/RepeatMasker-open-4-0-1__configure.patch
37 deleted file mode 100644
38 index 0b8a75c..0000000
39 --- a/sci-biology/repeatmasker/files/RepeatMasker-open-4-0-1__configure.patch
40 +++ /dev/null
41 @@ -1,122 +0,0 @@
42 ---- configure.ori 2013-02-21 02:32:30.000000000 +0100
43 -+++ configure 2015-11-24 19:54:50.630202150 +0100
44 -@@ -253,17 +253,16 @@
45 - close INVERS;
46 - }
47 - else {
48 -- print "\nYour RepeatMasker installation is missing a library file.\n"
49 -+ die "\nYour RepeatMasker installation is missing a library file.\n"
50 - . "RepeatMasker requires a minimal set of library sequences to run\n"
51 - . "properly. Please check that all files were extracted from the\n"
52 - . "distribution before re-running the configure program.\n\n";
53 -- exit;
54 - }
55 -
56 - print "\n -- Building monolithic RM database...";
57 - system(
58 - "$rmLocation/util/buildRMLibFromEMBL.pl $rmLocation/Libraries/RepeatMaskerLib.embl > $rmLocation/Libraries/RepeatMasker.lib 2>/dev/null"
59 --);
60 -+) and die "$rmLocation/util/buildRMLibFromEMBL.pl $rmLocation/Libraries/RepeatMaskerLib.embl command filed with: $!";
61 -
62 - ##
63 - ## TRF location
64 -@@ -475,7 +474,7 @@
65 - }
66 - close IN;
67 - close OUT;
68 -- system( "mv $configFile.tmp $configFile" );
69 -+ system( "mv $configFile.tmp $configFile" ) and die "mv $configFile.tmp $configFile failed with: $!";
70 - }
71 -
72 - }
73 -@@ -607,15 +606,15 @@
74 - }
75 - close IN;
76 - close OUT;
77 -- system( "mv $configFile.tmp $configFile" );
78 -+ system( "mv $configFile.tmp $configFile" ) and die "Faled to mv $configFile.tmp $configFile: $!";
79 -
80 - # Freeze RM and RMPep libraries for RepeatModeler use among others
81 - my $rmLocation = "$FindBin::Bin";
82 - print "Building RMBlast frozen libraries..\n";
83 - system( "$pgLocation/makeblastdb -dbtype nucl -in "
84 -- . "$rmLocation/Libraries/RepeatMasker.lib > /dev/null 2>&1" );
85 -+ . "$rmLocation/Libraries/RepeatMasker.lib > /dev/null 2>&1" ) and die "$pgLocation/makeblastdb -dbtype nucl -in $rmLocation/Libraries/RepeatMasker.lib failed: $!";
86 - system( "$pgLocation/makeblastdb -dbtype prot -in "
87 -- . "$rmLocation/Libraries/RepeatPeps.lib > /dev/null 2>&1" );
88 -+ . "$rmLocation/Libraries/RepeatPeps.lib > /dev/null 2>&1" ) and die "$pgLocation/makeblastdb -dbtype prot -in $rmLocation/Libraries/RepeatPeps.lib failed with: $!";
89 -
90 - my $pgDefault = &promptScreen(
91 - "",
92 -@@ -682,15 +681,15 @@
93 - }
94 - close IN;
95 - close OUT;
96 -- system( "mv $configFile.tmp $configFile" );
97 -+ system( "mv $configFile.tmp $configFile" ) and die "mv $configFile.tmp $configFile failed with: $!";
98 -
99 - # Freeze RM and RMPep libraries
100 - my $rmLocation = "$FindBin::Bin";
101 - print "Building WUBlast/ABBlast frozen libraries..\n";
102 - system( "$wuLocation/xdformat -n -I "
103 -- . "$rmLocation/Libraries/RepeatMasker.lib > /dev/null 2>&1" );
104 -+ . "$rmLocation/Libraries/RepeatMasker.lib > /dev/null 2>&1" ) and die "$wuLocation/xdformat -n -I $rmLocation/Libraries/RepeatMasker.lib failed with: $!";
105 - system( "$wuLocation/xdformat -p -I "
106 -- . "$rmLocation/Libraries/RepeatPeps.lib > /dev/null 2>&1" );
107 -+ . "$rmLocation/Libraries/RepeatPeps.lib > /dev/null 2>&1" ) and die "$wuLocation/xdformat -p -I $rmLocation/Libraries/RepeatPeps.lib failed with: $!";
108 -
109 - my $wuDefault = &promptScreen(
110 - "",
111 -@@ -748,7 +747,7 @@
112 - }
113 - }
114 - else {
115 -- print "ERROR: Could not find nhmmer program in this directory!\n";
116 -+ print "ERROR: Could not find nhmmer program in '$location' directory!\n";
117 - }
118 - if ( $goodParam == 0 ) {
119 - print "<PRESS ENTER TO CONTINUE>\n";
120 -@@ -773,7 +772,7 @@
121 - }
122 - close IN;
123 - close OUT;
124 -- system( "mv $configFile.tmp $configFile" );
125 -+ system( "mv $configFile.tmp $configFile" ) and die "mv $configFile.tmp $configFile failed with: $!";
126 -
127 - my $default = &promptScreen(
128 - "",
129 -@@ -827,7 +826,7 @@
130 - }
131 - close IN;
132 - close OUT;
133 -- system( "mv $configFile.tmp $configFile" );
134 -+ system( "mv $configFile.tmp $configFile" ) and die "mv $configFile.tmp $configFile failed with: $!";
135 -
136 - my $deDefault = &promptScreen(
137 - "",
138 -@@ -863,9 +862,6 @@
139 -
140 - my $answer = undef;
141 -
142 -- # Clear the screen
143 -- system( "clear" );
144 --
145 - print "\n\n\n";
146 - print $screenText;
147 - my $numLines = ( $screenText =~ s/(\n)/$1/g );
148 ---- configure.ori 2015-11-24 20:10:58.640204679 +0100
149 -+++ configure 2015-11-24 20:11:00.970204685 +0100
150 -@@ -728,11 +728,12 @@
151 - # HMMER 3.0dev (March 2010); http://hmmer.org/
152 - # HMMER 3.1dev_0.33 (July 2012); http://hmmer.org
153 - # HMMER hmmer3.1-snap20120830 (August 2012); http://hmmer.org/
154 -+ # HMMER 3.1b2 (February 2015); http://hmmer.org/
155 - while ( $result =~ /([^\n\r]*)[\n\r]/ig ) {
156 - my $line = $1;
157 -
158 - if ( $line =~ /^#\s+HMMER\s+(\d+\.\d+)((dev)?(_\d+\.\d+)?\s+\(.*\)).*/
159 -- || $line =~ /^#\s+HMMER\s+hmmer(\d+\.\d+)-snap.*/ )
160 -+ || $line =~ /^#\s+HMMER\s+hmmer(\d+\.\d+)-snap.*/ || $line =~ /^#\s+HMMER\s+(\d+\.\d+).*/)
161 - {
162 - if ( $1 >= 3.1 ) {
163 - $goodParam = 1;
164
165 diff --git a/sci-biology/repeatmasker/files/RepeatMasker-open-4-0-6__configure.patch b/sci-biology/repeatmasker/files/repeatmasker-4.0.6__configure.patch
166 similarity index 100%
167 rename from sci-biology/repeatmasker/files/RepeatMasker-open-4-0-6__configure.patch
168 rename to sci-biology/repeatmasker/files/repeatmasker-4.0.6__configure.patch