Hello community,

here is the log from the commit of package python-pyglet for openSUSE:Factory 
checked in at 2019-09-18 13:10:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pyglet (Old)
 and      /work/SRC/openSUSE:Factory/.python-pyglet.new.7948 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pyglet"

Wed Sep 18 13:10:24 2019 rev:8 rq:731155 version:1.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pyglet/python-pyglet.changes      
2019-06-19 21:03:08.938227794 +0200
+++ /work/SRC/openSUSE:Factory/.python-pyglet.new.7948/python-pyglet.changes    
2019-09-18 13:10:46.808698226 +0200
@@ -1,0 +2,5 @@
+Sun Sep 15 07:07:32 UTC 2019 - John Vandenberg <[email protected]>
+
+- Use %python_expand in %check to allow building only one flavour
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pyglet.spec ++++++
--- /var/tmp/diff_new_pack.F6hTQU/_old  2019-09-18 13:10:47.464698088 +0200
+++ /var/tmp/diff_new_pack.F6hTQU/_new  2019-09-18 13:10:47.468698087 +0200
@@ -271,15 +271,19 @@
 
 pytest_addopts="$pytest_addopts tests/unit tests/integration"
 
+%{python_expand  #
 # These are only problematic on Python 2, and are restored after Python 2 tests
 # https://bitbucket.org/pyglet/pyglet/issues/223/clock-test-failures
-mv tests/unit/test_clock.py tests/unit/.test_clock.py
-
-python2 -m pytest $pytest_addopts -k "not ($pytest_k_list)"
-
-mv tests/unit/.test_clock.py tests/unit/test_clock.py
-
-python3 -m pytest $pytest_addopts -k "not ($pytest_k_list)"
+if [ $python = python2 ]; then
+  mv tests/unit/test_clock.py tests/unit/.test_clock.py
+fi
+
+$python -m pytest $pytest_addopts -k "not ($pytest_k_list)"
+
+if [ -x tests/unit/.test_clock.py ]; then
+  mv tests/unit/.test_clock.py tests/unit/test_clock.py
+fi
+}
 
 # endif test
 %endif


Reply via email to