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-1104.ebuild ChangeLog
Date: Fri, 01 Apr 2011 06:43:01
Message-Id: 20110401064250.E745020054@flycatcher.gentoo.org
1 jlec 11/04/01 06:42:50
2
3 Modified: ChangeLog
4 Added: rebase-1104.ebuild
5 Log:
6 Version Bump
7
8 (Portage version: 2.2.0_alpha29/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.103 sci-biology/rebase/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/ChangeLog?rev=1.103&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/ChangeLog?rev=1.103&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/ChangeLog?r1=1.102&r2=1.103
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v
20 retrieving revision 1.102
21 retrieving revision 1.103
22 diff -u -r1.102 -r1.103
23 --- ChangeLog 11 Mar 2011 07:04:22 -0000 1.102
24 +++ ChangeLog 1 Apr 2011 06:42:50 -0000 1.103
25 @@ -1,6 +1,11 @@
26 # ChangeLog for sci-biology/rebase
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.102 2011/03/11 07:04:22 jlec Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.103 2011/04/01 06:42:50 jlec Exp $
30 +
31 +*rebase-1104 (01 Apr 2011)
32 +
33 + 01 Apr 2011; Justin Lecher <jlec@g.o> +rebase-1104.ebuild:
34 + Version Bump
35
36 *rebase-1103 (11 Mar 2011)
37
38
39
40
41 1.1 sci-biology/rebase/rebase-1104.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/rebase-1104.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/rebase-1104.ebuild?rev=1.1&content-type=text/plain
45
46 Index: rebase-1104.ebuild
47 ===================================================================
48 # Copyright 1999-2011 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/rebase-1104.ebuild,v 1.1 2011/04/01 06:42:50 jlec Exp $
51
52 EAPI="3"
53
54 MY_PV=${PV#1}
55
56 DESCRIPTION="A restriction enzyme database"
57 HOMEPAGE="http://rebase.neb.com"
58 SRC_URI="
59 mirror://gentoo/${P}.tar.xz
60 http://dev.gentoo.org/~jlec/distfiles/${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 LICENSE="public-domain"
67 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris"
68
69 RDEPEND="emboss? ( >=sci-biology/emboss-5.0.0 )"
70 DEPEND="${RDEPEND}"
71
72 RESTRICT="binchecks strip"
73
74 src_compile() {
75 if use emboss; then
76 echo; einfo "Indexing Rebase for usage with EMBOSS."
77 mkdir REBASE
78 EMBOSS_DATA="." rebaseextract -auto -infile withrefm.${MY_PV} \
79 -protofile proto.${MY_PV} -equivalences \
80 || die "Indexing Rebase failed."
81 echo
82 fi
83 }
84
85 src_install() {
86 if ! use minimal; then
87 insinto /usr/share/${PN}
88 doins withrefm.${MY_PV} proto.${MY_PV} || die \
89 "Failed to install raw database."
90 fi
91 newdoc REBASE.DOC README || die "Failed to install documentation."
92 if use emboss; then
93 insinto /usr/share/EMBOSS/data/REBASE
94 doins REBASE/embossre.{enz,ref,sup} || die \
95 "Failed to install EMBOSS data files."
96 insinto /usr/share/EMBOSS/data
97 doins REBASE/embossre.equ \
98 || die "Failed to install enzyme prototypes file."
99 fi
100 }