summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2017-01-02 11:01:11 +0000
committerJustin Lecher <jlec@gentoo.org>2017-01-02 11:02:34 +0000
commit76a382082cec100c21daf2d0bd6c4a39878a76dc (patch)
treeeaa6b611782b048e0d5d180b699927440b6be54e /sci-biology
parentsci-libs/coot-data: Update HOMEPAGE & Bump EAPI (diff)
downloadgentoo-76a382082cec100c21daf2d0bd6c4a39878a76dc.tar.gz
gentoo-76a382082cec100c21daf2d0bd6c4a39878a76dc.tar.bz2
gentoo-76a382082cec100c21daf2d0bd6c4a39878a76dc.zip
sci-biology/rebase: Version Bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'sci-biology')
-rw-r--r--sci-biology/rebase/Manifest1
-rw-r--r--sci-biology/rebase/rebase-1701.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/sci-biology/rebase/Manifest b/sci-biology/rebase/Manifest
index 167568e2ac7c..c298e33d0d41 100644
--- a/sci-biology/rebase/Manifest
+++ b/sci-biology/rebase/Manifest
@@ -5,3 +5,4 @@ DIST rebase-1608.tar.xz 113417576 SHA256 ce8872adbe09c756af4bded43bde43e45d82b14
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
+DIST rebase-1701.tar.xz 120604368 SHA256 cc8cf90f874dcb179b9f7654780ff783066fa6a67fffb90d6ac08d2917fa671b SHA512 1833db9d78508bbd5317f9b42b0e8129096f1695d5a14d5e2b6043bc94091a76ac404c576ad622be4e32c46aff7975a7ec3e36c3da71ce3ce1665868ee0d77cb WHIRLPOOL 641b755b92e8aa9ca2d9a69760d0414a95f38512fa235a9856a953398d5ab0c853bb4743f6790aada1d90f968bfaa76c0651aadea842fff9700941c506a29ecd
diff --git a/sci-biology/rebase/rebase-1701.ebuild b/sci-biology/rebase/rebase-1701.ebuild
new file mode 100644
index 000000000000..bc634babe48e
--- /dev/null
+++ b/sci-biology/rebase/rebase-1701.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2017 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
+}