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/flexbar/
Date: Sun, 26 Feb 2017 13:52:59
Message-Id: 1488117158.26242100ae861907ae58864ffac9163bf9be51ed.mmokrejs@gentoo
1 commit: 26242100ae861907ae58864ffac9163bf9be51ed
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Sun Feb 26 13:52:38 2017 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Sun Feb 26 13:52:38 2017 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=26242100
7
8 sci-biology/flexbar: version bump
9
10 https://github.com/seqan/flexbar/issues/8
11
12 Package-Manager: Portage-2.3.3, Repoman-2.3.1
13
14 sci-biology/flexbar/flexbar-2.4.ebuild | 23 ----------------------
15 sci-biology/flexbar/flexbar-2.7.0.ebuild | 33 ++++++++++++++++++++++++++++++++
16 2 files changed, 33 insertions(+), 23 deletions(-)
17
18 diff --git a/sci-biology/flexbar/flexbar-2.4.ebuild b/sci-biology/flexbar/flexbar-2.4.ebuild
19 deleted file mode 100644
20 index 515dabcfc..000000000
21 --- a/sci-biology/flexbar/flexbar-2.4.ebuild
22 +++ /dev/null
23 @@ -1,23 +0,0 @@
24 -# Copyright 1999-2017 Gentoo Foundation
25 -# Distributed under the terms of the GNU General Public License v2
26 -
27 -EAPI=6
28 -
29 -inherit cmake-utils
30 -
31 -DESCRIPTION="Barcode, MID tag and adapter sequence removal"
32 -HOMEPAGE="https://sourceforge.net/p/flexbar/wiki/Manual"
33 -SRC_URI="http://sourceforge.net/projects/flexbar/files/2.4/flexbar_v2.4_src.tgz"
34 -
35 -LICENSE="GPL-3"
36 -SLOT="0"
37 -KEYWORDS=""
38 -IUSE=""
39 -
40 -CDEPEND="
41 - dev-cpp/tbb
42 - >=sci-biology/seqan-1.4.1:0"
43 -DEPEND="${CDEPEND}"
44 -RDEPEND="${CDEPEND}"
45 -
46 -S="${WORKDIR}"/"${PN}"_v"${PV}"_src
47
48 diff --git a/sci-biology/flexbar/flexbar-2.7.0.ebuild b/sci-biology/flexbar/flexbar-2.7.0.ebuild
49 new file mode 100644
50 index 000000000..5fbee3998
51 --- /dev/null
52 +++ b/sci-biology/flexbar/flexbar-2.7.0.ebuild
53 @@ -0,0 +1,33 @@
54 +# Copyright 1999-2017 Gentoo Foundation
55 +# Distributed under the terms of the GNU General Public License v2
56 +
57 +EAPI=6
58 +
59 +inherit cmake-utils
60 +
61 +DESCRIPTION="Barcode, MID tag and adapter sequence removal"
62 +HOMEPAGE="https://github.com/seqan/flexbar"
63 +SRC_URI="https://github.com/seqan/flexbar/archive/v${PV}.tar.gz -> ${P}.tar.gz"
64 +
65 +LICENSE="GPL-3"
66 +SLOT="0"
67 +KEYWORDS=""
68 +IUSE=""
69 +
70 +CDEPEND="
71 + dev-cpp/tbb
72 + >=sci-biology/seqan-2.1.1:0"
73 +DEPEND="${CDEPEND}"
74 +RDEPEND="${CDEPEND}"
75 +
76 +# TODO: need to call 'pkg-config --cflags seqan-2.2' and pass it down
77 +src_configure() {
78 + local CPPFLAGS=${CPPFLAGS}
79 + append-cppflags `pkg-config --cflags seqan-2.2`
80 + local CXXFLAGS="${CXXFLAGS}"
81 + append-cxxflags "-std=c++14"
82 + cmake-utils_src_configure
83 +}
84 +
85 +# SeqAn requires C++14! You must compile your application with -std=c++14, -std=gnu++14 or -std=c++1y
86 +# https://github.com/seqan/flexbar/issues/8