14
0
forked from pool/python-pyglet

Accepting request 616885 from home:TheBlackCat:branches:devel:languages:python

- Update to version 1.3.2
  * #158 Fix mouse events in mouse exclusive mode on Windows.
  * #105 Crashes in PulseAudio;
  * #163 Workaround for running inside Spyder;
  * #45  Expose viewport size for use on HiDPI screens;
  * #15  Respect keyboard layout on macOS;
- Remove broken tests

OBS-URL: https://build.opensuse.org/request/show/616885
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyglet?expand=0&rev=17
This commit is contained in:
Todd R
2018-06-14 14:05:07 +00:00
committed by Git OBS Bridge
parent 7da4b6987e
commit af8107f40c
4 changed files with 15 additions and 24 deletions

View File

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

3
pyglet-1.3.2.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Thu Jun 14 13:35:30 UTC 2018 - toddrme2178@gmail.com
- Update to version 1.3.2
* #158 Fix mouse events in mouse exclusive mode on Windows.
* #105 Crashes in PulseAudio;
* #163 Workaround for running inside Spyder;
* #45 Expose viewport size for use on HiDPI screens;
* #15 Respect keyboard layout on macOS;
- Remove broken tests
-------------------------------------------------------------------
Thu Feb 15 14:01:06 UTC 2018 - toddrme2178@gmail.com

View File

@@ -17,11 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define X_display ":98"
# TODO: Can't get display working with glx
%bcond_with test
Name: python-pyglet
Version: 1.3.1
Version: 1.3.2
Release: 0
Summary: Windowing and multimedia library
License: BSD-3-Clause
@@ -45,11 +42,6 @@ BuildRequires: python-rpm-macros
BuildRequires: pkgconfig(gl)
BuildRequires: pkgconfig(glu)
BuildRequires: pkgconfig(x11)
%if %{with test}
BuildRequires: %{python_module pytest}
BuildRequires: config(Mesa)
BuildRequires: xorg-x11-server
%endif
Requires: alsa-devel
Requires: fontconfig-devel
Requires: freetype2-devel
@@ -90,18 +82,6 @@ find examples_%{$python_bin_suffix} -name "*.py" -exec sed -i "s|^#!/usr/bin/env
%fdupes %{buildroot}%{$python_sitelib}
}
%if %{with test}
%check
#############################################
### Launch a virtual framebuffer X server ###
#############################################
export DISPLAY=%{X_display}
vfb %{X_display} >& Xvfb.log &
trap "kill $! || true" EXIT
sleep 10
%python_expand py.test-%{$python_bin_suffix}
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE NOTICE README RELEASE_NOTES