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/rebase: ChangeLog rebase-808.ebuild
Date: Wed, 27 Aug 2008 14:58:54
Message-Id: E1KYMTz-0006hG-9f@stork.gentoo.org
1 ribosome 08/08/27 14:58:51
2
3 Modified: ChangeLog
4 Added: rebase-808.ebuild
5 Log:
6 New upstream version.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.87 sci-biology/rebase/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/rebase/ChangeLog?rev=1.87&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/rebase/ChangeLog?rev=1.87&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/rebase/ChangeLog?r1=1.86&r2=1.87
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v
19 retrieving revision 1.86
20 retrieving revision 1.87
21 diff -u -r1.86 -r1.87
22 --- ChangeLog 20 Aug 2007 17:25:03 -0000 1.86
23 +++ ChangeLog 27 Aug 2008 14:58:50 -0000 1.87
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-biology/rebase
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.86 2007/08/20 17:25:03 ribosome Exp $
28 +# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.87 2008/08/27 14:58:50 ribosome Exp $
30 +
31 +*rebase-808 (27 Aug 2008)
32 +
33 + 27 Aug 2008; Olivier Fisette <ribosome@g.o> +rebase-808.ebuild:
34 + New upstream version.
35
36 *rebase-708 (20 Aug 2007)
37
38
39
40
41 1.1 sci-biology/rebase/rebase-808.ebuild
42
43 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/rebase/rebase-808.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/rebase/rebase-808.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rebase-808.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/rebase/rebase-808.ebuild,v 1.1 2008/08/27 14:58:50 ribosome Exp $
51
52 DESCRIPTION="A restriction enzyme database"
53 LICENSE="public-domain"
54 HOMEPAGE="http://rebase.neb.com"
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-5.0.0 )"
64
65 src_compile() {
66 if use emboss; then
67 echo; einfo "Indexing Rebase for usage with EMBOSS."
68 mkdir REBASE
69 EMBOSS_DATA="." rebaseextract -auto -infile withrefm.${PV} \
70 -protofile proto.${PV} -equivalences \
71 || die "Indexing Rebase failed."
72 echo
73 fi
74 }
75
76 src_install() {
77 if ! use minimal; then
78 insinto /usr/share/${PN}
79 doins withrefm.${PV} proto.${PV} || die \
80 "Failed to install raw database."
81 fi
82 newdoc REBASE.DOC README || die "Failed to install documentation."
83 if use emboss; then
84 insinto /usr/share/EMBOSS/data/REBASE
85 doins REBASE/embossre.{enz,ref,sup} || die \
86 "Failed to install EMBOSS data files."
87 insinto /usr/share/EMBOSS/data
88 doins REBASE/embossre.equ \
89 || die "Failed to install enzyme prototypes file."
90 fi
91 }