summaryrefslogtreecommitdiff
path: root/community/mayavi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mayavi/PKGBUILD')
-rw-r--r--community/mayavi/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/mayavi/PKGBUILD b/community/mayavi/PKGBUILD
index df6dee64e..81832fa16 100644
--- a/community/mayavi/PKGBUILD
+++ b/community/mayavi/PKGBUILD
@@ -1,25 +1,28 @@
-# $Id: PKGBUILD 96082 2013-08-20 06:32:22Z lcarlier $
+# $Id: PKGBUILD 105092 2014-01-31 12:47:02Z aginiewicz $
# Maintainer: Andrzej Giniewicz <gginiu@gmail.com>
pkgname=mayavi
-pkgver=4.3.0
-pkgrel=2
+pkgver=4.3.1
+pkgrel=1
pkgdesc="A 3-dimensional visualizer of scientific data"
arch=('i686' 'x86_64')
url="https://github.com/enthought/mayavi"
license=('BSD')
-depends=('ipython2' 'vtk' 'python2-envisage' 'wxpython')
+depends=('ipython2' 'vtk' 'python2-envisage' 'wxpython2.8')
makedepends=('python2-setuptools' 'python2-sphinx' 'xorg-server-xvfb' 'twisted')
replaces=('python2-mayavi')
provides=('python2-mayavi')
options=(!emptydirs)
source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/mayavi/archive/${pkgver}.tar.gz")
-md5sums=('7708d85a77c427c8dfbeb914630d31be')
+md5sums=('93677c77f0a835537bd210c493740b03')
build() {
cd "$srcdir"/mayavi-$pkgver
+ # force selection of wxpython 2.8
+ sed -e "s/wxversion.ensureMinimal('2.8')/wxversion.select('2.8')/g" -i $(find . -name '*.py')
+
# Use python2-sphinx provided sphinx-build2
sed -i -e 's/sphinx-build/sphinx-build2/' docs/Makefile*