summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-05-09 15:53:32 +0000
committerJustin Lecher <jlec@gentoo.org>2011-05-09 15:53:32 +0000
commitf252198ea2a55224e70fc39e79328e214548fe06 (patch)
treebcbd3e93a684c204658e6591cc677a17db8e231c /sci-chemistry/openbabel-python
parentBuild with gcc-4.6 Bug #366201 (diff)
downloadhistorical-f252198ea2a55224e70fc39e79328e214548fe06.tar.gz
historical-f252198ea2a55224e70fc39e79328e214548fe06.tar.bz2
historical-f252198ea2a55224e70fc39e79328e214548fe06.zip
Fix for Prefixed installation
Package-Manager: portage-2.2.0_alpha32/cvs/Linux x86_64
Diffstat (limited to 'sci-chemistry/openbabel-python')
-rw-r--r--sci-chemistry/openbabel-python/ChangeLog5
-rw-r--r--sci-chemistry/openbabel-python/Manifest20
-rw-r--r--sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild8
3 files changed, 15 insertions, 18 deletions
diff --git a/sci-chemistry/openbabel-python/ChangeLog b/sci-chemistry/openbabel-python/ChangeLog
index d05dca5118be..efc5cb32f939 100644
--- a/sci-chemistry/openbabel-python/ChangeLog
+++ b/sci-chemistry/openbabel-python/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sci-chemistry/openbabel-python
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/ChangeLog,v 1.4 2011/04/28 19:21:51 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/ChangeLog,v 1.5 2011/05/09 15:53:32 jlec Exp $
+
+ 09 May 2011; Justin Lecher <jlec@gentoo.org> openbabel-python-2.3.0.ebuild:
+ Fix for Prefixed installation
28 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
openbabel-python-2.3.0.ebuild,
diff --git a/sci-chemistry/openbabel-python/Manifest b/sci-chemistry/openbabel-python/Manifest
index 976164ac1f23..988222c232e2 100644
--- a/sci-chemistry/openbabel-python/Manifest
+++ b/sci-chemistry/openbabel-python/Manifest
@@ -6,23 +6,13 @@ AUX openbabel-python-2.3.0-swig.patch 887 RMD160 5fa3e9f6ee70c4f7ec542840cdf861a
AUX openbabel-python-2.3.0-system_openbabel.patch 529 RMD160 a1fd4653ad351cdd8b828497d63d9e80b33a9bd4 SHA1 c7bf439c46a912b78b9dcf3e5f7ac8b052677c0f SHA256 c8ae97e253ae2431418a2f06f0cb86c495ea05434062c391c09866af51ea609c
AUX openbabel-python-2.3.0-wrap_OBInternalCoord.patch 391 RMD160 d998f3b0cf238fdc925f5f1637630645232e956e SHA1 3a38395df0309b63368d841cba1255afda898133 SHA256 eae434b08f496d0c74b1f97b5b05df22075b11f048055efa902c9530d0f130d8
DIST openbabel-2.3.0.tar.gz 14321281 RMD160 96dafa3c2aca544f79e08b5617ab0da845c28a16 SHA1 408a4bddb7f052fd89c57ea51b4204b721856b16 SHA256 6dadcb256d83b1f2e616fa1853dd1afadb23550a20d1c118b406231a09f861fb
-EBUILD openbabel-python-2.3.0.ebuild 1327 RMD160 4f2eea9e9eb3a5df597abfa2929f2f89d9fa45e4 SHA1 135a017ee07235f741332d1765cd28d892d23fe0 SHA256 a503cb76da53149495fc11f7fbdd46c7df1e7ec855b07ecbf7cab532e2c35abe
-MISC ChangeLog 1083 RMD160 ba4bfe18fea53c5d6a303d49e8767af492fa3754 SHA1 473fec0dae00b9cca7d4534e8677cde6f06d708f SHA256 2d06e768623ac768ef41d366078fd16315d6c24ccb3f9f0990d6c9004dcc89b3
+EBUILD openbabel-python-2.3.0.ebuild 1414 RMD160 50bfb8b22568b360814723e5875b9ab6b15063e9 SHA1 bc3e02cc2491d9e887a47dc8333923f19672a7af SHA256 b03f81a6e4ddd7e5bb8bf96af34de276d88bf8e5136ebdac2bab2c35761c9999
+MISC ChangeLog 1190 RMD160 d29f24c005f1dba0bcbcea5a9f94e14c8f4eebd9 SHA1 33fea57163fefc721a4702733abc188bcaa9375d SHA256 f60e75fad7ab73b5fcff2d956e9e9f5009116397aabb709940f12e7a94e6c1fd
MISC metadata.xml 547 RMD160 685c790d772d3d340cc6506f9ddb0157f0bb1ee0 SHA1 621e3849da03363d9daf831344d275f0116dd95b SHA256 9ab03099df4d364cf5a858fe8127a0069cebe1bab7bf696ed8723c025048b6e6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iQIcBAEBAgAGBQJNub5XAAoJENgZr6v6gHY088YP+wav5E8xyLkVXeIKpvr2fG1b
-q/MKdDPKqP7XEPx6i4KwU1vKF0hjKTvdzjyNsCF91sGnRyO67/TrhS2zoouEb7aq
-lQBwHnUEeAZcjE+pUpB3MuorfRgkIQsVU/CNBLJEBjl+3Lxssh207Wx7FTcJiM4Q
-O1Ak50Av5h65TiZPo6V+g6tX0lzptepNiP2VvVZ0zibpAINOKBXrIClb/+YGPRg9
-fmmVixPIEQKvKy2PYnft8JoDGyShGOiRVK3j2yGUGq95YU8J2Wc+fqfAyYLYrkJW
-7VS+CT98p3iI5orQY1vKVFERnTmgSqUB0BH6SGnfN5EQna207CvrTlH2UrbqS5Zw
-tvl0Havs/hZ/xyo5vVHkH7Gi84VrhcWd2n4t/y2QBJWJ0mjlmONqL454b5y2QRhZ
-KKrV9T/h8OXqqgODiLk/fRRDOFphC9ngpp3JcBDj5Idv1oBAAxunRd7XhesiBx86
-K0Fx3xnFdcG9Ou48nF+ppNPbhTw1Zq1mJTLqBini6nEbj1HAk+UZVsaxrzp2+Q05
-UGLhrsBbRwrB6EAOXBiwWkFLEuXqmw5lWRN7/xFYq/W4Lf7Gq+TTvsK6PXkYlPe7
-P96/EChBgK/Iu2m940uKnTnWf2VAzq/rB60PKNMoYmq8KgfNDYU63+HgXIjb4O5L
-/5PZv3HaNXKETH12gBIj
-=LarT
+iEYEARECAAYFAk3IDgIACgkQgAnW8HDreRa7lgCfVNI/9wb15WCu+4/6Z2isf6bl
+NJkAn1Ue6uCEtJKrxFfuhoVPBhuOAs0r
+=hLPI
-----END PGP SIGNATURE-----
diff --git a/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild b/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
index f9a84f636be6..908aa8427895 100644
--- a/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
+++ b/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild,v 1.4 2011/04/28 19:21:51 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/openbabel-python/openbabel-python-2.3.0.ebuild,v 1.5 2011/05/09 15:53:32 jlec Exp $
EAPI="3"
@@ -40,5 +40,9 @@ src_prepare() {
"${FILESDIR}"/${P}-swig.patch \
"${FILESDIR}"/${P}-system_openbabel.patch
- swig -python -c++ -small -O -templatereduce -naturalvar -I/usr/include/openbabel-2.0 -o scripts/python/openbabel-python.cpp -DHAVE_EIGEN2 -outdir scripts/python scripts/openbabel-python.i || die "Regeneration of openbabel-python.cpp failed"
+ sed \
+ -e "s:/usr:${EPREFIX}/usr:g" \
+ -i ./scripts/python/setup.py || die
+
+ swig -python -c++ -small -O -templatereduce -naturalvar -I"${EPREFIX}/usr/include/openbabel-2.0" -o scripts/python/openbabel-python.cpp -DHAVE_EIGEN2 -outdir scripts/python scripts/openbabel-python.i || die "Regeneration of openbabel-python.cpp failed"
}