New upstream version.
authorOlivier Fisette <ribosome@gentoo.org>
Wed, 11 Apr 2007 01:15:11 +0000 (01:15 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Wed, 11 Apr 2007 01:15:11 +0000 (01:15 +0000)
Package-Manager: portage-2.1.2.2

sci-biology/prosite/ChangeLog
sci-biology/prosite/files/digest-prosite-20.9 [new file with mode: 0644]
sci-biology/prosite/prosite-20.9.ebuild [new file with mode: 0644]
sci-biology/rebase/ChangeLog
sci-biology/rebase/files/digest-rebase-704 [new file with mode: 0644]
sci-biology/rebase/rebase-704.ebuild [new file with mode: 0644]

index a3fa8706e60a84e9147694ee9b4db12ec12cb2a5..288200a888f34814dd4e47525e1d319ed82d8383 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sci-biology/prosite
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/ChangeLog,v 1.94 2006/12/12 20:11:35 ribosome Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/ChangeLog,v 1.95 2007/04/11 01:13:26 ribosome Exp $
+
+*prosite-20.9 (11 Apr 2007)
+
+  11 Apr 2007; Olivier Fisette <ribosome@gentoo.org> +prosite-20.9.ebuild:
+  New upstream version.
 
 *prosite-20.1 (12 Dec 2006)
 
diff --git a/sci-biology/prosite/files/digest-prosite-20.9 b/sci-biology/prosite/files/digest-prosite-20.9
new file mode 100644 (file)
index 0000000..3e82253
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 bdec0ea9bcdad54b0d0fe51387124158 prosite-20.9.tar.bz2 5108913
+RMD160 8e68f488d4112809f54e1d559253c8bbad34ee53 prosite-20.9.tar.bz2 5108913
+SHA256 f00fded0cd67ea29ef0d40f1a1ef16ecb67b717acd7054a903355ad246478e02 prosite-20.9.tar.bz2 5108913
diff --git a/sci-biology/prosite/prosite-20.9.ebuild b/sci-biology/prosite/prosite-20.9.ebuild
new file mode 100644 (file)
index 0000000..5c7f808
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/prosite/prosite-20.9.ebuild,v 1.1 2007/04/11 01:13:26 ribosome Exp $
+
+DESCRIPTION="A protein families and domains database"
+LICENSE="swiss-prot"
+HOMEPAGE="http://ca.expasy.org/prosite"
+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-3.0.0 )"
+
+src_compile() {
+       if use emboss; then
+               mkdir PROSITE
+               echo
+               einfo "Indexing PROSITE for usage with EMBOSS."
+               EMBOSS_DATA="." prosextract -auto -prositedir "${S}" || die \
+                       "Indexing PROSITE failed."
+               echo
+       fi
+}
+
+src_install() {
+       if ! use minimal; then
+               insinto /usr/share/${PN}
+               doins *.{doc,dat,lis} || die "Installing raw database failed."
+       fi
+       dodoc *.txt || die "Documentation installation failed."
+       dohtml *.htm || die "HTML documentation installation failed."
+       insinto /usr/share/doc/${PF}
+       doins *.pdf || die "PDF documentation installation failed."
+       if use emboss; then
+               insinto /usr/share/EMBOSS/data/PROSITE
+               doins PROSITE/* || die "Installing EMBOSS data files failed."
+       fi
+}
index a4f274599604e7af94507c45456e7f9aa07ada48..f53ae8f0fd795bc02ee3f0c682f3f33f53abc79e 100644 (file)
@@ -1,6 +1,11 @@
 # ChangeLog for sci-biology/rebase
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.81 2006/12/12 20:14:51 ribosome Exp $
+# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.82 2007/04/11 01:15:11 ribosome Exp $
+
+*rebase-704 (11 Apr 2007)
+
+  11 Apr 2007; Olivier Fisette <ribosome@gentoo.org> +rebase-704.ebuild:
+  New upstream version.
 
 *rebase-612 (12 Dec 2006)
 
diff --git a/sci-biology/rebase/files/digest-rebase-704 b/sci-biology/rebase/files/digest-rebase-704
new file mode 100644 (file)
index 0000000..271b80e
--- /dev/null
@@ -0,0 +1,3 @@
+MD5 8a0f890d047b84ceda8f6668aff59537 rebase-704.tar.bz2 184563
+RMD160 5aad3fa03f17bf211d6097e795f81610d9045bc3 rebase-704.tar.bz2 184563
+SHA256 8d9792b315f07a62684962b4af79495b8c12397c49769a023d4ba79e17b851dd rebase-704.tar.bz2 184563
diff --git a/sci-biology/rebase/rebase-704.ebuild b/sci-biology/rebase/rebase-704.ebuild
new file mode 100644 (file)
index 0000000..b313ec7
--- /dev/null
@@ -0,0 +1,42 @@
+# 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-704.ebuild,v 1.1 2007/04/11 01:15:11 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-3.0.0-r1 )"
+
+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} || 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 embossre.equ || die "Failed to install enzyme prototypes file."
+       fi
+}