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/arachne/
Date: Wed, 30 Mar 2016 20:25:03
Message-Id: 1459369343.c0c2589594db6900b277d68628ece4d62254e1ae.mmokrejs@gentoo
1 commit: c0c2589594db6900b277d68628ece4d62254e1ae
2 Author: Martin Mokrejš <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Wed Mar 30 20:22:23 2016 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Wed Mar 30 20:22:23 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c0c25895
7
8 sci-biology/arachne: new package; does not compile (upstream contacted) and the LICENSE is not exactly MIT?
9
10 Package-Manager: portage-2.2.28
11
12 sci-biology/arachne/arachne-46233.ebuild | 41 ++++++++++++++++++++++++++++++++
13 sci-biology/arachne/metadata.xml | 12 ++++++++++
14 2 files changed, 53 insertions(+)
15
16 diff --git a/sci-biology/arachne/arachne-46233.ebuild b/sci-biology/arachne/arachne-46233.ebuild
17 new file mode 100644
18 index 0000000..71fc0b8
19 --- /dev/null
20 +++ b/sci-biology/arachne/arachne-46233.ebuild
21 @@ -0,0 +1,41 @@
22 +# Copyright 1999-2016 Gentoo Foundation
23 +# Distributed under the terms of the GNU General Public License v2
24 +# $Id$
25 +
26 +EAPI=5
27 +
28 +DESCRIPTION="Whole genome shotgun assembler for Sanger read lengths (overlap-layout-contig)"
29 +HOMEPAGE="https://www.broadinstitute.org/crd/wiki
30 + http://genome.cshlp.org/content/12/1/177.abstract"
31 +SRC_URI="ftp://ftp.broadinstitute.org/pub/crd/ARACHNE/latest_source_code/${P}.tar.gz"
32 +
33 +LICENSE="MIT" # not exactly MIT ... hence no KEYWORDS
34 +SLOT="0"
35 +KEYWORDS=""
36 +IUSE="doc openmp"
37 +
38 +DEPEND="dev-libs/xerces-c
39 + doc? ( virtual/latex-base app-text/dvipsk )"
40 +RDEPEND="${DEPEND}"
41 +
42 +# needs >=g++-4.7 but does not compile with 5.3.0
43 +
44 +# --disable-openmp to disable requirement for OpenMP-capable compiler
45 +src_configure() {
46 + local myconf=()
47 + use openmp || myconf+=( --disable-openmp )
48 + econf ${myconf[@]}
49 +}
50 +
51 +# set the following environment variables
52 +# http://www.broadinstitute.org/crd/wiki/index.php/Setup
53 +#
54 +# ARACHNE_PRE
55 +# ARACHNE_BIN_DIR
56 +# ARACHNE_PRETTY_HELP
57 +
58 +pkg_postinst(){
59 + einfo "Please add these to your ~/.bashrc"
60 + einfo "limit stacksize 100000"
61 + einfo "limit datasize unlimited"
62 +}
63
64 diff --git a/sci-biology/arachne/metadata.xml b/sci-biology/arachne/metadata.xml
65 new file mode 100644
66 index 0000000..f68a1b6
67 --- /dev/null
68 +++ b/sci-biology/arachne/metadata.xml
69 @@ -0,0 +1,12 @@
70 +<?xml version="1.0" encoding="UTF-8"?>
71 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
72 +<pkgmetadata>
73 + <maintainer type="person">
74 + <email>mmokrejs@×××××××××××××××.cz</email>
75 + <name>Martin Mokrejs</name>
76 + </maintainer>
77 + <maintainer type="project">
78 + <email>sci-biology@g.o</email>
79 + <name>Gentoo Biology Project</name>
80 + </maintainer>
81 +</pkgmetadata>