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

Andrzej Giniewicz aginiewicz at archlinux.org
Wed Mar 16 15:18:04 UTC 2016


    Date: Wednesday, March 16, 2016 @ 16:18:04
  Author: aginiewicz
Revision: 166935

archrelease: copy trunk to community-any

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

----------------------+
 PKGBUILD             |  131 ++++++++++++++++++++++++++-----------------------
 ipython_widget.patch |   38 +++++++-------
 2 files changed, 89 insertions(+), 80 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2016-03-16 15:17:54 UTC (rev 166934)
+++ PKGBUILD	2016-03-16 15:18:04 UTC (rev 166935)
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgbase=python-pyface
-pkgname=('python2-pyface' 'python-pyface')
-pkgver=5.0.0
-pkgrel=2
-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)'
-              '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)')
-
-  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 166934, python-pyface/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2016-03-16 15:18:04 UTC (rev 166935)
@@ -0,0 +1,70 @@
+# $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
+}

Deleted: ipython_widget.patch
===================================================================
--- ipython_widget.patch	2016-03-16 15:17:54 UTC (rev 166934)
+++ ipython_widget.patch	2016-03-16 15:18:04 UTC (rev 166935)
@@ -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')

Copied: python-pyface/repos/community-any/ipython_widget.patch (from rev 166934, python-pyface/trunk/ipython_widget.patch)
===================================================================
--- ipython_widget.patch	                        (rev 0)
+++ ipython_widget.patch	2016-03-16 15:18:04 UTC (rev 166935)
@@ -0,0 +1,19 @@
+--- 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