summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2017-02-19 21:03:31 +0000
committerJustin Lecher <jlec@gentoo.org>2017-02-19 21:03:45 +0000
commit9bad2cd4b5c42000945bb87e4b6b2a62a4de6a2d (patch)
tree944dfb00e43f0cb5f1c84303180b29842b176baa /sci-biology/rebase
parentmedia-fonts/sil-doulos: Remove old (diff)
downloadgentoo-9bad2cd4b5c42000945bb87e4b6b2a62a4de6a2d.tar.gz
gentoo-9bad2cd4b5c42000945bb87e4b6b2a62a4de6a2d.tar.bz2
gentoo-9bad2cd4b5c42000945bb87e4b6b2a62a4de6a2d.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/rebase')
-rw-r--r--sci-biology/rebase/Manifest1
-rw-r--r--sci-biology/rebase/rebase-1702.ebuild46
2 files changed, 47 insertions, 0 deletions
diff --git a/sci-biology/rebase/Manifest b/sci-biology/rebase/Manifest
index 8f095bcbb40c..78e5ed56678d 100644
--- a/sci-biology/rebase/Manifest
+++ b/sci-biology/rebase/Manifest
@@ -1 +1,2 @@
DIST rebase-1701.tar.xz 120604368 SHA256 cc8cf90f874dcb179b9f7654780ff783066fa6a67fffb90d6ac08d2917fa671b SHA512 1833db9d78508bbd5317f9b42b0e8129096f1695d5a14d5e2b6043bc94091a76ac404c576ad622be4e32c46aff7975a7ec3e36c3da71ce3ce1665868ee0d77cb WHIRLPOOL 641b755b92e8aa9ca2d9a69760d0414a95f38512fa235a9856a953398d5ab0c853bb4743f6790aada1d90f968bfaa76c0651aadea842fff9700941c506a29ecd
+DIST rebase-1702.tar.xz 117583312 SHA256 f010388af45a58c9f40270240c65fd5a82a1fce27b1f1eb0d1fbe4b3ffd20966 SHA512 3bba0738840b966a0a58123f265de1951428c599f3af9c581e1becec17ba3a93233a231de0673dbb2dc0bb82d54096e0eed43846967bf232f412bb785ce3b23f WHIRLPOOL 70aeede45b1795fc8cc634675381d4458b32445016139d17ac5b9951cf2ff54bbc0fa50d91bf49bbed19d250553275e3c1b15cf0de5149e36d3e1567c74031ec
diff --git a/sci-biology/rebase/rebase-1702.ebuild b/sci-biology/rebase/rebase-1702.ebuild
new file mode 100644
index 000000000000..f241beaf07b1
--- /dev/null
+++ b/sci-biology/rebase/rebase-1702.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 ~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
+}