|
|
|
@ -6,7 +6,7 @@ know why the test suite hangs.
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 1.3.1
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: py.test plugin to abort hanging tests
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -52,15 +52,14 @@ Requires: python3-pytest
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python2_sitelib} py.test-%{python2_version}
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version}
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python2_sitelib} PYTHONDONTWRITEBYTECODE=1 py.test-%{python2_version}
|
|
|
|
|
PYTHONPATH=%{buildroot}%{python3_sitelib} PYTHONDONTWRITEBYTECODE=1 py.test-%{python3_version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-%{pypi_name}
|
|
|
|
|
%doc README
|
|
|
|
|
%license LICENSE
|
|
|
|
|
%{python2_sitelib}/pytest_timeout*
|
|
|
|
|
%{python2_sitelib}/__pycache__/pytest_timeout*
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%doc README
|
|
|
|
@ -69,6 +68,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} py.test-%{python3_version}
|
|
|
|
|
%{python3_sitelib}/__pycache__/pytest_timeout*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Fri Sep 14 2018 Scott Talbert <swt@techie.net> - 1.3.1-2
|
|
|
|
|
- Disable writing bytecode when running tests to avoid packaging pycache files
|
|
|
|
|
|
|
|
|
|
* Tue Jul 24 2018 Scott Talbert <swt@techie.net> - 1.3.1-1
|
|
|
|
|
- New upstream release 1.3.1
|
|
|
|
|
|
|
|
|
|