summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2018-03-10 16:48:03 +0000
committerJustin Lecher <jlec@gentoo.org>2018-03-11 21:27:37 +0000
commit18baf890ca547e8d885b8a9c4567d9858a7954d9 (patch)
tree50d69f8a5315694c54e36584a6dbfcdc45cbab8c /sci-biology/rebase
parentdev-util/rustfmt: bump to newer version (diff)
downloadgentoo-18baf890ca547e8d885b8a9c4567d9858a7954d9.tar.gz
gentoo-18baf890ca547e8d885b8a9c4567d9858a7954d9.tar.bz2
gentoo-18baf890ca547e8d885b8a9c4567d9858a7954d9.zip
sci-biology/rebase: Bump to latest release
Package-Manager: Portage-2.3.20, Repoman-2.3.6 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-1803.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/sci-biology/rebase/Manifest b/sci-biology/rebase/Manifest
index 1925b3f4b3e8..e27e133eac6e 100644
--- a/sci-biology/rebase/Manifest
+++ b/sci-biology/rebase/Manifest
@@ -2,3 +2,4 @@ DIST rebase-1701.tar.xz 120604368 BLAKE2B 1160f494b4e8650fb8ab9144756642377322a2
DIST rebase-1702.tar.xz 117583312 BLAKE2B 19089d5767c35da22fb95bac7bc030ef593b159dda04d512b053a84c1cb4947679c8304bcbcb9388256e92cb0056d16b1b2035efac6eae84831d6fa95bd41a2a SHA512 3bba0738840b966a0a58123f265de1951428c599f3af9c581e1becec17ba3a93233a231de0673dbb2dc0bb82d54096e0eed43846967bf232f412bb785ce3b23f
DIST rebase-1703.tar.xz 122252304 BLAKE2B 26afca990e300a5c471f55b1a168b1930212a347b70dd3224a51894bb701540a27a0384bd250caee8e0d0dd4886c6664ab74b20bcfb71fd42d1c73ebf2ce6be6 SHA512 838bf5e09073ff8520403d955a8195298def1d792d1fd3044e7c8896c6202a0340c1e96dbe80e85c5801cd3be3ed63f19488101cca02d46cdf5f1d0521ede796
DIST rebase-1704.tar.xz 124351900 BLAKE2B bdbda714cc07f744b56c83b80a1b0f0a724a990b200c615458852910f282761aaf37a312a388ec7fee94a62ead47e01ddca8b205f2ad05d780a299e7547206f7 SHA512 0e4019d41ccbae86b8cb1f6dfa4c34d3fccbe084a330f04f2fdb774186e35c761655e1619d9a90d444ea3bab0910df1b60cf9a249ee31d66a254d28dd6b32cc7
+DIST rebase-1803.tar.xz 152581448 BLAKE2B 7907f0aee9e202f062f5ec4b5e4a112cd0fb3900b3d65dc57ffe4832c5aac088f50c2661f1b9c1bb8b57e7b4f6d453bec2899b460383d06b4e679da13e92aad2 SHA512 ab718e87c33c975bc6a93d3c6be130c9751612b744dc5451bcfde5c10d3d9d68ed4a4d921fff1f48063bfa2e9f3c8a016d4e5e0afa4eb7e4131511767608534b
diff --git a/sci-biology/rebase/rebase-1803.ebuild b/sci-biology/rebase/rebase-1803.ebuild
new file mode 100644
index 000000000000..e9944bde30fb
--- /dev/null
+++ b/sci-biology/rebase/rebase-1803.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2018 Gentoo Foundation
+# 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
+}