Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/rebase: rebase-1006.ebuild ChangeLog rebase-909.ebuild
Date: Fri, 25 Jun 2010 09:09:08
Message-Id: 20100625090903.BF1962CF5B@corvid.gentoo.org
1 jlec 10/06/25 09:09:03
2
3 Modified: ChangeLog
4 Added: rebase-1006.ebuild
5 Removed: rebase-909.ebuild
6 Log:
7 Version Bump
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.94 sci-biology/rebase/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/ChangeLog?rev=1.94&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/ChangeLog?rev=1.94&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/ChangeLog?r1=1.93&r2=1.94
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v
20 retrieving revision 1.93
21 retrieving revision 1.94
22 diff -u -r1.93 -r1.94
23 --- ChangeLog 1 Jan 2010 21:41:53 -0000 1.93
24 +++ ChangeLog 25 Jun 2010 09:09:03 -0000 1.94
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-biology/rebase
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.93 2010/01/01 21:41:53 fauli Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.94 2010/06/25 09:09:03 jlec Exp $
30 +
31 +*rebase-1006 (25 Jun 2010)
32 +
33 + 25 Jun 2010; Justin Lecher <jlec@g.o> -rebase-909.ebuild,
34 + +rebase-1006.ebuild:
35 + Version Bump
36
37 01 Jan 2010; Christian Faulhammer <fauli@g.o> rebase-909.ebuild:
38 Transfer Prefix keywords
39
40
41
42 1.1 sci-biology/rebase/rebase-1006.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/rebase-1006.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/rebase-1006.ebuild?rev=1.1&content-type=text/plain
46
47 Index: rebase-1006.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/rebase-1006.ebuild,v 1.1 2010/06/25 09:09:03 jlec Exp $
52
53 EAPI="3"
54
55 MY_PV=${PV#1}
56
57 DESCRIPTION="A restriction enzyme database"
58 LICENSE="public-domain"
59 HOMEPAGE="http://rebase.neb.com"
60 SRC_URI="mirror://gentoo/${P}.tar.xz"
61
62 SLOT="0"
63 # Minimal build keeps only the indexed files (if applicable) and the
64 # documentation. The non-indexed database is not installed.
65 IUSE="emboss minimal"
66 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
67
68 RDEPEND="emboss? ( >=sci-biology/emboss-5.0.0 )"
69 DEPEND="${RDEPEND}
70 || ( app-arch/xz-utils app-arch/lzma-utils )"
71
72 src_compile() {
73 if use emboss; then
74 echo; einfo "Indexing Rebase for usage with EMBOSS."
75 mkdir REBASE
76 EMBOSS_DATA="." rebaseextract -auto -infile withrefm.${MY_PV} \
77 -protofile proto.${MY_PV} -equivalences \
78 || die "Indexing Rebase failed."
79 echo
80 fi
81 }
82
83 src_install() {
84 if ! use minimal; then
85 insinto /usr/share/${PN}
86 doins withrefm.${MY_PV} proto.${MY_PV} || die \
87 "Failed to install raw database."
88 fi
89 newdoc REBASE.DOC README || die "Failed to install documentation."
90 if use emboss; then
91 insinto /usr/share/EMBOSS/data/REBASE
92 doins REBASE/embossre.{enz,ref,sup} || die \
93 "Failed to install EMBOSS data files."
94 insinto /usr/share/EMBOSS/data
95 doins REBASE/embossre.equ \
96 || die "Failed to install enzyme prototypes file."
97 fi
98 }