Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/allpathslg: allpathslg-52415.ebuild ChangeLog
Date: Tue, 31 Mar 2015 10:54:00
Message-Id: 20150331105355.2E4E314E99@oystercatcher.gentoo.org
1 jlec 15/03/31 10:53:54
2
3 Modified: ChangeLog
4 Added: allpathslg-52415.ebuild
5 Log:
6 Version BUmp; move to EAPI=5 and autotools-utils.eclass; thanks Martin Mokrejs for preparing the bump
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
9
10 Revision Changes Path
11 1.19 sci-biology/allpathslg/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/allpathslg/ChangeLog?rev=1.19&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/allpathslg/ChangeLog?rev=1.19&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/allpathslg/ChangeLog?r1=1.18&r2=1.19
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/allpathslg/ChangeLog,v
20 retrieving revision 1.18
21 retrieving revision 1.19
22 diff -u -r1.18 -r1.19
23 --- ChangeLog 31 Mar 2015 09:35:15 -0000 1.18
24 +++ ChangeLog 31 Mar 2015 10:53:53 -0000 1.19
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-biology/allpathslg
27 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/allpathslg/ChangeLog,v 1.18 2015/03/31 09:35:15 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/allpathslg/ChangeLog,v 1.19 2015/03/31 10:53:53 jlec Exp $
30 +
31 +*allpathslg-52415 (31 Mar 2015)
32 +
33 + 31 Mar 2015; Justin Lecher <jlec@g.o> +allpathslg-52415.ebuild:
34 + Version BUmp; move to EAPI=5 and autotools-utils.eclass; thanks Martin Mokrejs
35 + for preparing the bump
36
37 31 Mar 2015; Justin Lecher <jlec@g.o> allpathslg-47093.ebuild:
38 prefix love
39
40
41
42 1.1 sci-biology/allpathslg/allpathslg-52415.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/allpathslg/allpathslg-52415.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/allpathslg/allpathslg-52415.ebuild?rev=1.1&content-type=text/plain
46
47 Index: allpathslg-52415.ebuild
48 ===================================================================
49 # Copyright 1999-2015 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-biology/allpathslg/allpathslg-52415.ebuild,v 1.1 2015/03/31 10:53:53 jlec Exp $
52
53 EAPI=5
54
55 AUTOTOOLS_AUTORECONF=true
56
57 inherit autotools-utils flag-o-matic
58
59 DESCRIPTION="De novo assembly of whole-genome shotgun microreads"
60 # see also http://www.broadinstitute.org/software/allpaths-lg/blog/?page_id=12
61 HOMEPAGE="http://www.broadinstitute.org/science/programs/genome-biology/crd"
62 SRC_URI="ftp://ftp.broadinstitute.org/pub/crd/ALLPATHS/Release-LG/latest_source_code/${P}.tar.gz"
63
64 LICENSE="MIT"
65 SLOT="0"
66 KEYWORDS="~amd64"
67 IUSE="openmp"
68
69 DEPEND="
70 dev-libs/boost
71 !sci-biology/allpaths
72 sci-biology/vaal"
73 RDEPEND=""
74
75 pkg_pretend() {
76 # as of release 44849, GCC 4.7.0 (or higher) is required
77 # seems pre gcc-4.7 users must stay with:
78 # ftp://ftp.broadinstitute.org/pub/crd/ALLPATHS/Release-LG/latest_source_code/2013/2013-01/allpathslg-44837.tar.gz
79 if [[ ${MERGE_TYPE} != binary ]]; then
80 [[ $(tc-getCC) == *gcc* ]] && [[ $(gcc-version) < 4.7 ]] && \
81 die "You need to use gcc >4.7"
82 fi
83 }
84
85 src_prepare() {
86 local i
87 sed \
88 -e 's/-ggdb//' \
89 -e 's:CEHCK:CHECK:g' \
90 -i configure.ac || die
91 for i in QueryLookupTable ScaffoldAccuracy MakeLookupTable Fastb ShortQueryLookup; do
92 sed -e "/bin_PROGRAMS/s: ${i} : :g" -i src/Makefile.am || die
93 done
94 autotools-utils_src_prepare
95 }
96
97 src_configure() {
98 local myeconfargs=(
99 $(use_enable openmp)
100 )
101 autotools-utils_src_configure
102 }