15
0
forked from pool/python-glfw

Accepting request 681311 from devel:languages:python

- Update to 1.7.1:
  * Fixed a bug in set_window_icon and added support for PIL/pillow Image objects
  * Improved packaging
  * Added NORMALIZE_GAMMA_RAMPS, use namedtuples for structs and moved library loading to glfw.library
  * Added glfw.GLFW for the naming convention used by the GLFW C API
  * Fixed exception re-raising for Python 2
- There are no tests, so remove test conditional

OBS-URL: https://build.opensuse.org/request/show/681311
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-glfw?expand=0&rev=3
This commit is contained in:
2019-03-05 11:22:34 +00:00
committed by Git OBS Bridge
4 changed files with 18 additions and 15 deletions

View File

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

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

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Mar 4 11:42:25 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.7.1:
* Fixed a bug in set_window_icon and added support for PIL/pillow Image objects
* Improved packaging
* Added NORMALIZE_GAMMA_RAMPS, use namedtuples for structs and moved library loading to glfw.library
* Added glfw.GLFW for the naming convention used by the GLFW C API
* Fixed exception re-raising for Python 2
- There are no tests, so remove test conditional
-------------------------------------------------------------------
Tue Dec 4 12:48:29 UTC 2018 - Matej Cepl <mcepl@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-glfw
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,9 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_with test
Name: python-glfw
Version: 1.4.0
Version: 1.7.1
Release: 0
Summary: A ctypes-based wrapper for GLFW3
License: MIT
@@ -28,12 +27,10 @@ URL: https://github.com/FlorianRhiem/pyGLFW
Source: https://files.pythonhosted.org/packages/source/g/glfw/glfw-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: libglfw3
BuildRequires: python-rpm-macros
Requires: libglfw3
BuildArch: noarch
%if %{with test}
BuildRequires: libglfw3
%endif
%python_subpackages
%description
@@ -62,14 +59,9 @@ except for:
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%if %{with test}
%check
%python_exec setup.py test
%endif
%files %{python_files}
%license LICENSE.txt
%doc CHANGES.txt README.txt
%doc CHANGES.txt README.rst
%{python_sitelib}/*
%changelog