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: Fri, 30 Oct 2015 12:04:13
Message-Id: 1446206629.84136fd808ec7489b2ea12eec251197d248b6330.jlec@gentoo
1 commit: 84136fd808ec7489b2ea12eec251197d248b6330
2 Author: Justin Lecher <jlec <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 30 08:27:57 2015 +0000
4 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 30 12:03:49 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=84136fd8
7
8 sci-biology/rebase: Version Bump
9
10 Package-Manager: portage-2.2.23
11 Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>
12
13 sci-biology/rebase/Manifest | 1 +
14 sci-biology/rebase/rebase-1511.ebuild | 46 +++++++++++++++++++++++++++++++++++
15 2 files changed, 47 insertions(+)
16
17 diff --git a/sci-biology/rebase/Manifest b/sci-biology/rebase/Manifest
18 index e385613..7bc8b26 100644
19 --- a/sci-biology/rebase/Manifest
20 +++ b/sci-biology/rebase/Manifest
21 @@ -1,3 +1,4 @@
22 DIST rebase-1508.tar.xz 69944352 SHA256 579ef686b0efea32d88633f85411da9c1396572eec0d20bd163ca7bf615c7b04 SHA512 d5dc9eb704ce28ab7951ab2a8781de76dcbd7a4b6d6c6634abcd36766c8dce77b6d8a712789fe6293a6ddc66cd9103e17121b0ff52f0d3fbabfc5bf47c2f2100 WHIRLPOOL f082a3096cef636a61a176d3d3fe5b993bc83e3b332d134ebc20201d21f2f66e3400ffc5d561018c63fb3201c5fc0862126a32c17c5c96f118859b62a618d341
23 DIST rebase-1509.tar.xz 81228428 SHA256 ffad3955197850b4383bf7b96278af357cb99bec129e7a00d7d601e76868870b SHA512 2d9f90c24ab977b29a1e1e790966f48274691375ab5f4b7a4f37c1e62dc8bd4d0b4409475e9b97bb63e3f481066f8407efc4d1314ee24c836f60b53d736d77ed WHIRLPOOL ab86576f037d142a285f3830f88e5b750a52f79c90f35bd117695a5de125c753747329522b1f514c503ff7e28e8aaaa2298bff3379f134db06fc270ec7364a52
24 DIST rebase-1510.tar.xz 90412200 SHA256 0a33a34003c95f65d8ec8bbf11907bccad47d0bdddc39030a663df5ef2922f87 SHA512 c76b42df5a5bc64a951693b35a8664195a0fb1b84bdd64f80e8986a705ca1279e51c324153a83272ecb9b3dfb3fd565cb43c2b25c9e37655767c278e6320590e WHIRLPOOL 238841844c19ad028147a4a5a366a219e405b1ae1d0ae79767775518a0ecdabe37948a260724e4053af183ad00799c60da21d57dae84cdc6859e19a04aac314a
25 +DIST rebase-1511.tar.xz 95276416 SHA256 e8b0686ad02d15d833febf5f353cb66febfccb730fb7e92968b05739d8d4a494 SHA512 b7998763a092389be8d5eb4b9c59a7297859d4f03be6a4c3933288d5407fe1b64268d6fb03b7df0604ad0801991937ee345c2f932c9621ea7bab4d68c9c59261 WHIRLPOOL 53ce94b77fb5b1557b790bad48064066833f6800ebef29a33f80e3fa6b8dbf0666443dc0301521e88d4e9f38579011edc37979f12b95cd84ea8afb07f7e8ffc7
26
27 diff --git a/sci-biology/rebase/rebase-1511.ebuild b/sci-biology/rebase/rebase-1511.ebuild
28 new file mode 100644
29 index 0000000..1bfa8ba
30 --- /dev/null
31 +++ b/sci-biology/rebase/rebase-1511.ebuild
32 @@ -0,0 +1,46 @@
33 +# Copyright 1999-2015 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +# $Id$
36 +
37 +EAPI=5
38 +
39 +MY_PV=${PV#1}
40 +
41 +DESCRIPTION="A restriction enzyme database"
42 +HOMEPAGE="http://rebase.neb.com"
43 +SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz"
44 +
45 +SLOT="0"
46 +LICENSE="public-domain"
47 +KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
48 +IUSE="emboss minimal"
49 +
50 +RDEPEND="emboss? ( >=sci-biology/emboss-5.0.0 )"
51 +DEPEND="${RDEPEND}"
52 +
53 +RESTRICT="binchecks strip"
54 +
55 +src_compile() {
56 + if use emboss; then
57 + echo; einfo "Indexing Rebase for usage with EMBOSS."
58 + mkdir REBASE || die
59 + EMBOSS_DATA="." rebaseextract -auto -infile withrefm.${MY_PV} \
60 + -protofile proto.${MY_PV} -equivalences \
61 + || die "Indexing Rebase failed."
62 + echo
63 + fi
64 +}
65 +
66 +src_install() {
67 + if ! use minimal; then
68 + insinto /usr/share/${PN}
69 + doins withrefm.${MY_PV} proto.${MY_PV}
70 + fi
71 + newdoc REBASE.DOC README
72 + if use emboss; then
73 + insinto /usr/share/EMBOSS/data/REBASE
74 + doins REBASE/embossre.{enz,ref,sup}
75 + insinto /usr/share/EMBOSS/data
76 + doins REBASE/embossre.equ
77 + fi
78 +}