summaryrefslogtreecommitdiff
path: root/community-staging/python-openbabel
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-10-21 10:47:37 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-10-21 10:47:37 +0200
commitaec9ffe68488d34c02bceb4942b87779f5c460d5 (patch)
tree5aaa0d61510bf94c4dd5bd751b53f61d39817e96 /community-staging/python-openbabel
parent59d570b2f4d752b3cd4dfcdf2ce8c75993d9c2eb (diff)
parent9598f5141ea75ffa72a3c7c85639c6f296020ef1 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/projectm/PKGBUILD community-testing/evas_generic_loaders-svn/PKGBUILD community-testing/gambas2/PKGBUILD community-testing/gambas3/PKGBUILD community-testing/libextractor/PKGBUILD community-testing/pdf2djvu/PKGBUILD community-testing/qtcreator/PKGBUILD community-testing/qtcreator/qtcreator.desktop community/galculator/PKGBUILD community/ristretto/PKGBUILD core/systemd/PKGBUILD extra/llvm/PKGBUILD extra/pyqt/PKGBUILD extra/python-lxml/PKGBUILD multilib/lib32-util-linux/PKGBUILD staging/glew/PKGBUILD staging/xine-lib/PKGBUILD testing/calligra/PKGBUILD testing/gdk-pixbuf2/PKGBUILD testing/gdm/PKGBUILD testing/gdm/fix_external_program_directories.patch testing/glib2/PKGBUILD testing/gnome-color-manager/PKGBUILD testing/gthumb/PKGBUILD testing/gtk3/PKGBUILD testing/gvfs/PKGBUILD testing/inkscape/PKGBUILD testing/kdebase-workspace/PKGBUILD testing/libreoffice/PKGBUILD testing/networkmanager/PKGBUILD testing/polkit/PKGBUILD testing/poppler/PKGBUILD testing/rhythmbox/PKGBUILD testing/xorg-server/PKGBUILD testing/xorg-xdm/PKGBUILD
Diffstat (limited to 'community-staging/python-openbabel')
-rw-r--r--community-staging/python-openbabel/PKGBUILD38
1 files changed, 0 insertions, 38 deletions
diff --git a/community-staging/python-openbabel/PKGBUILD b/community-staging/python-openbabel/PKGBUILD
deleted file mode 100644
index 1c229f553..000000000
--- a/community-staging/python-openbabel/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# $Id: PKGBUILD 77768 2012-10-14 16:13:27Z ebelanger $
-# Maintainer: Andrea Scarpino <andrea@archlinux.org>
-# Contributor: Michal Bozon <bozonm@vscht.cz>
-
-pkgname=python-openbabel
-pkgver=2.3.1
-pkgrel=3
-pkgdesc="Python bindings of openbabel library"
-arch=('i686' 'x86_64')
-url="http://openbabel.org/wiki/Python"
-license=('GPL')
-depends=('python' 'gcc-libs' "openbabel=${pkgver}" 'eigen2')
-makedepends=('swig' 'cmake')
-options=('!libtool')
-source=(http://downloads.sourceforge.net/openbabel/openbabel-$pkgver.tar.gz)
-md5sums=('1f029b0add12a3b55582dc2c832b04f8')
-
-build() {
- cd "${srcdir}/openbabel-$pkgver"
-
- # Create babelconfig.h
- cmake .
-
- # Regenerate interface with the patched swig 2.0.2
- cd scripts
- 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() {
- cd "${srcdir}/openbabel-$pkgver/scripts/python"
- python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
-}