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, 06 Dec 2018 15:33:26
Message-Id: 1544110383.3241a12426e95464547ee45cc6489df6fd8a4350.mmokrejs@gentoo
1 commit: 3241a12426e95464547ee45cc6489df6fd8a4350
2 Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Thu Dec 6 15:33:03 2018 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Thu Dec 6 15:33:03 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3241a124
7
8 sci-biology/RAILS: new package for (re-)scaffolding
9
10 This is a successor of SSAKE and of LINKS scaffolders.
11
12 Remove hardcoded PATHs, see
13 https://github.com/bcgsc/RAILS/issues/8#issuecomment-444898365
14
15 Package-Manager: Portage-2.3.52, Repoman-2.3.12
16 Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz>
17
18 sci-biology/RAILS/RAILS-1.4.1.ebuild | 30 ++++++++++++++++++++++++++++++
19 sci-biology/RAILS/metadata.xml | 12 ++++++++++++
20 2 files changed, 42 insertions(+)
21
22 diff --git a/sci-biology/RAILS/RAILS-1.4.1.ebuild b/sci-biology/RAILS/RAILS-1.4.1.ebuild
23 new file mode 100644
24 index 000000000..9360c6040
25 --- /dev/null
26 +++ b/sci-biology/RAILS/RAILS-1.4.1.ebuild
27 @@ -0,0 +1,30 @@
28 +# Copyright 2018 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 +HOMEPAGE="https://github.com/bcgsc/RAILS"
35 +SRC_URI="https://github.com/bcgsc/RAILS/archive/v1.4.1.tar.gz -> ${P}.tar.gz"
36 +
37 +LICENSE="GPL-3+"
38 +SLOT="0"
39 +KEYWORDS="~amd64 ~x86"
40 +IUSE=""
41 +
42 +DEPEND=""
43 +RDEPEND="${DEPEND}
44 + dev-lang/perl
45 + sci-biology/samtools"
46 +BDEPEND=""
47 +
48 +src_prepare(){
49 + # remove hardcoded PATHs
50 + sed -e 's@^\.\./@@g' -e 's@^export PATH=/gsc/btl/linuxbrew@#&1@' -i bin/runRAILS.sh || die
51 + default
52 +}
53 +
54 +src_install(){
55 + dobin bin/*
56 + dodoc readme.md paper/paper.pdf
57 +}
58
59 diff --git a/sci-biology/RAILS/metadata.xml b/sci-biology/RAILS/metadata.xml
60 new file mode 100644
61 index 000000000..138cb7705
62 --- /dev/null
63 +++ b/sci-biology/RAILS/metadata.xml
64 @@ -0,0 +1,12 @@
65 +<?xml version="1.0" encoding="UTF-8"?>
66 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
67 +<pkgmetadata>
68 + <maintainer type="person">
69 + <email>mmokrejs@×××××××××××××××.cz</email>
70 + <name>Martin Mokrejs</name>
71 + </maintainer>
72 + <maintainer type="project">
73 + <email>sci-biology@g.o</email>
74 + <name>Gentoo Biology Project</name>
75 + </maintainer>
76 +</pkgmetadata>