Gentoo Archives: gentoo-commits

From: "Andrey Kislyuk (weaver)" <weaver@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-biology/vienna-rna: metadata.xml ChangeLog vienna-rna-1.8.3.ebuild vienna-rna-1.4.ebuild vienna-rna-1.7.0.ebuild
Date: Thu, 10 Sep 2009 18:43:03
Message-Id: E1Mlobl-0004Oa-Gz@stork.gentoo.org
1 weaver 09/09/10 18:43:01
2
3 Modified: metadata.xml ChangeLog
4 Added: vienna-rna-1.8.3.ebuild
5 Removed: vienna-rna-1.4.ebuild vienna-rna-1.7.0.ebuild
6 Log:
7 Version bump and cleanup
8 (Portage version: 2.2_rc30/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.5 sci-biology/vienna-rna/metadata.xml
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/metadata.xml?rev=1.5&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/metadata.xml?rev=1.5&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/metadata.xml?r1=1.4&r2=1.5
16
17 Index: metadata.xml
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/metadata.xml,v
20 retrieving revision 1.4
21 retrieving revision 1.5
22 diff -u -r1.4 -r1.5
23 --- metadata.xml 6 Aug 2008 15:06:58 -0000 1.4
24 +++ metadata.xml 10 Sep 2009 18:43:01 -0000 1.5
25 @@ -19,10 +19,4 @@
26 (Shapiro and Zhang 1990). Finally, we provide an algorithm to design
27 sequences with a predefined structure (inverse folding).
28 </longdescription>
29 -<use>
30 - <flag name='no-readseq'>Do not include the modified version of Don Gilbert's
31 - readseq program</flag>
32 - <flag name='no-utils'>Do not include sequence format conversion and
33 - representation utilities</flag>
34 -</use>
35 </pkgmetadata>
36
37
38
39 1.21 sci-biology/vienna-rna/ChangeLog
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/ChangeLog?rev=1.21&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/ChangeLog?rev=1.21&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/ChangeLog?r1=1.20&r2=1.21
44
45 Index: ChangeLog
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v
48 retrieving revision 1.20
49 retrieving revision 1.21
50 diff -u -r1.20 -r1.21
51 --- ChangeLog 30 Jul 2009 08:31:01 -0000 1.20
52 +++ ChangeLog 10 Sep 2009 18:43:01 -0000 1.21
53 @@ -1,6 +1,12 @@
54 # ChangeLog for sci-biology/vienna-rna
55 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
56 -# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.20 2009/07/30 08:31:01 ssuominen Exp $
57 +# $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/ChangeLog,v 1.21 2009/09/10 18:43:01 weaver Exp $
58 +
59 +*vienna-rna-1.8.3 (10 Sep 2009)
60 +
61 + 10 Sep 2009; Andrey Kislyuk <weaver@g.o>
62 + +files/vienna-rna-1.8.3-gcc4.3.patch, +vienna-rna-1.8.3.ebuild:
63 + Version bump and cleanup
64
65 30 Jul 2009; Samuli Suominen <ssuominen@g.o>
66 vienna-rna-1.7.2.ebuild, +files/vienna-rna-1.7.2-gcc4.4.patch:
67
68
69
70 1.1 sci-biology/vienna-rna/vienna-rna-1.8.3.ebuild
71
72 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.8.3.ebuild?rev=1.1&view=markup
73 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.8.3.ebuild?rev=1.1&content-type=text/plain
74
75 Index: vienna-rna-1.8.3.ebuild
76 ===================================================================
77 # Copyright 1999-2009 Gentoo Foundation
78 # Distributed under the terms of the GNU General Public License v2
79 # $Header: /var/cvsroot/gentoo-x86/sci-biology/vienna-rna/vienna-rna-1.8.3.ebuild,v 1.1 2009/09/10 18:43:01 weaver Exp $
80
81 EAPI="2"
82
83 inherit toolchain-funcs multilib autotools perl-module
84
85 DESCRIPTION="The Vienna RNA Package - RNA secondary structure prediction and comparison"
86 LICENSE="vienna-rna"
87 HOMEPAGE="http://www.tbi.univie.ac.at/~ivo/RNA"
88 SRC_URI="http://www.tbi.univie.ac.at/~ivo/RNA/ViennaRNA-${PV}.tar.gz"
89
90 SLOT="0"
91 IUSE=""
92 KEYWORDS="~amd64 ~x86 ~ppc"
93
94 DEPEND="dev-lang/perl
95 media-libs/gd"
96 RDEPEND="${DEPEND}"
97
98 S="${WORKDIR}/ViennaRNA-${PV}"
99
100 PATCHES=(
101 "${FILESDIR}"/${PN}-1.6.5-c-fixes.patch
102 "${FILESDIR}"/${PN}-1.7.2-LDFLAGS.patch
103 "${FILESDIR}"/${P}-gcc4.3.patch
104 "${FILESDIR}"/${P}-disable-gd.patch
105 )
106
107 src_prepare() {
108 base_src_prepare
109 sed -i 's/ getline/ v_getline/' Readseq/ureadseq.c || die
110 eautoreconf
111 (cd RNAforester; eautoreconf)
112 }
113
114 src_configure() {
115 econf --with-cluster || die "Configuration failed."
116 sed -e "s:LIBDIR = /usr/lib:LIBDIR = ${D}/usr/$(get_libdir):" \
117 -e "s:INCDIR = /usr/include:INCDIR = ${D}/usr/include:" \
118 -i RNAforester/g2-0.70/Makefile \
119 || die "Failed patching RNAForester build system."
120 sed -e "s:CC=cc:CC=$(tc-getCC):" -e "s:CFLAGS=:CFLAGS=${CFLAGS}:" \
121 -i Readseq/Makefile || die "Failed patching readseq Makefile."
122 }
123
124 src_compile() {
125 emake || die "Compilation failed."
126 emake -C Readseq || die "Failed to compile readseq."
127 # TODO: Add (optional?) support for the NCBI toolkit.
128 }
129
130 src_test() {
131 cd "${S}"/Perl && emake check || die "Perl tests failed"
132 cd "${S}"/Readseq && emake test || die "Readseq tests failed"
133 }
134
135 src_install() {
136 make install DESTDIR="${D}" || die "Installation failed."
137 dodoc AUTHORS ChangeLog NEWS README THANKS \
138 || die "Failed to install documentation."
139 newbin Readseq/readseq readseq-vienna \
140 || die "Installing readseq failed."
141 dodoc Readseq/Readseq.help || die \
142 "Readseq Documentation installation failed."
143 newdoc Readseq/Readme README.readseq && \
144 newdoc Readseq/Formats Formats.readseq \
145 || die "Installing readseq Readme failed."
146
147 # remove perlocal.pod to avoid file collisions (see #240358)
148 fixlocalpod || die "Failed to remove perlocal.pod"
149 }