diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..54f1632 --- /dev/null +++ b/LICENSE @@ -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. diff --git a/pytest-xvfb-1.2.0.tar.gz b/pytest-xvfb-1.2.0.tar.gz deleted file mode 100644 index 926c024..0000000 --- a/pytest-xvfb-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a7544ca8d0c7c40db4b40d7a417a7b071c68d6ef6bdf9700872d7a167302f979 -size 7642 diff --git a/pytest-xvfb-2.0.0.tar.gz b/pytest-xvfb-2.0.0.tar.gz new file mode 100644 index 0000000..c86d151 --- /dev/null +++ b/pytest-xvfb-2.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4ba642de05499940db7f65ee111621939be513e3e75c3da9156b7235e2ed8cf +size 6575 diff --git a/python-pytest-xvfb.changes b/python-pytest-xvfb.changes index a0f1012..ec13e76 100644 --- a/python-pytest-xvfb.changes +++ b/python-pytest-xvfb.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Thu Aug 20 13:21:30 UTC 2020 - John Vandenberg + +- Update to v2.0.0: + * PyVirtualDisplay 1.3 and newer is now supported, support for older versions was dropped. + * Support for Python 2.7, 3.3 and 3.4 is now dropped. + * Support for Python 3.6, 3.7 and 3.8 was added (no code changes required). + * Xvfb is now not started anymore in the xdist master process. + ------------------------------------------------------------------- Sun May 24 07:43:57 UTC 2020 - Tomáš Chvátal diff --git a/python-pytest-xvfb.spec b/python-pytest-xvfb.spec index db16013..4350e85 100644 --- a/python-pytest-xvfb.spec +++ b/python-pytest-xvfb.spec @@ -1,7 +1,7 @@ # # 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 # remain the property of their copyright owners, unless otherwise agreed @@ -18,19 +18,21 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-xvfb -Version: 1.2.0 +Version: 2.0.0 Release: 0 Summary: Pytest plugin to run Xvfb for tests License: MIT URL: https://github.com/The-Compiler/pytest-xvfb 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 setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros BuildRequires: xvfb-run -Requires: python-PyVirtualDisplay >= 0.2.1 +Requires: python-PyVirtualDisplay >= 0.3 Requires: python-pytest >= 2.8.1 Requires: xdpyinfo Recommends: xorg-x11-server @@ -54,6 +56,8 @@ benefits of Xvfb locally. %prep %setup -q -n pytest-xvfb-%{version} +rm tests/test_xvfb_windows.py +cp %{SOURCE1} . %build %python_build