forked from pool/python-PyVirtualDisplay
Accepting request 925650 from home:bnavigator:branches:devel:languages:python
- Update to v2.2 * no release notes - Disable python2: not supported, not resolvable on Leaps OBS-URL: https://build.opensuse.org/request/show/925650 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-PyVirtualDisplay?expand=0&rev=29
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:9d4c6957ec2c4753b5293fb6a60a90d7c27fc01bc5de9b5aa863f7c1e3fb4efc
|
||||
size 18024
|
3
PyVirtualDisplay-2.2.tar.gz
Normal file
3
PyVirtualDisplay-2.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:3ecda6b183b03ba65dcfdf0019809722480d7b7e10eea6e3a40bf1ba3146bab7
|
||||
size 18075
|
@@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Oct 16 09:16:00 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to v2.2
|
||||
* no release notes
|
||||
- Disable python2: not supported, not resolvable on Leaps
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 27 13:35:24 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@@ -16,14 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
%{?!python_module:%define python_module() python3-%{**}}
|
||||
%define skip_python2 1
|
||||
Name: python-PyVirtualDisplay
|
||||
Version: 2.1
|
||||
Version: 2.2
|
||||
Release: 0
|
||||
Summary: Python wrapper for Xvfb, Xephyr and Xvnc
|
||||
License: BSD-2-Clause
|
||||
URL: https://github.com/ponty/PyVirtualDisplay
|
||||
Source: https://files.pythonhosted.org/packages/source/P/PyVirtualDisplay/PyVirtualDisplay-%{version}.tar.gz
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-EasyProcess
|
||||
@@ -37,10 +39,9 @@ BuildRequires: %{python_module Pillow}
|
||||
BuildRequires: %{python_module attrs}
|
||||
BuildRequires: %{python_module entrypoint2}
|
||||
BuildRequires: %{python_module psutil}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module vncdotool >= 0.13.0}
|
||||
BuildRequires: maim
|
||||
BuildRequires: xmessage
|
||||
BuildRequires: xorg-x11-server-extra
|
||||
BuildRequires: xvfb-run
|
||||
@@ -61,8 +62,12 @@ PyVirtualDisplay is a python wrapper for Xvfb, Xephyr and Xvnc.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# xvnc omitted due to "vncext: pseudocolour not supported"
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run --server-args "-screen 0 1920x1080x24" $python -m pytest tests -rs -k 'not (examples or smart or xvnc)'
|
||||
donttest="examples or smart"
|
||||
%{python_expand #
|
||||
export PYTHONPATH=%{buildroot}%{$python_sitelib}
|
||||
xvfb-run --server-args "-screen 0 1920x1080x24" \
|
||||
$python -m pytest -v tests -rs -k "not ($donttest)" -n auto
|
||||
}
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Reference in New Issue
Block a user