Gentoo Archives: gentoo-commits

From: "Marcus Hanwell (cryos)" <cryos@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/openbabel: ChangeLog openbabel-2.2.2.ebuild
Date: Sat, 18 Jul 2009 15:40:44
Message-Id: E1MSC1i-0005UX-HJ@stork.gentoo.org
1 cryos 09/07/18 15:40:42
2
3 Modified: ChangeLog
4 Added: openbabel-2.2.2.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc33/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.26 sci-chemistry/openbabel/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/openbabel/ChangeLog?rev=1.26&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/openbabel/ChangeLog?rev=1.26&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/openbabel/ChangeLog?r1=1.25&r2=1.26
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel/ChangeLog,v
19 retrieving revision 1.25
20 retrieving revision 1.26
21 diff -u -r1.25 -r1.26
22 --- ChangeLog 13 Jun 2009 10:18:31 -0000 1.25
23 +++ ChangeLog 18 Jul 2009 15:40:42 -0000 1.26
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-chemistry/openbabel
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel/ChangeLog,v 1.25 2009/06/13 10:18:31 tove Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel/ChangeLog,v 1.26 2009/07/18 15:40:42 cryos Exp $
29 +
30 +*openbabel-2.2.2 (18 Jul 2009)
31 +
32 + 18 Jul 2009; Marcus D. Hanwell <cryos@g.o> +openbabel-2.2.2.ebuild:
33 + Version bump.
34
35 13 Jun 2009; Torsten Veller <tove@g.o> openbabel-2.2.1.ebuild:
36 Add missing die: "..." -> die "..."
37
38
39
40 1.1 sci-chemistry/openbabel/openbabel-2.2.2.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/openbabel/openbabel-2.2.2.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/openbabel/openbabel-2.2.2.ebuild?rev=1.1&content-type=text/plain
44
45 Index: openbabel-2.2.2.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel/openbabel-2.2.2.ebuild,v 1.1 2009/07/18 15:40:42 cryos Exp $
50
51 EAPI=1
52
53 inherit eutils
54
55 DESCRIPTION="interconverts file formats used in molecular modeling"
56 HOMEPAGE="http://openbabel.sourceforge.net/"
57 SRC_URI="mirror://sourceforge/openbabel/${P}.tar.gz"
58
59 KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
60 SLOT="0"
61 LICENSE="GPL-2"
62 IUSE="doc"
63
64 RDEPEND="!sci-chemistry/babel
65 >=dev-libs/libxml2-2.6.5
66 sys-libs/zlib"
67
68 DEPEND="${RDEPEND}
69 >=dev-libs/boost-1.33.1
70 dev-lang/perl
71 doc? ( app-doc/doxygen )"
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76 epatch "${FILESDIR}/${PN}-2.2.0-doxyfile.patch"
77 }
78
79 src_compile() {
80 econf \
81 --enable-static \
82 || die "econf failed"
83 emake || die "emake failed"
84 if use doc ; then
85 emake docs || die "make docs failed"
86 fi
87 }
88
89 src_test() {
90 emake check || die "make check failed"
91 }
92
93 src_install() {
94 emake DESTDIR="${D}" install || die "make install failed"
95 dodoc AUTHORS ChangeLog NEWS README THANKS
96 cd doc
97 dohtml *.html *.png
98 dodoc *.inc README* *.inc *.mol2
99 if use doc ; then
100 dodir /usr/share/doc/${PF}/API/html
101 insinto /usr/share/doc/${PF}/API/html
102 cd API/html
103 doins *
104 fi
105 }