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