diff --git a/glfw-2.7.0.tar.gz b/glfw-2.7.0.tar.gz deleted file mode 100644 index 23ea3cb..0000000 --- a/glfw-2.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0e209ad38fa8c5be67ca590d7b17533d95ad1eb57d0a3f07b98131db69b79000 -size 31401 diff --git a/glfw-2.8.0.tar.gz b/glfw-2.8.0.tar.gz new file mode 100644 index 0000000..335fd2b --- /dev/null +++ b/glfw-2.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:90e90d328b0b26fed6e1631d21801e2d8a7a0c5dcb480e733c177567ec9666f0 +size 31372 diff --git a/python-glfw.changes b/python-glfw.changes index 4751355..000cefe 100644 --- a/python-glfw.changes +++ b/python-glfw.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Thu Jan 16 11:15:33 UTC 2025 - John Paul Adrian Glaubitz + +- 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 + ------------------------------------------------------------------- Mon Mar 25 20:02:13 UTC 2024 - Dirk Müller diff --git a/python-glfw.spec b/python-glfw.spec index cef27e4..a4efdc1 100644 --- a/python-glfw.spec +++ b/python-glfw.spec @@ -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 @@ except for: %setup -q -n glfw-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -65,6 +67,7 @@ except for: %files %{python_files} %license LICENSE.txt %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/glfw +%{python_sitelib}/glfw-*.dist-info %changelog