Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-PyVirtualDisplay for
openSUSE:Factory checked in at 2021-11-09 23:53:57
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-PyVirtualDisplay (Old)
and /work/SRC/openSUSE:Factory/.python-PyVirtualDisplay.new.1890 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-PyVirtualDisplay"
Tue Nov 9 23:53:57 2021 rev:17 rq:929851 version:2.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-PyVirtualDisplay/python-PyVirtualDisplay.changes
2021-04-01 14:16:00.947869075 +0200
+++
/work/SRC/openSUSE:Factory/.python-PyVirtualDisplay.new.1890/python-PyVirtualDisplay.changes
2021-11-09 23:54:10.127939119 +0100
@@ -1,0 +2,7 @@
+Sat Oct 16 09:16:00 UTC 2021 - Ben Greiner <[email protected]>
+
+- Update to v2.2
+ * no release notes
+- Disable python2: not supported, not resolvable on Leaps
+
+-------------------------------------------------------------------
Old:
----
PyVirtualDisplay-2.1.tar.gz
New:
----
PyVirtualDisplay-2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-PyVirtualDisplay.spec ++++++
--- /var/tmp/diff_new_pack.c7THRm/_old 2021-11-09 23:54:10.543939330 +0100
+++ /var/tmp/diff_new_pack.c7THRm/_new 2021-11-09 23:54:10.543939330 +0100
@@ -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 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 @@
%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
++++++ PyVirtualDisplay-2.1.tar.gz -> PyVirtualDisplay-2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyVirtualDisplay-2.1/PKG-INFO
new/PyVirtualDisplay-2.2/PKG-INFO
--- old/PyVirtualDisplay-2.1/PKG-INFO 2021-03-01 18:22:50.473461400 +0100
+++ new/PyVirtualDisplay-2.2/PKG-INFO 2021-05-30 18:52:55.595889800 +0200
@@ -1,13 +1,13 @@
Metadata-Version: 2.1
Name: PyVirtualDisplay
-Version: 2.1
+Version: 2.2
Summary: python wrapper for Xvfb, Xephyr and Xvnc
Home-page: https://github.com/ponty/pyvirtualdisplay
Author: ponty
License: BSD
Description: pyvirtualdisplay is a python wrapper for Xvfb, Xephyr and Xvnc
- Documentation: https://github.com/ponty/pyvirtualdisplay/tree/2.1
+ Documentation: https://github.com/ponty/pyvirtualdisplay/tree/2.2
Keywords: Xvfb Xephyr X wrapper
Platform: UNKNOWN
Classifier: License :: OSI Approved :: BSD License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/PyVirtualDisplay-2.1/PyVirtualDisplay.egg-info/PKG-INFO
new/PyVirtualDisplay-2.2/PyVirtualDisplay.egg-info/PKG-INFO
--- old/PyVirtualDisplay-2.1/PyVirtualDisplay.egg-info/PKG-INFO 2021-03-01
18:22:50.000000000 +0100
+++ new/PyVirtualDisplay-2.2/PyVirtualDisplay.egg-info/PKG-INFO 2021-05-30
18:52:55.000000000 +0200
@@ -1,13 +1,13 @@
Metadata-Version: 2.1
Name: PyVirtualDisplay
-Version: 2.1
+Version: 2.2
Summary: python wrapper for Xvfb, Xephyr and Xvnc
Home-page: https://github.com/ponty/pyvirtualdisplay
Author: ponty
License: BSD
Description: pyvirtualdisplay is a python wrapper for Xvfb, Xephyr and Xvnc
- Documentation: https://github.com/ponty/pyvirtualdisplay/tree/2.1
+ Documentation: https://github.com/ponty/pyvirtualdisplay/tree/2.2
Keywords: Xvfb Xephyr X wrapper
Platform: UNKNOWN
Classifier: License :: OSI Approved :: BSD License
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyVirtualDisplay-2.1/README.md
new/PyVirtualDisplay-2.2/README.md
--- old/PyVirtualDisplay-2.1/README.md 2021-02-21 13:09:10.000000000 +0100
+++ new/PyVirtualDisplay-2.2/README.md 2021-03-21 14:45:01.000000000 +0100
@@ -50,7 +50,8 @@
```py
from pyvirtualdisplay import Display
-disp = Display().start()
+disp = Display()
+disp.start()
# display is active
disp.stop()
# display is stopped
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyVirtualDisplay-2.1/pyvirtualdisplay/about.py
new/PyVirtualDisplay-2.2/pyvirtualdisplay/about.py
--- old/PyVirtualDisplay-2.1/pyvirtualdisplay/about.py 2021-02-25
17:18:33.000000000 +0100
+++ new/PyVirtualDisplay-2.2/pyvirtualdisplay/about.py 2021-05-30
18:49:28.000000000 +0200
@@ -1 +1 @@
-__version__ = "2.1"
+__version__ = "2.2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/PyVirtualDisplay-2.1/pyvirtualdisplay/xephyr.py
new/PyVirtualDisplay-2.2/pyvirtualdisplay/xephyr.py
--- old/PyVirtualDisplay-2.1/pyvirtualdisplay/xephyr.py 2020-12-31
23:33:43.000000000 +0100
+++ new/PyVirtualDisplay-2.2/pyvirtualdisplay/xephyr.py 2021-04-02
22:56:02.000000000 +0200
@@ -23,6 +23,7 @@
retries=10,
extra_args=[],
manage_global_env=True,
+ parent=None,
):
"""
:param bgcolor: 'black' or 'white'
@@ -30,6 +31,7 @@
self._color_depth = color_depth
self._size = size
self._bgcolor = bgcolor
+ self._parent = parent
AbstractDisplay.__init__(
self,
@@ -46,6 +48,7 @@
def _cmd(self):
cmd = [
PROGRAM,
+ ] + (["-parent", self._parent] if self._parent else []) + [
dict(black="-br", white="-wr")[self._bgcolor],
"-screen",
"x".join(map(str, list(self._size) + [self._color_depth])),