[arch-commits] Commit in python2-pyface/repos/community-any (PKGBUILD PKGBUILD)

Andrzej Giniewicz aginiewicz at nymeria.archlinux.org
Fri Jan 31 12:27:02 UTC 2014


    Date: Friday, January 31, 2014 @ 13:27:01
  Author: aginiewicz
Revision: 105089

archrelease: copy trunk to community-any

Added:
  python2-pyface/repos/community-any/PKGBUILD
    (from rev 105088, python2-pyface/trunk/PKGBUILD)
Deleted:
  python2-pyface/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   69 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 36 insertions(+), 33 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2014-01-31 12:26:53 UTC (rev 105088)
+++ PKGBUILD	2014-01-31 12:27:01 UTC (rev 105089)
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgname=python2-pyface
-pkgver=4.4.0
-pkgrel=1
-pkgdesc="Traits-capable windowing framework"
-arch=('any')
-url="https://github.com/enthought/pyface"
-license=('BSD')
-depends=('python2-traits')
-makedepends=('python2-setuptools')
-optdepends=('python2-pyqt: for Qt backend'
-            'wxpython: for wx backend')
-options=(!emptydirs)
-
-source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/pyface/archive/${pkgver}.tar.gz")
-md5sums=('4639b4242c2e3219dadb0d740e8af338')
-
-build() {
-  cd "$srcdir"/pyface-$pkgver
-
-  python2 setup.py build
-}
-
-package() {
-  cd "$srcdir"/pyface-$pkgver
-
-  python2 setup.py install --root="$pkgdir"/ --optimize=1
-
-  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: python2-pyface/repos/community-any/PKGBUILD (from rev 105088, python2-pyface/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2014-01-31 12:27:01 UTC (rev 105089)
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgname=python2-pyface
+pkgver=4.4.0
+pkgrel=2
+pkgdesc="Traits-capable windowing framework"
+arch=('any')
+url="https://github.com/enthought/pyface"
+license=('BSD')
+depends=('python2-traits')
+makedepends=('python2-setuptools')
+optdepends=('python2-pyqt: for Qt backend'
+            'wxpython2.8: for wx backend')
+options=(!emptydirs)
+
+source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/pyface/archive/${pkgver}.tar.gz")
+md5sums=('4639b4242c2e3219dadb0d740e8af338')
+
+build() {
+  cd "$srcdir"/pyface-$pkgver
+
+  # force selection of wxpython 2.8
+  sed -e "s/^\(.*\)import wx$/\1import wxversion\n\1wxversion.select(\"2.8\")\n\1import wx/g" -i $(find . -name '*.py')
+
+  python2 setup.py build
+}
+
+package() {
+  cd "$srcdir"/pyface-$pkgver
+
+  python2 setup.py install --root="$pkgdir"/ --optimize=1
+
+  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+




More information about the arch-commits mailing list