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/ampliconnoise/
Date: Tue, 12 Jul 2016 17:03:03
Message-Id: 1468342963.34e693f2fc0529853c8af20bc738dcda6a4f68c8.mmokrejs@gentoo
1 commit: 34e693f2fc0529853c8af20bc738dcda6a4f68c8
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Tue Jul 12 17:02:43 2016 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Tue Jul 12 17:02:43 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=34e693f2
7
8 sci-biology/ampliconnoise: more ebuild tweaks
9
10 Package-Manager: portage-2.2.28
11
12 sci-biology/ampliconnoise/ampliconnoise-1.27.ebuild | 20 +++++++++++++++++---
13 1 file changed, 17 insertions(+), 3 deletions(-)
14
15 diff --git a/sci-biology/ampliconnoise/ampliconnoise-1.27.ebuild b/sci-biology/ampliconnoise/ampliconnoise-1.27.ebuild
16 index 40909fd..16af117 100644
17 --- a/sci-biology/ampliconnoise/ampliconnoise-1.27.ebuild
18 +++ b/sci-biology/ampliconnoise/ampliconnoise-1.27.ebuild
19 @@ -1,4 +1,4 @@
20 -# Copyright 1999-2015 Gentoo Foundation
21 +# Copyright 1999-2016 Gentoo Foundation
22 # Distributed under the terms of the GNU General Public License v2
23 # $Id$
24
25 @@ -14,11 +14,22 @@ SRC_URI="
26 LICENSE="LGPL-3"
27 SLOT="0"
28 KEYWORDS=""
29 -IUSE=""
30 +IUSE="mpi"
31 +RDEPEND="
32 + mpi? ( virtual/mpi )
33 + sci-libs/gsl
34 + sci-biology/mafft
35 + sci-biology/usearch-bin
36 + dev-haskell/biosff || ( sci-biology/flower )"
37 + # sci-biology/flower::haskell installs renamed binaries to avoid file collision
38 + # unfortunately flower executable from the two packages
39 + # dev-haskell/biosff::science vs. sci-biology/flower::haskell
40 + # do not offer same cmdline options (upstream did not sync the two packages)
41
42 S="${WORKDIR}/AmpliconNoiseV1.27"
43
44 src_compile(){
45 + # FIXME: the Makefile forcibly calls 'mpicc'
46 emake
47 cd ../DiversityEstimates || die
48 emake
49 @@ -26,5 +37,8 @@ src_compile(){
50
51 src_install(){
52 default
53 - dodoc "${WORKDIR}"/TutorialV1.22/Tutorial.ppt "${WORKDIR}"/TutorialV1.22/SmallTwins.*
54 + dodoc "${WORKDIR}"/TutorialV1.22/Tutorial.ppt "${WORKDIR}"/TutorialV1.22/SmallTwins.* Doc.pdf
55 + mv bin "${DESTDIR}/${EPREFIX}"/usr/ || die
56 + insinto /usr/share/"${PN}"/scripts
57 + doins Scripts/*.pl Scripts/*.sh
58 }