Gentoo Archives: gentoo-commits

From: "Olivier Fisette (ribosome)" <ribosome@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/cutg: ChangeLog cutg-160.ebuild
Date: Wed, 27 Aug 2008 14:52:07
Message-Id: E1KYMNP-0006ce-Rj@stork.gentoo.org
1 ribosome 08/08/27 14:52:03
2
3 Modified: ChangeLog
4 Added: cutg-160.ebuild
5 Log:
6 New upstream version.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.50 sci-biology/cutg/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/cutg/ChangeLog?rev=1.50&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/cutg/ChangeLog?rev=1.50&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/cutg/ChangeLog?r1=1.49&r2=1.50
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v
19 retrieving revision 1.49
20 retrieving revision 1.50
21 diff -u -r1.49 -r1.50
22 --- ChangeLog 10 Dec 2006 18:55:06 -0000 1.49
23 +++ ChangeLog 27 Aug 2008 14:52:03 -0000 1.50
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-biology/cutg
26 -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v 1.49 2006/12/10 18:55:06 ribosome Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/ChangeLog,v 1.50 2008/08/27 14:52:03 ribosome Exp $
30 +
31 +*cutg-160 (27 Aug 2008)
32 +
33 + 27 Aug 2008; Olivier Fisette <ribosome@g.o> +cutg-160.ebuild:
34 + New upstream version.
35
36 10 Dec 2006; Olivier Fisette <ribosome@g.o> -cutg-150.ebuild:
37 Pruned old version.
38
39
40
41 1.1 sci-biology/cutg/cutg-160.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/cutg/cutg-160.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/cutg/cutg-160.ebuild?rev=1.1&content-type=text/plain
45
46 Index: cutg-160.ebuild
47 ===================================================================
48 # Copyright 1999-2008 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-biology/cutg/cutg-160.ebuild,v 1.1 2008/08/27 14:52:03 ribosome Exp $
51
52 DESCRIPTION="Codon usage tables calculated from GenBank"
53 LICENSE="public-domain"
54 HOMEPAGE="http://www.kazusa.or.jp/codon/"
55 SRC_URI="mirror://gentoo/${P}.tar.bz2"
56
57 SLOT="0"
58 # Minimal build keeps only the indexed files (if applicable) and the
59 # documentation. The non-indexed database is not installed.
60 IUSE="emboss minimal"
61 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
62
63 DEPEND="emboss? ( sci-biology/emboss )"
64
65 src_compile() {
66 if use emboss; then
67 mkdir CODONS
68 echo
69 einfo "Indexing CUTG for usage with EMBOSS."
70 EMBOSS_DATA="." cutgextract -auto -directory "${S}" || die \
71 "Indexing CUTG failed."
72 echo
73 fi
74 }
75
76 src_install() {
77 if ! use minimal; then
78 mkdir -p "${D}"usr/share/${PN}
79 mv *.codon *.spsum "${D}"/usr/share/${PN} || die \
80 "Installing raw CUTG database failed."
81 fi
82 dodoc README CODON_LABEL SPSUM_LABEL || die \
83 "Failed to install documentation."
84 if use emboss; then
85 mkdir -p "${D}"/usr/share/EMBOSS/data/CODONS
86 cd CODONS
87 for file in *; do
88 mv ${file} "${D}"/usr/share/EMBOSS/data/CODONS || die \
89 "Installing the EMBOSS-indexed database failed."
90 done
91 fi
92 }