[arch-commits] Commit in python2-pygame-sdl2 (7 files)

Maxime Gauduin alucryd at archlinux.org
Sat Jun 6 07:52:21 UTC 2015


    Date: Saturday, June 6, 2015 @ 09:52:21
  Author: alucryd
Revision: 134891

archrelease: copy trunk to community-i686, community-x86_64

Added:
  python2-pygame-sdl2/repos/
  python2-pygame-sdl2/repos/community-i686/
  python2-pygame-sdl2/repos/community-i686/PKGBUILD
    (from rev 134890, python2-pygame-sdl2/trunk/PKGBUILD)
  python2-pygame-sdl2/repos/community-i686/cython.patch
    (from rev 134890, python2-pygame-sdl2/trunk/cython.patch)
  python2-pygame-sdl2/repos/community-x86_64/
  python2-pygame-sdl2/repos/community-x86_64/PKGBUILD
    (from rev 134890, python2-pygame-sdl2/trunk/PKGBUILD)
  python2-pygame-sdl2/repos/community-x86_64/cython.patch
    (from rev 134890, python2-pygame-sdl2/trunk/cython.patch)

-------------------------------+
 community-i686/PKGBUILD       |   40 ++++++++++++++++++++++++++++++++++++++++
 community-i686/cython.patch   |   11 +++++++++++
 community-x86_64/PKGBUILD     |   40 ++++++++++++++++++++++++++++++++++++++++
 community-x86_64/cython.patch |   11 +++++++++++
 4 files changed, 102 insertions(+)

Copied: python2-pygame-sdl2/repos/community-i686/PKGBUILD (from rev 134890, python2-pygame-sdl2/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2015-06-06 07:52:21 UTC (rev 134891)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Cravix <dr.neemous at gmail.com>
+
+pkgname=python2-pygame-sdl2
+pkgver=6.99.4
+pkgrel=2
+pkgdesc='Reimplementation of portions of the pygame API using SDL2'
+arch=('i686' 'x86_64')
+url='https://github.com/renpy/pygame_sdl2'
+license=('LGPL2.1' 'zlib')
+depends=('python2' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf')
+makedepends=('cython2')
+source=("http://www.renpy.org/dl/${pkgver}/pygame_sdl2-for-renpy-${pkgver}.tar.bz2"
+        'cython.patch')
+sha256sums=('737d1d3ec8174a1b2b71bcd929d3e063b392e838807521b5a128f537e3be91f0'
+            '312c7f5b68aeee404cb60a46c9872cdac9b721af9eb8fb5c0312ed999c0b12c4')
+
+prepare() {
+  cd pygame-sdl2-for-renpy-${pkgver}
+
+  patch -Np0 -i ../cython.patch
+}
+
+build() {
+  cd pygame-sdl2-for-renpy-${pkgver}
+
+  python2 setup.py build
+}
+
+package() {
+  cd pygame-sdl2-for-renpy-${pkgver}
+
+  python2 setup.py install --root="${pkgdir}" --prefix='/usr' --optimize='1'
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses/python2-pygame-sdl2
+  install -m 644 COPYING.ZLIB "${pkgdir}"/usr/share/licenses/python2-pygame-sdl2/
+}
+
+# vim: ts=2 sw=2 et:

Copied: python2-pygame-sdl2/repos/community-i686/cython.patch (from rev 134890, python2-pygame-sdl2/trunk/cython.patch)
===================================================================
--- repos/community-i686/cython.patch	                        (rev 0)
+++ repos/community-i686/cython.patch	2015-06-06 07:52:21 UTC (rev 134891)
@@ -0,0 +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
+ 
+ # The cython command.
+-cython_command = "cython"
++cython_command = "cython2"
+ 
+ # The include and library dirs that we compile against.
+ include_dirs = [ ".", "src" ]

Copied: python2-pygame-sdl2/repos/community-x86_64/PKGBUILD (from rev 134890, python2-pygame-sdl2/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2015-06-06 07:52:21 UTC (rev 134891)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Cravix <dr.neemous at gmail.com>
+
+pkgname=python2-pygame-sdl2
+pkgver=6.99.4
+pkgrel=2
+pkgdesc='Reimplementation of portions of the pygame API using SDL2'
+arch=('i686' 'x86_64')
+url='https://github.com/renpy/pygame_sdl2'
+license=('LGPL2.1' 'zlib')
+depends=('python2' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf')
+makedepends=('cython2')
+source=("http://www.renpy.org/dl/${pkgver}/pygame_sdl2-for-renpy-${pkgver}.tar.bz2"
+        'cython.patch')
+sha256sums=('737d1d3ec8174a1b2b71bcd929d3e063b392e838807521b5a128f537e3be91f0'
+            '312c7f5b68aeee404cb60a46c9872cdac9b721af9eb8fb5c0312ed999c0b12c4')
+
+prepare() {
+  cd pygame-sdl2-for-renpy-${pkgver}
+
+  patch -Np0 -i ../cython.patch
+}
+
+build() {
+  cd pygame-sdl2-for-renpy-${pkgver}
+
+  python2 setup.py build
+}
+
+package() {
+  cd pygame-sdl2-for-renpy-${pkgver}
+
+  python2 setup.py install --root="${pkgdir}" --prefix='/usr' --optimize='1'
+
+  install -dm 755 "${pkgdir}"/usr/share/licenses/python2-pygame-sdl2
+  install -m 644 COPYING.ZLIB "${pkgdir}"/usr/share/licenses/python2-pygame-sdl2/
+}
+
+# vim: ts=2 sw=2 et:

Copied: python2-pygame-sdl2/repos/community-x86_64/cython.patch (from rev 134890, python2-pygame-sdl2/trunk/cython.patch)
===================================================================
--- repos/community-x86_64/cython.patch	                        (rev 0)
+++ repos/community-x86_64/cython.patch	2015-06-06 07:52:21 UTC (rev 134891)
@@ -0,0 +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
+ 
+ # The cython command.
+-cython_command = "cython"
++cython_command = "cython2"
+ 
+ # The include and library dirs that we compile against.
+ include_dirs = [ ".", "src" ]



More information about the arch-commits mailing list