sci-biology/rebase: Version Bump
authorJustin Lecher <jlec@gentoo.org>
Mon, 27 Feb 2017 20:56:47 +0000 (20:56 +0000)
committerJustin Lecher <jlec@gentoo.org>
Mon, 27 Feb 2017 20:56:47 +0000 (20:56 +0000)
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Signed-off-by: Justin Lecher <jlec@gentoo.org>
sci-biology/rebase/Manifest
sci-biology/rebase/rebase-1703.ebuild [new file with mode: 0644]

index 78e5ed56678d0457ba0741363940dea4dd8e0bb6..25a0097b757ab37b53f2b336fe0f4b7c382f2d91 100644 (file)
@@ -1,2 +1,3 @@
 DIST rebase-1701.tar.xz 120604368 SHA256 cc8cf90f874dcb179b9f7654780ff783066fa6a67fffb90d6ac08d2917fa671b SHA512 1833db9d78508bbd5317f9b42b0e8129096f1695d5a14d5e2b6043bc94091a76ac404c576ad622be4e32c46aff7975a7ec3e36c3da71ce3ce1665868ee0d77cb WHIRLPOOL 641b755b92e8aa9ca2d9a69760d0414a95f38512fa235a9856a953398d5ab0c853bb4743f6790aada1d90f968bfaa76c0651aadea842fff9700941c506a29ecd
 DIST rebase-1702.tar.xz 117583312 SHA256 f010388af45a58c9f40270240c65fd5a82a1fce27b1f1eb0d1fbe4b3ffd20966 SHA512 3bba0738840b966a0a58123f265de1951428c599f3af9c581e1becec17ba3a93233a231de0673dbb2dc0bb82d54096e0eed43846967bf232f412bb785ce3b23f WHIRLPOOL 70aeede45b1795fc8cc634675381d4458b32445016139d17ac5b9951cf2ff54bbc0fa50d91bf49bbed19d250553275e3c1b15cf0de5149e36d3e1567c74031ec
+DIST rebase-1703.tar.xz 122252304 SHA256 dbd5fa2751b693b1babcef9c69a6f7a9e539550aeea712c569dcc0f9a93998e3 SHA512 838bf5e09073ff8520403d955a8195298def1d792d1fd3044e7c8896c6202a0340c1e96dbe80e85c5801cd3be3ed63f19488101cca02d46cdf5f1d0521ede796 WHIRLPOOL b42693781f5faa8a2dbd15204d8f1fc2dc08fb233fa536bd3c0405799059b830c8be214d34f54e2645c8c20e7bd1359882167d175a5026a8acbea29b4f00208c
diff --git a/sci-biology/rebase/rebase-1703.ebuild b/sci-biology/rebase/rebase-1703.ebuild
new file mode 100644 (file)
index 0000000..f241bea
--- /dev/null
@@ -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 ~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
+}