summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2007-08-20 17:25:03 +0000
committerOlivier Fisette <ribosome@gentoo.org>2007-08-20 17:25:03 +0000
commit231a0e37de915405ccf5df9b810ca48fab3bf96d (patch)
treea9b34bca92c75fe51f1ba3586895b3d5be6d0626 /sci-biology/rebase
parentThe Czech linguas variable is cs, not cz. Thanks to Mr_Bones_ for pointing i... (diff)
downloadgentoo-2-231a0e37de915405ccf5df9b810ca48fab3bf96d.tar.gz
gentoo-2-231a0e37de915405ccf5df9b810ca48fab3bf96d.tar.bz2
gentoo-2-231a0e37de915405ccf5df9b810ca48fab3bf96d.zip
New upstream version.
(Portage version: 2.1.2.11)
Diffstat (limited to 'sci-biology/rebase')
-rw-r--r--sci-biology/rebase/ChangeLog7
-rw-r--r--sci-biology/rebase/files/digest-rebase-7083
-rw-r--r--sci-biology/rebase/rebase-708.ebuild44
3 files changed, 53 insertions, 1 deletions
diff --git a/sci-biology/rebase/ChangeLog b/sci-biology/rebase/ChangeLog
index 72d3462e469d..d2f125044506 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.85 2007/07/18 01:03:53 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.86 2007/08/20 17:25:03 ribosome Exp $
+
+*rebase-708 (20 Aug 2007)
+
+ 20 Aug 2007; Olivier Fisette <ribosome@gentoo.org> +rebase-708.ebuild:
+ New upstream version.
18 Jul 2007; Olivier Fisette <ribosome@gentoo.org> -rebase-704.ebuild,
-rebase-705.ebuild:
diff --git a/sci-biology/rebase/files/digest-rebase-708 b/sci-biology/rebase/files/digest-rebase-708
new file mode 100644
index 000000000000..a9dc9fb61ae9
--- /dev/null
+++ b/sci-biology/rebase/files/digest-rebase-708
@@ -0,0 +1,3 @@
+MD5 0d52f71a759f4bd9c31aa27f9edc3f7c rebase-708.tar.bz2 185379
+RMD160 7a70c90cec198e0bc60bb7d16d00a9080b5d11c0 rebase-708.tar.bz2 185379
+SHA256 0031da580a808a096ca596b27ec0fb1167128272d030332031b901b00115c305 rebase-708.tar.bz2 185379
diff --git a/sci-biology/rebase/rebase-708.ebuild b/sci-biology/rebase/rebase-708.ebuild
new file mode 100644
index 000000000000..629da51a1150
--- /dev/null
+++ b/sci-biology/rebase/rebase-708.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-708.ebuild,v 1.1 2007/08/20 17:25:03 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
+}