From eed3b2a218be9aa9d9d8256f6b8ccd06d04b8804 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 25 Aug 2013 01:38:48 -0700 Subject: Sun Aug 25 01:38:43 PDT 2013 --- community/python-openbabel/PKGBUILD | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'community/python-openbabel') diff --git a/community/python-openbabel/PKGBUILD b/community/python-openbabel/PKGBUILD index a826601e6..44fe7ff50 100644 --- a/community/python-openbabel/PKGBUILD +++ b/community/python-openbabel/PKGBUILD @@ -1,24 +1,23 @@ -# $Id: PKGBUILD 80457 2012-11-22 01:42:13Z arodseth $ +# $Id: PKGBUILD 96310 2013-08-24 20:06:01Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Andrea Scarpino # Contributor: Michal Bozon pkgname=('python-openbabel' 'python2-openbabel') pkgver=2.3.2 -pkgrel=1 +pkgrel=2 pkgdesc='Python bindings for the openbabel library' arch=('x86_64' 'i686') url='http://openbabel.org/wiki/Python' license=('GPL') depends=('gcc-libs' "openbabel=${pkgver}" 'eigen2') -makedepends=('swig' 'cmake' 'python-distribute' 'python2-distribute') +makedepends=('swig' 'cmake' 'python-setuptools' 'python2-setuptools') options=('!libtool') source=("http://downloads.sourceforge.net/openbabel/openbabel-$pkgver.tar.gz") sha256sums=('4eaca26679aa6cc85ebf96af19191472ac63ca442c36b0427b369c3a25705188') build() { cp -r openbabel-$pkgver python2-openbabel-$pkgver - cd $srcdir/openbabel-$pkgver # Create babelconfig.h @@ -26,7 +25,7 @@ build() { # Regenerate interface with the patched swig 2.0.2 cd scripts - swig -I../include/ -python -py3 -c++ openbabel-python.i + swig -O -I../include/ -python -py3 -c++ openbabel-python.i mv openbabel-python_wrap.cxx python/openbabel-python.cpp mv openbabel.py python/ -- cgit v1.2.3-54-g00ecf