15
0
forked from pool/python-glfw

Accepting request 1238237 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1238237
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-glfw?expand=0&rev=15
This commit is contained in:
2025-01-16 17:34:38 +00:00
committed by Git OBS Bridge
4 changed files with 26 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0e209ad38fa8c5be67ca590d7b17533d95ad1eb57d0a3f07b98131db69b79000
size 31401

3
glfw-2.8.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:90e90d328b0b26fed6e1631d21801e2d8a7a0c5dcb480e733c177567ec9666f0
size 31372

View File

@@ -1,3 +1,17 @@
-------------------------------------------------------------------
Thu Jan 16 11:15:33 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@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
-------------------------------------------------------------------
Mon Mar 25 20:02:13 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -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