summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2007-07-18 00:56:28 +0000
committerOlivier Fisette <ribosome@gentoo.org>2007-07-18 00:56:28 +0000
commit09f0f0e35cdc27f28d59b837558bcc6fcd22a5b4 (patch)
tree84843234071c4afe3dc4f14fb4bbd62580b098bc /sci-biology/rebase
parentNew upstream version. (diff)
downloadgentoo-2-09f0f0e35cdc27f28d59b837558bcc6fcd22a5b4.tar.gz
gentoo-2-09f0f0e35cdc27f28d59b837558bcc6fcd22a5b4.tar.bz2
gentoo-2-09f0f0e35cdc27f28d59b837558bcc6fcd22a5b4.zip
New upstream version. Ebuild updated for EMBOSS 5.0.0.
(Portage version: 2.1.2.9)
Diffstat (limited to 'sci-biology/rebase')
-rw-r--r--sci-biology/rebase/ChangeLog7
-rw-r--r--sci-biology/rebase/files/digest-rebase-7073
-rw-r--r--sci-biology/rebase/rebase-707.ebuild44
3 files changed, 53 insertions, 1 deletions
diff --git a/sci-biology/rebase/ChangeLog b/sci-biology/rebase/ChangeLog
index 085c5ba0b8e9..173ab2d25638 100644
--- a/sci-biology/rebase/ChangeLog
+++ b/sci-biology/rebase/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/rebase
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.83 2007/05/22 00:51:52 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.84 2007/07/18 00:56:28 ribosome Exp $
+
+*rebase-707 (18 Jul 2007)
+
+ 18 Jul 2007; Olivier Fisette <ribosome@gentoo.org> +rebase-707.ebuild:
+ New upstream version. Ebuild updated for EMBOSS 5.0.0.
*rebase-705 (22 May 2007)
diff --git a/sci-biology/rebase/files/digest-rebase-707 b/sci-biology/rebase/files/digest-rebase-707
new file mode 100644
index 000000000000..3c7a000c0ff7
--- /dev/null
+++ b/sci-biology/rebase/files/digest-rebase-707
@@ -0,0 +1,3 @@
+MD5 dc3b473a035011031962003f5027fd39 rebase-707.tar.bz2 184790
+RMD160 1f6e7f2b7e9cdba5321162e5404159edb62a35b1 rebase-707.tar.bz2 184790
+SHA256 556015ce9eed286a9864a1f8d051447f0daf7c2e7141575330bd855b8451a7fe rebase-707.tar.bz2 184790
diff --git a/sci-biology/rebase/rebase-707.ebuild b/sci-biology/rebase/rebase-707.ebuild
new file mode 100644
index 000000000000..3602affd4b3b
--- /dev/null
+++ b/sci-biology/rebase/rebase-707.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/rebase-707.ebuild,v 1.1 2007/07/18 00:56:28 ribosome Exp $
+
+DESCRIPTION="A restriction enzyme database"
+LICENSE="public-domain"
+HOMEPAGE="http://rebase.neb.com"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+SLOT="0"
+# Minimal build keeps only the indexed files (if applicable) and the
+# documentation. The non-indexed database is not installed.
+IUSE="emboss minimal"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND="emboss? ( >=sci-biology/emboss-5.0.0 )"
+
+src_compile() {
+ if use emboss; then
+ echo; einfo "Indexing Rebase for usage with EMBOSS."
+ mkdir REBASE
+ EMBOSS_DATA="." rebaseextract -auto -infile withrefm.${PV} \
+ -protofile proto.${PV} -equivalences \
+ || die "Indexing Rebase failed."
+ echo
+ fi
+}
+
+src_install() {
+ if ! use minimal; then
+ insinto /usr/share/${PN}
+ doins withrefm.${PV} proto.${PV} || die \
+ "Failed to install raw database."
+ fi
+ newdoc REBASE.DOC README || die "Failed to install documentation."
+ if use emboss; then
+ insinto /usr/share/EMBOSS/data/REBASE
+ doins REBASE/embossre.{enz,ref,sup} || die \
+ "Failed to install EMBOSS data files."
+ insinto /usr/share/EMBOSS/data
+ doins REBASE/embossre.equ \
+ || die "Failed to install enzyme prototypes file."
+ fi
+}