1 |
commit: 7a172acb8e93cf85a11ddd1fdc4170ce9b5ba785 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 8 21:35:39 2017 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 8 22:16:09 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a172acb |
7 |
|
8 |
sci-biology/elph: Remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.4, Repoman-2.3.2 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/4165 |
12 |
|
13 |
sci-biology/elph/Manifest | 1 - |
14 |
sci-biology/elph/elph-0.1.5.ebuild | 36 ------- |
15 |
sci-biology/elph/elph-1.0.1.ebuild | 27 ------ |
16 |
sci-biology/elph/files/elph-0.1.5-usage.patch | 133 -------------------------- |
17 |
4 files changed, 197 deletions(-) |
18 |
|
19 |
diff --git a/sci-biology/elph/Manifest b/sci-biology/elph/Manifest |
20 |
index d5427f694db..a97d2ec7392 100644 |
21 |
--- a/sci-biology/elph/Manifest |
22 |
+++ b/sci-biology/elph/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
-DIST ELPH-0.1.5.tar.gz 153150 SHA256 6ffa160f85cb2569bdf869cb0514dc624afcef4f2d8a36efbd1228d1a16cf361 SHA512 6a413d1141d8bbe88de8db64657beaf557331c11aa91add7316d301bfd71d8febf8a27aca6e56ed16e94c3d02f4932d7bc367819fceca387925d6ef6591b7a3f WHIRLPOOL d87835f180d33377dad7a23dc3fe5b78777baea1baeda588c897c6250b3eec9f68f66ee9951164764f6826b606f3081e060a10db2667b13e5580c5df355c1ad0 |
25 |
DIST ELPH-1.0.1.tar.gz 113476 SHA256 6d944401d2457d75815a34dbb5780f05df569eb1edfd00909b33c4c4c4ff40b9 SHA512 a76cdcdaa1dc406fb0f1204b6a40ffc9f4c0840611b960a3d4299d447446e5bbf941abe7f70cee38f69a64862e186133fd60c1aac18b4b58d86f2ed5c4dd7d72 WHIRLPOOL 598dc3f95c93e5e36bcd20de3c985c22d650462ab27df31af54ca5b5b50c0a60fcc47637a41c449bdf7e572cee097289916aca4f0de79b804854d233ff3e20ff |
26 |
|
27 |
diff --git a/sci-biology/elph/elph-0.1.5.ebuild b/sci-biology/elph/elph-0.1.5.ebuild |
28 |
deleted file mode 100644 |
29 |
index d2d085d4c03..00000000000 |
30 |
--- a/sci-biology/elph/elph-0.1.5.ebuild |
31 |
+++ /dev/null |
32 |
@@ -1,36 +0,0 @@ |
33 |
-# Copyright 1999-2008 Gentoo Foundation |
34 |
-# Distributed under the terms of the GNU General Public License v2 |
35 |
- |
36 |
-inherit eutils toolchain-funcs |
37 |
- |
38 |
-DESCRIPTION="Estimated Locations of Pattern Hits - Motif finder program" |
39 |
-LICENSE="Artistic" |
40 |
-HOMEPAGE="http://cbcb.umd.edu/software/ELPH/" |
41 |
-SRC_URI="ftp://ftp.cbcb.umd.edu/pub/software/elph/ELPH-${PV}.tar.gz" |
42 |
- |
43 |
-SLOT="0" |
44 |
-IUSE="" |
45 |
-KEYWORDS="x86" |
46 |
- |
47 |
-S="${WORKDIR}/ELPH/sources" |
48 |
- |
49 |
-src_unpack() { |
50 |
- unpack ${A} |
51 |
- cd "${S}" |
52 |
- epatch "${FILESDIR}"/${P}-usage.patch |
53 |
- sed -i -e "s/CC := g++/CC := $(tc-getCXX)/" \ |
54 |
- -e "s/-fno-exceptions -fno-rtti -D_REENTRANT -g/${CXXFLAGS}/" \ |
55 |
- -e "s/LINKER := g++/LINKER := $(tc-getCXX)/" \ |
56 |
- Makefile || die "Failed to patch Makefile." |
57 |
-} |
58 |
- |
59 |
-src_compile() { |
60 |
- make || die "Compilation failed." |
61 |
-} |
62 |
- |
63 |
-src_install() { |
64 |
- dobin elph || die "Failed to install program." |
65 |
- cd "${WORKDIR}"/ELPH |
66 |
- dodoc VERSION || die "Documentation installation failed." |
67 |
- newdoc Readme.ELPH README || die "Readme installation failed." |
68 |
-} |
69 |
|
70 |
diff --git a/sci-biology/elph/elph-1.0.1.ebuild b/sci-biology/elph/elph-1.0.1.ebuild |
71 |
deleted file mode 100644 |
72 |
index e575c68d5d0..00000000000 |
73 |
--- a/sci-biology/elph/elph-1.0.1.ebuild |
74 |
+++ /dev/null |
75 |
@@ -1,27 +0,0 @@ |
76 |
-# Copyright 1999-2010 Gentoo Foundation |
77 |
-# Distributed under the terms of the GNU General Public License v2 |
78 |
- |
79 |
-inherit eutils toolchain-funcs |
80 |
- |
81 |
-DESCRIPTION="Estimated Locations of Pattern Hits - Motif finder program" |
82 |
-LICENSE="Artistic" |
83 |
-HOMEPAGE="http://cbcb.umd.edu/software/ELPH/" |
84 |
-SRC_URI="ftp://ftp.cbcb.umd.edu/pub/software/elph/ELPH-${PV}.tar.gz" |
85 |
- |
86 |
-SLOT="0" |
87 |
-IUSE="" |
88 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos" |
89 |
- |
90 |
-S=${WORKDIR}/ELPH/sources |
91 |
- |
92 |
-src_compile() { |
93 |
- emake CC="$(tc-getCXX)" LINKER="$(tc-getCXX)" \ |
94 |
- CFLAGS="${CXXFLAGS} -D_REENTRANT" LDFLAGS="${LDFLAGS}" || die |
95 |
-} |
96 |
- |
97 |
-src_install() { |
98 |
- dobin elph || die "Failed to install program." |
99 |
- cd "${WORKDIR}"/ELPH |
100 |
- dodoc VERSION || die "Documentation installation failed." |
101 |
- newdoc Readme.ELPH README || die "Readme installation failed." |
102 |
-} |
103 |
|
104 |
diff --git a/sci-biology/elph/files/elph-0.1.5-usage.patch b/sci-biology/elph/files/elph-0.1.5-usage.patch |
105 |
deleted file mode 100644 |
106 |
index 139b83c1c1c..00000000000 |
107 |
--- a/sci-biology/elph/files/elph-0.1.5-usage.patch |
108 |
+++ /dev/null |
109 |
@@ -1,133 +0,0 @@ |
110 |
---- elph.cc.old 2005-01-11 14:17:47.000000000 -0500 |
111 |
-+++ elph.cc 2005-01-27 19:42:30.218350552 -0500 |
112 |
-@@ -26,11 +26,11 @@ |
113 |
- period variable\n\ |
114 |
- -x : print maximum positions within sequences\n\ |
115 |
- -g : find significance of motif\n\ |
116 |
-- -t <matrix> : test if there is significant difference between the two |
117 |
-- input files for a given motif matrix; <matrix> is the file |
118 |
-+ -t <matrix> : test if there is significant difference between the two\n\ |
119 |
-+ input files for a given motif matrix; <matrix> is the file\n\ |
120 |
- containing the motif matrix\n\ |
121 |
-- -l : compute Least Likely Consensus (LLC) for given motif |
122 |
-- -c : in conjunction with -m option: motif is not necessarily in |
123 |
-+ -l : compute Least Likely Consensus (LLC) for given motif\n\ |
124 |
-+ -c : in conjunction with -m option: motif is not necessarily in\n\ |
125 |
- the closest edit distance from input motif\n\ |
126 |
- LEN=n : n = length of motif\n\ |
127 |
- ITERNO=n : n = no of iterations to compute the global maximum;\n\ |
128 |
-@@ -41,7 +41,7 @@ |
129 |
- default = 1000\n\ |
130 |
- " |
131 |
- |
132 |
--// global variables: |
133 |
-+// global variables: |
134 |
- int ITER_NO=10; |
135 |
- int MAX_LOOP=500; |
136 |
- int printmax=0; |
137 |
-@@ -66,7 +66,7 @@ |
138 |
- seqType t; |
139 |
- |
140 |
- GArgs args(argc, argv, "ho:abcglvdxt:p:s:m:n:LEN=ITERNO=MAXLOOP=SGFNO="); |
141 |
-- |
142 |
-+ |
143 |
- // == Process arguments. |
144 |
- |
145 |
- int e; |
146 |
-@@ -83,7 +83,7 @@ |
147 |
- |
148 |
- if(!testfile.is_empty()) { // if testfile is defined then only compute significance between the two files |
149 |
- |
150 |
-- M = new Motif(infile,outf,t,matrixfile,pattern,motiflen,ITER_NO,MAX_LOOP,inlocmax,mdet); |
151 |
-+ M = new Motif(infile,outf,t,matrixfile,pattern,motiflen,ITER_NO,MAX_LOOP,inlocmax,mdet); |
152 |
- M->twofilesignif(gdet,testfile,SignifNo,print,pattern); |
153 |
- |
154 |
- } |
155 |
-@@ -93,11 +93,11 @@ |
156 |
- // given motif |
157 |
- |
158 |
- M = new Motif(infile,outf,t,pattern); |
159 |
-- if(defLLC) { |
160 |
-+ if(defLLC) { |
161 |
- double llc=M->computeLLC(pattern,print); |
162 |
- fprintf(outf,"LLC = %f\n",llc); |
163 |
- } |
164 |
-- |
165 |
-+ |
166 |
- } |
167 |
- else { |
168 |
- |
169 |
-@@ -108,7 +108,7 @@ |
170 |
- } |
171 |
- |
172 |
- double globAlignProb; |
173 |
-- |
174 |
-+ |
175 |
- globAlignProb=M->findMotif(ITER_NO,MAX_LOOP,inlocmax,1,mdet); |
176 |
- |
177 |
- |
178 |
-@@ -116,13 +116,13 @@ |
179 |
- /*info=M->InfoPar(globAlignProb); |
180 |
- fprintf(outf,"MAP for motif: %.3f InfoPar=%.3f\n\n",globAlignProb,info); |
181 |
- M->printMotif();*/ |
182 |
-- |
183 |
-+ |
184 |
- // optimizing |
185 |
- fprintf(stderr,"Optimizing...\n"); |
186 |
- globAlignProb=M->optimize(globAlignProb,info,closest); |
187 |
- fprintf(outf,"\n\n**********************\n\nMotif after optimizing\n"); |
188 |
- fprintf(outf,"MAP for motif: %.3f InfoPar=%.3f\n\n",globAlignProb,M->InfoPar(globAlignProb)); |
189 |
-- |
190 |
-+ |
191 |
- if(runsignif) { |
192 |
- M->runforsignif(SignifNo,print,gdet,pattern); |
193 |
- } |
194 |
-@@ -134,17 +134,17 @@ |
195 |
- |
196 |
- seqType Process_Options(GArgs* args) |
197 |
- { |
198 |
-- |
199 |
-- if (args->startNonOpt()) { //parse the non-options arguments |
200 |
-+ |
201 |
-+ if (args->startNonOpt()) { //parse the non-options arguments |
202 |
- //(usually filenames) |
203 |
- infile=args->nextNonOpt(); |
204 |
- } |
205 |
- |
206 |
-- if (infile.is_empty() || args->getOpt('h')!=NULL) |
207 |
-+ if (infile.is_empty() || args->getOpt('h')!=NULL) |
208 |
- GError("%s",usage); // the empty test is optional you can ignore it if you accept stdin input |
209 |
- |
210 |
- testfile=args->nextNonOpt(); |
211 |
-- |
212 |
-+ |
213 |
- GString outfile=args->getOpt('o'); |
214 |
- if (!outfile.is_empty()) { |
215 |
- outf=fopen(outfile, "w"); |
216 |
-@@ -156,7 +156,7 @@ |
217 |
- matrixfile=args->getOpt('t'); |
218 |
- |
219 |
- GString param; |
220 |
-- |
221 |
-+ |
222 |
- pattern=args->getOpt('m'); |
223 |
- if(pattern.is_empty()) { |
224 |
- param=args->getOpt("LEN"); |
225 |
-@@ -200,7 +200,7 @@ |
226 |
- |
227 |
- seqType t; |
228 |
- if(args->getOpt('a')!=NULL) t=aac; else t=nucl; |
229 |
-- |
230 |
-+ |
231 |
- return(t); |
232 |
- |
233 |
- } |
234 |
-@@ -210,7 +210,7 @@ |
235 |
- Motif *M; |
236 |
- |
237 |
- double llcmax=-HUGE_VAL; |
238 |
-- GString seed; |
239 |
-+ GString seed; |
240 |
- for(int i1=0;i1<4;i1++) |
241 |
- for(int i2=0;i2<4;i2++) |
242 |
- for(int i3=0;i3<4;i3++) |