aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2016-03-30 16:23:32 +0200
committerMartin Mokrejš <mmokrejs@fold.natur.cuni.cz>2016-03-30 16:23:32 +0200
commit89b91efb19621ed16be8bf20cb05670120ec431d (patch)
tree4e8268d445d0f50c4c840ef8882dd73b3adeef23
parentsci-biology/artemis-bin: install docs, cleanup ebuild and bring it in sync wi... (diff)
downloadsci-89b91efb19621ed16be8bf20cb05670120ec431d.tar.gz
sci-89b91efb19621ed16be8bf20cb05670120ec431d.tar.bz2
sci-89b91efb19621ed16be8bf20cb05670120ec431d.zip
sci-biology/artemis: install docs, cleanup ebuild and bring it in sync with sci-biology/act-bin and sci-biology/artemis-9999
Package-Manager: portage-2.2.28
-rw-r--r--sci-biology/artemis/Manifest3
-rw-r--r--sci-biology/artemis/artemis-9999.ebuild19
2 files changed, 16 insertions, 6 deletions
diff --git a/sci-biology/artemis/Manifest b/sci-biology/artemis/Manifest
index 1c027d782..0a68bacef 100644
--- a/sci-biology/artemis/Manifest
+++ b/sci-biology/artemis/Manifest
@@ -1 +1,2 @@
-DIST artemis.pdf 1149449 SHA256 ab573b4ea7b895cb7d2a97e4d42a71938f1feda44e2da22fe5b079583ad87ba6 SHA512 1c3056dab7239c3a68b2e76491d77612f22ac8f83eaf32e0ab0a3901e03d3c65d5ac02f5758d2d7728d94dd44c29517a498fa94a947d5d319ded43ddec4ba5fb WHIRLPOOL a75266ae72075ea7547560a9046c1e0f813956b94a5c3d9af3cd08a579ed60af842c6ece94e6b1dfa5db1820094069edb7d88b4ee6256410ebced4310739d79f
+DIST artemis-9999.html_build.zip 2284822 SHA256 d78ecbf8906395ca27bb3d45ebeae05a792923c98866632468dd2cd26c9bbddf SHA512 80c952fe20f98b647f38a08a469cb351bb44aa1b0a7d1a9b997fabbd37107d5d934a6d52fa2abfde243f90f4e752c99d418c4ad6b634d82de9744d089eb1cf8a WHIRLPOOL ea67f08ebf8284a186690880d7185e8991e1616f782fbde640021f44085dd6247d065e3bdae557aa10af0b2584a7f40421b9ae6199328f677f17082fa7716759
+DIST artemis-9999.manual.pdf 1149449 SHA256 ab573b4ea7b895cb7d2a97e4d42a71938f1feda44e2da22fe5b079583ad87ba6 SHA512 1c3056dab7239c3a68b2e76491d77612f22ac8f83eaf32e0ab0a3901e03d3c65d5ac02f5758d2d7728d94dd44c29517a498fa94a947d5d319ded43ddec4ba5fb WHIRLPOOL a75266ae72075ea7547560a9046c1e0f813956b94a5c3d9af3cd08a579ed60af842c6ece94e6b1dfa5db1820094069edb7d88b4ee6256410ebced4310739d79f
diff --git a/sci-biology/artemis/artemis-9999.ebuild b/sci-biology/artemis/artemis-9999.ebuild
index 81da9cba2..d9e915dfc 100644
--- a/sci-biology/artemis/artemis-9999.ebuild
+++ b/sci-biology/artemis/artemis-9999.ebuild
@@ -1,14 +1,15 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI=5
+EAPI=6
inherit java-pkg-2 java-ant-2 git-r3
DESCRIPTION="DNA sequence viewer/annotation (Artemis) and comparison (ACT) tool"
HOMEPAGE="http://www.sanger.ac.uk/resources/software/artemis"
-SRC_URI="ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/artemis.pdf"
+SRC_URI="ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/artemis.pdf -> ${P}.manual.pdf
+ ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/v16/art_html_build.zip -> ${P}.html_build.zip"
EGIT_REPO_URI="https://github.com/sanger-pathogens/Artemis"
LICENSE="GPL-2"
@@ -41,6 +42,10 @@ DEPEND="${RDEPEND}
# BamView is at http://bamview.sourceforge.net/
+src_unpack(){
+ unzip "${DISTDIR}"/art_html_build.zip || die
+}
+
src_compile(){
ant || die
}
@@ -48,7 +53,9 @@ src_compile(){
src_install(){
dobin act act.command art dnaplotter gff2embl
java-pkg_dojar ant-build/artemis.jar
- dodoc "${DISTDIR}"/artemis.pdf README
+ dodoc "${DISTDIR}"/"${P}".manual.pdf README
+ insinto /usr/share/doc/"${PN}"/html
+ doins art_html_build/*
}
# artemis_compiled_v16.0.11.tar.gz contains compiled binaries but also java *.class files
@@ -57,5 +64,7 @@ src_install(){
pkg_postinst(){
einfo "For BAM file support please install sci-biology/BamView"
- einfo " from http://bamview.sourceforge.net"
+ einfo "You may find interesting the additional web resources:"
+ einfo "http://www.webact.org/WebACT"
+ einfo "http://www.hpa-bioinfotools.org.uk/pise/double_act.html"
}