[arch-commits] Commit in python2-apptools/trunk (PKGBUILD)

Andrzej Giniewicz aginiewicz at archlinux.org
Sat Mar 21 11:06:47 UTC 2015


    Date: Saturday, March 21, 2015 @ 12:06:47
  Author: aginiewicz
Revision: 129679

upgpkg: python2-apptools 4.3.0-2

python2-apptools: force selection of wxpython 2.8 due to incompatibilities with wxpython 3.0

Modified:
  python2-apptools/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-03-21 11:03:23 UTC (rev 129678)
+++ PKGBUILD	2015-03-21 11:06:47 UTC (rev 129679)
@@ -3,7 +3,7 @@
 
 pkgname=python2-apptools
 pkgver=4.3.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Application tools"
 arch=('any')
 url="https://github.com/enthought/apptools"
@@ -18,6 +18,10 @@
 build() {
   cd "$srcdir"/apptools-$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