commit: 869844b94cd59135cc3a85c0a42aafcf815f413e Author: Justin Lecher <jlec <AT> gentoo <DOT> org> AuthorDate: Sun Mar 26 09:18:45 2017 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sun Mar 26 09:18:45 2017 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=869844b9
sci-biology/hisat2: Properly support python Drop stray CVS header line Package-Manager: Portage-2.3.5, Repoman-2.3.2 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org> sci-biology/hisat2/hisat2-2.0.5.ebuild | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/sci-biology/hisat2/hisat2-2.0.5.ebuild b/sci-biology/hisat2/hisat2-2.0.5.ebuild index a8a81a26f..d200a57ac 100644 --- a/sci-biology/hisat2/hisat2-2.0.5.ebuild +++ b/sci-biology/hisat2/hisat2-2.0.5.ebuild @@ -1,13 +1,15 @@ # Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Id$ EAPI=6 -inherit eutils +PYTHON_COMPAT=( python2_7 ) + +inherit python-r1 DESCRIPTION="Align DNA reads to a population of genomes" -HOMEPAGE="https://ccb.jhu.edu/software/hisat2 +HOMEPAGE=" + https://ccb.jhu.edu/software/hisat2 https://github.com/infphilo/hisat2" SRC_URI="ftp://ftp.ccb.jhu.edu/pub/infphilo/hisat2/downloads/${P}-source.zip" @@ -16,7 +18,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="cpu_flags_x86_sse2" -DEPEND="" +DEPEND="${PYTHON_DEPS}" RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${P}-respect_CXXFLAGS.patch ) @@ -44,7 +46,8 @@ src_compile(){ } src_install(){ - dobin hisat2 hisat2-build hisat2-inspect hisat2-build-s hisat2-build-l hisat2-align-s hisat2-align-l hisat2-inspect-s hisat2-inspect-l *.py + dobin hisat2{,-build,-inspect,-build-s,-build-l,-align-s,-align-l,-inspect-s,-inspect-l} + python_foreach_impl python_doscript *.py insinto /usr/share/"${PN}"/scripts doins scripts/*.sh dodoc MANUAL TUTORIAL