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/bowtie/
Date: Wed, 26 Feb 2020 08:50:22
Message-Id: 1582706968.731ea47715109fabdd7cc3944b6c522509619f56.mmokrejs@gentoo
1 commit: 731ea47715109fabdd7cc3944b6c522509619f56
2 Author: Martin Mokrejs <mmokrejs <AT> gmail <DOT> com>
3 AuthorDate: Wed Feb 26 08:48:45 2020 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Wed Feb 26 08:49:28 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=731ea477
7
8 sci-biology/bowtie: version bump to 2.4.0, drop old 2.3.5
9
10 Package-Manager: Portage-2.3.87, Repoman-2.3.20
11 Signed-off-by: Martin Mokrejs <mmokrejs <AT> gmail.com>
12
13 .../bowtie/bowtie-1.2.2_beta20190219.ebuild | 2 +-
14 sci-biology/bowtie/bowtie-2.3.5-r1.ebuild | 63 ----------------------
15 .../{bowtie-2.3.5.1.ebuild => bowtie-2.4.0.ebuild} | 2 +-
16 3 files changed, 2 insertions(+), 65 deletions(-)
17
18 diff --git a/sci-biology/bowtie/bowtie-1.2.2_beta20190219.ebuild b/sci-biology/bowtie/bowtie-1.2.2_beta20190219.ebuild
19 index fcf0b4516..f7a1b92d4 100644
20 --- a/sci-biology/bowtie/bowtie-1.2.2_beta20190219.ebuild
21 +++ b/sci-biology/bowtie/bowtie-1.2.2_beta20190219.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2019 Gentoo Authors
24 +# Copyright 1999-2020 Gentoo Authors
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=6
28
29 diff --git a/sci-biology/bowtie/bowtie-2.3.5-r1.ebuild b/sci-biology/bowtie/bowtie-2.3.5-r1.ebuild
30 deleted file mode 100644
31 index 2a6fc04eb..000000000
32 --- a/sci-biology/bowtie/bowtie-2.3.5-r1.ebuild
33 +++ /dev/null
34 @@ -1,63 +0,0 @@
35 -# Copyright 1999-2019 Gentoo Authors
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=6
39 -
40 -inherit toolchain-funcs
41 -
42 -DESCRIPTION="Popular short read aligner for Next-generation sequencing data"
43 -HOMEPAGE="http://bowtie-bio.sourceforge.net/bowtie2/"
44 -SRC_URI="mirror://sourceforge/project/${PN}-bio/${PN}2/${PV}/${PN}2-${PV}-source.zip"
45 -SRC_URI="https://github.com/BenLangmead/${PN}2/releases/download/v${PV}/${PN}2-${PV}-source.zip"
46 -
47 -LICENSE="GPL-3"
48 -SLOT="2"
49 -KEYWORDS="~amd64 ~x86"
50 -
51 -IUSE="examples cpu_flags_x86_sse2 +tbb"
52 -
53 -RDEPEND="dev-lang/perl
54 - tbb? ( dev-cpp/tbb )"
55 -DEPEND="${RDEPEND}
56 - app-arch/unzip
57 - sys-libs/readline"
58 -
59 -S="${WORKDIR}/${PN}2-${PV}"
60 -
61 -DOCS=( AUTHORS NEWS TUTORIAL )
62 -HTML_DOCS=( doc/{manual.html,style.css} )
63 -#PATCHES=( "${FILESDIR}/${P}-fix-c++14.patch" ) # needs 2.3.4.3 update
64 -PATCHES=( "${FILESDIR}"/bowtie-2.3.5-fix-interleaved.patch
65 - "${FILESDIR}"/bowtie-2.3.5-fix-fifo.patch )
66 -
67 -pkg_pretend() {
68 - if ! use cpu_flags_x86_sse2 ; then
69 - eerror "This package requires a CPU supporting the SSE2 instruction set."
70 - die "SSE2 support missing"
71 - fi
72 -}
73 -
74 -src_compile() {
75 - emake \
76 - CC="$(tc-getCC)" \
77 - CPP="$(tc-getCXX)" \
78 - CXX="$(tc-getCXX)" \
79 - EXTRA_FLAGS="${LDFLAGS}" \
80 - RELEASE_FLAGS="${CXXFLAGS} -msse2" \
81 - WITH_TBB="$(usex tbb 1 0)"
82 -}
83 -
84 -src_install() {
85 - dobin ${PN}2 ${PN}2-*
86 -
87 - exeinto /usr/libexec/${PN}2
88 - doexe scripts/*
89 -
90 - newman MANUAL ${PN}2.1
91 - einstalldocs
92 -
93 - if use examples; then
94 - insinto /usr/share/${PN}2
95 - doins -r example
96 - fi
97 -}
98
99 diff --git a/sci-biology/bowtie/bowtie-2.3.5.1.ebuild b/sci-biology/bowtie/bowtie-2.4.0.ebuild
100 similarity index 97%
101 rename from sci-biology/bowtie/bowtie-2.3.5.1.ebuild
102 rename to sci-biology/bowtie/bowtie-2.4.0.ebuild
103 index c2fef8667..a4d6837ba 100644
104 --- a/sci-biology/bowtie/bowtie-2.3.5.1.ebuild
105 +++ b/sci-biology/bowtie/bowtie-2.4.0.ebuild
106 @@ -1,4 +1,4 @@
107 -# Copyright 1999-2019 Gentoo Authors
108 +# Copyright 1999-2020 Gentoo Authors
109 # Distributed under the terms of the GNU General Public License v2
110
111 EAPI=6