1 |
commit: 9c80f0ef473bca66c7cbd29c41a7330958f8d820 |
2 |
Author: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Dec 1 21:55:13 2022 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Dec 1 21:55:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=9c80f0ef |
7 |
|
8 |
sci-biology/estscan: treeclean |
9 |
|
10 |
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org> |
11 |
|
12 |
profiles/package.use.mask | 4 - |
13 |
sci-biology/estscan/estscan-3.0.3.ebuild | 124 ------------------------------- |
14 |
sci-biology/estscan/metadata.xml | 19 ----- |
15 |
3 files changed, 147 deletions(-) |
16 |
|
17 |
diff --git a/profiles/package.use.mask b/profiles/package.use.mask |
18 |
index 8aff1df94..b4116bd86 100644 |
19 |
--- a/profiles/package.use.mask |
20 |
+++ b/profiles/package.use.mask |
21 |
@@ -23,10 +23,6 @@ sci-libs/gdcm python |
22 |
# doesn't link with plotutils-2.6 |
23 |
sci-physics/qcl plotutils |
24 |
|
25 |
-# Christoph Junghans <ottxor@g.o> (12 Sep 2014) |
26 |
-# icc and ifc don't work on no-multilib |
27 |
-sci-biology/estscan icc ifc |
28 |
- |
29 |
# Christoph Junghans <ottxor@g.o> (05 Nov 2013) |
30 |
# gui sandbox error |
31 |
dev-lang/conceptual gui |
32 |
|
33 |
diff --git a/sci-biology/estscan/estscan-3.0.3.ebuild b/sci-biology/estscan/estscan-3.0.3.ebuild |
34 |
deleted file mode 100644 |
35 |
index a0992b76b..000000000 |
36 |
--- a/sci-biology/estscan/estscan-3.0.3.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,124 +0,0 @@ |
39 |
-# Copyright 1999-2021 Gentoo Authors |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
- |
42 |
-EAPI=7 |
43 |
- |
44 |
-inherit fortran-2 perl-module toolchain-funcs |
45 |
- |
46 |
-DESCRIPTION="Prediction of coding regions in DNA/RNA sequences" |
47 |
-HOMEPAGE="https://sourceforge.net/projects/estscan/" |
48 |
-SRC_URI=" |
49 |
- https://downloads.sourceforge.net/${PN}/${P}.tar.gz |
50 |
- https://downloads.sourceforge.net/${PN}/At.smat.gz |
51 |
- https://downloads.sourceforge.net/${PN}/Dm.smat.gz |
52 |
- https://downloads.sourceforge.net/${PN}/Dr.smat.gz |
53 |
- https://downloads.sourceforge.net/${PN}/Hs.smat.gz |
54 |
- https://downloads.sourceforge.net/${PN}/Mm.smat.gz |
55 |
- https://downloads.sourceforge.net/${PN}/Rn.smat.gz |
56 |
- https://downloads.sourceforge.net/${PN}/user_guide_fev_07.pdf |
57 |
- https://downloads.sourceforge.net/${PN}/BTLib-0.19.tar.gz" |
58 |
- |
59 |
-SLOT="0" |
60 |
-LICENSE="estscan" |
61 |
-KEYWORDS="~amd64 ~x86" |
62 |
-IUSE="icc ifc" |
63 |
- |
64 |
-DEPEND=" |
65 |
- dev-perl/BTLib |
66 |
- icc? ( dev-lang/icc ) |
67 |
- ifc? ( dev-lang/ifc )" |
68 |
-RDEPEND="${DEPEND}" |
69 |
- |
70 |
-S="${WORKDIR}" |
71 |
- |
72 |
-src_prepare() { |
73 |
- default |
74 |
- sed \ |
75 |
- -e 's/\\rm -f/rm -rf/' \ |
76 |
- -e 's/^ LDFLAGS = -lm/LDFLAGS = -lm/' \ |
77 |
- -i "${P}"/Makefile || die "failed to edit Makefile" |
78 |
- |
79 |
- # fix hard-coded paths |
80 |
- sed -e 's+/usr/molbio/share/ESTScan+/usr/share/ESTscan+' -i "${P}"/${PN}.c || die |
81 |
- sed -e 's+/usr/molbio/share/ESTScan+/usr/share/ESTscan+' -i "${P}"/${PN}.spec || die |
82 |
- |
83 |
- if ! use icc; then |
84 |
- sed \ |
85 |
- -e 's/^ CFLAGS = -O2/#CFLAGS = ${CFLAGS}/' -i "${P}"/Makefile || die |
86 |
- fi |
87 |
- |
88 |
- if ! use ifc; then |
89 |
- sed \ |
90 |
- -e 's/^ FFLAGS = -O2/#FFLAGS = ${FFLAGS}/' \ |
91 |
- -e "s/^ F77 = g77/F77 = $(tc-getF77)/" -i "${P}"/Makefile \ |
92 |
- || die |
93 |
- fi |
94 |
- |
95 |
- if use icc; then |
96 |
- # FIXME: I would use $(tc-getCC) instead of hard-coded icc but it gives |
97 |
- # me gcc instead, same for $(tc-getF77) |
98 |
- # Moreover, the if/else logic here should separate users having only icc |
99 |
- # while not ifort (and vice-versa) from those having only |
100 |
- # gcc/gfortran/g77 |
101 |
- # |
102 |
- # FIXME: below as a dirty hack I force gfortran instead of ifort for |
103 |
- # my testing purposes. Didn't ebuild contain "PROVIDES" line? |
104 |
- # Same for FFLAGS. |
105 |
- sed \ |
106 |
- -e "s:^# CC = icc:CC = icc:" \ |
107 |
- -e "s:^# CFLAGS = -O3 -ipo -axP:#CFLAGS = -O3 -ipo -axP:" \ |
108 |
- -e "s/^ CFLAGS = -O2/#CFLAGS = -O2/" \ |
109 |
- -e "s/^ CC = gcc/# CC = gcc/" \ |
110 |
- -i "${P}"/Makefile || die "sed failed to fix CFLAGS and CC" |
111 |
- |
112 |
- fi |
113 |
- |
114 |
- if use ifc; then |
115 |
- sed \ |
116 |
- -e "s:^# FFLAGS = -O3 -ipo -axP:#FFLAGS = -O3 -ipo -axP:" \ |
117 |
- -e "s/^# F77 = ifort/F77 = gfortran/" \ |
118 |
- -e "s/^ FFLAGS = -O2/#FFLAGS = -O2/" \ |
119 |
- -e "s/^ F77 = g77/# F77 = g77/" \ |
120 |
- -i "${P}"/Makefile || die "sed failed to fix FFLAGS and F77" |
121 |
- fi |
122 |
-} |
123 |
- |
124 |
-src_compile() { |
125 |
- emake -C ${P} |
126 |
-} |
127 |
- |
128 |
-src_install() { |
129 |
- # FIXME: Some kind of documentation is in {P}/${PN}.spec |
130 |
- cd ${P} || die "Failed to chdir to ${P}" |
131 |
- dobin \ |
132 |
- build_model ${PN} evaluate_model extract_EST extract_UG_EST \ |
133 |
- extract_mRNA makesmat maskred prepare_data winsegshuffle |
134 |
- # the file build_model_utils.pl should go into some PERL site-packages dir |
135 |
- # see {P}/${PN}.spec |
136 |
- |
137 |
- # install the doc (but is not in ${WORKDIR} because src_unpack() failed on it as it has .pdf extension |
138 |
- insinto /usr/share/doc/${PN} |
139 |
- # grab the file directly from ../distdir/ |
140 |
- doins "${DISTDIR}"/user_guide_fev_07.pdf |
141 |
- |
142 |
- # install the default precomputed matrices |
143 |
- cd "${WORKDIR}" || die "Failed to chdir to ${WORKDIR}" |
144 |
- insinto /usr/share/${PN} |
145 |
- doins *.smat |
146 |
- |
147 |
- # install BTlib (in perl) |
148 |
- # dobin fetch indexer netfetch |
149 |
- insinto /usr/share/${PN}/ |
150 |
- # install the config file which is packed inside the BTLib tarball while is not |
151 |
- # being installed by dev-perl/BTLib |
152 |
- doins "${WORKDIR}"/BTLib-0.19/fetch.conf |
153 |
- |
154 |
- # FIXME: install the *.pm files from BTLib-0.19 |
155 |
- # cd "${WORKDIR}"/BTLib-0.19 || die "Failed to chdir to "${WORKDIR}"/BTLib-0.19 |
156 |
- # myinst="DESTDIR=${D}" |
157 |
- # perl-module_src_install |
158 |
- |
159 |
- einfo "Please edit /usr/share/${PN}/fetch.conf to fit your local database layout." |
160 |
- einfo "Also create your own scoring matrices and place them into /usr/share/${PN}/." |
161 |
- einfo "You may follow the hints from http://${PN}.sourceforge.net/" |
162 |
-} |
163 |
|
164 |
diff --git a/sci-biology/estscan/metadata.xml b/sci-biology/estscan/metadata.xml |
165 |
deleted file mode 100644 |
166 |
index c79c2d1b5..000000000 |
167 |
--- a/sci-biology/estscan/metadata.xml |
168 |
+++ /dev/null |
169 |
@@ -1,19 +0,0 @@ |
170 |
-<?xml version="1.0" encoding="UTF-8"?> |
171 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
172 |
-<pkgmetadata> |
173 |
- <maintainer type="person"> |
174 |
- <email>mmokrejs@×××××××××××××××.cz</email> |
175 |
- <name>Martin Mokrejs</name> |
176 |
- </maintainer> |
177 |
- <maintainer type="project"> |
178 |
- <email>sci-biology@g.o</email> |
179 |
- <name>Gentoo Biology Project</name> |
180 |
- </maintainer> |
181 |
- <use> |
182 |
- <flag name="icc">Undocumented USE</flag> |
183 |
- <flag name="ifc">Undocumented USE</flag> |
184 |
- </use> |
185 |
- <upstream> |
186 |
- <remote-id type="sourceforge">downloads</remote-id> |
187 |
- </upstream> |
188 |
-</pkgmetadata> |