forked from pool/python-pytest-shutil
- Update to 1.7.0:
* Support pytest 4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-shutil?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
e822fc5575
commit
bac36e4614
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pytest-shutil
|
||||
Version: 1.6.0
|
||||
Version: 1.7.0
|
||||
Release: 0
|
||||
Summary: A goodie-bag of unix shell and environment tools for pytest
|
||||
License: MIT
|
||||
@@ -55,7 +55,6 @@ tools for automated tests.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-shutil-%{version}
|
||||
sed -i -e 's:pytest<4.0.0:pytest:g' setup.py
|
||||
sed -i '/contextlib2/d' setup.py
|
||||
|
||||
%build
|
||||
@@ -66,7 +65,7 @@ sed -i '/contextlib2/d' setup.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md CHANGES.md
|
||||
|
||||
Reference in New Issue
Block a user