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/RAILS/
Date: Thu, 02 Jan 2020 08:37:07
Message-Id: 1577954208.4a5df3568fcb228f465287849d51a18cea1bc76a.mmokrejs@gentoo
1 commit: 4a5df3568fcb228f465287849d51a18cea1bc76a
2 Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Thu Jan 2 08:36:48 2020 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Thu Jan 2 08:36:48 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4a5df356
7
8 sci-biology/RAILS: version bump
9
10 The minimap2-based wrapper script won't work as we do not have minimap2
11 in Gentoo Linux yet.
12
13 Package-Manager: Portage-2.3.75, Repoman-2.3.17
14 Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz>
15
16 .../RAILS/{RAILS-1.4.1.ebuild => RAILS-1.5.1.ebuild} | 14 +++++++++-----
17 1 file changed, 9 insertions(+), 5 deletions(-)
18
19 diff --git a/sci-biology/RAILS/RAILS-1.4.1.ebuild b/sci-biology/RAILS/RAILS-1.5.1.ebuild
20 similarity index 54%
21 rename from sci-biology/RAILS/RAILS-1.4.1.ebuild
22 rename to sci-biology/RAILS/RAILS-1.5.1.ebuild
23 index 9360c6040..df5f0ea4a 100644
24 --- a/sci-biology/RAILS/RAILS-1.4.1.ebuild
25 +++ b/sci-biology/RAILS/RAILS-1.5.1.ebuild
26 @@ -1,11 +1,11 @@
27 -# Copyright 2018 Gentoo Authors
28 +# Copyright 2018-2020 Gentoo Authors
29 # Distributed under the terms of the GNU General Public License v2
30
31 EAPI=7
32
33 -DESCRIPTION="Cobbler and RAILS scaffolding tools"
34 +DESCRIPTION="Cobbler and RAILS scaffolding tools acting on SAM streams"
35 HOMEPAGE="https://github.com/bcgsc/RAILS"
36 -SRC_URI="https://github.com/bcgsc/RAILS/archive/v1.4.1.tar.gz -> ${P}.tar.gz"
37 +SRC_URI="https://github.com/bcgsc/RAILS/archive/v${PV}.tar.gz -> ${P}.tar.gz"
38
39 LICENSE="GPL-3+"
40 SLOT="0"
41 @@ -15,12 +15,16 @@ IUSE=""
42 DEPEND=""
43 RDEPEND="${DEPEND}
44 dev-lang/perl
45 - sci-biology/samtools"
46 + sci-biology/samtools
47 + sci-biology/bwa
48 +"
49 +# bin/runRAILSminimap.sh calls minimap2 but one can stream the SAM data directly
50 BDEPEND=""
51
52 src_prepare(){
53 # remove hardcoded PATHs
54 - sed -e 's@^\.\./@@g' -e 's@^export PATH=/gsc/btl/linuxbrew@#&1@' -i bin/runRAILS.sh || die
55 + # https://github.com/bcgsc/RAILS/issues/8
56 + sed -e 's@^\.\./@@g' -e 's@^export PATH=/gsc/btl/linuxbrew@#&1@' -i bin/*.sh || die
57 default
58 }