summaryrefslogtreecommitdiff
path: root/community/python-openbabel/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-10-22 23:14:45 +0000
committerroot <root@rshg054.dnsready.net>2011-10-22 23:14:45 +0000
commit789905b5e6b809a564832ba85b842988405e7375 (patch)
tree8860d5a0050d0c61684cba3cee03490ad01316c1 /community/python-openbabel/PKGBUILD
parentd3d0811e23787b5c66edf94b3351a1555eb5010f (diff)
Sat Oct 22 23:14:45 UTC 2011
Diffstat (limited to 'community/python-openbabel/PKGBUILD')
-rw-r--r--community/python-openbabel/PKGBUILD13
1 files changed, 7 insertions, 6 deletions
diff --git a/community/python-openbabel/PKGBUILD b/community/python-openbabel/PKGBUILD
index 955c95b44..9b17297d7 100644
--- a/community/python-openbabel/PKGBUILD
+++ b/community/python-openbabel/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 40381 2011-02-23 18:15:16Z stephane $
-# Maintainer: Andrea Scarpino <bash.lnx@gmail.com>
+# $Id: PKGBUILD 57093 2011-10-21 05:48:48Z kchen $
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Michal Bozon <bozonm@vscht.cz>
pkgname=python-openbabel
-pkgver=2.3.0
-pkgrel=3
+pkgver=2.3.1
+pkgrel=1
pkgdesc="Python bindings of openbabel library"
arch=('i686' 'x86_64')
url="http://openbabel.org/wiki/Python"
@@ -13,7 +13,7 @@ depends=('python' 'gcc-libs' "openbabel=${pkgver}" 'eigen')
makedepends=('swig' 'cmake')
options=('!libtool')
source=(http://downloads.sourceforge.net/openbabel/openbabel-$pkgver.tar.gz)
-md5sums=('effda01ed4a31d18d8e3d08191799608')
+md5sums=('1f029b0add12a3b55582dc2c832b04f8')
build() {
cd "${srcdir}/openbabel-$pkgver"
@@ -23,12 +23,13 @@ build() {
# Regenerate interface with the patched swig 2.0.2
cd scripts
- swig -I../include/ -python -c++ openbabel-python.i
+ swig -I../include/ -python -py3 -c++ openbabel-python.i
mv openbabel-python_wrap.cxx python/openbabel-python.cpp
mv openbabel.py python/
cd python
sed -i '19i os.path.join("/usr/include/openbabel-2.0"),' setup.py
+ sed -i '20i os.path.join("/usr/include/eigen2"),' setup.py
}
package() {