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