[arch-commits] Commit in python2-pygame-sdl2/repos/community-x86_64 (4 files)

Maxime Gauduin alucryd at archlinux.org
Sat Mar 9 20:08:13 UTC 2019


    Date: Saturday, March 9, 2019 @ 20:08:13
  Author: alucryd
Revision: 438643

archrelease: copy trunk to community-x86_64

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

--------------+
 PKGBUILD     |  109 +++++++++++++++++++++++++++++++--------------------------
 cython.patch |   24 ++++++------
 2 files changed, 73 insertions(+), 60 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-09 20:08:05 UTC (rev 438642)
+++ PKGBUILD	2019-03-09 20:08:13 UTC (rev 438643)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Cravix <dr.neemous at gmail.com>
-
-pkgname=python2-pygame-sdl2
-pkgver=2.1.0.r349.d2ed33b
-pkgrel=1
-epoch=1
-pkgdesc='Reimplementation of portions of the pygame API using SDL2'
-arch=('x86_64')
-url='https://github.com/renpy/pygame_sdl2'
-license=('LGPL2.1' 'zlib')
-depends=('python2' 'sdl2_image' 'sdl2_mixer' 'sdl2_ttf')
-makedepends=('cython2' 'git')
-_commit='d2ed33b5f0f790ca1ea330c2f4d3b1aeb6d6375c'
-source=("git+https://github.com/renpy/pygame_sdl2.git#commit=${_commit}"
-        'cython.patch')
-sha256sums=('SKIP'
-            'fe2ec4d84444ee72c3607ac9e02bf309f069c2b289b5f3d43483db145d741b01')
-
-pkgver() {
-  cd pygame_sdl2
-
- echo "2.1.0.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
-}
-
-prepare() {
-  cd pygame_sdl2
-
-  patch -Np1 -i ../cython.patch
-}
-
-build() {
-  cd pygame_sdl2
-
-  python2 setup.py build
-}
-
-package() {
-  cd pygame_sdl2
-
-  python2 setup.py install --root="${pkgdir}" --prefix='/usr' --optimize='1' --skip-build
-
-  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/PKGBUILD (from rev 438642, python2-pygame-sdl2/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-09 20:08:13 UTC (rev 438643)
@@ -0,0 +1,61 @@
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Cravix <dr.neemous at gmail.com>
+
+pkgname=python2-pygame-sdl2
+pkgver=2.1.0.r351.8bfc1ba
+pkgrel=1
+epoch=1
+pkgdesc='Reimplementation of portions of the pygame API using SDL2'
+arch=(x86_64)
+url=https://github.com/renpy/pygame_sdl2
+license=(
+  LGPL2.1
+  zlib
+)
+depends=(
+  python2
+  sdl2_image
+  sdl2_mixer
+  sdl2_ttf
+)
+makedepends=(
+  cython2
+  git
+)
+source=(
+  git+https://github.com/renpy/pygame_sdl2.git#commit=8bfc1ba9b98011004667ab6771c0923e493fb52b
+  cython.patch
+)
+sha256sums=(
+  SKIP
+  fe2ec4d84444ee72c3607ac9e02bf309f069c2b289b5f3d43483db145d741b01
+)
+
+pkgver() {
+  cd pygame_sdl2
+
+ echo "2.1.0.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+}
+
+prepare() {
+  cd pygame_sdl2
+
+  patch -Np1 -i ../cython.patch
+}
+
+build() {
+  cd pygame_sdl2
+
+  python2 setup.py build
+}
+
+package() {
+  cd pygame_sdl2
+
+  python2 setup.py install --root="${pkgdir}" --prefix='/usr' --optimize='1' --skip-build
+
+  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:

Deleted: cython.patch
===================================================================
--- cython.patch	2019-03-09 20:08:05 UTC (rev 438642)
+++ cython.patch	2019-03-09 20:08:13 UTC (rev 438643)
@@ -1,12 +0,0 @@
-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"
- 
- 
- if sys.version_info[0] >= 3:

Copied: python2-pygame-sdl2/repos/community-x86_64/cython.patch (from rev 438642, python2-pygame-sdl2/trunk/cython.patch)
===================================================================
--- cython.patch	                        (rev 0)
+++ cython.patch	2019-03-09 20:08:13 UTC (rev 438643)
@@ -0,0 +1,12 @@
+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"
+ 
+ 
+ if sys.version_info[0] >= 3:


More information about the arch-commits mailing list