1 |
commit: 20633430c439732edc1dd09d5b76acefcaa54c9d |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Aug 1 16:40:40 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Aug 1 16:40:40 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20633430 |
7 |
|
8 |
sci-biology/bowtie: add 2.4.4 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/722870 |
11 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
12 |
|
13 |
sci-biology/bowtie/Manifest | 1 + |
14 |
sci-biology/bowtie/bowtie-2.4.4.ebuild | 55 ++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/sci-biology/bowtie/Manifest b/sci-biology/bowtie/Manifest |
18 |
index 50ad9715e98..96d35e2bfd2 100644 |
19 |
--- a/sci-biology/bowtie/Manifest |
20 |
+++ b/sci-biology/bowtie/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST bowtie2-2.2.9-source.zip 5734235 BLAKE2B ec48e09fe05403d1085bb4e0c6ef1325b8912da0a8c942061c34f3381c6dd7ccdcc64c4bcdbb18c1da84ac57e1e34cc866fe79809c33c2769a8d75ecde7d0846 SHA512 ead8f7641f3231638d986f9e500bc4ec7afe1e542048465bfcc2e93e2b2d2e499f0dd8aa5c1e3e21df285c9d195b187682eb7e12be4a408f6c50fb97c0e0a205 |
23 |
+DIST bowtie2-2.4.4-source.zip 10515984 BLAKE2B be4ceb9d3155d2a9a1f580e5032251b04b89ce0c8c9c89fc3551b34fe3bd71a683362488be7aad6daef24734c6f95c19223f20e67f198f745c4432381243039c SHA512 1b5dadd7e41b90bb9b05f50bfa171fe219cfd03aa8bb6f800de4baaffeb975eef6efc4fb8b49cb0d18833f74a1741cbe1556b87388f59188e04a55dcee6a02da |
24 |
|
25 |
diff --git a/sci-biology/bowtie/bowtie-2.4.4.ebuild b/sci-biology/bowtie/bowtie-2.4.4.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..6621b5babd9 |
28 |
--- /dev/null |
29 |
+++ b/sci-biology/bowtie/bowtie-2.4.4.ebuild |
30 |
@@ -0,0 +1,55 @@ |
31 |
+# Copyright 2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+ |
38 |
+inherit python-single-r1 toolchain-funcs |
39 |
+ |
40 |
+DESCRIPTION="Popular short read aligner for Next-generation sequencing data" |
41 |
+HOMEPAGE="http://bowtie-bio.sourceforge.net/bowtie2/" |
42 |
+SRC_URI="mirror://sourceforge/project/${PN}-bio/bowtie2/${PV}/bowtie2-${PV}-source.zip" |
43 |
+S="${WORKDIR}/${PN}2-${PV}" |
44 |
+ |
45 |
+LICENSE="GPL-3" |
46 |
+SLOT="2" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="cpu_flags_x86_sse2 examples" |
49 |
+REQUIRED_USE="cpu_flags_x86_sse2" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ ${PYTHON_DEPS} |
53 |
+ dev-lang/perl |
54 |
+ sys-libs/zlib" |
55 |
+DEPEND="${RDEPEND}" |
56 |
+BDEPEND="app-arch/unzip" |
57 |
+ |
58 |
+src_compile() { |
59 |
+ emake \ |
60 |
+ CXX="$(tc-getCXX)" \ |
61 |
+ CXXFLAGS="" \ |
62 |
+ CPPFLAGS="${CPPFLAGS}" \ |
63 |
+ EXTRA_FLAGS="${LDFLAGS}" \ |
64 |
+ RELEASE_FLAGS="${CXXFLAGS} -msse2" |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ dobin bowtie2 bowtie2-* |
69 |
+ |
70 |
+ exeinto /usr/libexec/bowtie2 |
71 |
+ doexe scripts/* |
72 |
+ |
73 |
+ HTML_DOCS=( doc/{manual.html,style.css} ) |
74 |
+ einstalldocs |
75 |
+ dodoc TUTORIAL |
76 |
+ newman MANUAL bowtie2.1 |
77 |
+ |
78 |
+ python_fix_shebang "${ED}"/usr/bin/bowtie2-{build,inspect} |
79 |
+ |
80 |
+ if use examples; then |
81 |
+ docinto examples |
82 |
+ dodoc -r example/. |
83 |
+ docompress -x /usr/share/doc/${PF}/examples |
84 |
+ fi |
85 |
+} |