summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2018-12-30 20:05:15 +0000
committerJustin Lecher <jlec@gentoo.org>2018-12-31 09:44:05 +0000
commit932a89023ff2348ea6db521bc3a4faacc38854b2 (patch)
tree21ea14de8169862608cfefa868de91137b000b0d /sci-biology/rebase
parentsci-libs/cholmod: Update HOMPAGE (diff)
downloadgentoo-932a89023ff2348ea6db521bc3a4faacc38854b2.tar.gz
gentoo-932a89023ff2348ea6db521bc3a4faacc38854b2.tar.bz2
gentoo-932a89023ff2348ea6db521bc3a4faacc38854b2.zip
sci-biology/rebase: Version Bump
Package-Manager: Portage-2.3.53, Repoman-2.3.12 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-1901.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/sci-biology/rebase/Manifest b/sci-biology/rebase/Manifest
index 0d935c9e58ca..175ef0c271ab 100644
--- a/sci-biology/rebase/Manifest
+++ b/sci-biology/rebase/Manifest
@@ -5,3 +5,4 @@ DIST rebase-1704.tar.xz 124351900 BLAKE2B bdbda714cc07f744b56c83b80a1b0f0a724a99
DIST rebase-1803.tar.xz 152581448 BLAKE2B 7907f0aee9e202f062f5ec4b5e4a112cd0fb3900b3d65dc57ffe4832c5aac088f50c2661f1b9c1bb8b57e7b4f6d453bec2899b460383d06b4e679da13e92aad2 SHA512 ab718e87c33c975bc6a93d3c6be130c9751612b744dc5451bcfde5c10d3d9d68ed4a4d921fff1f48063bfa2e9f3c8a016d4e5e0afa4eb7e4131511767608534b
DIST rebase-1806.tar.xz 161844712 BLAKE2B 901167b502b85e88eaa9a8886c5ccac8bf1ec16a7736694b90f896bd4d87ae3792d09f6b154118a6063e30b94a5633b37a7811aefc1d39467d0043d887aeb64a SHA512 9c9c0ef89c8f8e43516c052a06395d61c423b53a79553ceccd992bf72872ece44696091c11c816213b93532aac54a476fe87475f4f67baaa87bc50f64e847d48
DIST rebase-1810.tar.xz 173538148 BLAKE2B 4630d6a2addbb95e70cff73c8f81552545c81be2893dd9f38d19d8bc2fd7ecf4340441498187b654a05012d4dafbd5ad0634e3281f7aed1ee61618308a2325a5 SHA512 641ed61b14970e9804e98abab4e982aeaff378638730964ba162dffacea1c5869e4b1202462f422307d039e1bc6053403c801273f1ca9021c38f29e68a7bfae2
+DIST rebase-1901.tar.xz 182532548 BLAKE2B 5ac8d26ab057bcd21dc9c57abeb226ac70cfabb156b48a51f820789626257be55bb21c9eb2099e6e55b1cfe3691480df0ec9b3f4b18b50ba2712b986c6d057b4 SHA512 1e3553e59c3520190754cb40bb0900e466d9ffd206e6460d3262a7d7d2af8aab0e28f3e60187665362824fa3730211c0e2119016ce5fed49095f9de46c7f25d4
diff --git a/sci-biology/rebase/rebase-1901.ebuild b/sci-biology/rebase/rebase-1901.ebuild
new file mode 100644
index 000000000000..f85a4b1698bb
--- /dev/null
+++ b/sci-biology/rebase/rebase-1901.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+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
+}