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: Mon, 31 Aug 2015 06:46:47
Message-Id: 1441003598.39f6bffbab1688bd69b7ba2d103eb7a95d569fe8.jlec@gentoo
1 commit: 39f6bffbab1688bd69b7ba2d103eb7a95d569fe8
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 31 06:42:28 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 31 06:46:38 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39f6bffb
7
8 sci-biology/rebase: Version Bump
9
10 Package-Manager: portage-2.2.20.1
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-biology/rebase/Manifest | 1 +
14 sci-biology/rebase/rebase-1509.ebuild | 46 +++++++++++++++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/sci-biology/rebase/Manifest b/sci-biology/rebase/Manifest
18 index 632fbeb..9e63de1 100644
19 --- a/sci-biology/rebase/Manifest
20 +++ b/sci-biology/rebase/Manifest
21 @@ -1,2 +1,3 @@
22 DIST rebase-1507.tar.xz 68538212 SHA256 87880a3f8cd49f537abf0a3d3fe00dca928ab5299cfd436351a279051f358efe SHA512 9fcb61d0f53f227485ecdaa86709b3fb7c20d8a430c456d2c24f68154691028709358d8dc25d4be2662d368e3cdd13d15eb316342dfb0f1aa8447b3742b80375 WHIRLPOOL f8cfc127890e17529d557f69c20be7ad90cd9e01ff9e112d41bb8c88359f7310744977253e8f82c71301ef1ea449f2e4cee9189e3b552edc242ab1033dca0b5e
23 DIST rebase-1508.tar.xz 69944352 SHA256 579ef686b0efea32d88633f85411da9c1396572eec0d20bd163ca7bf615c7b04 SHA512 d5dc9eb704ce28ab7951ab2a8781de76dcbd7a4b6d6c6634abcd36766c8dce77b6d8a712789fe6293a6ddc66cd9103e17121b0ff52f0d3fbabfc5bf47c2f2100 WHIRLPOOL f082a3096cef636a61a176d3d3fe5b993bc83e3b332d134ebc20201d21f2f66e3400ffc5d561018c63fb3201c5fc0862126a32c17c5c96f118859b62a618d341
24 +DIST rebase-1509.tar.xz 81228428 SHA256 ffad3955197850b4383bf7b96278af357cb99bec129e7a00d7d601e76868870b SHA512 2d9f90c24ab977b29a1e1e790966f48274691375ab5f4b7a4f37c1e62dc8bd4d0b4409475e9b97bb63e3f481066f8407efc4d1314ee24c836f60b53d736d77ed WHIRLPOOL ab86576f037d142a285f3830f88e5b750a52f79c90f35bd117695a5de125c753747329522b1f514c503ff7e28e8aaaa2298bff3379f134db06fc270ec7364a52
25
26 diff --git a/sci-biology/rebase/rebase-1509.ebuild b/sci-biology/rebase/rebase-1509.ebuild
27 new file mode 100644
28 index 0000000..1bfa8ba
29 --- /dev/null
30 +++ b/sci-biology/rebase/rebase-1509.ebuild
31 @@ -0,0 +1,46 @@
32 +# Copyright 1999-2015 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 +}