Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/mira/, profiles/, sci-biology/mira/files/
Date: Tue, 28 Sep 2021 14:32:09
Message-Id: 1632839479.35d98adecae341f50c42caf4cea4bb264a57fd67.jsmolic@gentoo
1 commit: 35d98adecae341f50c42caf4cea4bb264a57fd67
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 28 14:31:19 2021 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 28 14:31:19 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35d98ade
7
8 sci-biology/mira: Remove last-rited package
9
10 Closes: https://bugs.gentoo.org/808667
11 Closes: https://bugs.gentoo.org/585942
12 Closes: https://bugs.gentoo.org/731880
13 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
14
15 profiles/package.mask | 7 --
16 sci-biology/mira/Manifest | 2 -
17 sci-biology/mira/files/mira-4.0.2-boost-1.50.patch | 22 -----
18 sci-biology/mira/files/mira-4.0.2-cmath.patch | 14 ----
19 sci-biology/mira/files/mira-4.0.2-cout.patch | 27 ------
20 sci-biology/mira/metadata.xml | 11 ---
21 sci-biology/mira/mira-4.0.2-r1.ebuild | 97 ----------------------
22 7 files changed, 180 deletions(-)
23
24 diff --git a/profiles/package.mask b/profiles/package.mask
25 index ce047751e24..3479a66b74a 100644
26 --- a/profiles/package.mask
27 +++ b/profiles/package.mask
28 @@ -240,13 +240,6 @@ dev-util/trinity
29 # Should be safe to unmask if you are using x11-wm/mutter instead.
30 >=gui-libs/egl-wayland-1.1.8
31
32 -# David Seifert <soap@g.o> (2021-08-29)
33 -# Broken for the past 5 years (#585942), no new upstream release in over
34 -# 5 years. Same issues as sci-biology/wgs-assembler, use a modern
35 -# assembler like sci-biology/abyss or canu.
36 -# Bug #585942, #731880, #808667, removal in 30 days.
37 -sci-biology/mira
38 -
39 # Alexey Sokolov <alexey+gentoo@××××××××.org> (2021-08-30)
40 # Homepage dead, uses gtk2, fails to build, https://bugs.gentoo.org/711344
41 games-puzzle/gnudoku
42
43 diff --git a/sci-biology/mira/Manifest b/sci-biology/mira/Manifest
44 deleted file mode 100644
45 index 48fa9af279d..00000000000
46 --- a/sci-biology/mira/Manifest
47 +++ /dev/null
48 @@ -1,2 +0,0 @@
49 -DIST mira-4.0.2.tar.bz2 10368046 BLAKE2B cc84c6c13c8024409634ccafd103be8a4f2a9e27fa7f19d2ef401393db9e8063a6fac2f21cd25dfe58e90aee8cf38983369d928241f9bc65e78da0e95fa41d3b SHA512 a7f9845de207cefb87ffa652f4f6b9b85735ef22eeb29b456e4d946ba1675e7dd2c78abb2da56f11fddcb699f5c0700a08ce298196ce1a8e586a758a8d3bdc7e
50 -DIST mira_3rdparty_06-07-2012.tar.bz2 31656 BLAKE2B 7e952d96e9073acd8ab1d1fc7c51c37f6526287d31698c5090500d421147285b535e8cab7e49f4e51a5634c901d1cd969206b1727e683d3fcebdc195399e3589 SHA512 4d4dbdf7ab5126f9d47160bee8bc127b6a225de8087f6b9914c754324a74d966333207c86a3f38cf0ea9f91408707e2a24086dbe1318fdfa2870b0c39bc5033b
51
52 diff --git a/sci-biology/mira/files/mira-4.0.2-boost-1.50.patch b/sci-biology/mira/files/mira-4.0.2-boost-1.50.patch
53 deleted file mode 100644
54 index 50f83c9021d..00000000000
55 --- a/sci-biology/mira/files/mira-4.0.2-boost-1.50.patch
56 +++ /dev/null
57 @@ -1,22 +0,0 @@
58 -ax_boost_regex.m4 | 4 ++--
59 -1 file changed, 2 insertions(+), 2 deletions(-)
60 -
61 ---- mira-4.0.2/m4/ax_boost_regex.m4
62 -+++ mira-4.0.2/m4/ax_boost_regex.m4
63 -@@ -78,14 +78,14 @@
64 - for libextension in `ls $BOOSTLIBDIR/libboost_regex*.so* $BOOSTLIBDIR/libboost_regex*.a* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^lib\(boost_regex.*\)\.so.*$;\1;' -e 's;^lib\(boost_regex.*\)\.a*$;\1;'` ; do
65 - ax_lib=${libextension}
66 - AC_CHECK_LIB($ax_lib, exit,
67 -- [BOOST_REGEX_LIB="-l$ax_lib"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break],
68 -+ [BOOST_REGEX_LIB="-l$ax_lib -lboost_system"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break],
69 - [link_regex="no"])
70 - done
71 - if test "x$link_regex" != "xyes"; then
72 - for libextension in `ls $BOOSTLIBDIR/boost_regex*.{dll,a}* 2>/dev/null | sed 's,.*/,,' | sed -e 's;^\(boost_regex.*\)\.dll.*$;\1;' -e 's;^\(boost_regex.*\)\.a*$;\1;'` ; do
73 - ax_lib=${libextension}
74 - AC_CHECK_LIB($ax_lib, exit,
75 -- [BOOST_REGEX_LIB="-l$ax_lib"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break],
76 -+ [BOOST_REGEX_LIB="-l$ax_lib -lboost_system"; AC_SUBST(BOOST_REGEX_LIB) link_regex="yes"; break],
77 - [link_regex="no"])
78 - done
79 - fi
80
81 diff --git a/sci-biology/mira/files/mira-4.0.2-cmath.patch b/sci-biology/mira/files/mira-4.0.2-cmath.patch
82 deleted file mode 100644
83 index a4a020177af..00000000000
84 --- a/sci-biology/mira/files/mira-4.0.2-cmath.patch
85 +++ /dev/null
86 @@ -1,14 +0,0 @@
87 ---- mira-4.0.2/src/mira/ads.C
88 -+++ mira-4.0.2/src/mira/ads.C
89 -@@ -31,10 +31,11 @@
90 - * Routines for computing scores and some other classification number are
91 - * provided, too.
92 - *
93 - */
94 -
95 -+#include <cmath>
96 -
97 - #include "ads.H"
98 -
99 - #include "errorhandling/errorhandling.H"
100 - #include "util/dptools.H"
101
102 diff --git a/sci-biology/mira/files/mira-4.0.2-cout.patch b/sci-biology/mira/files/mira-4.0.2-cout.patch
103 deleted file mode 100644
104 index 78e7168cb49..00000000000
105 --- a/sci-biology/mira/files/mira-4.0.2-cout.patch
106 +++ /dev/null
107 @@ -1,27 +0,0 @@
108 - src/progs/quirks.C | 2 ++
109 - 1 file changed, 2 insertions(+)
110 -
111 -diff --git a/src/progs/quirks.C b/src/progs/quirks.C
112 -index 47e5ee8..060b6f3 100644
113 ---- a/src/progs/quirks.C
114 -+++ b/src/progs/quirks.C
115 -@@ -25,6 +25,8 @@
116 -
117 - #include <boost/filesystem.hpp>
118 -
119 -+#include <iostream>
120 -+
121 - // make the "tcmalloc: large alloc" messages from TCMallom disappear
122 - // by setting the reporting environment variable to a very large value
123 - // see: http://groups.google.com/group/google-perftools/browse_thread/thread/24a003fc35f3d470?pli=1
124 ---- a/src/mira/parameters.C
125 -+++ b/src/mira/parameters.C
126 -@@ -2222,7 +2222,7 @@
127 - MIRANOTIFY(Notify::FATAL, "File not found: " << pfile);
128 - }
129 -
130 -- parse(fin, Pv, nullptr);
131 -+ parse(fin, Pv, false);
132 -
133 - fin.close();
134 -
135
136 diff --git a/sci-biology/mira/metadata.xml b/sci-biology/mira/metadata.xml
137 deleted file mode 100644
138 index 5ef527dc14c..00000000000
139 --- a/sci-biology/mira/metadata.xml
140 +++ /dev/null
141 @@ -1,11 +0,0 @@
142 -<?xml version="1.0" encoding="UTF-8"?>
143 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
144 -<pkgmetadata>
145 - <maintainer type="project">
146 - <email>sci-biology@g.o</email>
147 - <name>Gentoo Biology Project</name>
148 - </maintainer>
149 - <upstream>
150 - <remote-id type="sourceforge">mira-assembler</remote-id>
151 - </upstream>
152 -</pkgmetadata>
153
154 diff --git a/sci-biology/mira/mira-4.0.2-r1.ebuild b/sci-biology/mira/mira-4.0.2-r1.ebuild
155 deleted file mode 100644
156 index cbd1309c474..00000000000
157 --- a/sci-biology/mira/mira-4.0.2-r1.ebuild
158 +++ /dev/null
159 @@ -1,97 +0,0 @@
160 -# Copyright 1999-2021 Gentoo Authors
161 -# Distributed under the terms of the GNU General Public License v2
162 -
163 -EAPI=6
164 -
165 -MIRA_3RDPARTY_PV="06-07-2012"
166 -MY_PV="${PV/_}" # convert from mira-4.0_rc2 (Gentoo ebuild filename derived) to mira-4.0rc2 (upstream fromat)
167 -
168 -inherit autotools multilib
169 -
170 -DESCRIPTION="Whole Genome Shotgun and EST Sequence Assembler for Sanger, 454 and Illumina"
171 -HOMEPAGE="http://www.chevreux.org/projects_mira.html"
172 -SRC_URI="
173 - https://sourceforge.net/projects/mira-assembler/files/MIRA/stable/"${PN}"-"${MY_PV}".tar.bz2
174 - mirror://sourceforge/mira-assembler/mira_3rdparty_${MIRA_3RDPARTY_PV}.tar.bz2"
175 -# https://sourceforge.net/projects/mira-assembler/files/MIRA/development/${P}.tar.bz2
176 -# mirror://sourceforge/mira-assembler/mira_3rdparty_${MIRA_3RDPARTY_PV}.tar.bz2"
177 -
178 -S="${WORKDIR}"/"${PN}"-"${MY_PV}"
179 -
180 -SLOT="0"
181 -LICENSE="GPL-2"
182 -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
183 -IUSE="doc"
184 -
185 -CDEPEND="
186 - dev-libs/boost:=[threads(+)]
187 - dev-util/google-perftools"
188 -DEPEND="${CDEPEND}
189 - sys-devel/flex
190 - app-editors/vim-core
191 - dev-libs/expat"
192 -RDEPEND="${CDEPEND}"
193 -
194 -#DOCS=( AUTHORS GETTING_STARTED NEWS README HELP_WANTED
195 -# THANKS doc/3rdparty/scaffolding_MIRA_BAMBUS.pdf )
196 -DOCS=( AUTHORS GETTING_STARTED NEWS README HELP_WANTED THANKS )
197 -
198 -PATCHES=(
199 - "${FILESDIR}/${PN}-4.0.2-boost-1.50.patch"
200 - "${FILESDIR}/${PN}-4.0.2-cout.patch"
201 - "${FILESDIR}/${PN}-4.0.2-cmath.patch"
202 -)
203 -
204 -src_prepare() {
205 - find -name 'configure*' -or -name 'Makefile*' | xargs sed -i 's/flex++/flex -+/' || die
206 -
207 - default
208 -
209 - sed \
210 - -e "s:-O[23]::g" \
211 - -e "s:-funroll-loops::g" \
212 - -i configure.ac || die
213 -
214 - eautoreconf
215 -
216 - # Remove C++ source files that upstream built with flex.
217 - local f
218 - local PREBUILT_CXX_LEXER_FILES=(
219 - "${S}"/src/caf/caf_flexer.cc
220 - "${S}"/src/io/exp_flexer.cc
221 - "${S}"/src/mira/parameters_flexer.cc
222 - )
223 -
224 - for f in "${PREBUILT_CXX_LEXER_FILES[@]}"; do
225 - if [[ -f ${f} ]] ; then
226 - rm "${f}" || die "Failed to remove ${f}"
227 - else
228 - die "${f} not found"
229 - fi
230 - done
231 -}
232 -
233 -src_configure() {
234 - econf \
235 - --with-boost="${EPREFIX}/usr/$(get_libdir)" \
236 - --with-boost-libdir="${EPREFIX}/usr/$(get_libdir)" \
237 - --with-boost-thread=boost_thread-mt
238 -}
239 -
240 -#src_compile() {
241 -# base_src_compile
242 -# # TODO: resolve docbook incompatibility for building docs
243 -# use doc && emake -C doc clean docs
244 -#}
245 -
246 -src_install() {
247 - default
248 -
249 - dobin "${WORKDIR}"/3rdparty/{sff_extract,qual2ball,*.pl}
250 - dodoc "${WORKDIR}"/3rdparty/{README.txt,midi_screen.fasta}
251 -}
252 -
253 -pkg_postinst() {
254 - einfo "Documentation is no longer built, you can find it at:"
255 - einfo "http://mira-assembler.sourceforge.net/docs/DefinitiveGuideToMIRA.html"
256 -}