From: "Martin Mokrejs" <mmokrejs@fold.natur.cuni.cz>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/SPAdes/
Date: Tue, 9 Jan 2018 22:03:18 +0000 (UTC) [thread overview]
Message-ID: <1515535382.4dd7fc5f1806465684c1101c88021ab3e1993fa2.mmokrejs@gentoo> (raw)
commit: 4dd7fc5f1806465684c1101c88021ab3e1993fa2
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
AuthorDate: Tue Jan 9 22:03:02 2018 +0000
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
CommitDate: Tue Jan 9 22:03:02 2018 +0000
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4dd7fc5f
sci-biology/SPAdes: version bump
Try to follow the upstream's approach to compile and install
the tool. src_compile() therefore does also src_install()
into a DESTDIR.
Package-Manager: Portage-2.3.19, Repoman-2.3.6
sci-biology/SPAdes/SPAdes-3.11.1.ebuild | 72 +++++++++++++++++++++++++++++++++
1 file changed, 72 insertions(+)
diff --git a/sci-biology/SPAdes/SPAdes-3.11.1.ebuild b/sci-biology/SPAdes/SPAdes-3.11.1.ebuild
new file mode 100644
index 000000000..1842fca37
--- /dev/null
+++ b/sci-biology/SPAdes/SPAdes-3.11.1.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_{4,5}} )
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="De novo de Bruijn genome assembler overcoming uneven coverage"
+HOMEPAGE="http://cab.spbu.ru/software/spades"
+SRC_URI="
+ http://spades.bioinf.spbau.ru/release${PV}/SPAdes-${PV}.tar.gz
+ http://spades.bioinf.spbau.ru/release${PV}/manual.html -> ${P}_manual.html
+ http://spades.bioinf.spbau.ru/release${PV}/dipspades_manual.html -> ${P}_dipspades_manual.html
+ http://spades.bioinf.spbau.ru/release${PV}/rnaspades_manual.html -> ${P}_rnaspades_manual.html
+ http://spades.bioinf.spbau.ru/release${PV}/truspades_manual.html -> ${P}_truspades_manual.html"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="
+ sys-libs/zlib
+ app-arch/bzip2
+ dev-python/regex"
+RDEPEND="${DEPEND}"
+# BUG:
+# SPAdes uses bundled while modified copy of dev-libs/boost (only headers are used,
+# not *.so or *.a are even used)
+#
+# BUG: "${S}"/ext/src/ contains plenty of bundled 3rd-party tools. Drop them all and properly DEPEND on their
+# existing packages
+# nlopt
+# llvm
+# python_libs
+# bamtools
+# ConsensusCore
+# ssw
+# jemalloc
+# htrie
+# getopt_pp
+# cppformat
+# cityhash
+# samtools
+# bwa
+
+# BUG: "${S}"/ext/tools/ contains even two version of bwa, being installed as bwa-spades binary?
+# bwa-0.7.12
+# bwa-0.6.2
+
+pkg_pretend() {
+ if [[ ${MERGE_TYPE} != binary ]]; then
+ if [[ $(tc-getCXX) == *g++ ]] ; then
+ if [[ $(gcc-major-version) == 4 && $(gcc-minor-version) -lt 7 || $(gcc-major-version) -lt 4 ]] ; then
+ eerror "You need at least sys-devel/gcc-4.7.0"
+ die "You need at least sys-devel/gcc-4.7.0"
+ fi
+ fi
+ fi
+}
+
+src_compile(){
+ PREFIX="${ED}"/usr ./spades_compile.sh || die
+}
+
+src_install(){
+ # BUG: move *.py files to standard site-packages/ subdirectories
+ insinto /usr/share/"${PN}"
+ dodoc "${DISTDIR}"/${P}_*manual.html
+}
next reply other threads:[~2018-01-09 22:03 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-09 22:03 Martin Mokrejs [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-22 19:29 [gentoo-commits] proj/sci:master commit in: sci-biology/SPAdes/ Horea Christian
2024-01-22 19:28 Horea Christian
2024-01-22 13:01 Horea Christian
2024-01-22 13:01 Horea Christian
2024-01-22 13:01 Horea Christian
2024-01-22 13:01 Horea Christian
2024-01-22 13:01 Horea Christian
2022-01-25 14:24 Andrew Ammerlaan
2021-03-05 13:34 Martin Mokrejs
2021-03-05 9:22 Martin Mokrejs
2020-05-15 19:31 Martin Mokrejs
2020-01-06 17:14 Martin Mokrejs
2018-10-16 17:47 Martin Mokrejs
2017-07-28 20:05 Martin Mokrejs
2017-05-14 18:48 Martin Mokrejs
2017-05-14 11:49 Martin Mokrejs
2017-05-13 15:08 Martin Mokrejs
2017-05-12 18:10 Martin Mokrejs
2017-01-29 18:13 Martin Mokrejs
2017-01-29 18:08 Martin Mokrejs
2016-04-08 20:07 Martin Mokrejs
2016-02-10 15:22 Martin Mokrejs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1515535382.4dd7fc5f1806465684c1101c88021ab3e1993fa2.mmokrejs@gentoo \
--to=mmokrejs@fold.natur.cuni.cz \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox