From 789905b5e6b809a564832ba85b842988405e7375 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 22 Oct 2011 23:14:45 +0000 Subject: Sat Oct 22 23:14:45 UTC 2011 --- community/python-openbabel/PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'community/python-openbabel') 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 +# $Id: PKGBUILD 57093 2011-10-21 05:48:48Z kchen $ +# Maintainer: Andrea Scarpino # Contributor: Michal Bozon 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() { -- cgit v1.2.3-54-g00ecf