From 9f109171de2fe7a792472f229894ee4a18ddf0b64f32e5bad2f92358c624c656 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Wed, 23 Dec 2020 12:47:39 +0000 Subject: [PATCH] Accepting request 858328 from home:bnavigator:branches:devel:languages:python - Update to v6.1.0 * MSS: reworked how C functions are initialised * tests: expand Python versions to 3.9 and 3.10 * tests: fix test_entry_point() when there are several monitors - clean test rig setup OBS-URL: https://build.opensuse.org/request/show/858328 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mss?expand=0&rev=3 --- mss-6.0.0.tar.gz | 3 --- mss-6.1.0.tar.gz | 3 +++ python-mss.changes | 9 +++++++++ python-mss.spec | 13 ++++++++----- 4 files changed, 20 insertions(+), 8 deletions(-) delete mode 100644 mss-6.0.0.tar.gz create mode 100644 mss-6.1.0.tar.gz diff --git a/mss-6.0.0.tar.gz b/mss-6.0.0.tar.gz deleted file mode 100644 index 0d6f922..0000000 --- a/mss-6.0.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b42bcc170a138c1afbe05f532374d97486f52c2c69328ae1591dafa64ab92c36 -size 65957 diff --git a/mss-6.1.0.tar.gz b/mss-6.1.0.tar.gz new file mode 100644 index 0000000..89e0f9f --- /dev/null +++ b/mss-6.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:aebd069f3e05667fe9c7b9fa4b1771fe42a4710ce1058ce0236936ce06fa5394 +size 67375 diff --git a/python-mss.changes b/python-mss.changes index f035fa5..6b417ed 100644 --- a/python-mss.changes +++ b/python-mss.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Dec 23 09:33:38 UTC 2020 - Benjamin Greiner + +- Update to v6.1.0 + * MSS: reworked how C functions are initialised + * tests: expand Python versions to 3.9 and 3.10 + * tests: fix test_entry_point() when there are several monitors +- clean test rig setup + ------------------------------------------------------------------- Fri Aug 14 03:22:58 PM UTC 2020 - John Vandenberg diff --git a/python-mss.spec b/python-mss.spec index b7e60f1..f3bf476 100644 --- a/python-mss.spec +++ b/python-mss.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-mss -Version: 6.0.0 +Version: 6.1.0 Release: 0 Summary: Python multiple screenshots module License: MIT @@ -45,8 +45,6 @@ An ultra fast cross-platform multiple screenshots module in pure Python using ct %prep %setup -q -n mss-%{version} -mv mss/tests . -rm tests/test_setup.py %build %python_build @@ -65,12 +63,17 @@ rm tests/test_setup.py %check export LANG=en_US.UTF-8 # test_region_out_of_monitor_bounds fails on ppc64 only -%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run --server-args "-screen 0 1920x1080x24" $python -m pytest tests/test_*.py -k 'not test_region_out_of_monitor_bounds' +echo ' +%pytest --ignore mss/tests/test_setup.py -k "not test_region_out_of_monitor_bounds" +'> pytest_script.sh +# need explicitly set up screen. +xvfb-run --server-args "-screen 0 1920x1080x24" sh pytest_script.sh %files %{python_files} %doc README.rst %license LICENSE %python_alternative %{_bindir}/mss -%{python_sitelib}/* +%{python_sitelib}/mss +%{python_sitelib}/mss-%{version}*-info %changelog