[arch-commits] Commit in python2-pygame-sdl2/repos (8 files)
Maxime Gauduin
alucryd at archlinux.org
Sun Oct 30 17:26:12 UTC 2016
Date: Sunday, October 30, 2016 @ 17:26:11
Author: alucryd
Revision: 194030
archrelease: copy trunk to community-i686, community-x86_64
Added:
python2-pygame-sdl2/repos/community-i686/PKGBUILD
(from rev 194029, python2-pygame-sdl2/trunk/PKGBUILD)
python2-pygame-sdl2/repos/community-i686/cython.patch
(from rev 194029, python2-pygame-sdl2/trunk/cython.patch)
python2-pygame-sdl2/repos/community-x86_64/PKGBUILD
(from rev 194029, python2-pygame-sdl2/trunk/PKGBUILD)
python2-pygame-sdl2/repos/community-x86_64/cython.patch
(from rev 194029, python2-pygame-sdl2/trunk/cython.patch)
Deleted:
python2-pygame-sdl2/repos/community-i686/PKGBUILD
python2-pygame-sdl2/repos/community-i686/cython.patch
python2-pygame-sdl2/repos/community-x86_64/PKGBUILD
python2-pygame-sdl2/repos/community-x86_64/cython.patch
-------------------------------+
/PKGBUILD | 96 ++++++++++++++++++++++++++++++++++++++++
/cython.patch | 24 ++++++++++
community-i686/PKGBUILD | 40 ----------------
community-i686/cython.patch | 12 -----
community-x86_64/PKGBUILD | 40 ----------------
community-x86_64/cython.patch | 12 -----
6 files changed, 120 insertions(+), 104 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2016-10-30 17:25:58 UTC (rev 194029)
+++ community-i686/PKGBUILD 2016-10-30 17:26:11 UTC (rev 194030)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Cravix <dr.neemous at gmail.com>
-
-pkgname=python2-pygame-sdl2
-pkgver=6.99.8
-pkgrel=1
-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=('cf6c5acd21af92554c404a24d66af9292f126e10d0d8eea1f7d44432e80b0942'
- 'fe2ec4d84444ee72c3607ac9e02bf309f069c2b289b5f3d43483db145d741b01')
-
-prepare() {
- cd pygame-sdl2-for-renpy-${pkgver}
-
- patch -Np1 -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/PKGBUILD (from rev 194029, python2-pygame-sdl2/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2016-10-30 17:26:11 UTC (rev 194030)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Cravix <dr.neemous at gmail.com>
+
+pkgname=python2-pygame-sdl2
+pkgver=2.1.0.r317.907e2eb
+pkgrel=1
+epoch=1
+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' 'git')
+_commit='907e2ebf7f72c88c83b2575340861b6c9cbc569a'
+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'
+
+ 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: community-i686/cython.patch
===================================================================
--- community-i686/cython.patch 2016-10-30 17:25:58 UTC (rev 194029)
+++ community-i686/cython.patch 2016-10-30 17:26:11 UTC (rev 194030)
@@ -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-i686/cython.patch (from rev 194029, python2-pygame-sdl2/trunk/cython.patch)
===================================================================
--- community-i686/cython.patch (rev 0)
+++ community-i686/cython.patch 2016-10-30 17:26:11 UTC (rev 194030)
@@ -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:
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2016-10-30 17:25:58 UTC (rev 194029)
+++ community-x86_64/PKGBUILD 2016-10-30 17:26:11 UTC (rev 194030)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
-# Contributor: Cravix <dr.neemous at gmail.com>
-
-pkgname=python2-pygame-sdl2
-pkgver=6.99.8
-pkgrel=1
-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=('cf6c5acd21af92554c404a24d66af9292f126e10d0d8eea1f7d44432e80b0942'
- 'fe2ec4d84444ee72c3607ac9e02bf309f069c2b289b5f3d43483db145d741b01')
-
-prepare() {
- cd pygame-sdl2-for-renpy-${pkgver}
-
- patch -Np1 -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/PKGBUILD (from rev 194029, python2-pygame-sdl2/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2016-10-30 17:26:11 UTC (rev 194030)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Cravix <dr.neemous at gmail.com>
+
+pkgname=python2-pygame-sdl2
+pkgver=2.1.0.r317.907e2eb
+pkgrel=1
+epoch=1
+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' 'git')
+_commit='907e2ebf7f72c88c83b2575340861b6c9cbc569a'
+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'
+
+ 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: community-x86_64/cython.patch
===================================================================
--- community-x86_64/cython.patch 2016-10-30 17:25:58 UTC (rev 194029)
+++ community-x86_64/cython.patch 2016-10-30 17:26:11 UTC (rev 194030)
@@ -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 194029, python2-pygame-sdl2/trunk/cython.patch)
===================================================================
--- community-x86_64/cython.patch (rev 0)
+++ community-x86_64/cython.patch 2016-10-30 17:26:11 UTC (rev 194030)
@@ -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