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