public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pysdl2] rawhide: Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473
@ 2026-08-18 13:26
0 siblings, 0 replies; only message in thread
From: @ 2026-08-18 13:26 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pysdl2
Branch : rawhide
Commit : 18ac1a2047c5891c1776e506439306ae0c45e688
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-08-18T15:26:01+02:00
Stats : +1/-207 in 9 file(s)
URL : https://src.fedoraproject.org/rpms/python-pysdl2/c/18ac1a2047c5891c1776e506439306ae0c45e688?branch=rawhide
Log:
Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473
---
diff --git a/.gitignore b/.gitignore
deleted file mode 100644
index 807579e..0000000
--- a/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-/py-sdl2-0.9.16.tar.gz
-/py-sdl2-0.9.17.tar.gz
diff --git a/.packit.yaml b/.packit.yaml
deleted file mode 100644
index 9ca7958..0000000
--- a/.packit.yaml
+++ /dev/null
@@ -1,13 +0,0 @@
-upstream_project_url: https://github.com/py-sdl/py-sdl2
-copy_upstream_release_description: false
-
-jobs:
- - job: pull_from_upstream
- trigger: release
- dist_git_branches:
- - fedora-rawhide
- - job: koji_build
- trigger: commit
- dist_git_branches:
- - fedora-all
-
diff --git a/280.patch b/280.patch
deleted file mode 100644
index f7e6528..0000000
--- a/280.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From 2969a56bca036b1c6d69e14d76ed772c4732117b Mon Sep 17 00:00:00 2001
-From: Anonymous Maarten <anonymous.maarten@gmail.com>
-Date: Fri, 14 Mar 2025 23:02:08 +0100
-Subject: [PATCH] Remove test setting hint with empty string
-
-SDL2 allows a hint with an empty name, SDL3 does not.
-Because of this, sdl2-compat has a different behavior.
-
-Since a hint with no name does not make sense, remove the test.
----
- sdl2/test/hints_test.py | 2 --
- 1 file changed, 2 deletions(-)
-
-diff --git a/sdl2/test/hints_test.py b/sdl2/test/hints_test.py
-index 34fae9e..a4b0ed5 100644
---- a/sdl2/test/hints_test.py
-+++ b/sdl2/test/hints_test.py
-@@ -32,8 +32,6 @@ def test_SDL_SetHint(with_sdl):
- assert sdl2.SDL_GetHint(b"TEST") == b"32"
- assert sdl2.SDL_SetHint(b"TEST", b"abcdef") == 1
- assert sdl2.SDL_GetHint(b"TEST") == b"abcdef"
-- assert sdl2.SDL_SetHint(b"", b"hi") == 1
-- assert sdl2.SDL_GetHint(b"") == b"hi"
-
- def test_SDL_SetHintWithPriority(with_sdl):
- tst_hints = [
diff --git a/288.patch b/288.patch
deleted file mode 100644
index fef9cbd..0000000
--- a/288.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From 3812f616c3ac769d494e61f2887d95e0cc3ee4d5 Mon Sep 17 00:00:00 2001
-From: Sandro <devel@penguinpee.nl>
-Date: Sat, 15 Nov 2025 23:23:46 +0100
-Subject: [PATCH] Adjust tolerances for FreeType >= 2.14.0
-
-Glyph metrics and font sizes are slightly different when running the
-tests with FreeType >= 2.14.0.
----
- sdl2/test/sdlttf_test.py | 14 +++++++++-----
- 1 file changed, 9 insertions(+), 5 deletions(-)
-
-diff --git a/sdl2/test/sdlttf_test.py b/sdl2/test/sdlttf_test.py
-index 4e24ea8..f85f50f 100644
---- a/sdl2/test/sdlttf_test.py
-+++ b/sdl2/test/sdlttf_test.py
-@@ -370,7 +370,9 @@ def test_TTF_GlyphMetrics(with_sdl_ttf):
- results = [x.value for x in (minX, maxX, minY, maxY, adv)]
- assert sdlttf.TTF_GetError() == b""
- assert ret == 0
-- assert results == expected[char]
-+ # Allow deviation of up to 1px
-+ # With FreeType >= 2.14.0 maxY for 'j' is 29 instead of expected 28
-+ assert results == pytest.approx(expected[char], abs=1)
- sdlttf.TTF_CloseFont(font)
-
- @pytest.mark.skipif(sdlttf.dll.version < 2018, reason="not available")
-@@ -391,12 +393,14 @@ def test_TTF_GlyphMetrics32(with_sdl_ttf):
- results = [x.value for x in (minX, maxX, minY, maxY, adv)]
- assert sdlttf.TTF_GetError() == b""
- assert ret == 0
-- assert results == expected[char]
-+ # Allow deviation of up to 1px
-+ # With FreeType >= 2.14.0 maxY for 'j' is 29 instead of expected 28
-+ assert results == pytest.approx(expected[char], abs=1)
- sdlttf.TTF_CloseFont(font)
-
- def test_TTF_SizeText(with_font):
- font = with_font
-- min_expected_w = 69 # SDL2_ttf 2.0.18
-+ min_expected_w = 67 # SDL2_tff 2.22.0 with FreeType >= 2.14.0
- max_expected_w = 70 # SDL2_ttf <= 2.0.15
- min_expected_h = 21 # SDL2_ttf 2.0.15 with FreeType 2.10.1
- max_expected_h = 25 # SDL2_ttf < 2.0.15
-@@ -409,7 +413,7 @@ def test_TTF_SizeText(with_font):
-
- def test_TTF_SizeUTF8(with_font):
- font = with_font
-- min_expected_w = 72 # SDL2_ttf 2.0.18
-+ min_expected_w = 70 # SDL2_tff 2.22.0 with FreeType >= 2.14.0
- max_expected_w = 73 # SDL2_ttf <= 2.0.15
- min_expected_h = 21 # SDL2_ttf 2.0.15 with FreeType 2.10.1
- max_expected_h = 25 # SDL2_ttf < 2.0.15
-@@ -422,7 +426,7 @@ def test_TTF_SizeUTF8(with_font):
-
- def test_TTF_SizeUNICODE(with_font):
- font = with_font
-- min_expected_w = 69 # SDL2_ttf 2.0.18
-+ min_expected_w = 67 # SDL2_tff 2.22.0 with FreeType >= 2.14.0
- max_expected_w = 70 # SDL2_ttf <= 2.0.15
- min_expected_h = 21 # SDL2_ttf 2.0.15 with FreeType 2.10.1
- max_expected_h = 25 # SDL2_ttf < 2.0.15
diff --git a/README.md b/README.md
deleted file mode 100644
index bb0d72d..0000000
--- a/README.md
+++ /dev/null
@@ -1,3 +0,0 @@
-# python-pysdl2
-
-The python-pysdl2 package
diff --git a/README.packit b/README.packit
deleted file mode 100644
index 3826605..0000000
--- a/README.packit
+++ /dev/null
@@ -1,3 +0,0 @@
-This repository is maintained by packit.
-https://packit.dev/
-The file was generated using packit 0.106.0.
diff --git a/dead.package b/dead.package
new file mode 100644
index 0000000..d035a64
--- /dev/null
+++ b/dead.package
@@ -0,0 +1 @@
+Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473
diff --git a/python-pysdl2.spec b/python-pysdl2.spec
deleted file mode 100644
index 5680e3d..0000000
--- a/python-pysdl2.spec
+++ /dev/null
@@ -1,98 +0,0 @@
-%global pypi_name PySDL2
-
-Name: python-pysdl2
-Version: 0.9.17
-Release: %{autorelease}
-Summary: Python SDL2 bindings
-
-%global forgeurl https://github.com/py-sdl/py-sdl2
-%global tag %{version}
-%forgemeta
-
-# For license approval and discussion see the mailing list
-# https://lists.fedoraproject.org/archives/list/legal@lists.fedoraproject.org/thread/EHDGVB4HIBQ2N3UNHDGWQ654Q26OS766/#44KT5NKIT77ZWME464KDBYNH6WBCG4DA
-License: LicenseRef-Fedora-Public-Domain
-URL: %forgeurl
-Source: %forgesource
-# Backport patch addressing test failing with sdl2-compat
-Patch: %{forgeurl}/pull/280.patch
-# Adjust tolerances for FreeType >= 2.14.0
-# https://github.com/py-sdl/py-sdl2/issues/286
-Patch: %{forgeurl}/pull/288.patch
-
-BuildArch: noarch
-BuildRequires: python3-devel
-BuildRequires: SDL2
-BuildRequires: SDL2_gfx
-BuildRequires: SDL2_image
-BuildRequires: SDL2_mixer
-BuildRequires: SDL2_ttf
-BuildRequires: python3dist(pytest)
-
-%global _description %{expand:
-PySDL2 is a pure Python wrapper around the SDL2, SDL2_mixer,
-SDL2_image, SDL2_ttf, and SDL2_gfx libraries. Instead of relying on C
-code, it uses the built-in ctypes module to interface with SDL2, and
-provides simple Python classes and wrappers for common SDL2
-functionality.}
-
-%description %_description
-
-
-%package -n python3-pysdl2
-Summary: %{summary}
-Requires: SDL2
-Requires: SDL2_gfx
-Requires: SDL2_image
-Requires: SDL2_mixer
-Requires: SDL2_ttf
-
-%description -n python3-pysdl2 %_description
-
-
-%prep
-%forgeautosetup -p1
-
-# Make sure we actually ship the file containing the license
-# `COPYING.txt` only contains one line: See doc/copying.rst
-rm -vf COPYING.txt
-mv -v doc/copying.rst COPYING.rst
-
-# Don't ship examples and test
-sed -r \
- -e '/sdl2\.examples/ d' \
- -e '/sdl2\.test/ d' \
- -i setup.py
-
-
-%generate_buildrequires
-%pyproject_buildrequires
-
-
-%build
-%pyproject_wheel
-
-
-%install
-%pyproject_install
-%pyproject_save_files -l sdl2
-
-
-%check
-# Set up environment
-# https://github.com/py-sdl/py-sdl2/blob/master/.github/workflows/run_tests.yml
-export SDL_VIDEODRIVER=dummy
-export SDL_AUDIODRIVER=dummy
-export SDL_RENDER_DRIVER=software
-export PYTHONFAULTHANDLER=1
-
-# Skip game controller tests (no dummy device implemented)
-%pytest -r fEs --ignore sdl2/test/gamecontroller_test.py
-
-
-%files -n python3-pysdl2 -f %{pyproject_files}
-%doc README.md AUTHORS.txt
-
-
-%changelog
-%autochangelog
diff --git a/sources b/sources
deleted file mode 100644
index b3b8f2c..0000000
--- a/sources
+++ /dev/null
@@ -1 +0,0 @@
-SHA512 (py-sdl2-0.9.17.tar.gz) = 5d077b0016a7f46e10d0dcdd9bc555d18cf4b62eabf5997ad49d9ab2d31e7ac09680883037daa55c5e06dff65d4ab0fce8d7bc620290db1141064892a55a6ec1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-18 13:26 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-18 13:26 [rpms/python-pysdl2] rawhide: Retired: Fails to install: https://forge.fedoraproject.org/releng/tickets/issues/13473
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox