1 |
commit: 3e408d3f2978b724a7e8b870a6f20100e9a3d7f2 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 9 10:24:35 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 9 10:34:30 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e408d3f |
7 |
|
8 |
sci-biology/seqan: Remove old (drop to ~arch) |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
sci-biology/seqan/Manifest | 2 - |
13 |
.../seqan/files/seqan-1.4.2-buildsystem.patch | 30 ------- |
14 |
sci-biology/seqan/files/seqan-1.4.2-include.patch | 16 ---- |
15 |
sci-biology/seqan/files/seqan-1.4.2-shared.patch | 22 ----- |
16 |
sci-biology/seqan/seqan-1.4.2-r1.ebuild | 79 ------------------ |
17 |
sci-biology/seqan/seqan-2.2.0-r1.ebuild | 94 ---------------------- |
18 |
6 files changed, 243 deletions(-) |
19 |
|
20 |
diff --git a/sci-biology/seqan/Manifest b/sci-biology/seqan/Manifest |
21 |
index d26b1ac375f..b8572815a1e 100644 |
22 |
--- a/sci-biology/seqan/Manifest |
23 |
+++ b/sci-biology/seqan/Manifest |
24 |
@@ -1,3 +1 @@ |
25 |
-DIST seqan-src-1.4.2.tar.gz 120601994 BLAKE2B 62de2f961ba3c7c564090d746877d2b0b94ec7967c56f28786a286160770e66f0a8f08aacbe76d828cf429f92f0aa640ab29f5220297686979df9b7e9f9a0408 SHA512 dbb56167c507b70111619a414054d9e70f1db42507bbfdf9e40c5dcbbe9489ad4187d882e638a675e96551c860c08f8203c929c4c9a558b19ea7d6059f50492a |
26 |
-DIST seqan-src-2.2.0.tar.gz 110936119 BLAKE2B be41f266e140ec5992f7e9e507659dc7902aad0e0dd17e6a8c6c9ef0b11f690454a771ba10a5998ccf70e2e50ef9b24904ebf537d982b2cbc68963c004097614 SHA512 1097372976ec9c86baa3787ac38aa4fde3a3e153d81c22435e6a12df87d8063165f27406de33851bffadd904b0ac4ea579a28625cff6257fe8c14d906f408421 |
27 |
DIST seqan-v2.4.0.tar.gz 109626901 BLAKE2B a10b5ee9a95667f560a8c2aec3808131f5f838f3c07d56584f4b29e9622912bf3d00b958b02db7c9d62dd52d9d08a171abcccef7f50cddf0407538168cf2c592 SHA512 f92cfc97304581920850c5d49fe4336f7c3855e99c3bcb035b6172fa7307e08e6f06fb06d1cd8f5b447c3220fc7f669684fbfe25641b43e9f6953999cf9ddd4b |
28 |
|
29 |
diff --git a/sci-biology/seqan/files/seqan-1.4.2-buildsystem.patch b/sci-biology/seqan/files/seqan-1.4.2-buildsystem.patch |
30 |
deleted file mode 100644 |
31 |
index 4c7893e90c0..00000000000 |
32 |
--- a/sci-biology/seqan/files/seqan-1.4.2-buildsystem.patch |
33 |
+++ /dev/null |
34 |
@@ -1,30 +0,0 @@ |
35 |
-Add default disabled flag to enable generation of documentation. |
36 |
-For SeqAn 1.4.2 we generally do not want docs, as 1.4.2 is only a |
37 |
-support library for legacy tools. |
38 |
- |
39 |
---- seqan-1.4.2/CMakeLists.txt |
40 |
-+++ seqan-1.4.2/CMakeLists.txt |
41 |
-@@ -123,10 +123,12 @@ |
42 |
- add_subdirectory (core) |
43 |
- message (STATUS "Configuring extras") |
44 |
- add_subdirectory (extras) |
45 |
-+if (NOT SEQAN_NO_DOX) |
46 |
- message (STATUS "Configuring docs") |
47 |
- add_subdirectory (docs) |
48 |
- message (STATUS "Configuring manual") |
49 |
- add_subdirectory (manual) |
50 |
-+endif () |
51 |
- message (STATUS "Configuring sandbox") |
52 |
- add_subdirectory (sandbox) |
53 |
- message (STATUS "Configuring util/py_lib") |
54 |
---- seqan-1.4.2/docs/main.py |
55 |
-+++ seqan-1.4.2/docs/main.py |
56 |
-@@ -123,7 +123,7 @@ |
57 |
- |
58 |
- # Done, print end message. |
59 |
- print 'Documentation created/updated.' |
60 |
-- return dddoc_html.WARNING_COUNT > 0 |
61 |
-+ return 0 |
62 |
- |
63 |
- |
64 |
- def main(argv): |
65 |
|
66 |
diff --git a/sci-biology/seqan/files/seqan-1.4.2-include.patch b/sci-biology/seqan/files/seqan-1.4.2-include.patch |
67 |
deleted file mode 100644 |
68 |
index 5baee4d8ebc..00000000000 |
69 |
--- a/sci-biology/seqan/files/seqan-1.4.2-include.patch |
70 |
+++ /dev/null |
71 |
@@ -1,16 +0,0 @@ |
72 |
- core/include/seqan/index/index_qgram_openaddressing.h | 2 ++ |
73 |
- 1 file changed, 2 insertions(+) |
74 |
- |
75 |
-diff --git a/core/include/seqan/index/index_qgram_openaddressing.h b/core/include/seqan/index/index_qgram_openaddressing.h |
76 |
-index 4a6c2e6..8cc9a42 100644 |
77 |
---- a/core/include/seqan/index/index_qgram_openaddressing.h |
78 |
-+++ b/core/include/seqan/index/index_qgram_openaddressing.h |
79 |
-@@ -35,6 +35,8 @@ |
80 |
- #ifndef SEQAN_HEADER_INDEX_QGRAM_OPENADRESSING_H |
81 |
- #define SEQAN_HEADER_INDEX_QGRAM_OPENADRESSING_H |
82 |
- |
83 |
-+#include <smmintrin.h> |
84 |
-+ |
85 |
- namespace SEQAN_NAMESPACE_MAIN |
86 |
- { |
87 |
- |
88 |
|
89 |
diff --git a/sci-biology/seqan/files/seqan-1.4.2-shared.patch b/sci-biology/seqan/files/seqan-1.4.2-shared.patch |
90 |
deleted file mode 100644 |
91 |
index 0f438ff07bc..00000000000 |
92 |
--- a/sci-biology/seqan/files/seqan-1.4.2-shared.patch |
93 |
+++ /dev/null |
94 |
@@ -1,22 +0,0 @@ |
95 |
- util/cmake/SeqAnBuildSystem.cmake | 8 ++++---- |
96 |
- 1 file changed, 4 insertions(+), 4 deletions(-) |
97 |
- |
98 |
-diff --git a/util/cmake/SeqAnBuildSystem.cmake b/util/cmake/SeqAnBuildSystem.cmake |
99 |
-index bcba2c0..d53cd01 100644 |
100 |
---- a/util/cmake/SeqAnBuildSystem.cmake |
101 |
-+++ b/util/cmake/SeqAnBuildSystem.cmake |
102 |
-@@ -144,10 +144,10 @@ macro (seqan_register_apps) |
103 |
- set (CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -DSEQAN_ENABLE_DEBUG=1") |
104 |
- |
105 |
- # enable static linkage for seqan apps |
106 |
-- if (CMAKE_COMPILER_IS_GNUCXX OR COMPILER_IS_CLANG AND NOT MINGW) |
107 |
-- set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") |
108 |
-- set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++") |
109 |
-- endif () |
110 |
-+# if (CMAKE_COMPILER_IS_GNUCXX OR COMPILER_IS_CLANG AND NOT MINGW) |
111 |
-+# set(CMAKE_FIND_LIBRARY_SUFFIXES ".a") |
112 |
-+# set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++") |
113 |
-+# endif () |
114 |
- |
115 |
- # Get all direct entries of the current source directory into ENTRIES. |
116 |
- file (GLOB ENTRIES |
117 |
|
118 |
diff --git a/sci-biology/seqan/seqan-1.4.2-r1.ebuild b/sci-biology/seqan/seqan-1.4.2-r1.ebuild |
119 |
deleted file mode 100644 |
120 |
index 3a7f55c710c..00000000000 |
121 |
--- a/sci-biology/seqan/seqan-1.4.2-r1.ebuild |
122 |
+++ /dev/null |
123 |
@@ -1,79 +0,0 @@ |
124 |
-# Copyright 1999-2019 Gentoo Authors |
125 |
-# Distributed under the terms of the GNU General Public License v2 |
126 |
- |
127 |
-EAPI=6 |
128 |
- |
129 |
-PYTHON_COMPAT=( python2_7 ) |
130 |
- |
131 |
-inherit cmake-utils python-any-r1 versionator |
132 |
- |
133 |
-DESCRIPTION="C++ Sequence Analysis Library" |
134 |
-HOMEPAGE="http://www.seqan.de/" |
135 |
-SRC_URI="http://packages.${PN}.de/${PN}-src/${PN}-src-${PV}.tar.gz" |
136 |
- |
137 |
-SLOT="$(get_version_component_range 1-2)" |
138 |
-LICENSE="BSD GPL-3" |
139 |
-KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" |
140 |
-IUSE="cpu_flags_x86_sse4_1 test" |
141 |
-RESTRICT="!test? ( test )" |
142 |
-REQUIRED_USE="cpu_flags_x86_sse4_1" |
143 |
- |
144 |
-RDEPEND=" |
145 |
- app-arch/bzip2 |
146 |
- sys-libs/zlib" |
147 |
-DEPEND=" |
148 |
- ${RDEPEND} |
149 |
- test? ( |
150 |
- $(python_gen_any_dep 'dev-python/nose[${PYTHON_USEDEP}]') |
151 |
- ${PYTHON_DEPS} |
152 |
- )" |
153 |
- |
154 |
-PATCHES=( |
155 |
- "${FILESDIR}/${P}-shared.patch" |
156 |
- "${FILESDIR}/${P}-include.patch" |
157 |
- "${FILESDIR}/${P}-buildsystem.patch" |
158 |
-) |
159 |
- |
160 |
-pkg_setup() { |
161 |
- use test && python-any-r1_pkg_setup |
162 |
-} |
163 |
- |
164 |
-src_prepare() { |
165 |
- # pkg-config file, taken from seqan 2.1 |
166 |
- cp "${FILESDIR}"/${PN}.pc.in ${PN}-${SLOT}.pc || die |
167 |
- sed -e "s#@CMAKE_INSTALL_PREFIX@#${EPREFIX}/usr#" \ |
168 |
- -e "s#includedir=\${prefix}/include#includedir=\${prefix}/include/${PN}-${SLOT}#" \ |
169 |
- -e "s#@CMAKE_PROJECT_NAME@#${PN}#" \ |
170 |
- -e "s#@SEQAN_VERSION_STRING@#${PV}#" \ |
171 |
- -i ${PN}-${SLOT}.pc || die |
172 |
- |
173 |
- rm -f util/cmake/FindZLIB.cmake || die |
174 |
- cmake-utils_src_prepare |
175 |
-} |
176 |
- |
177 |
-src_configure() { |
178 |
- local mycmakeargs=( |
179 |
- -DBoost_NO_BOOST_CMAKE=ON |
180 |
- -DSEQAN_BUILD_SYSTEM=SEQAN_RELEASE_LIBRARY |
181 |
- -DSEQAN_NO_DOX=ON |
182 |
- ) |
183 |
- cmake-utils_src_configure |
184 |
-} |
185 |
- |
186 |
-src_install() { |
187 |
- cmake-utils_src_install |
188 |
- |
189 |
- # SLOT header such that different seqan versions can be used in parallel |
190 |
- mkdir "${ED}"/usr/include/${PN}-${SLOT} || die |
191 |
- mv "${ED}"/usr/include/{${PN},${PN}-${SLOT}/} || die |
192 |
- |
193 |
- # pkg-config file |
194 |
- insinto /usr/share/pkgconfig/ |
195 |
- doins ${PN}-${SLOT}.pc |
196 |
-} |
197 |
- |
198 |
-pkg_postinst() { |
199 |
- einfo "${CATEGORY}/${PF} is only intended as support library for older" |
200 |
- einfo "bioinformatics tools relying on the SeqAn 1.* API. Please develop" |
201 |
- einfo "any new software against the latest SeqAn release and not this one." |
202 |
-} |
203 |
|
204 |
diff --git a/sci-biology/seqan/seqan-2.2.0-r1.ebuild b/sci-biology/seqan/seqan-2.2.0-r1.ebuild |
205 |
deleted file mode 100644 |
206 |
index 5e139cd7e60..00000000000 |
207 |
--- a/sci-biology/seqan/seqan-2.2.0-r1.ebuild |
208 |
+++ /dev/null |
209 |
@@ -1,94 +0,0 @@ |
210 |
-# Copyright 1999-2019 Gentoo Authors |
211 |
-# Distributed under the terms of the GNU General Public License v2 |
212 |
- |
213 |
-EAPI=6 |
214 |
- |
215 |
-PYTHON_COMPAT=( python2_7 ) |
216 |
- |
217 |
-inherit cmake-utils python-any-r1 versionator |
218 |
- |
219 |
-DESCRIPTION="C++ Sequence Analysis Library" |
220 |
-HOMEPAGE="http://www.seqan.de/" |
221 |
-SRC_URI="http://packages.${PN}.de/${PN}-src/${PN}-src-${PV}.tar.gz" |
222 |
- |
223 |
-SLOT="0" |
224 |
-LICENSE="BSD GPL-3" |
225 |
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
226 |
-IUSE="cpu_flags_x86_sse4_1 doc test" |
227 |
-RESTRICT="!test? ( test )" |
228 |
-REQUIRED_USE="cpu_flags_x86_sse4_1" |
229 |
- |
230 |
-RDEPEND=" |
231 |
- app-arch/bzip2 |
232 |
- sys-libs/zlib |
233 |
- !!sci-biology/seqan:2.0 |
234 |
- !!sci-biology/seqan:2.1 |
235 |
- !!sci-biology/seqan:2.2" |
236 |
-DEPEND=" |
237 |
- ${RDEPEND} |
238 |
- doc? ( |
239 |
- $(python_gen_any_dep 'dev-python/sphinx[${PYTHON_USEDEP}]') |
240 |
- ${PYTHON_DEPS} |
241 |
- ) |
242 |
- test? ( |
243 |
- $(python_gen_any_dep 'dev-python/nose[${PYTHON_USEDEP}]') |
244 |
- ${PYTHON_DEPS} |
245 |
- )" |
246 |
- |
247 |
-S="${WORKDIR}"/${PN}-${PN}-v${PV} |
248 |
- |
249 |
-pkg_setup() { |
250 |
- if use test || use doc; then |
251 |
- python-any-r1_pkg_setup |
252 |
- fi |
253 |
-} |
254 |
- |
255 |
-src_prepare() { |
256 |
- seqan_major_ver=$(get_version_component_range 1) |
257 |
- seqan_majorminor_ver=$(get_version_component_range 1-2) |
258 |
- |
259 |
- # install docs in proper Gentoo structure |
260 |
- sed -e "s#share/doc/seqan#share/doc/${PF}#" \ |
261 |
- -e "s#\"share/doc/\${APP_NAME}\"#\"share/doc/${PF}/\${APP_NAME}\"#" \ |
262 |
- -i util/cmake/SeqAnBuildSystem.cmake dox/CMakeLists.txt || die |
263 |
- |
264 |
- # cmake module |
265 |
- sed -e "s#find_path(_SEQAN_BASEDIR \"seqan\"#find_path(_SEQAN_BASEDIR \"seqan-${seqan_majorminor_ver}\"#" \ |
266 |
- -e 's#NO_DEFAULT_PATH)#PATHS /usr)#' \ |
267 |
- -e "s#set(SEQAN_INCLUDE_DIRS_MAIN \${SEQAN_INCLUDE_DIRS_MAIN} \${_SEQAN_BASEDIR})#set(SEQAN_INCLUDE_DIRS_MAIN \${SEQAN_INCLUDE_DIRS_MAIN} \${_SEQAN_BASEDIR}/seqan-${seqan_majorminor_ver})#" \ |
268 |
- -i util/cmake/FindSeqAn.cmake || die |
269 |
- |
270 |
- # pkg-config file |
271 |
- sed -e "s#includedir=\${prefix}/include#includedir=\${prefix}/include/${PN}-${seqan_majorminor_ver}#" \ |
272 |
- -i util/pkgconfig/${PN}.pc.in || die |
273 |
- |
274 |
- rm -f util/cmake/FindZLIB.cmake || die |
275 |
- cmake-utils_src_prepare |
276 |
-} |
277 |
- |
278 |
-src_configure() { |
279 |
- local mycmakeargs=( |
280 |
- -DSEQAN_BUILD_SYSTEM=SEQAN_RELEASE_LIBRARY |
281 |
- -DSEQAN_NO_DOX=$(usex !doc) |
282 |
- ) |
283 |
- cmake-utils_src_configure |
284 |
-} |
285 |
- |
286 |
-src_compile() { |
287 |
- cmake-utils_src_compile |
288 |
- use doc && cmake-utils_src_compile -C "${BUILD_DIR}" dox |
289 |
-} |
290 |
- |
291 |
-src_install() { |
292 |
- cmake-utils_src_install |
293 |
- |
294 |
- # multi-version header such that different seqan versions can be installed in parallel |
295 |
- mkdir "${ED%/}"/usr/include/${PN}-${seqan_majorminor_ver} || die |
296 |
- mv "${ED%/}"/usr/include/${PN}{,-${seqan_majorminor_ver}/} || die |
297 |
- |
298 |
- # pkg-config file |
299 |
- mv "${ED%/}"/usr/share/pkgconfig/${PN}-{${seqan_major_ver},${seqan_majorminor_ver}}.pc || die |
300 |
- |
301 |
- # create pkg-config symlink to restore default behaviour |
302 |
- dosym ${PN}-${seqan_majorminor_ver}.pc /usr/share/pkgconfig/${PN}-${seqan_major_ver}.pc |
303 |
-} |