forked from pool/python-mss
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
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b42bcc170a138c1afbe05f532374d97486f52c2c69328ae1591dafa64ab92c36
|
||||
size 65957
|
||||
3
mss-6.1.0.tar.gz
Normal file
3
mss-6.1.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:aebd069f3e05667fe9c7b9fa4b1771fe42a4710ce1058ce0236936ce06fa5394
|
||||
size 67375
|
||||
@@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 23 09:33:38 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- 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 <jayvdb@gmail.com>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user