[arch-commits] Commit in python2-pyface/trunk (PKGBUILD pygments2.patch)

Andrzej Giniewicz aginiewicz at archlinux.org
Tue Jul 28 08:48:42 UTC 2015


    Date: Tuesday, July 28, 2015 @ 10:48:42
  Author: aginiewicz
Revision: 137542

upgpkg: python2-pyface 4.5.1-1

python2-pyface: new upstream release, patch no longer needed

Modified:
  python2-pyface/trunk/PKGBUILD
Deleted:
  python2-pyface/trunk/pygments2.patch

-----------------+
 PKGBUILD        |   15 ++++-----------
 pygments2.patch |   20 --------------------
 2 files changed, 4 insertions(+), 31 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-07-28 08:43:07 UTC (rev 137541)
+++ PKGBUILD	2015-07-28 08:48:42 UTC (rev 137542)
@@ -2,8 +2,8 @@
 # Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
 
 pkgname=python2-pyface
-pkgver=4.5.0
-pkgrel=2
+pkgver=4.5.1
+pkgrel=1
 pkgdesc="Traits-capable windowing framework"
 arch=('any')
 url="https://github.com/enthought/pyface"
@@ -14,16 +14,9 @@
             'wxpython2.8: for wx backend')
 options=(!emptydirs)
 
-source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/pyface/archive/${pkgver}.tar.gz" "pygments2.patch")
-md5sums=('05ea27821ed63a457bf5d95892ac0cf0'
-         'e874bda3e3871120c7c47bf0c632582f')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/enthought/pyface/archive/${pkgver}.tar.gz")
+md5sums=('61d4adadccd570f3d854a04186efea92')
 
-prepare() {
-  cd "$srcdir"/pyface-$pkgver
-
-  patch -p0 < ../pygments2.patch
-}
-
 build() {
   cd "$srcdir"/pyface-$pkgver
 

Deleted: pygments2.patch
===================================================================
--- pygments2.patch	2015-07-28 08:43:07 UTC (rev 137541)
+++ pygments2.patch	2015-07-28 08:48:42 UTC (rev 137542)
@@ -1,20 +0,0 @@
---- pyface/ui/qt4/code_editor/pygments_highlighter.py.orig	2015-07-07 21:18:51.174941435 +0200
-+++ pyface/ui/qt4/code_editor/pygments_highlighter.py	2015-07-07 21:19:29.448031232 +0200
-@@ -33,11 +33,12 @@
-         for rexmatch, action, new_state in statetokens:
-             m = rexmatch(text, pos)
-             if m:
--                if type(action) is _TokenType:
--                    yield pos, action, m.group()
--                else:
--                    for item in action(self, m):
--                        yield item
-+                if action is not None:
-+                    if type(action) is _TokenType:
-+                        yield pos, action, m.group()
-+                    else:
-+                        for item in action(self, m):
-+                            yield item
-                 pos = m.end()
-                 if new_state is not None:
-                     # state transition



More information about the arch-commits mailing list