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

diff --git a/sci-biology/aaindex/ChangeLog b/sci-biology/aaindex/ChangeLog
new file mode 100644 (file)
index 0000000..e001193
--- /dev/null
@@ -0,0 +1,26 @@
+# ChangeLog for app-sci/aaindex
+# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/aaindex/ChangeLog,v 1.1 2004/12/23 21:18:02 ribosome Exp $
+
+*aaindex-6.0 (23 Dec 2004)
+
+  23 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+  +aaindex-6.0.ebuild:
+  Moved from app-sci/aaindex to sci-biology/aaindex.
+
+  2 Nov 2004; Lina Pezzella <j4rg0n@gentoo.org> aaindex-6.0.ebuild:
+  Keyworded ~ppc-macos.
+
+  10 Aug 2004; Olivier Fisette <ribosome@gentoo.org> aaindex-6.0.ebuild:
+  Added to x86.
+
+  26 Jun 2004; David Holm <dholm@gentoo.org> aaindex-6.0.ebuild:
+  Added to ~ppc.
+
+*aaindex-6.0 (24 Jun 2004)
+
+  24 Jun 2004; Olivier Fisette <ribosome@gentoo.org>
+  aaindex-6.0.ebuild, metadata.xml :
+  Initial import.  Ebuild submitted by Olivier Fisette <ribosome@gentoo.org>.
+  Reference: Gentoo Bugzilla, bug #54319
+
diff --git a/sci-biology/aaindex/Manifest b/sci-biology/aaindex/Manifest
new file mode 100644 (file)
index 0000000..08f9384
--- /dev/null
@@ -0,0 +1,4 @@
+MD5 7e5d46b17d8c21057a79e39196f8acf3 ChangeLog 707
+MD5 2c646aebfcfeb537ca42ac037069708a aaindex-6.0.ebuild 1441
+MD5 d508af45f2137bf67613eb18d9f6f831 metadata.xml 1310
+MD5 cd3e50367768bef809d98048504b43d6 files/digest-aaindex-6.0 278
diff --git a/sci-biology/aaindex/aaindex-6.0.ebuild b/sci-biology/aaindex/aaindex-6.0.ebuild
new file mode 100644 (file)
index 0000000..731b6d0
--- /dev/null
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/aaindex/aaindex-6.0.ebuild,v 1.1 2004/12/23 21:18:02 ribosome Exp $
+
+DESCRIPTION="Amino acid indices and similarity matrices"
+HOMEPAGE="http://www.genome.ad.jp/${PN}/"
+SRC_URI="ftp://ftp.genome.ad.jp/pub/db/genomenet/${PN}/${PN}.doc
+       ftp://ftp.genome.ad.jp/pub/db/genomenet/${PN}/${PN}1
+       ftp://ftp.genome.ad.jp/pub/db/genomenet/${PN}/${PN}2
+       ftp://ftp.genome.ad.jp/pub/db/genomenet/${PN}/list_of_matrices
+       ftp://ftp.genome.ad.jp/pub/db/genomenet/${PN}/list_of_indices"
+LICENSE="public-domain"
+SLOT="0"
+KEYWORDS="x86 ~ppc ~ppc-macos"
+IUSE="no-emboss no-rawdb"
+
+S=${WORKDIR}
+
+src_unpack() {
+       einfo "No archive to unpack."
+}
+
+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/aaindexextract ] && ! use no-emboss; then
+               mkdir AAINDEX
+               einfo "Indexing AAindex for usage with EMBOSS."
+               EMBOSS_DATA=. aaindexextract -auto -infile ${DISTDIR}/${PN}1 || die \
+                       "Indexing AAindex failed."
+       fi
+}
+
+src_install() {
+       if ! use no-rawdb; then
+               insinto /usr/share/${PN}
+               doins ${DISTDIR}/{${PN}{1,2},list_of_{matrices,indices}}
+       fi
+       dodoc ${DISTDIR}/${PN}.doc
+       if [ -e /usr/bin/aaindexextract ] && ! use no-emboss; then
+               insinto /usr/share/EMBOSS/data/AAINDEX
+               doins AAINDEX/*
+       fi
+}
diff --git a/sci-biology/aaindex/files/digest-aaindex-6.0 b/sci-biology/aaindex/files/digest-aaindex-6.0
new file mode 100644 (file)
index 0000000..c864f17
--- /dev/null
@@ -0,0 +1,5 @@
+MD5 313ec8e18370195b58a95e6524c858ff aaindex.doc 6190
+MD5 90b5841a3d3c077b3e6b1ebb7781265b aaindex1 428020
+MD5 9ea0047f2727adf76285fc296d51594a aaindex2 195457
+MD5 74abb4c58caa1cb917b407cd6d05a18c list_of_matrices 6900
+MD5 4146e937362ee420ea32544ea2c8df2a list_of_indices 37549
diff --git a/sci-biology/aaindex/metadata.xml b/sci-biology/aaindex/metadata.xml
new file mode 100644 (file)
index 0000000..9845c31
--- /dev/null
@@ -0,0 +1,26 @@
+<?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>
+               Amino acid indices and similarity matrices maintained at Kyoto
+               University. An amino acid index is a set of 20 numerical values
+               representing any of the different physicochemical and biological
+               properties of amino acids.  The AAindex1 section of the Amino Acid
+               Index Database is a collection of published indices together with the
+               result of cluster analysis using the correlation coefficient as the
+               distance between two indices.  This section currently contains 494
+               indices. Another important feature of amino acids that can be
+               represented numerically is the similarity between amino acids.  Thus, a
+               similarity matrix, also called a mutation matrix, is a set of 210
+               numerical values, 20 diagonal and 20x19/2 off-diagonal elements, used
+               for sequence alignments and similarity searches.  The AAindex2 section
+               of the Amino Acid Index Database is a collection of published amino
+               acid mutation matrices together with the result of cluster analysis.
+               This section currently contains 83 matrices.
+       </longdescription>
+</pkgmetadata>