summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLin UX2016-03-30 10:42:04 +0800
committerLin UX2016-03-30 10:42:04 +0800
commit3a2cb76e4bdef41ff2e96f2468586d4829340fb5 (patch)
treee9b1b3ef65b2ae931ed3dd205282db3c15ce75cd
parenta32448775dd92140c51c27f50307202e467ece28 (diff)
downloadaur-python2-pygame-sdl2-git.tar.gz
fix cython patch
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--cython.patch18
3 files changed, 15 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0c1cd48198e..199e37151ad 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Wed Mar 30 02:41:15 UTC 2016
pkgbase = python2-pygame-sdl2-git
pkgdesc = A new, SDL2-based implementation of the Pygame API (dev channel)
- pkgver = 257.24df6c8
+ pkgver = 310.2f7bc03
pkgrel = 1
url = https://github.com/renpy/pygame_sdl2
arch = i686
@@ -19,7 +21,7 @@ pkgbase = python2-pygame-sdl2-git
source = git://github.com/renpy/pygame_sdl2.git
source = cython.patch
md5sums = SKIP
- md5sums = 5d3aee6b640b5e58bf98442eb443eef3
+ md5sums = 142fa70196ab3308826ca24d3527065d
pkgname = python2-pygame-sdl2-git
diff --git a/PKGBUILD b/PKGBUILD
index 4f73cdc9abc..27409f5f0b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=python2-pygame-sdl2-git
_pkgname=pygame_sdl2
-pkgver=257.24df6c8
+pkgver=310.2f7bc03
pkgrel=1
pkgdesc="A new, SDL2-based implementation of the Pygame API (dev channel)"
arch=('i686' 'x86_64')
@@ -15,7 +15,7 @@ conflicts=('python2-pygame-sdl2')
source=("git://github.com/renpy/$_pkgname.git"
'cython.patch')
md5sums=('SKIP'
- '5d3aee6b640b5e58bf98442eb443eef3')
+ '142fa70196ab3308826ca24d3527065d')
pkgver() {
cd "$srcdir/$_pkgname"
diff --git a/cython.patch b/cython.patch
index e8cae024579..0bcc646c7e6 100644
--- a/cython.patch
+++ b/cython.patch
@@ -1,11 +1,11 @@
---- 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
+--- setuplib.py 2016-03-30 10:36:25.300030343 +0800
++++ setuplib.py.cur 2016-03-30 10:39:04.186704987 +0800
+@@ -58,7 +58,7 @@
+ 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: