summaryrefslogtreecommitdiff
path: root/community/python-openbabel
diff options
context:
space:
mode:
Diffstat (limited to 'community/python-openbabel')
-rw-r--r--community/python-openbabel/PKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/community/python-openbabel/PKGBUILD b/community/python-openbabel/PKGBUILD
index a685daf6f..b986d80c2 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 <rodseth@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Michal Bozon <bozonm@vscht.cz>
pkgname=('python-openbabel' 'python2-openbabel')
pkgver=2.3.2
-pkgrel=1
+pkgrel=2
pkgdesc='Python bindings for the openbabel library'
arch=('i686' 'x86_64' 'mips64el')
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/