Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-chemistry/openbabel-python: ChangeLog openbabel-python-2.3.1.ebuild openbabel-python-2.3.0.ebuild
Date: Sun, 04 Mar 2012 10:29:47
Message-Id: 20120304102938.9B30E2004B@flycatcher.gentoo.org
1 jlec 12/03/04 10:29:38
2
3 Modified: ChangeLog openbabel-python-2.3.0.ebuild
4 Added: openbabel-python-2.3.1.ebuild
5 Log:
6 Import Version Bump from sci overlay prepared by Reinis Danne; restrict pypy
7
8 (Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.8 sci-chemistry/openbabel-python/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/ChangeLog?rev=1.8&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/ChangeLog?rev=1.8&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/ChangeLog?r1=1.7&r2=1.8
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/ChangeLog,v
20 retrieving revision 1.7
21 retrieving revision 1.8
22 diff -u -r1.7 -r1.8
23 --- ChangeLog 14 Sep 2011 05:06:41 -0000 1.7
24 +++ ChangeLog 4 Mar 2012 10:29:38 -0000 1.8
25 @@ -1,6 +1,13 @@
26 # ChangeLog for sci-chemistry/openbabel-python
27 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/ChangeLog,v 1.7 2011/09/14 05:06:41 jlec Exp $
29 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/ChangeLog,v 1.8 2012/03/04 10:29:38 jlec Exp $
31 +
32 +*openbabel-python-2.3.1 (04 Mar 2012)
33 +
34 + 04 Mar 2012; Justin Lecher <jlec@g.o> openbabel-python-2.3.0.ebuild,
35 + +openbabel-python-2.3.1.ebuild,
36 + +files/openbabel-python-2.3.1-system_openbabel.patch:
37 + Import Version Bump from sci overlay prepared by Reinis Danne; restrict pypy
38
39 14 Sep 2011; Justin Lecher <jlec@g.o> openbabel-python-2.3.0.ebuild:
40 Corrected the right variable (DISTUTILS_SETUP_FILES) to an array, revert the
41
42
43
44 1.8 sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild?rev=1.8&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild?rev=1.8&content-type=text/plain
48 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild?r1=1.7&r2=1.8
49
50 Index: openbabel-python-2.3.0.ebuild
51 ===================================================================
52 RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild,v
53 retrieving revision 1.7
54 retrieving revision 1.8
55 diff -u -r1.7 -r1.8
56 --- openbabel-python-2.3.0.ebuild 14 Sep 2011 05:06:41 -0000 1.7
57 +++ openbabel-python-2.3.0.ebuild 4 Mar 2012 10:29:38 -0000 1.8
58 @@ -1,12 +1,12 @@
59 -# Copyright 1999-2011 Gentoo Foundation
60 +# Copyright 1999-2012 Gentoo Foundation
61 # Distributed under the terms of the GNU General Public License v2
62 -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild,v 1.7 2011/09/14 05:06:41 jlec Exp $
63 +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild,v 1.8 2012/03/04 10:29:38 jlec Exp $
64
65 EAPI="3"
66
67 PYTHON_DEPEND="2"
68 SUPPORT_PYTHON_ABIS="1"
69 -RESTRICT_PYTHON_ABIS="*-jython"
70 +RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
71 PYTHON_MODNAME="openbabel.py pybel.py"
72
73 inherit distutils eutils
74
75
76
77 1.1 sci-chemistry/openbabel-python/openbabel-python-2.3.1.ebuild
78
79 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.1.ebuild?rev=1.1&view=markup
80 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.1.ebuild?rev=1.1&content-type=text/plain
81
82 Index: openbabel-python-2.3.1.ebuild
83 ===================================================================
84 # Copyright 1999-2012 Gentoo Foundation
85 # Distributed under the terms of the GNU General Public License v2
86 # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.1.ebuild,v 1.1 2012/03/04 10:29:38 jlec Exp $
87
88 EAPI=4
89
90 PYTHON_DEPEND="2"
91 SUPPORT_PYTHON_ABIS="1"
92 RESTRICT_PYTHON_ABIS="*-jython *-pypy-*"
93 PYTHON_MODNAME="openbabel.py pybel.py"
94
95 inherit distutils eutils flag-o-matic
96
97 DESCRIPTION="Python bindings for OpenBabel (including Pybel)"
98 HOMEPAGE="http://openbabel.sourceforge.net/"
99 SRC_URI="mirror://sourceforge/openbabel/openbabel-${PV}.tar.gz"
100
101 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
102 SLOT="0"
103 LICENSE="GPL-2"
104 IUSE=""
105
106 RDEPEND="
107 dev-cpp/eigen:2
108 dev-libs/libxml2:2
109 !sci-chemistry/babel
110 ~sci-chemistry/openbabel-${PV}
111 sys-libs/zlib"
112 DEPEND="${RDEPEND}
113 >=dev-lang/swig-2"
114
115 S="${WORKDIR}"/openbabel-${PV}
116
117 DISTUTILS_SETUP_FILES=("scripts|python/setup.py")
118
119 src_prepare() {
120 epatch "${FILESDIR}"/${P}-system_openbabel.patch
121
122 sed \
123 -e "s:/usr:${EPREFIX}/usr:g" \
124 -i ./scripts/python/setup.py || die
125
126 swig -python -c++ -small -O -templatereduce -naturalvar \
127 -I"${EPREFIX}/usr/include/openbabel-2.0" \
128 -o scripts/python/openbabel-python.cpp \
129 -DHAVE_EIGEN2 \
130 -outdir scripts/python \
131 scripts/openbabel-python.i \
132 || die "Regeneration of openbabel-python.cpp failed"
133
134 append-cxxflags "$(pkg-config --cflags-only-I eigen2)"
135 }