1 |
commit: bf1b944dd35395338a376aab9eb3cb7bc29fb24a |
2 |
Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Sun Jul 31 11:05:31 2016 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Sun Jul 31 11:05:31 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=bf1b944d |
7 |
|
8 |
sci-biology/stampy-bin: working ebuild thanks to soap <AT> g.o |
9 |
|
10 |
Package-Manager: portage-2.3.0 |
11 |
|
12 |
sci-biology/stampy-bin/metadata.xml | 12 +++++++ |
13 |
sci-biology/stampy-bin/stampy-bin-1.0.28.ebuild | 43 +++++++++++++++++++++++++ |
14 |
2 files changed, 55 insertions(+) |
15 |
|
16 |
diff --git a/sci-biology/stampy-bin/metadata.xml b/sci-biology/stampy-bin/metadata.xml |
17 |
new file mode 100644 |
18 |
index 0000000..f68a1b6 |
19 |
--- /dev/null |
20 |
+++ b/sci-biology/stampy-bin/metadata.xml |
21 |
@@ -0,0 +1,12 @@ |
22 |
+<?xml version="1.0" encoding="UTF-8"?> |
23 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
24 |
+<pkgmetadata> |
25 |
+ <maintainer type="person"> |
26 |
+ <email>mmokrejs@×××××××××××××××.cz</email> |
27 |
+ <name>Martin Mokrejs</name> |
28 |
+ </maintainer> |
29 |
+ <maintainer type="project"> |
30 |
+ <email>sci-biology@g.o</email> |
31 |
+ <name>Gentoo Biology Project</name> |
32 |
+ </maintainer> |
33 |
+</pkgmetadata> |
34 |
|
35 |
diff --git a/sci-biology/stampy-bin/stampy-bin-1.0.28.ebuild b/sci-biology/stampy-bin/stampy-bin-1.0.28.ebuild |
36 |
new file mode 100644 |
37 |
index 0000000..0f46696 |
38 |
--- /dev/null |
39 |
+++ b/sci-biology/stampy-bin/stampy-bin-1.0.28.ebuild |
40 |
@@ -0,0 +1,43 @@ |
41 |
+# Copyright 1999-2016 Gentoo Foundation |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+# $Id$ |
44 |
+ |
45 |
+EAPI=5 |
46 |
+PYTHON_COMPAT=( python2_7 ) |
47 |
+ |
48 |
+inherit toolchain-funcs python-r1 python-utils-r1 |
49 |
+ |
50 |
+DESCRIPTION="Map highly divergent short reads to a reference" |
51 |
+HOMEPAGE="http://www.well.ox.ac.uk/project-stampy" |
52 |
+SRC_URI="stampy-${PV}.tar.gz" |
53 |
+ |
54 |
+LICENSE="stampy-academic" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64 ~x86" |
57 |
+IUSE="" |
58 |
+ |
59 |
+RESTRICT="fetch" |
60 |
+ |
61 |
+DEPEND="" |
62 |
+RDEPEND="${DEPEND}" |
63 |
+ |
64 |
+S="${WORKDIR}"/stampy-${PV} |
65 |
+ |
66 |
+# FIXME: the makefile calls python but fails if that is under python-3.4, 2.7 works |
67 |
+# FIXME: respect CC and CXX |
68 |
+ |
69 |
+src_prepare(){ |
70 |
+ sed -e 's/-O2 -Wall/$(CFLAGS)/' -i makefile || die |
71 |
+} |
72 |
+ |
73 |
+src_install(){ |
74 |
+ dobin *.py |
75 |
+ python_foreach_impl python_domodule maptools.so |
76 |
+ python_moduleinto Stampy |
77 |
+ python_foreach_impl python_domodule build/python2.7/Stampy/*.pyc # only *.pyc files available |
78 |
+ python_moduleinto ext |
79 |
+ python_foreach_impl python_domodule build/python2.7/ext/*.pyc # only *.pyc files available |
80 |
+ python_moduleinto plugins |
81 |
+ python_foreach_impl python_domodule build/python2.7/plugins/*.py* |
82 |
+ dodoc README.txt |
83 |
+} |