forked from pool/python-pytest-xvfb
Accepting request 828216 from home:jayvdb:py-submit
depends on https://build.opensuse.org/request/show/828215 OBS-URL: https://build.opensuse.org/request/show/828216 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-xvfb?expand=0&rev=8
This commit is contained in:
committed by
Git OBS Bridge
parent
21425ff4d6
commit
531bf5d6c4
21
LICENSE
Normal file
21
LICENSE
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2016 Florian Bruhin
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in
|
||||||
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:a7544ca8d0c7c40db4b40d7a417a7b071c68d6ef6bdf9700872d7a167302f979
|
|
||||||
size 7642
|
|
||||||
BIN
pytest-xvfb-2.0.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
pytest-xvfb-2.0.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 20 13:21:30 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
|
||||||
|
|
||||||
|
- Update to v2.0.0
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun May 24 07:43:57 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
Sun May 24 07:43:57 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-pytest-xvfb
|
# spec file for package python-pytest-xvfb
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2020 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# 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
|
||||||
@@ -18,19 +18,21 @@
|
|||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-pytest-xvfb
|
Name: python-pytest-xvfb
|
||||||
Version: 1.2.0
|
Version: 2.0.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Pytest plugin to run Xvfb for tests
|
Summary: Pytest plugin to run Xvfb for tests
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/The-Compiler/pytest-xvfb
|
URL: https://github.com/The-Compiler/pytest-xvfb
|
||||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-xvfb/pytest-xvfb-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/p/pytest-xvfb/pytest-xvfb-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module PyVirtualDisplay >= 0.2.1}
|
# https://github.com/The-Compiler/pytest-xvfb/pull/26
|
||||||
|
Source1: https://raw.githubusercontent.com/The-Compiler/pytest-xvfb/master/LICENSE
|
||||||
|
BuildRequires: %{python_module PyVirtualDisplay >= 0.3}
|
||||||
BuildRequires: %{python_module pytest >= 2.8.1}
|
BuildRequires: %{python_module pytest >= 2.8.1}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
BuildRequires: xvfb-run
|
BuildRequires: xvfb-run
|
||||||
Requires: python-PyVirtualDisplay >= 0.2.1
|
Requires: python-PyVirtualDisplay >= 0.3
|
||||||
Requires: python-pytest >= 2.8.1
|
Requires: python-pytest >= 2.8.1
|
||||||
Requires: xdpyinfo
|
Requires: xdpyinfo
|
||||||
Recommends: xorg-x11-server
|
Recommends: xorg-x11-server
|
||||||
@@ -54,6 +56,8 @@ benefits of Xvfb locally.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n pytest-xvfb-%{version}
|
%setup -q -n pytest-xvfb-%{version}
|
||||||
|
rm tests/test_xvfb_windows.py
|
||||||
|
cp %{SOURCE1} .
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
|
|||||||
Reference in New Issue
Block a user