From: "David Seifert" <soap@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/tophat/
Date: Sat, 3 Sep 2016 08:37:59 +0000 (UTC) [thread overview]
Message-ID: <1472891871.1fef751f90def6048c9066f9c5cc35bcc6681a33.soap@gentoo> (raw)
commit: 1fef751f90def6048c9066f9c5cc35bcc6681a33
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 3 08:37:31 2016 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Sep 3 08:37:51 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fef751f
sci-biology/tophat: Various QA fixes, handle python properly
* Add subslot operator := for dev-libs/boost
* DEPEND on virtual/pkgconfig
* Add missing ${PYTHON_REQUIRED_USE} and ${PYTHON_DEPS}
* Install python scripts and modules properly using
'python_doscript' and 'python_domodule'
Package-Manager: portage-2.3.0
.../{tophat-2.1.1.ebuild => tophat-2.1.1-r1.ebuild} | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
diff --git a/sci-biology/tophat/tophat-2.1.1.ebuild b/sci-biology/tophat/tophat-2.1.1-r1.ebuild
similarity index 76%
rename from sci-biology/tophat/tophat-2.1.1.ebuild
rename to sci-biology/tophat/tophat-2.1.1-r1.ebuild
index fc80ea8..a850175 100644
--- a/sci-biology/tophat/tophat-2.1.1.ebuild
+++ b/sci-biology/tophat/tophat-2.1.1-r1.ebuild
@@ -6,7 +6,7 @@ EAPI=6
PYTHON_COMPAT=( python2_7 )
-inherit autotools eutils flag-o-matic python-single-r1
+inherit autotools eutils flag-o-matic python-single-r1 toolchain-funcs
DESCRIPTION="Python-based splice junction mapper for RNA-Seq reads using bowtie2"
HOMEPAGE="https://ccb.jhu.edu/software/tophat/"
@@ -16,11 +16,14 @@ LICENSE="Artistic"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-RDEPEND="dev-libs/boost
+RDEPEND="${PYTHON_DEPS}
+ dev-libs/boost:=
sci-biology/samtools:0.1-legacy
sci-biology/bowtie:2"
DEPEND="${RDEPEND}
+ virtual/pkgconfig
sci-biology/seqan:1.4"
PATCHES=(
@@ -46,7 +49,7 @@ src_prepare() {
# innocuous non-security flags, prevent log pollution
append-cflags -Wno-unused-but-set-variable -Wno-unused-variable
- append-cppflags "$(pkg-config --cflags seqan-1.4)"
+ append-cppflags "$($(tc-getPKG_CONFIG) --cflags seqan-1.4)"
eautoreconf
}
@@ -59,8 +62,15 @@ src_install() {
default
local i
+ # install scripts properly
for i in bed_to_juncs contig_to_chr_coords sra_to_solid tophat tophat-fusion-post; do
- python_fix_shebang "${ED}"/usr/bin/${i}
+ python_doscript "${ED%/}/usr/bin/${i}"
+ done
+
+ # install python modules properly
+ for i in intervaltree sortedcontainers; do
+ python_domodule "${ED%/}/usr/bin/${i}"
+ rm -rf "${ED%/}/usr/bin/${i}" || die
done
}
next reply other threads:[~2016-09-03 8:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-09-03 8:37 David Seifert [this message]
-- strict thread matches above, loose matches on Subject: below --
2020-02-16 20:24 [gentoo-commits] repo/gentoo:master commit in: sci-biology/tophat/ David Seifert
2016-10-03 20:21 David Seifert
2016-09-27 16:52 David Seifert
2015-10-19 20:48 Sergey Popov
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=1472891871.1fef751f90def6048c9066f9c5cc35bcc6681a33.soap@gentoo \
--to=soap@gentoo.org \
--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