From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 16F7759CA9 for ; Wed, 30 Mar 2016 14:26:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B78B721C02F; Wed, 30 Mar 2016 14:26:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EB3E621C02F for ; Wed, 30 Mar 2016 14:26:33 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id EDA22340CF4 for ; Wed, 30 Mar 2016 14:26:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6C9B0865 for ; Wed, 30 Mar 2016 14:26:29 +0000 (UTC) From: "Martin Mokrejs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Martin Mokrejs" Message-ID: <1459347728.f020b550bf8bf4e51784679da95213ed2a50bc23.mmokrejs@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/artemis-bin/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/artemis-bin/artemis-bin-16.0.11.ebuild X-VCS-Directories: sci-biology/artemis-bin/ X-VCS-Committer: mmokrejs X-VCS-Committer-Name: Martin Mokrejs X-VCS-Revision: f020b550bf8bf4e51784679da95213ed2a50bc23 X-VCS-Branch: master Date: Wed, 30 Mar 2016 14:26:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: c6162376-dd09-4e52-883c-522ab7bb72c9 X-Archives-Hash: 1fa09441de33cac5a9c0b10a764d48e4 commit: f020b550bf8bf4e51784679da95213ed2a50bc23 Author: Martin Mokrejš fold natur cuni cz> AuthorDate: Wed Mar 30 14:22:08 2016 +0000 Commit: Martin Mokrejs fold natur cuni cz> CommitDate: Wed Mar 30 14:22:08 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f020b550 sci-biology/artemis-bin: 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 sci-biology/artemis-bin/artemis-bin-16.0.11.ebuild | 27 ++++++++++++++++++---- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/sci-biology/artemis-bin/artemis-bin-16.0.11.ebuild b/sci-biology/artemis-bin/artemis-bin-16.0.11.ebuild index e0c9fe9..7f5a97b 100644 --- a/sci-biology/artemis-bin/artemis-bin-16.0.11.ebuild +++ b/sci-biology/artemis-bin/artemis-bin-16.0.11.ebuild @@ -2,24 +2,26 @@ # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit java-pkg-2 MY_V="16" -DESCRIPTION="DNA sequence viewer, annotation (Artemis) and comparison (ACT) tool" +DESCRIPTION="DNA sequence viewer, annotation (Artemis) without comparison (ACT) tool" HOMEPAGE="http://www.sanger.ac.uk/resources/software/artemis" SRC_URI="ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/v"${MY_V}"/v"${PV}"/artemis_compiled_v"${PV}".tar.gz ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/v"${MY_V}"/v"${PV}"/artemis_v"${PV}".jar ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/v"${MY_V}"/v"${PV}"/sartemis_v"${PV}".jar - ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/artemis.pdf" + ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/v"${MY_V}"/artemis_manual_complete.pdf -> ${P}.manual.pdf + ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/v"${MY_V}"/release_notes.txt -> ${P}.release_notes.txt + ftp://ftp.sanger.ac.uk/pub/resources/software/artemis/v"${MY_V}"/art_html_build.zip -> ${P}.html_build.zip" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="" -S="${WORKDIR}"/artemis +S="${WORKDIR}" DEPEND=" !sci-biology/artemis @@ -27,12 +29,24 @@ DEPEND=" RDEPEND="${DEPEND} >=virtual/jre-1.6" +src_unpack(){ + unzip "${DISTDIR}"/${P}.html_build.zip || die +} + +src_prepare(){ + default + cd art_html_build || die + rm -f .DS_Store HTML.index HTML.manifest || die +} + src_install(){ cp -p "${DISTDIR}"/artemis_v"${PV}".jar artemis.jar || die java-pkg_dojar artemis.jar cp -p "${DISTDIR}"/sartemis_v"${PV}".jar sartemis.jar || die java-pkg_dojar sartemis.jar - dodoc "${DISTDIR}"/artemis.pdf README + dodoc "${DISTDIR}"/${P}.manual.pdf "${DISTDIR}"/${P}.release_notes.txt + 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 @@ -41,4 +55,7 @@ src_install(){ pkg_postinst(){ einfo "For BAM file support please install sci-biology/BamView" + 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" }