Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/mummer/, sci-biology/mummer/files/
Date: Wed, 08 Mar 2017 22:16:59
Message-Id: 1489011356.47a650eb48ed78b003f4449f9e7ba775a73ce9cd.soap@gentoo
1 commit: 47a650eb48ed78b003f4449f9e7ba775a73ce9cd
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:15:56 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47a650eb
7
8 sci-biology/mummer: 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/mummer/Manifest | 4 --
14 sci-biology/mummer/files/3.22-ldflags.patch | 16 -----
15 sci-biology/mummer/files/3.22-prll.patch | 56 ----------------
16 sci-biology/mummer/files/mummer-3.20-gcc43.patch | 12 ----
17 sci-biology/mummer/mummer-3.20.ebuild | 57 ----------------
18 sci-biology/mummer/mummer-3.21.ebuild | 52 ---------------
19 sci-biology/mummer/mummer-3.22-r1.ebuild | 63 ------------------
20 sci-biology/mummer/mummer-3.9.4_alpha.ebuild | 82 ------------------------
21 8 files changed, 342 deletions(-)
22
23 diff --git a/sci-biology/mummer/Manifest b/sci-biology/mummer/Manifest
24 index e752ce6907b..53c34cf4516 100644
25 --- a/sci-biology/mummer/Manifest
26 +++ b/sci-biology/mummer/Manifest
27 @@ -1,5 +1 @@
28 -DIST MUMmer3.20.tar.gz 3155446 SHA256 9c7880b4ce25ef3c6bed9ccdc26f1c4d7e74eb0ef1ce403907790c0f96c0f260 SHA512 7c80bb605d57739809eb1b1cf8a579d72048e510362237d9ba64e21be18cc663769cda5dabc287832e59fb62804df34bc8336c2b42474466e7ee1e126848aecd WHIRLPOOL a08af35aee960bcd6274d3a00b1c1819d23367c81a72fd41c652c3579253b0aeeb5ef66f6dcfed60b4987c3a40830d04cd81745dce8a274cc3de0663dd54ae6f
29 -DIST MUMmer3.21.tar.gz 3155965 SHA256 7fb1456c8c21eab4913a522e4b79bc5c84b7373feb54614a7003b16d47dc23b8 SHA512 61d49e5451e1697003f7acaac690f2ede7ab71766208d3218954527c48be76ddb78d60ff40ae1bdcd4b93d3efaf21b5bd027da3722eab1ae3fa399ee726bc96e WHIRLPOOL 50c7b0d7c00bf85aa8e0f8b80bf55186f8c0a53d26c3e50d2149120bc46f3632de4cb861a4d4265c1e3be731dffb71940344b238fd3e977412134b0e401cb95e
30 -DIST MUMmer3.22.tar.gz 3156338 SHA256 429022a8c6a7ae55fb1dd94dbdac1b21f662d6278668f5531c735911d9fc77da SHA512 37bbb368c679d2e98fa9b9ef10c18008c173c25ee79183eb30e34125b1dc9cd10f005b7bd7c648335a8025509d8e3456fcc7ce497c95fa71c3c5d3ed3685665f WHIRLPOOL 487333ca38a9c59984ed059e8dd620ad3c0a5ae1a537e500c7b8b2d58213ac88960a13c0f25e6e0490d1209c9e73cfe8df0f8a43dbae9fd6a3e9fe3ce42da453
31 DIST MUMmer3.23.tar.gz 3160143 SHA256 1efad4f7d8cee0d8eaebb320a2d63745bb3a160bb513a15ef7af46f330af662f SHA512 f31d36ef3e07fa4ac017c76c1c8d5f53882a59b061742d201f1f7aafb29d16af8268985285398dd90e98d276b2513d2c611f9876069b23fe82b5da1d3ebc04d3 WHIRLPOOL 7471d20a88f5ddf510d1e4826480706a683f005f3bab21ebb19b1fcba2c8f431435cce27a1cdf98ece8d4bb4dafcc349362037f6d526db3f564b7c013c67e882
32 -DIST mummer-3.9.4_alpha.tar.gz 956517 SHA256 fb2f03c729cd078d526d6318f91061f8832c2e8bd0d519ddf3c0b6e656029cfa SHA512 f0b962a69df6918afc7d163b30bcf5bd9eb2be663c8ac685b5e06317953cf12b9d240df8a5bfe8a9410b65cf88176cc7a71eecfc460e51df7ad1b27dc3a10fc2 WHIRLPOOL 8443cde87f868136eaa005db2b5b461a822097778d4c36448602a5cda058dc1dfa10daa08883248ffaba79a1d33240170b94b96548ebb56a01eaa27838d4afd6
33
34 diff --git a/sci-biology/mummer/files/3.22-ldflags.patch b/sci-biology/mummer/files/3.22-ldflags.patch
35 deleted file mode 100644
36 index d3c4a60a1ad..00000000000
37 --- a/sci-biology/mummer/files/3.22-ldflags.patch
38 +++ /dev/null
39 @@ -1,16 +0,0 @@
40 -diff --git a/src/tigr/Makefile b/src/tigr/Makefile
41 -index cf6b9ca..5b28d1e 100644
42 ---- a/src/tigr/Makefile
43 -+++ b/src/tigr/Makefile
44 -@@ -9,9 +9,9 @@ AUX_BIN_DIR := $(CURDIR)
45 - endif
46 -
47 - OBJ_RULE = $(CXX) $(CXXFLAGS) $< -c -o $@
48 --BIN_RULE = $(CXX) $(CXXFLAGS) $^ -o $(BIN_DIR)/$@; \
49 -+BIN_RULE = $(CXX) $(LDFLAGS) $(CXXFLAGS) $^ -o $(BIN_DIR)/$@; \
50 - chmod 755 $(BIN_DIR)/$@
51 --AUX_BIN_RULE = $(CXX) $(CXXFLAGS) $^ -o $(AUX_BIN_DIR)/$@; \
52 -+AUX_BIN_RULE = $(CXX) $(LDFLAGS) $(CXXFLAGS) $^ -o $(AUX_BIN_DIR)/$@; \
53 - chmod 755 $(AUX_BIN_DIR)/$@
54 - VPATH := $(AUX_BIN_DIR):$(BIN_DIR)
55 -
56
57 diff --git a/sci-biology/mummer/files/3.22-prll.patch b/sci-biology/mummer/files/3.22-prll.patch
58 deleted file mode 100644
59 index 3b24ee40214..00000000000
60 --- a/sci-biology/mummer/files/3.22-prll.patch
61 +++ /dev/null
62 @@ -1,56 +0,0 @@
63 -diff --git a/Makefile b/Makefile
64 -index 4db4977..bbd00ed 100644
65 ---- a/Makefile
66 -+++ b/Makefile
67 -@@ -114,15 +114,15 @@ install: all
68 -
69 -
70 - kurtz:
71 -- cd $(KURTZ_SRC_DIR); $(MAKE) mummer
72 -+ $(MAKE) -C $(KURTZ_SRC_DIR) mummer
73 -
74 -
75 - scripts:
76 -- cd $(SCRIPT_DIR); $(MAKE) all
77 -+ $(MAKE) -C $(SCRIPT_DIR) all
78 -
79 -
80 - tigr:
81 -- cd $(TIGR_SRC_DIR); $(MAKE) all
82 -+ $(MAKE) -C $(TIGR_SRC_DIR) all
83 -
84 -
85 - uninstall: clean
86 -diff --git a/src/kurtz/Makefile b/src/kurtz/Makefile
87 -index 85dfc16..5bff793 100644
88 ---- a/src/kurtz/Makefile
89 -+++ b/src/kurtz/Makefile
90 -@@ -1,7 +1,7 @@
91 - all:
92 -- cd libbasedir; $(MAKE) all
93 -- cd streesrc; $(MAKE) all
94 -- cd mm3src; $(MAKE) all
95 -+ $(MAKE) -C libbasedir all
96 -+ $(MAKE) -C streesrc all
97 -+ $(MAKE) -C mm3src all
98 -
99 - clean:
100 - rm -f *~
101 -@@ -10,11 +10,11 @@ clean:
102 - cd mm3src; $(MAKE) clean
103 -
104 - mummer:
105 -- cd libbasedir; $(MAKE) libbase.a
106 -- cd streesrc; $(MAKE) libstree.a
107 -- cd mm3src; $(MAKE) mummer
108 -+ $(MAKE) -C libbasedir libbase.a
109 -+ $(MAKE) -C streesrc libstree.a
110 -+ $(MAKE) -C mm3src mummer
111 -
112 - splintall:
113 -- cd libbasedir; ${MAKE} splintall
114 -- cd streesrc; ${MAKE} splintall
115 -- cd mm3src; ${MAKE} splintall
116 -+ $(MAKE) -C libbasedir splintall
117 -+ $(MAKE) -C streesrc splintall
118 -+ $(MAKE) -C mm3src splintall
119
120 diff --git a/sci-biology/mummer/files/mummer-3.20-gcc43.patch b/sci-biology/mummer/files/mummer-3.20-gcc43.patch
121 deleted file mode 100644
122 index 4d3edb41e46..00000000000
123 --- a/sci-biology/mummer/files/mummer-3.20-gcc43.patch
124 +++ /dev/null
125 @@ -1,12 +0,0 @@
126 ---- src/tigr/show-diff.cc.orig 2008-06-16 17:55:34.000000000 +0000
127 -+++ src/tigr/show-diff.cc 2008-06-16 17:56:25.000000000 +0000
128 -@@ -14,6 +14,8 @@
129 - #include <cstdlib>
130 - #include <cassert>
131 - #include <climits>
132 -+#include <algorithm>
133 -+
134 - using namespace std;
135 -
136 -
137 -
138
139 diff --git a/sci-biology/mummer/mummer-3.20.ebuild b/sci-biology/mummer/mummer-3.20.ebuild
140 deleted file mode 100644
141 index 737e6d6aa64..00000000000
142 --- a/sci-biology/mummer/mummer-3.20.ebuild
143 +++ /dev/null
144 @@ -1,57 +0,0 @@
145 -# Copyright 1999-2009 Gentoo Foundation
146 -# Distributed under the terms of the GNU General Public License v2
147 -
148 -inherit eutils
149 -
150 -MY_P="MUMmer${PV}"
151 -DESCRIPTION="A rapid whole genome aligner"
152 -HOMEPAGE="http://mummer.sourceforge.net/"
153 -SRC_URI="mirror://sourceforge/mummer/${MY_P}.tar.gz"
154 -
155 -LICENSE="Artistic"
156 -SLOT="0"
157 -IUSE="doc"
158 -KEYWORDS="amd64 x86"
159 -
160 -DEPEND=""
161 -RDEPEND="app-shells/tcsh"
162 -
163 -S="${WORKDIR}/${MY_P}"
164 -
165 -src_unpack() {
166 - unpack ${A}
167 - cd "${S}"
168 - epatch "${FILESDIR}"/${P}-gcc43.patch
169 - # Warning: package uses CPPFLAGS on c in addition to cpp, despite the name
170 - sed -i -e 's/CPPFLAGS =/CPPFLAGS = ${CFLAGS} /' \
171 - -e 's/LDFLAGS =$//' "${S}/Makefile"
172 -}
173 -
174 -src_compile() {
175 - emake || die "emake failed"
176 -
177 - sed -i -e 's|\($AUX_BIN_DIR = "\).*"|\1/usr/bin"|' \
178 - -e 's|\($BIN_DIR = "\).*"|\1/usr/bin"|' \
179 - -e 's|\($SCRIPT_DIR = "\).*"|\1/usr/share/'${PN}'/lib"|' \
180 - -e 's|\(set bindir = \).*|\1/usr/bin|' \
181 - -e 's|\(set scriptdir = \).*|\1/usr/share/'${PN}'/scripts|' \
182 - -e 's|\(use lib "\).*"|\1/usr/share/'${PN}'/lib"|' \
183 - scripts/* exact-tandems mapview mummerplot nucmer promer run-mummer{1,3} || die "Failed to replace paths"
184 - sed -i 's|$bindir/annotate|$bindir/mummer-annotate|' run-mummer1 scripts/run-mummer1.csh
185 -}
186 -
187 -src_install() {
188 - dobin nucmer2xfig show-coords mapview show-snps run-mummer{1,3} \
189 - exact-tandems promer repeat-match show-aligns gaps mummer \
190 - show-tiling mgaps nucmer mummerplot delta-filter combineMUMs aux_bin/* || die
191 - newbin annotate mummer-annotate || die
192 -
193 - insinto /usr/share/${PN}/scripts
194 - doins scripts/{*.awk,*.csh,*.pl}
195 - insinto /usr/share/${PN}/lib
196 - doins scripts/Foundation.pm || die
197 -
198 - dodoc ACKNOWLEDGEMENTS ChangeLog README
199 - insinto /usr/share/doc/${PF}
200 - use doc && doins -r docs
201 -}
202
203 diff --git a/sci-biology/mummer/mummer-3.21.ebuild b/sci-biology/mummer/mummer-3.21.ebuild
204 deleted file mode 100644
205 index e9faee09eea..00000000000
206 --- a/sci-biology/mummer/mummer-3.21.ebuild
207 +++ /dev/null
208 @@ -1,52 +0,0 @@
209 -# Copyright 1999-2009 Gentoo Foundation
210 -# Distributed under the terms of the GNU General Public License v2
211 -
212 -inherit eutils
213 -
214 -DESCRIPTION="A rapid whole genome aligner"
215 -HOMEPAGE="http://mummer.sourceforge.net/"
216 -SRC_URI="mirror://sourceforge/mummer/MUMmer${PV}.tar.gz"
217 -
218 -LICENSE="Artistic"
219 -SLOT="0"
220 -IUSE="doc"
221 -KEYWORDS="amd64 x86"
222 -
223 -DEPEND=""
224 -RDEPEND="app-shells/tcsh"
225 -
226 -S="${WORKDIR}/MUMmer${PV}"
227 -
228 -src_unpack() {
229 - unpack ${A}
230 - # Warning: package uses CPPFLAGS on c as well as cpp, despite the name
231 - sed -i -e 's/CPPFLAGS =/CPPFLAGS = ${CFLAGS} /' \
232 - -e 's/LDFLAGS =$//' "${S}/Makefile" || die
233 -}
234 -
235 -src_compile() {
236 - emake || die
237 -
238 - sed -i -e 's|\($AUX_BIN_DIR = "\).*"|\1/usr/bin"|' \
239 - -e 's|\($BIN_DIR = "\).*"|\1/usr/bin"|' \
240 - -e 's|\($SCRIPT_DIR = "\).*"|\1/usr/share/'${PN}'/lib"|' \
241 - -e 's|\(set bindir = \).*|\1/usr/bin|' \
242 - -e 's|\(set scriptdir = \).*|\1/usr/share/'${PN}'/scripts|' \
243 - -e 's|\(use lib "\).*"|\1/usr/share/'${PN}'/lib"|' \
244 - scripts/* exact-tandems mapview mummerplot nucmer promer run-mummer{1,3} || die
245 - mv annotate mummer-annotate || die
246 - sed -i 's|$bindir/annotate|$bindir/mummer-annotate|' run-mummer1 scripts/run-mummer1.csh || die
247 -}
248 -
249 -src_install() {
250 - dobin $(find . -maxdepth 1 -type f -executable) aux_bin/* || die
251 -
252 - insinto /usr/share/${PN}/scripts
253 - doins scripts/{*.awk,*.csh,*.pl} || die
254 - insinto /usr/share/${PN}/lib
255 - doins scripts/Foundation.pm || die
256 -
257 - dodoc ACKNOWLEDGEMENTS ChangeLog README
258 - insinto /usr/share/doc/${PF}
259 - use doc && doins -r docs
260 -}
261
262 diff --git a/sci-biology/mummer/mummer-3.22-r1.ebuild b/sci-biology/mummer/mummer-3.22-r1.ebuild
263 deleted file mode 100644
264 index f9caede7641..00000000000
265 --- a/sci-biology/mummer/mummer-3.22-r1.ebuild
266 +++ /dev/null
267 @@ -1,63 +0,0 @@
268 -# Copyright 1999-2011 Gentoo Foundation
269 -# Distributed under the terms of the GNU General Public License v2
270 -
271 -EAPI="3"
272 -
273 -inherit eutils flag-o-matic
274 -
275 -DESCRIPTION="A rapid whole genome aligner"
276 -HOMEPAGE="http://mummer.sourceforge.net/"
277 -SRC_URI="mirror://sourceforge/mummer/MUMmer${PV}.tar.gz"
278 -
279 -LICENSE="Artistic"
280 -SLOT="0"
281 -IUSE="doc"
282 -KEYWORDS="amd64 x86"
283 -
284 -DEPEND=""
285 -RDEPEND="app-shells/tcsh"
286 -
287 -S="${WORKDIR}/MUMmer${PV}"
288 -
289 -src_prepare() {
290 - use amd64 && append-flags -DSIXTYFOURBITS
291 -
292 - epatch \
293 - "${FILESDIR}"/${PV}-prll.patch \
294 - "${FILESDIR}"/${PV}-ldflags.patch
295 -
296 - sed \
297 - -e '/^CFLAGS/d' \
298 - -e '/^CXXFLAGS/d' \
299 - -e '/^LDFLAGS/d' \
300 - -i Makefile || die
301 -}
302 -
303 -src_compile() {
304 - emake || die
305 -
306 - sed -i -e 's|\($AUX_BIN_DIR = "\).*"|\1/usr/bin"|' \
307 - -e 's|\($BIN_DIR = "\).*"|\1/usr/bin"|' \
308 - -e 's|\($SCRIPT_DIR = "\).*"|\1/usr/share/'${PN}'/lib"|' \
309 - -e 's|\(set bindir = \).*|\1/usr/bin|' \
310 - -e 's|\(set scriptdir = \).*|\1/usr/share/'${PN}'/scripts|' \
311 - -e 's|\(use lib "\).*"|\1/usr/share/'${PN}'/lib"|' \
312 - scripts/* exact-tandems mapview mummerplot nucmer promer run-mummer{1,3} || die
313 - mv annotate mummer-annotate || die
314 - sed -i 's|$bindir/annotate|$bindir/mummer-annotate|' run-mummer1 scripts/run-mummer1.csh || die
315 -}
316 -
317 -src_install() {
318 - dobin $(find . -maxdepth 1 -type f -executable) aux_bin/* || die
319 -
320 - insinto /usr/share/${PN}/scripts
321 - doins scripts/{*.awk,*.csh,*.pl} || die
322 - insinto /usr/share/${PN}/lib
323 - doins scripts/Foundation.pm || die
324 -
325 - dodoc ACKNOWLEDGEMENTS ChangeLog README || die
326 - insinto /usr/share/doc/${PF}
327 - if use doc; then
328 - doins -r docs || die
329 - fi
330 -}
331
332 diff --git a/sci-biology/mummer/mummer-3.9.4_alpha.ebuild b/sci-biology/mummer/mummer-3.9.4_alpha.ebuild
333 deleted file mode 100644
334 index 2865c3d9b2e..00000000000
335 --- a/sci-biology/mummer/mummer-3.9.4_alpha.ebuild
336 +++ /dev/null
337 @@ -1,82 +0,0 @@
338 -# Copyright 1999-2017 Gentoo Foundation
339 -# Distributed under the terms of the GNU General Public License v2
340 -
341 -EAPI=6
342 -
343 -PYTHON_COMPAT=( python{2_7,3_4,3_5} )
344 -
345 -inherit perl-functions python-r1 toolchain-funcs
346 -
347 -MY_PV=${PV//_/}
348 -
349 -DESCRIPTION="A rapid whole genome aligner"
350 -HOMEPAGE="http://mummer.sourceforge.net/"
351 -SRC_URI="https://github.com/gmarcais/${PN}/releases/download/v${MY_PV}/${PN}-${MY_PV}.tar.gz -> ${P}.tar.gz"
352 -
353 -LICENSE="Artistic"
354 -SLOT="0"
355 -IUSE="openmp perl python"
356 -KEYWORDS="~amd64 ~x86"
357 -
358 -DEPEND="
359 - python? (
360 - ${PYTHON_DEPS}
361 - dev-lang/swig:0
362 - )"
363 -RDEPEND="
364 - app-shells/tcsh
365 - dev-lang/perl:=
366 - python? ( ${PYTHON_DEPS} )"
367 -
368 -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
369 -
370 -S=${WORKDIR}/${PN}-${MY_PV}
371 -
372 -pkg_pretend() {
373 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
374 -}
375 -
376 -pkg_setup() {
377 - [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
378 - use python && preamble="python_foreach_impl run_in_build_dir"
379 -}
380 -
381 -src_configure() {
382 - perl_set_version
383 - configure() {
384 - local pythonconf
385 - if use python; then
386 - pythonconf="--enable-python-binding=$(python_get_sitedir)"
387 - else
388 - pythonconf="--disable-python-binding"
389 - fi
390 -
391 - ECONF_SOURCE="${S}" econf \
392 - --disable-static \
393 - --disable-ruby-binding \
394 - $(use_enable perl perl-binding "${VENDOR_LIB}") \
395 - $(use_enable openmp) \
396 - $(use_enable python swig) \
397 - "${pythonconf}"
398 - }
399 - ${preamble} configure
400 -}
401 -
402 -src_compile() {
403 - ${preamble} default
404 -}
405 -
406 -src_install() {
407 - ${preamble} default
408 - einstalldocs
409 -
410 - # avoid file collision
411 - mv "${ED%/}"/usr/bin/{,mummer-}annotate || die
412 -
413 - # move perl module into right place
414 - mkdir -p "${D%/}${VENDOR_LIB}" || die
415 - mv "${ED%/}"/usr/$(get_libdir)/mummer/Foundation.pm "${D%/}${VENDOR_LIB}" || die
416 -
417 - # no static libs, can purge .la files
418 - find "${D}" -name '*.la' -delete || die
419 -}