Moved from app-sci/prints to sci-biology/prints.
authorOlivier Fisette <ribosome@gentoo.org>
Thu, 23 Dec 2004 21:21:48 +0000 (21:21 +0000)
committerOlivier Fisette <ribosome@gentoo.org>
Thu, 23 Dec 2004 21:21:48 +0000 (21:21 +0000)
sci-biology/prints/ChangeLog [new file with mode: 0644]
sci-biology/prints/Manifest [new file with mode: 0644]
sci-biology/prints/files/digest-prints-37.0 [new file with mode: 0644]
sci-biology/prints/metadata.xml [new file with mode: 0644]
sci-biology/prints/prints-37.0.ebuild [new file with mode: 0644]

diff --git a/sci-biology/prints/ChangeLog b/sci-biology/prints/ChangeLog
new file mode 100644 (file)
index 0000000..dcb9016
--- /dev/null
@@ -0,0 +1,23 @@
+# ChangeLog for app-sci/prints
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/prints/ChangeLog,v 1.1 2004/12/23 21:21:48 ribosome Exp $
+
+*prints-37.0 (23 Dec 2004)
+
+  23 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+  +prints-37.0.ebuild:
+  Moved from app-sci/prints to sci-biology/prints.
+
+  10 Aug 2004; Olivier Fisette <ribosome@gentoo.org> prints-37.0.ebuild:
+  Added to x86.
+
+  26 Jun 2004; David Holm <dholm@gentoo.org> prints-37.0.ebuild:
+  Added to ~ppc.
+
+*prints-37.0 (24 Jun 2004)
+
+  24 Jun 2004; Olivier Fisette <ribosome@gentoo.org>
+  prints-37.0.ebuild, metadata.xml :
+  Initial import.  Ebuild submitted by Olivier Fisette <ribosome@gentoo.org>.
+  Reference: Gentoo Bugzilla, bug #54325
+
diff --git a/sci-biology/prints/Manifest b/sci-biology/prints/Manifest
new file mode 100644 (file)
index 0000000..b56d62f
--- /dev/null
@@ -0,0 +1,4 @@
+MD5 1c8d284adadedde34a18685c9c62e6a7 prints-37.0.ebuild 1406
+MD5 9ac779989e13cec1b5bd6b77ff3ead74 ChangeLog 614
+MD5 1ac1b9a7f4647c51e178fee97f2e8fa8 metadata.xml 876
+MD5 480ec57dbfe7db281e30726e6e1160bd files/digest-prints-37.0 365
diff --git a/sci-biology/prints/files/digest-prints-37.0 b/sci-biology/prints/files/digest-prints-37.0
new file mode 100644 (file)
index 0000000..660c4ee
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 8d15b420f8fb946085364b95550557c9 newpr.lis.gz 1446
+MD5 0b250e6966d83573609d6afe3f6442ce prints37_0.all.fasta.Z 19434403
+MD5 750992359d84739bf9d08894271c34ad prints37_0.dat.gz 7145345
+MD5 4b25791302554f8ea87358156b2b6b89 prints37_0.lis.gz 30354
+MD5 72215bb4d79ba0e2503ecb6614f74834 prints37_0.nam.gz 584
+MD5 2472d9ba65b3bfc4cd054f18d5b26a67 prints37_0.vsn.gz 73
diff --git a/sci-biology/prints/metadata.xml b/sci-biology/prints/metadata.xml
new file mode 100644 (file)
index 0000000..4d3ac3e
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer>
+               <email>ribosome@gentoo.org</email>
+               <name>Olivier Fisette</name>
+       </maintainer>
+       <herd>sci</herd>
+       <longdescription>
+               A protein motif fingerprint database maintained at the University of
+               Manchester. A fingerprint is a group of conserved motifs used to
+               characterise a protein family; its diagnostic power is refined by
+               iterative scanning of a SWISS-PROT/TrEMBL composite. Usually the motifs
+               do not overlap, but are separated along a sequence, though they may be
+               contiguous in 3D-space. Fingerprints can encode protein folds and
+               functionalities more flexibly and powerfully than can single motifs,
+               full diagnostic potency deriving from the mutual context provided by
+               motif neighbours.
+       </longdescription>
+</pkgmetadata>
diff --git a/sci-biology/prints/prints-37.0.ebuild b/sci-biology/prints/prints-37.0.ebuild
new file mode 100644 (file)
index 0000000..1a8d0bb
--- /dev/null
@@ -0,0 +1,40 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/prints/prints-37.0.ebuild,v 1.1 2004/12/23 21:21:48 ribosome Exp $
+
+DESCRIPTION="A protein motif fingerprint database"
+HOMEPAGE="http://www.bioinf.man.ac.uk/dbbrowser/PRINTS/"
+SRC_URI="ftp://ftp.ebi.ac.uk/pub/databases/${PN}/newpr.lis.gz
+       ftp://ftp.ebi.ac.uk/pub/databases/${PN}/${PN}37_0.all.fasta.Z
+       ftp://ftp.ebi.ac.uk/pub/databases/${PN}/${PN}37_0.dat.gz
+       ftp://ftp.ebi.ac.uk/pub/databases/${PN}/${PN}37_0.lis.gz
+       ftp://ftp.ebi.ac.uk/pub/databases/${PN}/${PN}37_0.nam.gz
+       ftp://ftp.ebi.ac.uk/pub/databases/${PN}/${PN}37_0.vsn.gz"
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="x86 ~ppc"
+IUSE="no-emboss no-rawdb"
+
+S=${WORKDIR}
+
+src_compile() {
+       # Index the database for use with emboss if emboss is installed and
+       # the user did not explicitly request not to index the database.
+       if [ -e /usr/bin/printsextract ] && ! use no-emboss; then
+               mkdir PRINTS
+               einfo "Indexing PRINTS for usage with EMBOSS."
+               EMBOSS_DATA=. printsextract -auto -infile prints37_0.dat || die \
+                       "Indexing PRINTS failed."
+       fi
+}
+
+src_install() {
+       if ! use no-rawdb; then
+               insinto /usr/share/${PN}
+               doins ${PN}37_0.{all.fasta,dat,lis,nam,vsn} newpr.lis
+       fi
+       if [ -e /usr/bin/printsextract ] && ! use no-emboss; then
+               insinto /usr/share/EMBOSS/data/PRINTS
+               doins PRINTS/*
+       fi
+}