summaryrefslogtreecommitdiff
path: root/community/python-openbabel/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-25 01:38:48 -0700
committerroot <root@rshg054.dnsready.net>2013-08-25 01:38:48 -0700
commiteed3b2a218be9aa9d9d8256f6b8ccd06d04b8804 (patch)
tree2404ba9a8a5481c0a2e700ca72d9657f6c393a64 /community/python-openbabel/PKGBUILD
parent49e0f6ae5dad013852999f497117d6798b2fb085 (diff)
Sun Aug 25 01:38:43 PDT 2013
Diffstat (limited to 'community/python-openbabel/PKGBUILD')
-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 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 <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=('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/