From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6AB26138359 for ; Sat, 14 Nov 2020 18:51:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A90EBE086D; Sat, 14 Nov 2020 18:51:26 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 81568E086D for ; Sat, 14 Nov 2020 18:51:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4BF5A340A7B for ; Sat, 14 Nov 2020 18:51:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8CA48448 for ; Sat, 14 Nov 2020 18:51:23 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1605379875.727e16a722a057469a4ea348ef4a896c978cd961.epsilon-0@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/fastqc/files/, sci-biology/fastqc/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/fastqc/fastqc-0.11.3.ebuild sci-biology/fastqc/files/00fastqc sci-biology/fastqc/metadata.xml X-VCS-Directories: sci-biology/fastqc/files/ sci-biology/fastqc/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: 727e16a722a057469a4ea348ef4a896c978cd961 X-VCS-Branch: master Date: Sat, 14 Nov 2020 18:51:23 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 3690a6f5-cc9a-47b4-851a-8b22e1f673c5 X-Archives-Hash: 4a568738589c8a3e79ca91c1dee7067d commit: 727e16a722a057469a4ea348ef4a896c978cd961 Author: Anton Molyboha gmail com> AuthorDate: Sat Nov 14 00:07:53 2020 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Sat Nov 14 18:51:15 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=727e16a7 sci-biology/fastqc: correctly install the package. Based on local testing, the program now works for .fastq files, but does not work for .fast5 files. This is also not the latest version. However, this is a step forward from "not working at all". The issues will need to be solved in the future. Signed-off-by: Anton Molyboha gmail.com> Closes: https://github.com/gentoo/sci/pull/834 Signed-off-by: Aisha Tammy aisha.cc> sci-biology/fastqc/fastqc-0.11.3.ebuild | 54 +++++++++++++++------------------ sci-biology/fastqc/files/00fastqc | 1 + sci-biology/fastqc/metadata.xml | 4 +++ 3 files changed, 29 insertions(+), 30 deletions(-) diff --git a/sci-biology/fastqc/fastqc-0.11.3.ebuild b/sci-biology/fastqc/fastqc-0.11.3.ebuild index f30dd8e2e..4be2ae23b 100644 --- a/sci-biology/fastqc/fastqc-0.11.3.ebuild +++ b/sci-biology/fastqc/fastqc-0.11.3.ebuild @@ -1,31 +1,27 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit java-pkg-2 eutils java-ant-2 +inherit java-pkg-2 eutils java-ant-2 prefix DESCRIPTION="Quality control FASTA/FASTQ sequence files" -HOMEPAGE="http://www.bioinformatics.babraham.ac.uk/projects/fastqc/" -SRC_URI="http://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v"${PV}"_source.zip" +HOMEPAGE="https://www.bioinformatics.babraham.ac.uk/projects/fastqc/" +SRC_URI="https://www.bioinformatics.babraham.ac.uk/projects/fastqc/fastqc_v"${PV}"_source.zip" LICENSE="GPL-3+" SLOT="0" -KEYWORDS="" -IUSE="" +KEYWORDS="~amd64" -DEPEND="sci-biology/picard - sci-libs/jhdf5 - >=virtual/jre-1.5:*" -RDEPEND="${DEPEND} - dev-lang/perl - >=virtual/jdk-1.5:* - dev-java/ant-core" +RDEPEND="dev-lang/perl" +DEPEND="${RDEPEND} >=virtual/jdk-1.5:*" +BDEPEND="app-arch/unzip" S="${WORKDIR}"/FastQC src_prepare(){ cp "${FILESDIR}"/build.xml . || die + default } src_compile(){ @@ -33,22 +29,20 @@ src_compile(){ } src_install(){ - dobin fastqc run_fastqc.bat + insinto "opt/${PN}" + doins -r bin + chmod a+x "${ED}/opt/${PN}/bin/fastqc" + # Add the package's bin directory to the PATH. + doenvd "${FILESDIR}/00fastqc" + if use prefix ; then + hprefixify "${ED}/etc/env.d/00fastqc" + fi + dodoc README.txt RELEASE_NOTES.txt +} - # There is no fastqc.jar. The output from the compilation is the set of - # .class files (a jar file is just a zip file full of .class files). All - # you need to copy out is the contents of the bin subdirectory, the rest of - # the download you can discard. - # - # jbzip2-0.9.jar comes from https://code.google.com/p/jbzip2 - # - # ignore the sam-1.103.jar and rely on /usr/share/picard/lib/sam.jar from sci-biology/picard - # The sam-1.103.jar library comes from - # http://sourceforge.net/projects/picard/files/sam-jdk/. Note that there is - # a newer version of this codebase at https://github.com/samtools/htsjdk but - # that FastQC is NOT yet compatible with the updated API (this will probably - # happen in a future release). This library is needed to read SAM/BAM - # format files. - # cisd-jhdf5.jar should be provided by sci-libs/jhdf5 +pkg_postinst() { + ewarn "Remember to run: env-update && source \"${EPREFIX}/etc/profile\" if you plan" + ewarn "to use this tool in a shell before logging out (or restarting" + ewarn "your login manager)" } diff --git a/sci-biology/fastqc/files/00fastqc b/sci-biology/fastqc/files/00fastqc new file mode 100644 index 000000000..021de8bb0 --- /dev/null +++ b/sci-biology/fastqc/files/00fastqc @@ -0,0 +1 @@ +PATH="/opt/fastqc/bin" diff --git a/sci-biology/fastqc/metadata.xml b/sci-biology/fastqc/metadata.xml index 138cb7705..7c86089a2 100644 --- a/sci-biology/fastqc/metadata.xml +++ b/sci-biology/fastqc/metadata.xml @@ -5,6 +5,10 @@ mmokrejs@fold.natur.cuni.cz Martin Mokrejs + + anton.stay.connected@gmail.com + Anton Molyboha + sci-biology@gentoo.org Gentoo Biology Project