Blob Blame History Raw
%global pypi_name pytest-timeout
%global desc This is a plugin which will terminate tests after a certain timeout. When doing\
so it will show a stack dump of all threads running at the time. This is useful\
when running tests under a continuous integration server or simply if you don’t\
know why the test suite hangs.

Name:           python-%{pypi_name}
Version:        1.0.0
Release:        1%{?dist}
Summary:        py.test plugin to abort hanging tests

License:        MIT
BuildArch:      noarch

BuildRequires:  python2-devel
BuildRequires:  python2-pytest
BuildRequires:  python3-devel
BuildRequires:  python3-pytest


%package -n     python2-%{pypi_name}
Summary:        %{summary}
%{?python_provide:%python_provide python2-%{pypi_name}}

Requires:       python-pytest
%description -n python2-%{pypi_name}

%package -n     python3-%{pypi_name}
Summary:        %{summary}
%{?python_provide:%python_provide python3-%{pypi_name}}

Requires:       python3-pytest
%description -n python3-%{pypi_name}

%autosetup -n %{pypi_name}-%{version}



%files -n python2-%{pypi_name}
%license LICENSE

%files -n python3-%{pypi_name}
%license LICENSE

* Thu Aug 11 2016 Scott Talbert <> - 1.0.0-1
- Initial package.