Gentoo Archives: gentoo-commits

From: Justin Lecher <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-biology/rebase/
Date: Sat, 02 Apr 2016 10:10:05
Message-Id: 1459591796.e9cac45475fccd02e6d40c58fd876ca63b2e16f2.jlec@gentoo
1 commit: e9cac45475fccd02e6d40c58fd876ca63b2e16f2
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 2 10:09:36 2016 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 2 10:09:56 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9cac454
7
8 sci-biology/rebase: Version Bump
9
10 Package-Manager: portage-2.2.27
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-biology/rebase/Manifest | 1 +
14 sci-biology/rebase/rebase-1604.ebuild | 46 +++++++++++++++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/sci-biology/rebase/Manifest b/sci-biology/rebase/Manifest
18 index 3afe7ef..fdaa1df 100644
19 --- a/sci-biology/rebase/Manifest
20 +++ b/sci-biology/rebase/Manifest
21 @@ -1,2 +1,3 @@
22 DIST rebase-1601.tar.xz 99890720 SHA256 de0f7dd6cf831c52434e7434491b9c738c41aab51c8f8d91b243569f25209eb8 SHA512 a6e3faf7fc2eaf475605ed72db7f1cfdc4ba8c280f1650f723c5a664090ed64e7ac014012042c466d65edea8b2767bbcb0f38c3d5b69dbdb35e89cf0685c92ad WHIRLPOOL f06338c0d6ef59d7ac792f6f7fc48338b73d659614c0694109152fd33606174be6741cb662478f38e37e9622118de27c3c30c537b741b49e218f64973fe2c783
23 DIST rebase-1602.tar.xz 101007300 SHA256 26257dc10a6aba54024772956ae03e8530d4b2176db60dcc386427196a936d0b SHA512 7a00a11019124a835ef3d328c33cc4ab9d59665b3c929cf02a44bc09de8ca53185b939057705ee6ce79eeddc9ca9b8246582895b949dd38abe9066a380e3a2c9 WHIRLPOOL fac62146ab6ff09895cc9e4ece2b4869910c90c342051c5446085267585362adcc8a30af66a58d068d86c3eb6e7a37ceb32224a69114aa629a62a958fae09ed0
24 +DIST rebase-1604.tar.xz 102817536 SHA256 f234eadba5aa30573d664c9d9caab480ecbb383f0beab256e149296ee5d982ef SHA512 8ba6a24a8cf1b71a1ac2e0fb1634c0307d570af459fc940639046bd57362f3750e5f0390bcb7f3c7d2b924e1a5bf02825b5feb87a1f7d670d755f3b843df91a3 WHIRLPOOL 8ccaf435d7582fe1b86676037aaf7b0db742cd8d998a55d400f941a94e53731e1814028e1fed1be46f53bea702b570a1bffd73ba328ee06db17adcd731e3733c
25
26 diff --git a/sci-biology/rebase/rebase-1604.ebuild b/sci-biology/rebase/rebase-1604.ebuild
27 new file mode 100644
28 index 0000000..9adb365
29 --- /dev/null
30 +++ b/sci-biology/rebase/rebase-1604.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 1999-2016 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +# $Id$
35 +
36 +EAPI=5
37 +
38 +MY_PV=${PV#1}
39 +
40 +DESCRIPTION="A restriction enzyme database"
41 +HOMEPAGE="http://rebase.neb.com"
42 +SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
43 +
44 +SLOT="0"
45 +LICENSE="public-domain"
46 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
47 +IUSE="emboss minimal"
48 +
49 +RDEPEND="emboss? ( >=sci-biology/emboss-5.0.0 )"
50 +DEPEND="${RDEPEND}"
51 +
52 +RESTRICT="binchecks strip"
53 +
54 +src_compile() {
55 + if use emboss; then
56 + echo; einfo "Indexing Rebase for usage with EMBOSS."
57 + mkdir REBASE || die
58 + EMBOSS_DATA="." rebaseextract -auto -infile withrefm.${MY_PV} \
59 + -protofile proto.${MY_PV} -equivalences \
60 + || die "Indexing Rebase failed."
61 + echo
62 + fi
63 +}
64 +
65 +src_install() {
66 + if ! use minimal; then
67 + insinto /usr/share/${PN}
68 + doins withrefm.${MY_PV} proto.${MY_PV}
69 + fi
70 + newdoc REBASE.DOC README
71 + if use emboss; then
72 + insinto /usr/share/EMBOSS/data/REBASE
73 + doins REBASE/embossre.{enz,ref,sup}
74 + insinto /usr/share/EMBOSS/data
75 + doins REBASE/embossre.equ
76 + fi
77 +}