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/diamond/
Date: Sun, 01 Apr 2018 20:46:59
Message-Id: 1522615598.71cdc2ea8a2ce9b5fbf6aaf315c1d7c7016805b9.mmokrejs@gentoo
1 commit: 71cdc2ea8a2ce9b5fbf6aaf315c1d7c7016805b9
2 Author: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
3 AuthorDate: Sun Apr 1 20:46:38 2018 +0000
4 Commit: Martin Mokrejs <mmokrejs <AT> fold <DOT> natur <DOT> cuni <DOT> cz>
5 CommitDate: Sun Apr 1 20:46:38 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=71cdc2ea
7
8 sci-biology/diamond: new package
9
10 Do not know if the SSE instruction calls can be protected
11 with CPU_FLAGS or similar. See page 2 in diamond_manual.pdf .
12
13 Package-Manager: Portage-2.3.27, Repoman-2.3.9
14
15 sci-biology/diamond/diamond-0.9.19.ebuild | 27 +++++++++++++++++++++++++++
16 sci-biology/diamond/metadata.xml | 12 ++++++++++++
17 2 files changed, 39 insertions(+)
18
19 diff --git a/sci-biology/diamond/diamond-0.9.19.ebuild b/sci-biology/diamond/diamond-0.9.19.ebuild
20 new file mode 100644
21 index 000000000..fde9b9080
22 --- /dev/null
23 +++ b/sci-biology/diamond/diamond-0.9.19.ebuild
24 @@ -0,0 +1,27 @@
25 +# Copyright 1999-2018 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=6
29 +
30 +inherit toolchain-funcs cmake-utils
31 +
32 +DESCRIPTION="Alternative of blastp/blastx searches using DNA short reads through protein db"
33 +HOMEPAGE="http://ab.inf.uni-tuebingen.de/software/diamond
34 + https://github.com/bbuchfink/diamond"
35 +SRC_URI="https://github.com/bbuchfink/diamond/archive/v${PV}.tar.gz"
36 +# EGIT_REPO_URI="https://github.com/bbuchfink/diamond.git"
37 +
38 +LICENSE="AGPL-3" # diamond_manual.pdf says AGPL but src/COPYING used to say BSD?
39 +SLOT="0"
40 +KEYWORDS="~amd64 ~x86"
41 +IUSE=""
42 +# uses SSE instructions, SSSE3 and POPCNT
43 +
44 +DEPEND=""
45 +RDEPEND="${DEPEND}"
46 +
47 +# use cmake -DBUILD_STATIC=ON to create a statically linked binary
48 +src_install(){
49 + cmake-utils_src_install
50 + dodoc README.rst diamond_manual.pdf
51 +}
52
53 diff --git a/sci-biology/diamond/metadata.xml b/sci-biology/diamond/metadata.xml
54 new file mode 100644
55 index 000000000..138cb7705
56 --- /dev/null
57 +++ b/sci-biology/diamond/metadata.xml
58 @@ -0,0 +1,12 @@
59 +<?xml version="1.0" encoding="UTF-8"?>
60 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
61 +<pkgmetadata>
62 + <maintainer type="person">
63 + <email>mmokrejs@×××××××××××××××.cz</email>
64 + <name>Martin Mokrejs</name>
65 + </maintainer>
66 + <maintainer type="project">
67 + <email>sci-biology@g.o</email>
68 + <name>Gentoo Biology Project</name>
69 + </maintainer>
70 +</pkgmetadata>