mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-05 21:37:15 +02:00
community/py3-pygame: upgrade to 2.6.0
This commit is contained in:
parent
105697608f
commit
ac0ac1c3cf
@ -1,8 +1,8 @@
|
||||
# Contributor: knuxify <knuxify@gmail.com>
|
||||
# Maintainer:
|
||||
pkgname=py3-pygame
|
||||
pkgver=2.5.2
|
||||
pkgrel=2
|
||||
pkgver=2.6.0
|
||||
pkgrel=0
|
||||
pkgdesc="Python library for making applications and games based on SDL"
|
||||
url="https://pygame.org"
|
||||
arch="all"
|
||||
@ -23,8 +23,7 @@ depends_dev="
|
||||
makedepends="cython py3-setuptools py3-sphinx $depends_dev"
|
||||
checkdepends="libvorbis libwebp mpg123 tiff font-dejavu udev"
|
||||
subpackages="$pkgname-doc $pkgname-dev $pkgname-examples:examples:noarch $pkgname-pyc"
|
||||
source="https://github.com/pygame/pygame/archive/refs/tags/$pkgver/pygame-$pkgver.tar.gz
|
||||
no-werror.patch"
|
||||
source="https://github.com/pygame/pygame/archive/refs/tags/$pkgver/pygame-$pkgver.tar.gz"
|
||||
builddir="$srcdir/pygame-$pkgver"
|
||||
|
||||
options="!check" # test suite is flaky
|
||||
@ -68,6 +67,5 @@ examples() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
b54e9b80951c8a9e75666621aafc26874c6dbdab27330146f7217346c76be5627a5464a0102a5968eca0dbd7cced4b2143cd2ff1b6227e3e17e5634854b27f19 pygame-2.5.2.tar.gz
|
||||
866c7dae0127f413c979f58d9e80c33449a1230ceac56151546c94d6320c11d1398ea7333e22b23119a604e567cc0e72326d06d1ca0bd3209f02325888940e80 no-werror.patch
|
||||
bdf36314bd2179ab30942efab4e4cb65eff023b6951d1705a46d7cb4b89095e76bf4dcd04e714224355705d3e44283213fbb807973b3b241bf128b78c80044ae pygame-2.6.0.tar.gz
|
||||
"
|
||||
|
@ -1,24 +0,0 @@
|
||||
From 9168bf77f3e0404369d438e074e814ce5222d9cf Mon Sep 17 00:00:00 2001
|
||||
From: knuxify <knuxify@gmail.com>
|
||||
Date: Sun, 19 Feb 2023 10:48:33 +0100
|
||||
Subject: [PATCH] force-remove werror
|
||||
|
||||
---
|
||||
setup.py | 8 --------
|
||||
1 file changed, 8 deletions(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 79558d0..1c79430 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -467,10 +467,2 @@ for e in extensions:
|
||||
|
||||
- if (
|
||||
- "CI" in os.environ
|
||||
- and not e.name.startswith("_sdl2")
|
||||
- and e.name not in ("pypm", "_sprite", "gfxdraw")
|
||||
- ):
|
||||
- # Do -Werror only on CI, and exclude -Werror on Cython C files and gfxdraw
|
||||
- e.extra_compile_args.append("/WX" if sys.platform == "win32" else "-Werror")
|
||||
-
|
||||
# if not building font, try replacing with ftfont
|
Loading…
Reference in New Issue
Block a user