commit:     96e97480355ca042f2b728d33ea12aeb7550c25b
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Fri Dec  9 20:40:42 2016 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Fri Dec  9 20:40:58 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96e97480

sci-biology/rebase: Version Bump

Package-Manager: portage-2.3.3
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 sci-biology/rebase/Manifest           |  1 +
 sci-biology/rebase/rebase-1612.ebuild | 46 +++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/sci-biology/rebase/Manifest b/sci-biology/rebase/Manifest
index c89b185..167568e 100644
--- a/sci-biology/rebase/Manifest
+++ b/sci-biology/rebase/Manifest
@@ -4,3 +4,4 @@ DIST rebase-1607.tar.xz 111124484 SHA256 
2d795db3cc8cf7ff22eda983334e480b9c7b61c
 DIST rebase-1608.tar.xz 113417576 SHA256 
ce8872adbe09c756af4bded43bde43e45d82b14642454fad05da8deef271bb81 SHA512 
989d353cb9d73039d6c08805c4d32dbef1bdd37683f4c2ead5fa4889eae05bf3bdba54214d199b87961d8ace4d950f21dbc749e955867f8c6ccac766c7a06520
 WHIRLPOOL 
bc89aa9230680ac08d3c17f7068bb45cb28dbf45038ffda5c2b4660fe366cdc32376ca32439953a2faa7524c6a5c4811a124288b85cf8320ef324458e3957d70
 DIST rebase-1609.tar.xz 140865364 SHA256 
0799f4a1dae79eaea6629425f6dae104951b94777dc58866adceb4277c577f51 SHA512 
3a06a67c7df78f3eb6214dece1f2045ce2610cf34efc8f9eb34b97ca2aa818ea9b52124da1b44895a5a53ec45b19bb78f0cc036b2053e28f1cb72087cd42ad35
 WHIRLPOOL 
fcd5ff5674465cab269dbe8c4f7e5c2c33f6b3b2a515e3f1c1a8c8b60fc68ecca1f48ea4c363ce52b77ddfd50e8fc9c22aad69b7ebc190ccdcfcd2b52d3bc27b
 DIST rebase-1611.tar.xz 117976252 SHA256 
fcfe506c8f018b8d7b43c5f87e4125310e43d2d2ea5f3ea6b3523f9d23ae7d1c SHA512 
33287d497e399a7cfb8e7dc6e2b905553303b4b8dce49066eafc3f48cac47e9e3fd8c8736a7a0352ed5fd5da39aca220ed59884f887a5588cedc2d5e56b6e764
 WHIRLPOOL 
52758d6017e0725bd2f84cb2cd4f16b3965a21f45a664ed71078d50b95a64664239936a605052bc3b34ef67e70cb96fd5b1e2005bdc699be9cff9f919b197734
+DIST rebase-1612.tar.xz 122519992 SHA256 
eb94346564c43244c5959b5948fe59f0ebe9e2590978f1ec8787a3395e918368 SHA512 
3936749465f828d1b5922b4c75635a678e2e865cef88084d819291227bd1404e56edbc208e986a7373c32ff0172709cfcb8c4343f8512fbdacf39666f97c5026
 WHIRLPOOL 
729aa68437b48e3bcbaaf3747feaaf7090a612d2a05658a28ca74b8c58b3227718b0ca9d17a9d5caba42ba02cb6d11fe8bc34796bf385a8310bed2aecae20985

diff --git a/sci-biology/rebase/rebase-1612.ebuild 
b/sci-biology/rebase/rebase-1612.ebuild
new file mode 100644
index 00000000..47f2e43
--- /dev/null
+++ b/sci-biology/rebase/rebase-1612.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+MY_PV=${PV#1}
+
+DESCRIPTION="A restriction enzyme database"
+HOMEPAGE="http://rebase.neb.com";
+SRC_URI="https://dev.gentoo.org/~jlec/distfiles/${P}.tar.xz";
+
+SLOT="0"
+LICENSE="public-domain"
+KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris 
~x86-solaris"
+IUSE="emboss minimal"
+
+RDEPEND="emboss? ( >=sci-biology/emboss-5.0.0 )"
+DEPEND="${RDEPEND}"
+
+RESTRICT="binchecks strip"
+
+src_compile() {
+       if use emboss; then
+               echo; einfo "Indexing Rebase for usage with EMBOSS."
+               mkdir REBASE || die
+               EMBOSS_DATA="." rebaseextract -auto -infile withrefm.${MY_PV} \
+                               -protofile proto.${MY_PV} -equivalences \
+                               || die "Indexing Rebase failed."
+               echo
+       fi
+}
+
+src_install() {
+       if ! use minimal; then
+               insinto /usr/share/${PN}
+               doins withrefm.${MY_PV} proto.${MY_PV}
+       fi
+       newdoc REBASE.DOC README
+       if use emboss; then
+               insinto /usr/share/EMBOSS/data/REBASE
+               doins REBASE/embossre.{enz,ref,sup}
+               insinto /usr/share/EMBOSS/data
+               doins REBASE/embossre.equ
+       fi
+}

Reply via email to