summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2008-08-27 14:52:03 +0000
committerOlivier Fisette <ribosome@gentoo.org>2008-08-27 14:52:03 +0000
commit6bab4ee253dabe30ec15b8c90a7099ef9d011a4f (patch)
tree2dca8951901714ffb0339395e65da628bd6487b0 /sci-biology/cutg
parentVersion bump, thanks to notification from upstream (diff)
downloadhistorical-6bab4ee253dabe30ec15b8c90a7099ef9d011a4f.tar.gz
historical-6bab4ee253dabe30ec15b8c90a7099ef9d011a4f.tar.bz2
historical-6bab4ee253dabe30ec15b8c90a7099ef9d011a4f.zip
New upstream version.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sci-biology/cutg')
-rw-r--r--sci-biology/cutg/ChangeLog9
-rw-r--r--sci-biology/cutg/Manifest4
-rw-r--r--sci-biology/cutg/cutg-160.ebuild45
3 files changed, 55 insertions, 3 deletions
diff --git a/sci-biology/cutg/ChangeLog b/sci-biology/cutg/ChangeLog
index 241701414cc3..c1b7c6c604f0 100644
--- a/sci-biology/cutg/ChangeLog
+++ b/sci-biology/cutg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/cutg
-# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v 1.49 2006/12/10 18:55:06 ribosome Exp $
+# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v 1.50 2008/08/27 14:52:03 ribosome Exp $
+
+*cutg-160 (27 Aug 2008)
+
+ 27 Aug 2008; Olivier Fisette <ribosome@gentoo.org> +cutg-160.ebuild:
+ New upstream version.
10 Dec 2006; Olivier Fisette <ribosome@gentoo.org> -cutg-150.ebuild:
Pruned old version.
diff --git a/sci-biology/cutg/Manifest b/sci-biology/cutg/Manifest
index 9c999e2cc728..a1dfebac6700 100644
--- a/sci-biology/cutg/Manifest
+++ b/sci-biology/cutg/Manifest
@@ -1,4 +1,6 @@
DIST CUTG.151.tar.gz 165813396 RMD160 77a304321f1535af8bb6eff1ce5c8e559a64535c SHA1 0327ccf522d9e38ab6e261bb0e2077533bf1892b SHA256 8184ac1a99ba54791d4ca672d514daeafd7e6736e76524fbbd7b3930d7d8534f
+DIST cutg-160.tar.bz2 204801251 RMD160 fd942323dc92d456498f2f12abfaef5ee511723d SHA1 132b339a47f415c21b0a46eee4b83c9fcfbdd2e7 SHA256 8d5139a5f1441535296f2d5625b90863be0c26fabe703a01c290b1d91bae936f
EBUILD cutg-151.ebuild 1295 RMD160 d9f1f0fd111e6b581264b5ef9b49b65ad59f03e3 SHA1 9345c9c39d8e7cf4e7560edbd826a8c5e4005249 SHA256 721a8799721e2a6d223403b7b1932add2755a171d71fa2ebe3fa4a654ecfffb1
-MISC ChangeLog 6203 RMD160 498f7fbacfe10913831c78fc3c3203fc77caf0b3 SHA1 68fa5861fa0c21b4557e4285a55a94426b6813fa SHA256 59ddf602e094011d872a718554844de36ce9ac881a4f31f7cb951f249c12ac88
+EBUILD cutg-160.ebuild 1316 RMD160 0f3a16aa42a5beacc99634c1e34117b92eac9372 SHA1 de4cd0f3742924aa908668a5ccc188d01ee22ca8 SHA256 fbab2c170b1474b31d598d5b8e1c337bc7b5bcbe3cd6dea92b6caf573f84a5f7
+MISC ChangeLog 6324 RMD160 37d4c4a286988a3807909154f795fd1c5b897e69 SHA1 7eeed1f5ffe0dc96becae352a997574d1c91c034 SHA256 df32cfd3197e3c067acaa529944495cb5d75a1a1d9f0032183291ee34f324125
MISC metadata.xml 602 RMD160 0bfaf291f7a1ef2d7c7c3c56b307faeb2d73a14a SHA1 029a446c9375b8a243aa2ef848a6d73144495d81 SHA256 99510df8b62ab52d5ad0a72077f01df7e0e9ccaf374a3456e4a39fb9821aa46a
diff --git a/sci-biology/cutg/cutg-160.ebuild b/sci-biology/cutg/cutg-160.ebuild
new file mode 100644
index 000000000000..14b1de365d5d
--- /dev/null
+++ b/sci-biology/cutg/cutg-160.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/cutg-160.ebuild,v 1.1 2008/08/27 14:52:03 ribosome Exp $
+
+DESCRIPTION="Codon usage tables calculated from GenBank"
+LICENSE="public-domain"
+HOMEPAGE="http://www.kazusa.or.jp/codon/"
+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 )"
+
+src_compile() {
+ if use emboss; then
+ mkdir CODONS
+ echo
+ einfo "Indexing CUTG for usage with EMBOSS."
+ EMBOSS_DATA="." cutgextract -auto -directory "${S}" || die \
+ "Indexing CUTG failed."
+ echo
+ fi
+}
+
+src_install() {
+ if ! use minimal; then
+ mkdir -p "${D}"usr/share/${PN}
+ mv *.codon *.spsum "${D}"/usr/share/${PN} || die \
+ "Installing raw CUTG database failed."
+ fi
+ dodoc README CODON_LABEL SPSUM_LABEL || die \
+ "Failed to install documentation."
+ if use emboss; then
+ mkdir -p "${D}"/usr/share/EMBOSS/data/CODONS
+ cd CODONS
+ for file in *; do
+ mv ${file} "${D}"/usr/share/EMBOSS/data/CODONS || die \
+ "Installing the EMBOSS-indexed database failed."
+ done
+ fi
+}