Accepting request 623445 from devel:languages:python:pytest

- Version update to 1.3.0:
  * Fixes for python3.7
  * Various small fixes

OBS-URL: https://build.opensuse.org/request/show/623445
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-timeout?expand=0&rev=4
This commit is contained in:
2018-07-18 20:55:47 +00:00
committed by Git OBS Bridge
parent 193190a8d4
commit fa368d645e
4 changed files with 20 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-timeout
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 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
@@ -19,26 +19,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without test
Name: python-pytest-timeout
Version: 1.2.1
Version: 1.3.0
Release: 0
Summary: Pytest plugin to abort hanging tests
License: MIT
Group: Development/Languages/Python
Url: http://bitbucket.org/pytest-dev/pytest-timeout/
URL: http://bitbucket.org/pytest-dev/pytest-timeout/
Source: https://files.pythonhosted.org/packages/source/p/pytest-timeout/pytest-timeout-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pexpect
Requires: python-pytest >= 3.6.0
BuildArch: noarch
%if %{with test}
BuildRequires: %{python_module pexpect}
BuildRequires: %{python_module pytest >= 2.8.0}
BuildRequires: python3-tox
BuildRequires: %{python_module pytest >= 3.6.0}
%endif
BuildRequires: fdupes
Requires: python-pexpect
Requires: python-pytest >= 2.8.0
BuildArch: noarch
%python_subpackages
%description
@@ -81,8 +79,8 @@ popd
%endif
%files %{python_files}
%defattr(-,root,root,-)
%doc LICENSE README
%license LICENSE
%doc README
%{python_sitelib}/pytest_timeout-%{version}-py*.egg-info
%{python_sitelib}/pytest_timeout.py*
%pycache_only %{python_sitelib}/__pycache__/pytest_timeout*.py*