forked from pool/python-pytest-svn
- Update to 1.7.0:
* Support pytest4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-svn?expand=0&rev=3
This commit is contained in:
committed by
Git OBS Bridge
parent
c9624158d2
commit
dc33440607
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-pytest-svn
|
||||
Version: 1.6.0
|
||||
Version: 1.7.0
|
||||
Release: 0
|
||||
Summary: SVN repository fixture for pytest
|
||||
License: MIT
|
||||
@@ -34,8 +34,8 @@ Requires: python-pytest-shutil
|
||||
Requires: subversion
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module pytest-shutil}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: subversion
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
@@ -45,7 +45,6 @@ SVN repository fixture for py.test.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-svn-%{version}
|
||||
sed -i 's:pytest<[0-9.]*:pytest:g' setup.py
|
||||
|
||||
%build
|
||||
%python_build
|
||||
@@ -55,7 +54,7 @@ sed -i 's:pytest<[0-9.]*:pytest:g' setup.py
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%python_exec setup.py test
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc CHANGES.md README.md
|
||||
|
||||
Reference in New Issue
Block a user