Date: Thursday, August 18, 2022 @ 12:37:09 Author: alucryd Revision: 1267214
upgpkg: python-pygame-sdl2 1:2.1.0.r412.bed8099-1 Modified: python-pygame-sdl2/trunk/PKGBUILD Deleted: python-pygame-sdl2/trunk/python-pygame-sdl2-cython2.patch ----------------------------------+ PKGBUILD | 30 ++++++++++-------------------- python-pygame-sdl2-cython2.patch | 12 ------------ 2 files changed, 10 insertions(+), 32 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-08-18 12:37:01 UTC (rev 1267213) +++ PKGBUILD 2022-08-18 12:37:09 UTC (rev 1267214) @@ -1,12 +1,9 @@ # Maintainer: Maxime Gauduin <[email protected]> # Contributor: Cravix <[email protected]> -pkgbase=python-pygame-sdl2 -pkgname=( - python-pygame-sdl2 -) -pkgver=2.1.0.r411.7f814e9 -pkgrel=2 +pkgname=python-pygame-sdl2 +pkgver=2.1.0.r412.bed8099 +pkgrel=1 epoch=1 pkgdesc='Reimplementation of portions of the pygame API using SDL2' arch=(x86_64) @@ -16,10 +13,10 @@ zlib ) depends=( + python sdl2_image sdl2_mixer sdl2_ttf - python ) makedepends=( cython @@ -27,30 +24,23 @@ python python-setuptools ) -_commit=7f814e9970558c14af648302431a034dfcad01f2 -source=( - git+https://github.com/renpy/pygame_sdl2.git#commit=${_commit} -) -b2sums=('SKIP') +_commit=bed8099df753fa656a0723900694f2f8d235da00 +source=(git+https://github.com/renpy/pygame_sdl2.git#commit=${_commit}) +b2sums=(SKIP) -prepare() { - mv pygame_sdl2 python-pygame_sdl2 -} - pkgver() { - cd python-pygame_sdl2 + cd pygame_sdl2 version="$(cat src/pygame_sdl2/version.py | grep '^vernum = ' | sed 's/^vernum = //; s/(//; s/)//; s/, /./g')" echo "${version}.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } build() { - cd python-pygame_sdl2 + cd pygame_sdl2 python setup.py build } package() { - cd python-pygame_sdl2 - + cd pygame_sdl2 python setup.py install --root="${pkgdir}" --prefix=/usr --optimize=1 --skip-build install -Dm 644 COPYING.ZLIB -t "${pkgdir}"/usr/share/licenses/python-pygame-sdl2/ } Deleted: python-pygame-sdl2-cython2.patch =================================================================== --- python-pygame-sdl2-cython2.patch 2022-08-18 12:37:01 UTC (rev 1267213) +++ python-pygame-sdl2-cython2.patch 2022-08-18 12:37:09 UTC (rev 1267214) @@ -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:
