Gentoo Archives: gentoo-commits

From: Martin Mokrejs <mmokrejs@×××××××××××××××.cz>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/idba/
Date: Sat, 24 Sep 2016 11:24:25
Message-Id: 1474716244.bae149ca5806b0db04206b0569f733a6c41a1007.mmokrejs@gentoo
1 commit: bae149ca5806b0db04206b0569f733a6c41a1007
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Sat Sep 24 11:24:04 2016 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Sat Sep 24 11:24:04 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=bae149ca
7
8 sci-biology/idba: new package, needed by biopieces, github issue #381
9
10 Package-Manager: portage-2.3.0
11
12 sci-biology/idba/idba-1.1.1.ebuild | 34 ++++++++++++++++++++++++++++++++++
13 sci-biology/idba/idba-9999.ebuild | 34 ++++++++++++++++++++++++++++++++++
14 sci-biology/idba/metadata.xml | 12 ++++++++++++
15 3 files changed, 80 insertions(+)
16
17 diff --git a/sci-biology/idba/idba-1.1.1.ebuild b/sci-biology/idba/idba-1.1.1.ebuild
18 new file mode 100644
19 index 0000000..d3a82a5
20 --- /dev/null
21 +++ b/sci-biology/idba/idba-1.1.1.ebuild
22 @@ -0,0 +1,34 @@
23 +# Copyright 1999-2016 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Id$
26 +
27 +EAPI=6
28 +
29 +DESCRIPTION="De novo De Bruijn graph assembler iteratively using multimple k-mers"
30 +HOMEPAGE="http://i.cs.hku.hk/~alse/hkubrg/projects/idba
31 + https://code.google.com/archive/p/hku-idba"
32 +SRC_URI="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/hku-idba/${P}.tar.gz"
33 +
34 +LICENSE="GPL-2+"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86"
37 +IUSE=""
38 +
39 +DEPEND=""
40 +RDEPEND="${DEPEND}"
41 +
42 +src_prepare(){
43 + # Makefile.am also forces '-fopenmp -pthread', do we care?
44 + find . -name Makefile.in | while read f; do \
45 + sed -e 's/-Wall -O3//' -i $f || die
46 + done || die
47 + default
48 +}
49 +
50 +src_install(){
51 + default
52 + # https://github.com/loneknightpy/idba/issues/23
53 + rm "${D}"/usr/bin/scan.py "${D}"/usr/bin/run-unittest.py || die
54 + rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
55 + dobin bin/*
56 +}
57
58 diff --git a/sci-biology/idba/idba-9999.ebuild b/sci-biology/idba/idba-9999.ebuild
59 new file mode 100644
60 index 0000000..3252524
61 --- /dev/null
62 +++ b/sci-biology/idba/idba-9999.ebuild
63 @@ -0,0 +1,34 @@
64 +# Copyright 1999-2016 Gentoo Foundation
65 +# Distributed under the terms of the GNU General Public License v2
66 +# $Id$
67 +
68 +EAPI=6
69 +
70 +inherit git-r3
71 +
72 +DESCRIPTION="De novo De Bruijn graph assembler iteratively using multimple k-mers"
73 +HOMEPAGE="http://i.cs.hku.hk/~alse/hkubrg/projects/idba_ud"
74 +EGIT_REPO_URI="https://github.com/loneknightpy/idba.git"
75 +
76 +LICENSE="GPL-2+"
77 +SLOT="0"
78 +KEYWORDS=""
79 +IUSE=""
80 +
81 +DEPEND=""
82 +RDEPEND="${DEPEND}"
83 +
84 +src_prepare(){
85 + find . -name Makefile.in | while read f; do \
86 + sed -e 's/-Wall -O3//' -i $f || die
87 + done
88 + default
89 +}
90 +
91 +src_install(){
92 + default
93 + # https://github.com/loneknightpy/idba/issues/23
94 + rm "${D}"/usr/bin/scan.py "${D}"/usr/bin/run-unittest.py || die
95 + rm bin/test bin/*.o bin/Makefile* || die # avoid file collision
96 + dobin bin/*
97 +}
98
99 diff --git a/sci-biology/idba/metadata.xml b/sci-biology/idba/metadata.xml
100 new file mode 100644
101 index 0000000..f68a1b6
102 --- /dev/null
103 +++ b/sci-biology/idba/metadata.xml
104 @@ -0,0 +1,12 @@
105 +<?xml version="1.0" encoding="UTF-8"?>
106 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
107 +<pkgmetadata>
108 + <maintainer type="person">
109 + <email>mmokrejs@×××××××××××××××.cz</email>
110 + <name>Martin Mokrejs</name>
111 + </maintainer>
112 + <maintainer type="project">
113 + <email>sci-biology@g.o</email>
114 + <name>Gentoo Biology Project</name>
115 + </maintainer>
116 +</pkgmetadata>