forked from pool/python-PyVirtualDisplay
Compare commits
4 Commits
Author | SHA256 | Date | |
---|---|---|---|
5d9b96c030 | |||
d72351fe2a | |||
83a1d44ee0 | |||
9bd84d93e3 |
@@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 11 05:49:38 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Switch to pyproject macros.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon May 12 07:45:40 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
- Remove python-vncdotool build dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 6 22:54:38 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file
|
||||
# spec file for package python-PyVirtualDisplay
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -32,7 +32,9 @@ 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 pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-EasyProcess
|
||||
@@ -50,7 +52,6 @@ BuildRequires: %{python_module entrypoint2}
|
||||
BuildRequires: %{python_module psutil}
|
||||
BuildRequires: %{python_module pytest-xdist}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module vncdotool >= 0.13.0}
|
||||
BuildRequires: /usr/bin/who
|
||||
BuildRequires: xmessage
|
||||
BuildRequires: xorg-x11-server-extra
|
||||
@@ -64,13 +65,15 @@ PyVirtualDisplay is a python wrapper for Xvfb, Xephyr and Xvnc.
|
||||
|
||||
%prep
|
||||
%setup -q -n PyVirtualDisplay-%{version}
|
||||
# Ignore test_xvnc.py to remove python-vncdotool build dependency
|
||||
rm tests/test_xvnc.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%if !%{with test}
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%endif
|
||||
|
||||
@@ -91,7 +94,7 @@ xvfb-run --server-args "-screen 0 1920x1080x24" \
|
||||
%license LICENSE.txt
|
||||
%doc README.md
|
||||
%{python_sitelib}/pyvirtualdisplay
|
||||
%{python_sitelib}/PyVirtualDisplay-%{version}-*info
|
||||
%{python_sitelib}/[Pp]y[Vv]irtual[Dd]isplay-%{version}.dist-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user