Accepting request 542009 from devel:languages:python

-  new pytest-xdist requires pytest-forked package (forwarded request 542008 from mimi_vx)

OBS-URL: https://build.opensuse.org/request/show/542009
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-xdist?expand=0&rev=2
This commit is contained in:
2017-11-17 09:54:54 +00:00
committed by Git OBS Bridge
parent 5382a1ffc6
commit 6f6e326d5f
4 changed files with 105 additions and 10 deletions

View File

@@ -18,29 +18,29 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-xdist
Version: 1.15.0
Version: 1.20.1
Release: 0
Summary: Distributed testing and loop-on-failing for py.test
License: MIT
Group: Development/Languages/Python
Url: https://bitbucket.org/pytest-dev/pytest-xdist
Source0: https://files.pythonhosted.org/packages/source/p/pytest-xdist/pytest-xdist-1.15.0.tar.gz
Source0: https://files.pythonhosted.org/packages/source/p/pytest-xdist/pytest-xdist-%{version}.tar.gz
BuildRequires: %{python_module devel}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: dos2unix
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-apipkg >= 1.4
# test requirements
#BuildRequires: %%{python_module apipkg >= 1.4}
#BuildRequires: %%{python_module execnet >= 1.1}
#BuildRequires: %%{python_module py >= 1.4.22}
#BuildRequires: %%{python_module pytest >= 2.4.2}
Requires: python-apipkg >= 1.4
Requires: python-execnet >= 1.1
Requires: python-py >= 1.4.22
Requires: python-pytest >= 2.4.2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: python-pytest >= 3.0.0
Requires: python-pytest-forked
BuildArch: noarch
%python_subpackages
@@ -88,8 +88,7 @@ dos2unix README.rst
#%%python_expand PYTHONPATH=%%{buildroot}%{$python_sitelib} py.test-%{$python_version} -v -k"-test_n1_import_error -test_manytests_to_one_import_error" testing
%files %{python_files}
%defattr(-,root,root,-)
%doc CHANGELOG ISSUES.txt LICENSE README.rst
%doc CHANGELOG.rst ISSUES.txt LICENSE README.rst
%{python_sitelib}/xdist
%{python_sitelib}/pytest_xdist-%{version}-py%{python_version}.egg-info