forked from pool/python-pytest-virtualenv
Accepting request 855629 from home:mcepl:branches:devel:tools:scm
- We don't need to break Python 2.7 OBS-URL: https://build.opensuse.org/request/show/855629 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-virtualenv?expand=0&rev=8
This commit is contained in:
@@ -38,6 +38,10 @@ BuildRequires: %{python_module pytest-shutil}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools-git}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
%if 0%{?suse_version} <= 1500
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module virtualenv}
|
||||
%endif
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-path.py
|
||||
@@ -63,7 +67,8 @@ what's installed.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%pytest
|
||||
# Requires network access
|
||||
%pytest -k 'not test_installed_packages'
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGES.md README.md
|
||||
|
Reference in New Issue
Block a user