Gentoo Archives: gentoo-commits

From: Christoph Junghans <ottxor@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/bowtie/, sci-biology/bowtie/files/
Date: Sun, 08 Feb 2015 21:07:57
Message-Id: 1423257340.9944df7ebb74c77f354dba013b5ac9d4bdab0c8f.ottxor@gentoo
1 commit: 9944df7ebb74c77f354dba013b5ac9d4bdab0c8f
2 Author: Ted Tanberry <ted.tanberry <AT> gmail <DOT> com>
3 AuthorDate: Fri Feb 6 21:15:40 2015 +0000
4 Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 6 21:15:40 2015 +0000
6 URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9944df7e
7
8 Removed all patches, setting CXXFLAGS and such via emake now. Fixed the wrong manpage categories.
9
10 ---
11 sci-biology/bowtie/ChangeLog | 6 +++-
12 sci-biology/bowtie/bowtie-1.1.1.ebuild | 18 ++++++-----
13 sci-biology/bowtie/bowtie-2.2.4.ebuild | 19 +++++------
14 .../bowtie/files/bowtie-1.1.1-buildsystem.patch | 37 ----------------------
15 .../bowtie/files/bowtie-2.2.4-buildsystem.patch | 23 --------------
16 5 files changed, 23 insertions(+), 80 deletions(-)
17
18 diff --git a/sci-biology/bowtie/ChangeLog b/sci-biology/bowtie/ChangeLog
19 index 1a636c5..f3d98e2 100644
20 --- a/sci-biology/bowtie/ChangeLog
21 +++ b/sci-biology/bowtie/ChangeLog
22 @@ -1,7 +1,11 @@
23 # ChangeLog for sci-biology/bowtie
24 -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
25 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
26 # $Header: $
27
28 + 06 Feb 2015; Ted Tanberry <ted.tanberry@×××××.com> bowtie-1.1.1.ebuild,
29 + bowtie-2.2.4.ebuild: Version bump, updated ebuild, fixed small build
30 + system bugs
31 +
32 28 Sep 2013; Justin Lecher <jlec@g.o> bowtie-2.1.0.ebuild:
33 Exchange common variables, fix SRC_URI
34
35
36 diff --git a/sci-biology/bowtie/bowtie-1.1.1.ebuild b/sci-biology/bowtie/bowtie-1.1.1.ebuild
37 index f152518..bc6d514 100644
38 --- a/sci-biology/bowtie/bowtie-1.1.1.ebuild
39 +++ b/sci-biology/bowtie/bowtie-1.1.1.ebuild
40 @@ -19,16 +19,20 @@ IUSE="examples"
41 DEPEND="app-arch/unzip"
42 RDEPEND=""
43
44 -PATCHES=( "${FILESDIR}"/${P}-buildsystem.patch )
45 +DOCS=( AUTHORS NEWS TUTORIAL doc/README )
46 +HTML_DOCS=( doc/{manual.html,style.css} )
47
48 src_prepare() {
49 - epatch ${PATCHES[@]}
50 + # Suppress useless -Wall pollution
51 + sed -i 's/\-Wall/\-Wno-enum-compare/g' Makefile
52 }
53
54 src_compile() {
55 - unset CFLAGS
56 emake \
57 - CXX="$(tc-getCXX)" \
58 + CC="$(tc-getCC)" \
59 + CPP="$(tc-getCXX)" \
60 + CFLAGS="" \
61 + CXXFLAGS="" \
62 EXTRA_FLAGS="${LDFLAGS}" \
63 RELEASE_FLAGS="${CXXFLAGS}"
64 }
65 @@ -39,10 +43,8 @@ src_install() {
66 exeinto /usr/libexec/${PN}
67 doexe scripts/*
68
69 - newman MANUAL ${PN}
70 - dodoc AUTHORS NEWS TUTORIAL doc/README
71 - docinto html
72 - dodoc doc/{manual.html,style.css}
73 + newman MANUAL ${PN}.1
74 + einstalldocs
75
76 if use examples; then
77 insinto /usr/share/${PN}
78
79 diff --git a/sci-biology/bowtie/bowtie-2.2.4.ebuild b/sci-biology/bowtie/bowtie-2.2.4.ebuild
80 index 4b518ca..d8059fc 100644
81 --- a/sci-biology/bowtie/bowtie-2.2.4.ebuild
82 +++ b/sci-biology/bowtie/bowtie-2.2.4.ebuild
83 @@ -23,16 +23,15 @@ DEPEND="${RDEPEND}
84
85 S="${WORKDIR}/${PN}2-${PV}"
86
87 -PATCHES=( "${FILESDIR}"/${P}-buildsystem.patch )
88 -
89 -src_prepare() {
90 - epatch ${PATCHES[@]}
91 -}
92 +DOCS=( AUTHORS NEWS TUTORIAL )
93 +HTML_DOCS=( doc/{manual.html,style.css} )
94
95 src_compile() {
96 - unset CFLAGS
97 emake \
98 - CXX="$(tc-getCXX)" \
99 + CC="$(tc-getCC)" \
100 + CPP="$(tc-getCXX)" \
101 + CFLAGS="" \
102 + CXXFLAGS="" \
103 EXTRA_FLAGS="${LDFLAGS}" \
104 RELEASE_FLAGS="${CXXFLAGS} -msse2"
105 }
106 @@ -43,10 +42,8 @@ src_install() {
107 exeinto /usr/libexec/${PN}2
108 doexe scripts/*
109
110 - newman MANUAL ${PN}2.2
111 - dodoc AUTHORS NEWS TUTORIAL
112 - docinto html
113 - dodoc doc/{manual.html,style.css}
114 + newman MANUAL ${PN}2.1
115 + einstalldocs
116
117 if use examples; then
118 insinto /usr/share/${PN}2
119
120 diff --git a/sci-biology/bowtie/files/bowtie-1.1.1-buildsystem.patch b/sci-biology/bowtie/files/bowtie-1.1.1-buildsystem.patch
121 deleted file mode 100644
122 index 9563a33..0000000
123 --- a/sci-biology/bowtie/files/bowtie-1.1.1-buildsystem.patch
124 +++ /dev/null
125 @@ -1,37 +0,0 @@
126 ---- Makefile
127 -+++ Makefile
128 -@@ -5,16 +5,11 @@
129 - SEQAN_DIR = SeqAn-1.1
130 - SEQAN_INC = -I $(SEQAN_DIR)
131 - INC = $(SEQAN_INC) -I third_party
132 --CPP = g++
133 --CXX = $(CPP)
134 --CC = gcc
135 - HEADERS = $(wildcard *.h)
136 - BOWTIE_MM = 1
137 - BOWTIE_SHARED_MEM = 1
138 - EXTRA_FLAGS =
139 --EXTRA_CFLAGS =
140 - EXTRA_CXXFLAGS =
141 --CFLAGS += $(EXTRA_CFLAGS)
142 - CXXFLAGS += $(EXTRA_CXXFLAGS)
143 -
144 - # Detect Cygwin or MinGW
145 -@@ -127,7 +122,7 @@
146 - endif
147 -
148 - DEBUG_FLAGS = -O0 -g3 -m64
149 --RELEASE_FLAGS = -O3 -m64
150 -+RELEASE_FLAGS = $(CXXFLAGS)
151 - NOASSERT_FLAGS = -DNDEBUG
152 - FILE_FLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
153 -
154 -@@ -198,7 +193,7 @@
155 - $(MM_DEF) \
156 - $(SHMEM_DEF)
157 -
158 --ALL_FLAGS = $(EXTRA_FLAGS) $(CFLAGS) $(CXXFLAGS)
159 -+ALL_FLAGS = $(EXTRA_FLAGS) $(CXXFLAGS)
160 - DEBUG_DEFS = -DCOMPILER_OPTIONS="\"$(DEBUG_FLAGS) $(ALL_FLAGS)\""
161 - RELEASE_DEFS = -DCOMPILER_OPTIONS="\"$(RELEASE_FLAGS) $(ALL_FLAGS)\""
162 -
163
164 diff --git a/sci-biology/bowtie/files/bowtie-2.2.4-buildsystem.patch b/sci-biology/bowtie/files/bowtie-2.2.4-buildsystem.patch
165 deleted file mode 100644
166 index 8b9218b..0000000
167 --- a/sci-biology/bowtie/files/bowtie-2.2.4-buildsystem.patch
168 +++ /dev/null
169 @@ -1,23 +0,0 @@
170 ---- Makefile
171 -+++ Makefile
172 -@@ -22,11 +22,6 @@
173 - #
174 -
175 - INC =
176 --GCC_PREFIX = $(shell dirname `which gcc`)
177 --GCC_SUFFIX =
178 --CC = $(GCC_PREFIX)/gcc$(GCC_SUFFIX)
179 --CPP = $(GCC_PREFIX)/g++$(GCC_SUFFIX)
180 --CXX = $(CPP)
181 - HEADERS = $(wildcard *.h)
182 - BOWTIE_MM = 1
183 - BOWTIE_SHARED_MEM = 0
184 -@@ -152,7 +147,7 @@
185 -
186 - DEBUG_FLAGS = -O0 -g3 -m64 $(SSE_FLAG)
187 - DEBUG_DEFS = -DCOMPILER_OPTIONS="\"$(DEBUG_FLAGS) $(EXTRA_FLAGS)\""
188 --RELEASE_FLAGS = -O3 -m64 $(SSE_FLAG) -funroll-loops -g3
189 -+RELEASE_FLAGS = $(CXXFLAGS)
190 - RELEASE_DEFS = -DCOMPILER_OPTIONS="\"$(RELEASE_FLAGS) $(EXTRA_FLAGS)\""
191 - NOASSERT_FLAGS = -DNDEBUG
192 - FILE_FLAGS = -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE