[arch-commits] Commit in python-pyface/repos/community-any (3 files)

Andrzej Giniewicz aginiewicz at archlinux.org
Tue Jun 7 09:54:31 UTC 2016


    Date: Tuesday, June 7, 2016 @ 11:54:31
  Author: aginiewicz
Revision: 178121

archrelease: copy trunk to community-any

Added:
  python-pyface/repos/community-any/PKGBUILD
    (from rev 178120, python-pyface/trunk/PKGBUILD)
Deleted:
  python-pyface/repos/community-any/PKGBUILD
  python-pyface/repos/community-any/ipython_widget.patch

----------------------+
 PKGBUILD             |  138 ++++++++++++++++++++++++-------------------------
 ipython_widget.patch |   19 ------
 2 files changed, 68 insertions(+), 89 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-06-07 09:54:23 UTC (rev 178120)
+++ PKGBUILD	2016-06-07 09:54:31 UTC (rev 178121)
@@ -1,70 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-# TODO: python-scimath: for unit parser in pyface.wx.spreadsheet
-# TODO: look for more hidden dependencies
-
-pkgbase=python-pyface
-pkgname=('python2-pyface' 'python-pyface')
-pkgver=5.0.0
-pkgrel=3
-pkgdesc="Traits-capable windowing framework"
-arch=('any')
-url="https://github.com/enthought/pyface"
-license=('BSD')
-makedepends=('python-setuptools' 'python-traits' 'python2-setuptools' 'python2-traits')
-options=(!emptydirs)
-
-source=("pyface-${pkgver}.tar.gz::https://github.com/enthought/pyface/archive/${pkgver}.tar.gz"
-        "ipython_widget.patch")
-md5sums=('74e0c8f8099d69bf6f18651b626648d8'
-         'e2723b5e4191457de7584f0cddce7a4d')
-
-prepare() {
-  cd "$srcdir"
-  patch -p0 < ipython_widget.patch
-  cp -a pyface-${pkgver} pyface-py2-${pkgver}
-}
-
-build() {
-  cd "$srcdir"/pyface-py2-$pkgver
-
-  msg "Building Python2"
-  python2 setup.py build
-
-  cd "$srcdir"/pyface-$pkgver
-
-  msg "Building Python3"
-  python setup.py build
-}
-
-package_python2-pyface() {
-  depends=('python2-traits')
-  optdepends=('python2-pyqt4: for Qt backend (or python2-pyside)'
-              'python2-pyside: for Qt backend (or python2-pyqt4)'
-              'python2-pygments: for syntax coloring in Qt backend'
-              'python2-setuptools: to locate resources inside zip and egg files'
-              'ipython2: for IPython widget'
-              'wxpython: for wx backend')
-
-  cd "$srcdir"/pyface-py2-$pkgver
-
-  python2 setup.py install --root="$pkgdir"/ --optimize=1
-
-  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-pyface() {
-  depends=('python-traits')
-  optdepends=('python-pyqt4: for Qt backend (or python2-pyside)'
-              'python-pyside: for Qt backend (or python2-pyqt4)'
-              'python-pygments: for syntax coloring in Qt backend'
-              'python-setuptools: to locate resources inside zip and egg files'
-              'ipython: for IPython widget')
-
-  cd "$srcdir"/pyface-$pkgver
-
-  python setup.py install --root="$pkgdir"/ --optimize=1
-
-  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: python-pyface/repos/community-any/PKGBUILD (from rev 178120, python-pyface/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-06-07 09:54:31 UTC (rev 178121)
@@ -0,0 +1,68 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+# TODO: python-scimath: for unit parser in pyface.wx.spreadsheet
+# TODO: look for more hidden dependencies
+
+pkgbase=python-pyface
+pkgname=('python2-pyface' 'python-pyface')
+pkgver=5.1.0
+pkgrel=1
+pkgdesc="Traits-capable windowing framework"
+arch=('any')
+url="https://github.com/enthought/pyface"
+license=('BSD')
+makedepends=('python-setuptools' 'python-traits' 'python2-setuptools' 'python2-traits')
+options=(!emptydirs)
+
+source=("pyface-${pkgver}.tar.gz::https://github.com/enthought/pyface/archive/${pkgver}.tar.gz")
+md5sums=('2d7703b71df4478ae02b7481dc673754')
+
+prepare() {
+  cd "$srcdir"
+  #patch -p0 < ipython_widget.patch
+  cp -a pyface-${pkgver} pyface-py2-${pkgver}
+}
+
+build() {
+  cd "$srcdir"/pyface-py2-$pkgver
+
+  msg "Building Python2"
+  python2 setup.py build
+
+  cd "$srcdir"/pyface-$pkgver
+
+  msg "Building Python3"
+  python setup.py build
+}
+
+package_python2-pyface() {
+  depends=('python2-traits')
+  optdepends=('python2-pyqt4: for Qt backend (or python2-pyside)'
+              'python2-pyside: for Qt backend (or python2-pyqt4)'
+              'python2-pygments: for syntax coloring in Qt backend'
+              'python2-setuptools: to locate resources inside zip and egg files'
+              'ipython2: for IPython widget'
+              'wxpython: for wx backend')
+
+  cd "$srcdir"/pyface-py2-$pkgver
+
+  python2 setup.py install --root="$pkgdir"/ --optimize=1
+
+  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-pyface() {
+  depends=('python-traits')
+  optdepends=('python-pyqt4: for Qt backend (or python2-pyside)'
+              'python-pyside: for Qt backend (or python2-pyqt4)'
+              'python-pygments: for syntax coloring in Qt backend'
+              'python-setuptools: to locate resources inside zip and egg files'
+              'ipython: for IPython widget')
+
+  cd "$srcdir"/pyface-$pkgver
+
+  python setup.py install --root="$pkgdir"/ --optimize=1
+
+  install -D LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Deleted: ipython_widget.patch
===================================================================
--- ipython_widget.patch	2016-06-07 09:54:23 UTC (rev 178120)
+++ ipython_widget.patch	2016-06-07 09:54:31 UTC (rev 178121)
@@ -1,19 +0,0 @@
---- pyface-5.0.0/pyface/ipython_widget.py.orig	2015-11-21 16:13:42.171018433 +0100
-+++ pyface-5.0.0/pyface/ipython_widget.py	2015-11-21 16:14:03.557532935 +0100
-@@ -13,6 +13,7 @@
- #------------------------------------------------------------------------------
- """ The implementation of an IPython shell. """
- 
-+from __future__ import absolute_import
- 
- # Import the toolkit specific version.
- try:
-@@ -23,8 +24,5 @@
- Could not load the Wx frontend for ipython.
- You need to have ipython >= 0.9 installed to use the ipython widget.'''
- 
--
--from __future__ import absolute_import
--
- from .toolkit import toolkit_object
- IPythonWidget= toolkit_object('ipython_widget:IPythonWidget')



More information about the arch-commits mailing list