14
0
2025-03-28 20:55:14 +00:00
committed by Git OBS Bridge
parent 0107612428
commit df25314363
4 changed files with 21 additions and 16 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Mar 28 20:54:10 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 0.2.10:
* https://github.com/cgoldberg/xvfbwrapper/compare/0.2.9...0.2.10
- modernize spec file
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Aug 27 12:27:38 UTC 2021 - pgajdos@suse.com Fri Aug 27 12:27:38 UTC 2021 - pgajdos@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-xvfbwrapper # spec file for package python-xvfbwrapper
# #
# Copyright (c) 2021 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,26 +16,24 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?sle15_python_module_pythons}
%bcond_without python2
Name: python-xvfbwrapper Name: python-xvfbwrapper
Version: 0.2.9 Version: 0.2.10
Release: 0 Release: 0
Summary: Python wrapper for controlling X virtual framebuffer (Xvfb) Summary: Python wrapper for controlling X virtual framebuffer (Xvfb)
License: MIT License: MIT
URL: https://github.com/cgoldberg/xvfbwrapper URL: https://github.com/cgoldberg/xvfbwrapper
Source: https://files.pythonhosted.org/packages/source/x/xvfbwrapper/xvfbwrapper-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/x/xvfbwrapper/xvfbwrapper-%{version}.tar.gz
Patch0: skip_failing_test.patch Patch0: skip_failing_test.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: xorg-x11-Xvfb Requires: xorg-x11-Xvfb
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: xorg-x11-Xvfb BuildRequires: xorg-x11-Xvfb
%if %{with python2}
BuildRequires: python-mock
%endif
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@@ -47,15 +45,13 @@ physical display. Only a network layer is necessary.
Xvfb is useful for running acceptance tests on headless servers. Xvfb is useful for running acceptance tests on headless servers.
%prep %prep
%setup -q -n xvfbwrapper-%{version} %autosetup -p1 -n xvfbwrapper-%{version}
%autopatch -p1
sed -i -e '/^#!\//, 1d' xvfbwrapper.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -64,6 +60,8 @@ sed -i -e '/^#!\//, 1d' xvfbwrapper.py
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/xvfbwrapper.py
%{python_sitelib}/xvfbwrapper-%{version}.dist-info
%pycache_only %{python_sitelib}/__pycache__/xvfbwrapper.*
%changelog %changelog

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d662cf8f266efd3d0a1c022eebb8d2c04083d6e87fd81392fb5400d95036ed8c
size 7053

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:bcf4ae571941b40254faf7a73432dfc119ad21ce688f1fdec533067037ecfc24
size 5575