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:
@@ -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
3
pyglet-1.3.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:b00570e7cdf6971af8953b6ece50d83d13272afa5d1f1197c58c0f478dd17743
|
||||||
|
size 3577374
|
@@ -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
|
Thu Feb 15 14:01:06 UTC 2018 - toddrme2178@gmail.com
|
||||||
|
|
||||||
|
@@ -17,11 +17,8 @@
|
|||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!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
|
Name: python-pyglet
|
||||||
Version: 1.3.1
|
Version: 1.3.2
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Windowing and multimedia library
|
Summary: Windowing and multimedia library
|
||||||
License: BSD-3-Clause
|
License: BSD-3-Clause
|
||||||
@@ -45,11 +42,6 @@ BuildRequires: python-rpm-macros
|
|||||||
BuildRequires: pkgconfig(gl)
|
BuildRequires: pkgconfig(gl)
|
||||||
BuildRequires: pkgconfig(glu)
|
BuildRequires: pkgconfig(glu)
|
||||||
BuildRequires: pkgconfig(x11)
|
BuildRequires: pkgconfig(x11)
|
||||||
%if %{with test}
|
|
||||||
BuildRequires: %{python_module pytest}
|
|
||||||
BuildRequires: config(Mesa)
|
|
||||||
BuildRequires: xorg-x11-server
|
|
||||||
%endif
|
|
||||||
Requires: alsa-devel
|
Requires: alsa-devel
|
||||||
Requires: fontconfig-devel
|
Requires: fontconfig-devel
|
||||||
Requires: freetype2-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}
|
%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}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%defattr(-,root,root,-)
|
||||||
%doc LICENSE NOTICE README RELEASE_NOTES
|
%doc LICENSE NOTICE README RELEASE_NOTES
|
||||||
|
Reference in New Issue
Block a user