commit: 3241a12426e95464547ee45cc6489df6fd8a4350 Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Thu Dec 6 15:33:03 2018 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Thu Dec 6 15:33:03 2018 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=3241a124
sci-biology/RAILS: new package for (re-)scaffolding This is a successor of SSAKE and of LINKS scaffolders. Remove hardcoded PATHs, see https://github.com/bcgsc/RAILS/issues/8#issuecomment-444898365 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Martin Mokrejs <mmokrejs <AT> fold.natur.cuni.cz> sci-biology/RAILS/RAILS-1.4.1.ebuild | 30 ++++++++++++++++++++++++++++++ sci-biology/RAILS/metadata.xml | 12 ++++++++++++ 2 files changed, 42 insertions(+) diff --git a/sci-biology/RAILS/RAILS-1.4.1.ebuild b/sci-biology/RAILS/RAILS-1.4.1.ebuild new file mode 100644 index 000000000..9360c6040 --- /dev/null +++ b/sci-biology/RAILS/RAILS-1.4.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="Cobbler and RAILS scaffolding tools" +HOMEPAGE="https://github.com/bcgsc/RAILS" +SRC_URI="https://github.com/bcgsc/RAILS/archive/v1.4.1.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND="${DEPEND} + dev-lang/perl + sci-biology/samtools" +BDEPEND="" + +src_prepare(){ + # remove hardcoded PATHs + sed -e 's@^\.\./@@g' -e 's@^export PATH=/gsc/btl/linuxbrew@#&1@' -i bin/runRAILS.sh || die + default +} + +src_install(){ + dobin bin/* + dodoc readme.md paper/paper.pdf +} diff --git a/sci-biology/RAILS/metadata.xml b/sci-biology/RAILS/metadata.xml new file mode 100644 index 000000000..138cb7705 --- /dev/null +++ b/sci-biology/RAILS/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>[email protected]</email> + <name>Martin Mokrejs</name> + </maintainer> + <maintainer type="project"> + <email>[email protected]</email> + <name>Gentoo Biology Project</name> + </maintainer> +</pkgmetadata>
