[arch-commits] Commit in python2-envisage/trunk (PKGBUILD)
Andrzej Giniewicz
aginiewicz at archlinux.org
Sat Mar 21 11:09:32 UTC 2015
Date: Saturday, March 21, 2015 @ 12:09:32
Author: aginiewicz
Revision: 129681
upgpkg: python2-envisage 4.4.0-2
python2-envisage: force selection of wxpython 2.8 due to incompatibilities with wxpython 3.0
Modified:
python2-envisage/trunk/PKGBUILD
----------+
PKGBUILD | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-21 11:06:50 UTC (rev 129680)
+++ PKGBUILD 2015-03-21 11:09:32 UTC (rev 129681)
@@ -3,7 +3,7 @@
pkgname=python2-envisage
pkgver=4.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="Extensible Application Framework"
arch=('any')
url="https://github.com/enthought/envisage"
@@ -18,6 +18,10 @@
build() {
cd "$srcdir"/envisage-$pkgver
+ # force selection of wxpython 2.8
+ # (see https://github.com/enthought/pyface/issues/96)
+ sed -e "s/^\(.*\)import wx$/\1import wxversion\n\1wxversion.select(\"2.8\")\n\1import wx/g" -i $(find . -name '*.py')
+
python2 setup.py build
}
More information about the arch-commits
mailing list