diff --git a/pytest-xvfb-1.1.0.tar.gz b/pytest-xvfb-1.1.0.tar.gz deleted file mode 100644 index bb33ae6..0000000 --- a/pytest-xvfb-1.1.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:21576c6435613b98b21e8917c6c76654f5e6766df9003c5fec8cba7fd2eede21 -size 7575 diff --git a/pytest-xvfb-1.2.0.tar.gz b/pytest-xvfb-1.2.0.tar.gz new file mode 100644 index 0000000..926c024 --- /dev/null +++ b/pytest-xvfb-1.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a7544ca8d0c7c40db4b40d7a417a7b071c68d6ef6bdf9700872d7a167302f979 +size 7642 diff --git a/python-pytest-xvfb.changes b/python-pytest-xvfb.changes index a12d796..a10c371 100644 --- a/python-pytest-xvfb.changes +++ b/python-pytest-xvfb.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Tue Feb 12 12:53:40 UTC 2019 - Tomáš Chvátal + +- Update to 1.2.0: + * Item.get_closest_marker is now used, which restores compatibility with pytest 4.1.0 and requires pytest 3.6.0 or newer. + +------------------------------------------------------------------- +Tue Feb 12 12:52:57 UTC 2019 - Tomáš Chvátal + +- Really run tests +- Remove devel dependency + ------------------------------------------------------------------- Sun Apr 15 18:54:38 UTC 2018 - arun@gmx.de diff --git a/python-pytest-xvfb.spec b/python-pytest-xvfb.spec index f9d4cbf..08ae27c 100644 --- a/python-pytest-xvfb.spec +++ b/python-pytest-xvfb.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-xvfb # -# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2019 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 @@ -12,13 +12,13 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-xvfb -Version: 1.1.0 +Version: 1.2.0 Release: 0 Summary: Pytest plugin to run Xvfb for tests License: MIT @@ -26,12 +26,11 @@ Group: Development/Languages/Python 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} -BuildRequires: %{python_module devel} BuildRequires: %{python_module pytest >= 2.8.1} BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros -BuildRequires: xorg-x11-server +BuildRequires: xvfb-run Requires: python-PyVirtualDisplay >= 0.2.1 Requires: python-pytest >= 2.8.1 Recommends: xorg-x11-server @@ -64,7 +63,7 @@ benefits of Xvfb locally. %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%python_exec setup.py test +%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} xvfb-run py.test-%{$python_bin_suffix} %files %{python_files} %license LICENSE