Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-sge-pygame for
openSUSE:Factory checked in at 2021-05-11 23:04:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-sge-pygame (Old)
and /work/SRC/openSUSE:Factory/.python-sge-pygame.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-sge-pygame"
Tue May 11 23:04:27 2021 rev:5 rq:892237 version:1.7.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-sge-pygame/python-sge-pygame.changes
2020-09-14 12:31:28.369218964 +0200
+++
/work/SRC/openSUSE:Factory/.python-sge-pygame.new.2988/python-sge-pygame.changes
2021-05-11 23:04:37.648830295 +0200
@@ -1,0 +2,11 @@
+Tue May 11 12:24:03 UTC 2021 - Mark??ta Machov?? <[email protected]>
+
+- Skip python36 because pygame skipped it
+
+-------------------------------------------------------------------
+Mon May 3 23:18:04 UTC 2021 - Ferdinand Thiessen <[email protected]>
+
+- Update to version 1.7.1
+ * Fix incompatibility with Pygame 2
+
+-------------------------------------------------------------------
Old:
----
sge-1.7.tar.gz
New:
----
sge-1.7.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-sge-pygame.spec ++++++
--- /var/tmp/diff_new_pack.WaZmfn/_old 2021-05-11 23:04:38.292827637 +0200
+++ /var/tmp/diff_new_pack.WaZmfn/_new 2021-05-11 23:04:38.296827621 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-sge-pygame
#
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,8 +17,9 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python36 1
Name: python-sge-pygame
-Version: 1.7
+Version: 1.7.1
Release: 0
Summary: A 2-D game engine for Python
License: LGPL-3.0-or-later
++++++ sge-1.7.tar.gz -> sge-1.7.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sge-1.7/PKG-INFO new/sge-1.7.1/PKG-INFO
--- old/sge-1.7/PKG-INFO 2020-09-07 18:11:35.000000000 +0200
+++ new/sge-1.7.1/PKG-INFO 2020-12-17 19:11:09.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: sge
-Version: 1.7
+Version: 1.7.1
Summary: Seclusion Game Engine (Pygame implementation)
Home-page: https://python-sge.github.io
Author: Layla Marchant
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sge-1.7/README.pygame new/sge-1.7.1/README.pygame
--- old/sge-1.7/README.pygame 2020-09-07 17:50:39.000000000 +0200
+++ new/sge-1.7.1/README.pygame 2020-12-17 04:58:46.000000000 +0100
@@ -67,35 +67,6 @@
request for anti-aliasing.
-KEYBOARD LOCK-UP
-
-There is a bug seemingly in SDL 1.2 which sometimes causes keyboard
-input to stop working. In Pygame programs such as this one, this occurs
-when pygame.display.set_mode is called multiple times, which in the
-Pygame SGE occurs any time either the size of the window or the video
-mode (windowed or fullscreen) changes. See this bug report on the
-Pygame issue tracker for more information:
-
-https://bitbucket.org/pygame/pygame/issue/212/
-
-This is a particularly serious problem for anyone using the X Window
-System (e.g. pretty much any GNU/Linux user), or any other window system
-that gives complete control to fullscreen SDL applications. On these
-systems, if the game requires keyboard input to either leave fullscreen
-or exit, the system will become unresponsive to everything that isn't
-sent directly to the kernel (such as the magic SysRq key in Linux
-systems).
-
-Hopefully the bug should go away with usage of SDL2 instead of SDL 1.2;
-Pygame 2 uses SDL2 by default. In the meantime, you may want to work
-around this bug to ensure minimal frustration for users. Luckily, the
-bug doesn't seem to affect mouse input, so if you provide some method of
-either exiting the game or exiting fullscreen with the mouse, that
-should at least prevent users from being forced to reboot. This can be
-a button somewhere on the screen if the game uses the mouse cursor, or
-it can be a simple mouse button click otherwise.
-
-
RESOLUTION INCONSISTENCIES
Because of some shortcomings in the Pygame API, when sge.game.fullscreen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sge-1.7/WHATSNEW.pygame new/sge-1.7.1/WHATSNEW.pygame
--- old/sge-1.7/WHATSNEW.pygame 2020-09-06 21:57:48.000000000 +0200
+++ new/sge-1.7.1/WHATSNEW.pygame 2020-12-17 04:57:57.000000000 +0100
@@ -5,6 +5,13 @@
========================================================================
+1.7.1
+------------------------------------------------------------------------
+
+Pygame SGE bugfixes:
+- Incompatibility with Pygame 2
+
+
1.7
------------------------------------------------------------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sge-1.7/requirements.txt
new/sge-1.7.1/requirements.txt
--- old/sge-1.7/requirements.txt 2020-05-14 02:15:44.000000000 +0200
+++ new/sge-1.7.1/requirements.txt 1970-01-01 01:00:00.000000000 +0100
@@ -1,2 +0,0 @@
-pygame (>=1.9.1)
-uniseg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sge-1.7/setup.py new/sge-1.7.1/setup.py
--- old/sge-1.7/setup.py 2020-09-07 17:15:20.000000000 +0200
+++ new/sge-1.7.1/setup.py 2020-12-17 19:07:35.000000000 +0100
@@ -16,7 +16,7 @@
""".strip()
setup(name="sge",
- version="1.7",
+ version="1.7.1",
description="Seclusion Game Engine (Pygame implementation)",
long_description=long_description,
author="Layla Marchant",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sge-1.7/sge/__init__.py new/sge-1.7.1/sge/__init__.py
--- old/sge-1.7/sge/__init__.py 2020-09-07 17:14:56.000000000 +0200
+++ new/sge-1.7.1/sge/__init__.py 2020-12-17 19:07:43.000000000 +0100
@@ -231,7 +231,7 @@
"""
-__version__ = "1.7"
+__version__ = "1.7.1"
__all__ = [
# Modules
"collision",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sge-1.7/sge/dsp.py new/sge-1.7.1/sge/dsp.py
--- old/sge-1.7/sge/dsp.py 2020-09-07 17:26:07.000000000 +0200
+++ new/sge-1.7.1/sge/dsp.py 2020-10-02 23:22:12.000000000 +0200
@@ -1108,7 +1108,7 @@
if layer.repeat_right and (layer.repeat_left or x <
view_width):
hrange = range(int(math.floor(x)),
- int(view.width + img_w), img_w)
+ int(view.width + img_w), img_w)
elif layer.repeat_left and x + img_w > 0:
hrange = range(int(math.floor(x)), -img_w, -img_w)
else:
@@ -1116,7 +1116,7 @@
if layer.repeat_down and (layer.repeat_up or y < view_height):
vrange = range(int(math.floor(y)),
- int(view_height + img_h), img_h)
+ int(view_height + img_h), img_h)
elif layer.repeat_up and y + img_h > 0:
vrange = range(int(math.floor(y)), -img_h, -img_h)
else:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/sge-1.7/sge/gfx.py new/sge-1.7.1/sge/gfx.py
--- old/sge-1.7/sge/gfx.py 2020-09-07 02:43:23.000000000 +0200
+++ new/sge-1.7.1/sge/gfx.py 2020-12-16 22:51:05.000000000 +0100
@@ -2833,9 +2833,11 @@
italic)
-class _PygameSpriteFont(pygame.font.Font):
+class _PygameSpriteFont:
# Special font class that returns good values for a sprite font.
+ # Designed to emulate the behavior of pygame.font.Font, but not
+ # derived so as to avoid causing problems.
@property
def vsize(self):