summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Fisette <ribosome@gentoo.org>2005-06-25 21:32:58 +0000
committerOlivier Fisette <ribosome@gentoo.org>2005-06-25 21:32:58 +0000
commit6278f134b63b68ba913cc671f2c6f56cf1fac121 (patch)
tree6cdd18b3ee411dfd3f4955e7e0daf13970fb1dd7 /sci-biology/cutg
parent2.1_pre17-r1 x86 stable (diff)
downloadgentoo-2-6278f134b63b68ba913cc671f2c6f56cf1fac121.tar.gz
gentoo-2-6278f134b63b68ba913cc671f2c6f56cf1fac121.tar.bz2
gentoo-2-6278f134b63b68ba913cc671f2c6f56cf1fac121.zip
Trying to fix some ppc-macos bug reported in #96819.
(Portage version: 2.0.51.19)
Diffstat (limited to 'sci-biology/cutg')
-rw-r--r--sci-biology/cutg/ChangeLog7
-rw-r--r--sci-biology/cutg/Manifest4
-rw-r--r--sci-biology/cutg/cutg-147-r1.ebuild46
-rw-r--r--sci-biology/cutg/files/digest-cutg-147-r11
4 files changed, 56 insertions, 2 deletions
diff --git a/sci-biology/cutg/ChangeLog b/sci-biology/cutg/ChangeLog
index 1c3ef6873eb6..1a5d5ab40354 100644
--- a/sci-biology/cutg/ChangeLog
+++ b/sci-biology/cutg/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-biology/cutg
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v 1.17 2005/06/19 00:38:11 ribosome Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v 1.18 2005/06/25 21:32:58 ribosome Exp $
+
+*cutg-147-r1 (25 Jun 2005)
+
+ 25 Jun 2005; Olivier Fisette <ribosome@gentoo.org> +cutg-147-r1.ebuild:
+ Trying to fix some ppc-macos bug reported in #96819.
*cutg-147 (19 Jun 2005)
diff --git a/sci-biology/cutg/Manifest b/sci-biology/cutg/Manifest
index 3aaf8f3175f0..309d397359a7 100644
--- a/sci-biology/cutg/Manifest
+++ b/sci-biology/cutg/Manifest
@@ -1,8 +1,10 @@
MD5 218011b0693086b65af18f803aa313f9 cutg-146.ebuild 1169
+MD5 d3ba4337a2ffd6cc429e54e45cd1849d cutg-147-r1.ebuild 1284
MD5 954d02893953b8f9c904299f892979ce cutg-145.ebuild 1169
MD5 1d04a7e8db0c98196fc181a2474ade73 cutg-147.ebuild 1173
-MD5 ffa65a7d25f4d04a1fd57110ea330d34 ChangeLog 2809
+MD5 904526283798d2a6df81b2d5a0a968f9 ChangeLog 2967
MD5 d14f29edef39d8d89b39a5787c3d141c metadata.xml 594
+MD5 83fa71b1c66f960bfccd8e17201c09de files/digest-cutg-147-r1 63
MD5 9c6a185b26bf5647beb885860099151f files/digest-cutg-145 63
MD5 5de9ff1df8fe00fdf41b5b7c0db04fba files/digest-cutg-146 63
MD5 83fa71b1c66f960bfccd8e17201c09de files/digest-cutg-147 63
diff --git a/sci-biology/cutg/cutg-147-r1.ebuild b/sci-biology/cutg/cutg-147-r1.ebuild
new file mode 100644
index 000000000000..7597288688a0
--- /dev/null
+++ b/sci-biology/cutg/cutg-147-r1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/cutg-147-r1.ebuild,v 1.1 2005/06/25 21:32:58 ribosome Exp $
+
+DESCRIPTION="Codon usage tables calculated from GenBank"
+HOMEPAGE="http://www.kazusa.or.jp/codon/"
+SRC_URI="ftp://ftp.kazusa.or.jp/pub/codon/current/compressed/CUTG.${PV}.tar.gz"
+LICENSE="public-domain"
+
+SLOT="0"
+KEYWORDS="~ppc ~ppc-macos ~ppc64 ~x86"
+IUSE="emboss minimal"
+# Minimal build keeps only the indexed files (if applicable) and the documentation.
+# The non-indexed database is not installed.
+
+DEPEND="emboss? ( sci-biology/emboss )"
+
+S=${WORKDIR}
+
+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
+ 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
+}
diff --git a/sci-biology/cutg/files/digest-cutg-147-r1 b/sci-biology/cutg/files/digest-cutg-147-r1
new file mode 100644
index 000000000000..666d83858811
--- /dev/null
+++ b/sci-biology/cutg/files/digest-cutg-147-r1
@@ -0,0 +1 @@
+MD5 b2a7fd01f46cb72ad31b0129ed2dd54d CUTG.147.tar.gz 142239582