From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-biology/rebase: ChangeLog rebase-1106.ebuild |
Date: | Wed, 01 Jun 2011 06:38:13 |
Message-Id: | 20110601063800.4DCB520054@flycatcher.gentoo.org |
1 | jlec 11/06/01 06:38:00 |
2 | |
3 | Modified: ChangeLog |
4 | Added: rebase-1106.ebuild |
5 | Log: |
6 | Version Bump |
7 | |
8 | (Portage version: 2.2.0_alpha37/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.105 sci-biology/rebase/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/ChangeLog?rev=1.105&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/ChangeLog?rev=1.105&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/ChangeLog?r1=1.104&r2=1.105 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v |
20 | retrieving revision 1.104 |
21 | retrieving revision 1.105 |
22 | diff -u -r1.104 -r1.105 |
23 | --- ChangeLog 30 Apr 2011 11:00:42 -0000 1.104 |
24 | +++ ChangeLog 1 Jun 2011 06:38:00 -0000 1.105 |
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.104 2011/04/30 11:00:42 jlec Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-biology/rebase/ChangeLog,v 1.105 2011/06/01 06:38:00 jlec Exp $ |
30 | + |
31 | +*rebase-1106 (01 Jun 2011) |
32 | + |
33 | + 01 Jun 2011; Justin Lecher <jlec@g.o> +rebase-1106.ebuild: |
34 | + Version Bump |
35 | |
36 | *rebase-1105 (30 Apr 2011) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 sci-biology/rebase/rebase-1106.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/rebase-1106.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-biology/rebase/rebase-1106.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: rebase-1106.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-1106.ebuild,v 1.1 2011/06/01 06:38:00 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 | } |