commit:     4215f67e0da1eb2a2600f0b30a9e6032ddea342c
Author:     Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Wed Mar 30 16:30:41 2016 +0000
Commit:     Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Wed Mar 30 16:30:41 2016 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4215f67e

sci-biology/exomiser-bin: improve ebuild, fix LICENSE, a 19GB files should be 
fetched manually but the ebuild should get access to it, unpack it and install 
as the files make grounding for a usable workspace

Package-Manager: portage-2.2.28

 sci-biology/exomiser-bin/exomiser-bin-7.0.0.ebuild | 23 ----------------
 sci-biology/exomiser-bin/exomiser-bin-7.2.1.ebuild | 31 ++++++++++++++++++++++
 2 files changed, 31 insertions(+), 23 deletions(-)

diff --git a/sci-biology/exomiser-bin/exomiser-bin-7.0.0.ebuild 
b/sci-biology/exomiser-bin/exomiser-bin-7.0.0.ebuild
deleted file mode 100644
index c58cabf..0000000
--- a/sci-biology/exomiser-bin/exomiser-bin-7.0.0.ebuild
+++ /dev/null
@@ -1,23 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-DESCRIPTION="Annotate VCF files from whole-exome sequencing (Jannovar, UCSC 
KnownGenes, hg19)"
-HOMEPAGE="http://www.sanger.ac.uk/resources/software/exomiser";
-SRC_URI="ftp://ftp.sanger.ac.uk/pub/resources/software/exomiser/downloads/exomiser/exomiser-cli-${PV}.BETA-distribution.zip";
-# 1.16GB !
-
-LICENSE="GPL-3+"
-SLOT="0"
-KEYWORDS=""
-IUSE=""
-
-DEPEND="sci-biology/Jannovar-bin"
-RDEPEND="${DEPEND}"
-
-pkg_postinst(){
-       einfo "Please download 3.7GB file from 
ftp://ftp.sanger.ac.uk/pub/resources/software/exomiser/downloads/exomiser/h2_db_dumps/exomiser-${PV}.BETA.h2.db.gz";
-       einfo "and follow README.md"
-}

diff --git a/sci-biology/exomiser-bin/exomiser-bin-7.2.1.ebuild 
b/sci-biology/exomiser-bin/exomiser-bin-7.2.1.ebuild
new file mode 100644
index 0000000..1346fd2
--- /dev/null
+++ b/sci-biology/exomiser-bin/exomiser-bin-7.2.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Annotate VCF files and prioritize genome/exome mutations 
(Jannovar, UCSC KnownGenes, hg19)"
+HOMEPAGE="http://www.sanger.ac.uk/science/tools/exomiser";
+SRC_URI="ftp://ftp.sanger.ac.uk/pub/resources/software/exomiser/downloads/exomiser/exomiser-cli-${PV}-distribution.zip
+       
ftp://ftp.sanger.ac.uk/pub/resources/software/exomiser/downloads/exomiser/GenomiserREADME
 -> ${PN}.README
+       
ftp://ftp.sanger.ac.uk/pub/resources/software/exomiser/downloads/exomiser/README.md
 -> ${PN}.README.md"
+# 1.16GB !
+
+LICENSE="AGPL-3+"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="sci-biology/Jannovar-bin"
+RDEPEND="${DEPEND}"
+
+src_install(){
+       dodoc "${DISTDIR}"/${PN}.README "${DISTDIR}"/${PN}.README.md
+}
+
+pkg_postinst(){
+       einfo "Please download 3.7GB file from 
ftp://ftp.sanger.ac.uk/pub/resources/software/exomiser/downloads/exomiser/h2_db_dumps/exomiser-${PV}.BETA.h2.db.gz";
+       einfo "and follow README.md"
+       einfo "The is also 19GB file 
ftp://ftp.sanger.ac.uk/pub/resources/software/exomiser/downloads/exomiser/exomiser-cli-7.2.1-data.zip";
+       einfo "with test data"
+}

Reply via email to