[arch-commits] Commit in python2-pygame-sdl2/trunk (PKGBUILD cython.patch)

Maxime Gauduin alucryd at archlinux.org
Sat Dec 26 16:52:51 UTC 2015


    Date: Saturday, December 26, 2015 @ 17:52:50
  Author: alucryd
Revision: 154564

upgpkg: python2-pygame-sdl2 6.99.8-1

Modified:
  python2-pygame-sdl2/trunk/PKGBUILD
  python2-pygame-sdl2/trunk/cython.patch

--------------+
 PKGBUILD     |    8 ++++----
 cython.patch |   19 ++++++++++---------
 2 files changed, 14 insertions(+), 13 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-26 16:46:32 UTC (rev 154563)
+++ PKGBUILD	2015-12-26 16:52:50 UTC (rev 154564)
@@ -3,7 +3,7 @@
 # Contributor: Cravix <dr.neemous at gmail.com>
 
 pkgname=python2-pygame-sdl2
-pkgver=6.99.7
+pkgver=6.99.8
 pkgrel=1
 pkgdesc='Reimplementation of portions of the pygame API using SDL2'
 arch=('i686' 'x86_64')
@@ -13,13 +13,13 @@
 makedepends=('cython2')
 source=("http://www.renpy.org/dl/${pkgver}/pygame_sdl2-for-renpy-${pkgver}.tar.bz2"
         'cython.patch')
-sha256sums=('24830ec6942203a3b859efce3f694a09ed0cfa988258a27301ab16d7e45f068d'
-            '312c7f5b68aeee404cb60a46c9872cdac9b721af9eb8fb5c0312ed999c0b12c4')
+sha256sums=('cf6c5acd21af92554c404a24d66af9292f126e10d0d8eea1f7d44432e80b0942'
+            'fe2ec4d84444ee72c3607ac9e02bf309f069c2b289b5f3d43483db145d741b01')
 
 prepare() {
   cd pygame-sdl2-for-renpy-${pkgver}
 
-  patch -Np0 -i ../cython.patch
+  patch -Np1 -i ../cython.patch
 }
 
 build() {

Modified: cython.patch
===================================================================
--- cython.patch	2015-12-26 16:46:32 UTC (rev 154563)
+++ cython.patch	2015-12-26 16:52:50 UTC (rev 154564)
@@ -1,11 +1,12 @@
---- setuplib.py	2015-04-05 18:19:36.869928443 +0800
-+++ setuplib.py.cur	2015-04-05 18:20:58.253259520 +0800
-@@ -26,7 +26,7 @@
- import distutils.core
+diff -rupN pygame-sdl2-for-renpy-6.99.8.orig/setuplib.py pygame-sdl2-for-renpy-6.99.8/setuplib.py
+--- pygame-sdl2-for-renpy-6.99.8.orig/setuplib.py	2015-12-26 17:20:24.573648895 +0100
++++ pygame-sdl2-for-renpy-6.99.8/setuplib.py	2015-12-26 17:20:42.733819376 +0100
+@@ -58,7 +58,7 @@ windows = platform.win32_ver()[0]
+ if windows:
+     cython_command = os.path.join(os.path.dirname(sys.executable), "Scripts", "cython.exe")
+ else:
+-    cython_command = "cython"
++    cython_command = "cython2"
  
- # The cython command.
--cython_command = "cython"
-+cython_command = "cython2"
  
- # The include and library dirs that we compile against.
- include_dirs = [ ".", "src" ]
+ if sys.version_info[0] >= 3:



More information about the arch-commits mailing list