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/ncbi-tools++/, sci-biology/gbench/
Date: Sun, 26 Feb 2017 22:16:43
Message-Id: 1488147232.db6617fcd21401115d88ef59b233ae5430650d18.mmokrejs@gentoo
1 commit: db6617fcd21401115d88ef59b233ae5430650d18
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Sun Feb 26 22:13:52 2017 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Sun Feb 26 22:13:52 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=db6617fc
7
8 sci-biology/gbench and sci-biology/ncbi-tools++: do not download ncbi-vdb
9
10 Do not download sources from github during configure phase. This disables
11 the feature completely. Somehow it does not find vdb binaries provided
12 by our sci-biology/ncbi-tools++ package?
13
14 sci-biology/gbench/gbench-2.10.7.ebuild | 20 +++++++++++++++++---
15 sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild | 5 +++++
16 2 files changed, 22 insertions(+), 3 deletions(-)
17
18 diff --git a/sci-biology/gbench/gbench-2.10.7.ebuild b/sci-biology/gbench/gbench-2.10.7.ebuild
19 index 4c57d1656..48e7f9d68 100644
20 --- a/sci-biology/gbench/gbench-2.10.7.ebuild
21 +++ b/sci-biology/gbench/gbench-2.10.7.ebuild
22 @@ -1,4 +1,4 @@
23 -# Copyright 1999-2016 Gentoo Foundation
24 +# Copyright 1999-2017 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26
27 EAPI=5
28 @@ -34,6 +34,7 @@ RDEPEND="${PYTHON_DEPS}
29 media-libs/freetype
30 media-libs/giflib
31 media-libs/tiff:0=
32 + || ( sci-biology/ncbi-tools++ sci-biology/sra_sdk )
33 gnutls? ( net-libs/gnutls )
34 hdf5? ( sci-libs/hdf5 )
35 sys-fs/fuse
36 @@ -70,6 +71,19 @@ src_configure(){
37 # configure: error: --datadir=/usr/share: unknown option; use --help to show usage
38 # configure: error: --sysconfdir=/etc: unknown option; use --help to show usage
39 # configure: error: --localstatedir=/var/lib: unknown option; use --help to show usage
40 - ./configure --prefix="${DESTDIR}"/"${EPREFIX}/usr" --libdir="${EPREFIX}/usr/$(get_libdir)" CC="$(tc-getCC)" \
41 - CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" || die
42 + ./configure --prefix="${DESTDIR}"/"${EPREFIX}/usr" --libdir="${EPREFIX}/usr/$(get_libdir)" \
43 + --without-downloaded-vdb \
44 + CC="$(tc-getCC)" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}" || die
45 }
46 +
47 +# Doh, it runs git during configure phase if it could not find NCBI SRA VDB
48 +# by executing ./scripts/common/add_vdb.sh which points to https://github.com/ncbi/ncbi-vdb
49 +# But, we already have sci-biology/sra_sdk which blocks sci-biology/ncbi-tools++
50 +# as some file overlap. Seems ncbi-vdb is yet another smaller subset of either
51 +# of the two?
52 +#
53 +# Same come checking out ncbi-vdb should be in ncbi-tools++-18.0.0 .
54 +#
55 +# That behavior is entirely optional; you can suppress it by
56 +# configuring the Toolkit --without-downloaded-vdb, --with-vdb=PATH (e.g.,
57 +# --with-vdb=/usr), or --without-vdb altogether.
58
59 diff --git a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
60 index 179baeaea..5c91c1b0c 100644
61 --- a/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
62 +++ b/sci-biology/ncbi-tools++/ncbi-tools++-12.0.0.ebuild
63 @@ -220,6 +220,11 @@ src_configure() {
64 --without-sybase
65 --with-autodep
66 # --with-3psw=std:netopt favor standard (system) builds of the above pkgs
67 + # preventing executing git to checkout during configure phase ncbi-vdb sources
68 + # resulting in 'checking for ncbi-vdb... no' and
69 + # '^PACKAGES:'
70 + # '^ disabled: ... VDB'
71 + --without-downloaded-vdb
72 $(use_with debug)
73 $(use_with debug max-debug)
74 $(use_with debug symbols)