summaryrefslogtreecommitdiff
path: root/community/python-openbabel/PKGBUILD
diff options
context:
space:
mode:
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 652cfe8c1..7f86ce232 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' 'mips64el')
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() {