commit: f09ae7878a4999af31bcbc40eb30c5e4172b5550 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> AuthorDate: Sat Jul 30 22:39:41 2016 +0000 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> CommitDate: Sat Jul 30 22:39:41 2016 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=f09ae787
sci-biology/stampy: install shared library into site-packages Package-Manager: portage-2.3.0 sci-biology/stampy/stampy-1.0.28.ebuild | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/sci-biology/stampy/stampy-1.0.28.ebuild b/sci-biology/stampy/stampy-1.0.28.ebuild index 9dbf6de..02fc2cf 100644 --- a/sci-biology/stampy/stampy-1.0.28.ebuild +++ b/sci-biology/stampy/stampy-1.0.28.ebuild @@ -3,9 +3,9 @@ # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7} ) +PYTHON_COMPAT=( python2_7 ) -inherit toolchain-funcs +inherit toolchain-funcs python-single-r1 DESCRIPTION="Map highly divergent short reads to a reference" HOMEPAGE="http://www.well.ox.ac.uk/project-stampy" @@ -24,9 +24,10 @@ RDEPEND="${DEPEND}" # FIXME: the makefile calls python but fails if that is under python-3.4, 2.7 works src_install(){ dobin *.py - local dest=/usr/$(get_libdir) # FIXME: still not correct - insinto "${dest}" + insinto $(python_get_sitedir) doins maptools.so - fperms a+x ${dest}/maptools.so + # doins -r stampy-1.0.28/build/python2.7/Stampy # only *.pyc files available + # doins -r python2.7/ext # only *.pyc files available + fperms a+x "$(python_get_sitedir)"/maptools.so dodoc README.txt }