1 |
commit: 4efdba16fdc718fde4b8679fb805cb382df46fef |
2 |
Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
3 |
AuthorDate: Sun Apr 1 15:04:25 2018 +0000 |
4 |
Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz> |
5 |
CommitDate: Sun Apr 1 15:04:25 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=4efdba16 |
7 |
|
8 |
sci-biology/seq_crumbs: new package |
9 |
|
10 |
The fix to setup.py to respect DESTDIR is probably not ideal. |
11 |
Needs a fix to avoid file collisions. |
12 |
|
13 |
Package-Manager: Portage-2.3.27, Repoman-2.3.9 |
14 |
|
15 |
sci-biology/seq_crumbs/metadata.xml | 12 +++++++ |
16 |
sci-biology/seq_crumbs/seq_crumbs-0.1.9.ebuild | 46 ++++++++++++++++++++++++++ |
17 |
2 files changed, 58 insertions(+) |
18 |
|
19 |
diff --git a/sci-biology/seq_crumbs/metadata.xml b/sci-biology/seq_crumbs/metadata.xml |
20 |
new file mode 100644 |
21 |
index 000000000..f68a1b6fa |
22 |
--- /dev/null |
23 |
+++ b/sci-biology/seq_crumbs/metadata.xml |
24 |
@@ -0,0 +1,12 @@ |
25 |
+<?xml version="1.0" encoding="UTF-8"?> |
26 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
27 |
+<pkgmetadata> |
28 |
+ <maintainer type="person"> |
29 |
+ <email>mmokrejs@×××××××××××××××.cz</email> |
30 |
+ <name>Martin Mokrejs</name> |
31 |
+ </maintainer> |
32 |
+ <maintainer type="project"> |
33 |
+ <email>sci-biology@g.o</email> |
34 |
+ <name>Gentoo Biology Project</name> |
35 |
+ </maintainer> |
36 |
+</pkgmetadata> |
37 |
|
38 |
diff --git a/sci-biology/seq_crumbs/seq_crumbs-0.1.9.ebuild b/sci-biology/seq_crumbs/seq_crumbs-0.1.9.ebuild |
39 |
new file mode 100644 |
40 |
index 000000000..94ce00a94 |
41 |
--- /dev/null |
42 |
+++ b/sci-biology/seq_crumbs/seq_crumbs-0.1.9.ebuild |
43 |
@@ -0,0 +1,46 @@ |
44 |
+# Copyright 1999-2018 Gentoo Foundation |
45 |
+# Distributed under the terms of the GNU General Public License v2 |
46 |
+ |
47 |
+EAPI=6 |
48 |
+ |
49 |
+PYTHON_COMPAT=( python2_7 ) |
50 |
+ |
51 |
+inherit distutils-r1 eutils |
52 |
+ |
53 |
+DESCRIPTION="Filter, split and trim NGS sequence data" |
54 |
+HOMEPAGE="https://github.com/JoseBlanca/seq_crumbs" |
55 |
+SRC_URI="https://github.com/JoseBlanca/"${PN}"/archive/v"${PV}".tar.gz" |
56 |
+ |
57 |
+LICENSE="GPL-3" |
58 |
+SLOT="0" |
59 |
+KEYWORDS="" |
60 |
+IUSE="" |
61 |
+ |
62 |
+DEPEND=" |
63 |
+ >=sci-biology/biopython-1.60 |
64 |
+ >=sci-biology/pysam-0.8 |
65 |
+ >=dev-python/rpy-2 |
66 |
+ dev-python/matplotlib |
67 |
+ dev-python/configobj |
68 |
+ dev-python/toolz" |
69 |
+RDEPEND="${DEPEND}" |
70 |
+ |
71 |
+# TODO fix file collisions |
72 |
+# * Detected file collision(s): |
73 |
+# * |
74 |
+# * /usr/share/man/man1/index.1.bz2 |
75 |
+# * /usr/share/man/man1/install.1.bz2 |
76 |
+# * |
77 |
+# * Searching all installed packages for file collisions... |
78 |
+# * |
79 |
+# * Press Ctrl-C to Stop |
80 |
+# * |
81 |
+# * sys-apps/coreutils-8.29:0::gentoo |
82 |
+# * /usr/share/man/man1/install.1.bz2 |
83 |
+# * |
84 |
+# * media-libs/netpbm-10.76.00:0::gentoo |
85 |
+# * /usr/share/man/man1/index.1.bz2 |
86 |
+src_prepare(){ |
87 |
+ sed -e "s#sys.prefix#os.getenv('ED')+'/usr/'#" -i setup.py || die |
88 |
+ default |
89 |
+} |