Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-glfw for openSUSE:Factory checked in at 2025-01-16 18:34:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-glfw (Old) and /work/SRC/openSUSE:Factory/.python-glfw.new.1881 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-glfw" Thu Jan 16 18:34:38 2025 rev:15 rq:1238237 version:2.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-glfw/python-glfw.changes 2024-03-26 19:29:56.942870290 +0100 +++ /work/SRC/openSUSE:Factory/.python-glfw.new.1881/python-glfw.changes 2025-01-16 18:35:12.924634214 +0100 @@ -1,0 +2,14 @@ +Thu Jan 16 11:15:33 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to 2.8.0 + * Update to GLFW 3.4 +- Switch package to modern Python Stack on SLE-15 + * Use Python 3.11 on SLE-15 by default + * Drop support for older Python versions +- Switch build system from setuptools to pyproject.toml + * Add python-pip and python-wheel to BuildRequires + * Replace %python_build with %pyproject_wheel + * Replace %python_install with %pyproject_install +- Limit Python files matched in %files section + +------------------------------------------------------------------- Old: ---- glfw-2.7.0.tar.gz New: ---- glfw-2.8.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-glfw.spec ++++++ --- /var/tmp/diff_new_pack.gfBvQM/_old 2025-01-16 18:35:13.728667411 +0100 +++ /var/tmp/diff_new_pack.gfBvQM/_new 2025-01-16 18:35:13.728667411 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-glfw # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,16 +16,18 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%{?sle15_python_module_pythons} Name: python-glfw -Version: 2.7.0 +Version: 2.8.0 Release: 0 Summary: A ctypes-based wrapper for GLFW3 License: MIT Group: Development/Languages/Python URL: https://github.com/FlorianRhiem/pyGLFW Source: https://files.pythonhosted.org/packages/source/g/glfw/glfw-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: libglfw3 BuildRequires: python-rpm-macros @@ -53,10 +55,10 @@ %setup -q -n glfw-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -65,5 +67,6 @@ %files %{python_files} %license LICENSE.txt %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/glfw +%{python_sitelib}/glfw-*.dist-info ++++++ glfw-2.7.0.tar.gz -> glfw-2.8.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.7.0/CHANGELOG.md new/glfw-2.8.0/CHANGELOG.md --- old/glfw-2.7.0/CHANGELOG.md 2024-02-24 10:46:13.000000000 +0100 +++ new/glfw-2.8.0/CHANGELOG.md 2024-11-22 16:38:09.000000000 +0100 @@ -4,6 +4,9 @@ For information on changes in GLFW itself, see the [GLFW version history](https://www.glfw.org/changelog.html). +## [2.8.0] - 2024-11-22 +- Update to GLFW 3.4 + ## [2.7.0] - 2024-02-24 - Included GLFW 3.4 functions and definitions without preview diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.7.0/PKG-INFO new/glfw-2.8.0/PKG-INFO --- old/glfw-2.7.0/PKG-INFO 2024-02-24 10:46:24.191532000 +0100 +++ new/glfw-2.8.0/PKG-INFO 2024-11-22 16:38:24.667058700 +0100 @@ -1,12 +1,11 @@ Metadata-Version: 2.1 Name: glfw -Version: 2.7.0 +Version: 2.8.0 Summary: A ctypes-based wrapper for GLFW3. Home-page: https://github.com/FlorianRhiem/pyGLFW Author: Florian Rhiem Author-email: florian.rh...@gmail.com License: MIT -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: MacOS X Classifier: Environment :: X11 Applications @@ -155,5 +154,3 @@ if __name__ == "__main__": main() - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.7.0/glfw/GLFW.py new/glfw-2.8.0/glfw/GLFW.py --- old/glfw-2.7.0/glfw/GLFW.py 2024-02-24 10:46:13.000000000 +0100 +++ new/glfw-2.8.0/glfw/GLFW.py 2024-11-22 16:38:09.000000000 +0100 @@ -466,3 +466,9 @@ from . import platform_supported as glfwPlatformSupported if hasattr(_glfw, 'glfwGetWindowTitle'): from . import get_window_title as glfwGetWindowTitle + +from . import _PREVIEW +if _PREVIEW: + from . import ( + UNLIMITED_MOUSE_BUTTONS as GLFW_UNLIMITED_MOUSE_BUTTONS + ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.7.0/glfw/__init__.py new/glfw-2.8.0/glfw/__init__.py --- old/glfw-2.7.0/glfw/__init__.py 2024-02-24 10:46:13.000000000 +0100 +++ new/glfw-2.8.0/glfw/__init__.py 2024-11-22 16:38:09.000000000 +0100 @@ -9,7 +9,7 @@ __author__ = 'Florian Rhiem (florian.rh...@gmail.com)' __copyright__ = 'Copyright (c) 2013-2024 Florian Rhiem' __license__ = 'MIT' -__version__ = '2.7.0' +__version__ = '2.8.0' # By default, GLFW errors will be handled by a pre-defined error callback. # Depending on the value of ERROR_REPORTING, this callback will: @@ -653,6 +653,9 @@ ANY_POSITION = 0x80000000 DONT_CARE = -1 +if _PREVIEW: + UNLIMITED_MOUSE_BUTTONS = 0x00033006 + _exc_info_from_callback = None def _callback_exception_decorator(func): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.7.0/glfw/library.py new/glfw-2.8.0/glfw/library.py --- old/glfw-2.7.0/glfw/library.py 2024-02-24 10:46:13.000000000 +0100 +++ new/glfw-2.8.0/glfw/library.py 2024-11-22 16:38:09.000000000 +0100 @@ -234,12 +234,8 @@ # try package directory if glfw is None: try: - if sys.maxsize > 2**32: - # load Microsoft Visual C++ 2012 runtime on 64-bit systems - msvcr = ctypes.CDLL(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'msvcr110.dll')) - else: - # load Microsoft Visual C++ 2010 runtime on 32-bit systems - msvcr = ctypes.CDLL(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'msvcr100.dll')) + # load Microsoft Visual C++ 2013 runtime + msvcr = ctypes.CDLL(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'msvcr120.dll')) glfw = ctypes.CDLL(os.path.join(os.path.abspath(os.path.dirname(__file__)), 'glfw3.dll')) except OSError: pass diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.7.0/glfw.egg-info/PKG-INFO new/glfw-2.8.0/glfw.egg-info/PKG-INFO --- old/glfw-2.7.0/glfw.egg-info/PKG-INFO 2024-02-24 10:46:24.000000000 +0100 +++ new/glfw-2.8.0/glfw.egg-info/PKG-INFO 2024-11-22 16:38:24.000000000 +0100 @@ -1,12 +1,11 @@ Metadata-Version: 2.1 Name: glfw -Version: 2.7.0 +Version: 2.8.0 Summary: A ctypes-based wrapper for GLFW3. Home-page: https://github.com/FlorianRhiem/pyGLFW Author: Florian Rhiem Author-email: florian.rh...@gmail.com License: MIT -Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Environment :: MacOS X Classifier: Environment :: X11 Applications @@ -155,5 +154,3 @@ if __name__ == "__main__": main() - - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/glfw-2.7.0/setup.py new/glfw-2.8.0/setup.py --- old/glfw-2.7.0/setup.py 2024-02-24 10:46:13.000000000 +0100 +++ new/glfw-2.8.0/setup.py 2024-11-22 16:38:09.000000000 +0100 @@ -8,7 +8,7 @@ setup( name='glfw', - version='2.7.0', + version='2.8.0', description='A ctypes-based wrapper for GLFW3.', long_description=long_description, url='https://github.com/FlorianRhiem/pyGLFW', @@ -35,8 +35,7 @@ 'wayland/libglfw.so', 'x11/libglfw.so', 'libglfw.so', - 'msvcr100.dll', - 'msvcr110.dll', + 'msvcr120.dll', ] }, extras_require={