|
|
|
@ -6,7 +6,7 @@ know why the test suite hangs.
|
|
|
|
|
|
|
|
|
|
Name: python-%{pypi_name}
|
|
|
|
|
Version: 1.3.3
|
|
|
|
|
Release: 4%{?dist}
|
|
|
|
|
Release: 5%{?dist}
|
|
|
|
|
Summary: py.test plugin to abort hanging tests
|
|
|
|
|
|
|
|
|
|
License: MIT
|
|
|
|
@ -18,9 +18,6 @@ Patch1: %{url}commits/36998c891573d8ec1db1acd4f9438cb3cf2aee2e/raw#/pyte
|
|
|
|
|
|
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
BuildRequires: python2-devel
|
|
|
|
|
BuildRequires: python2-pexpect
|
|
|
|
|
BuildRequires: python2-pytest
|
|
|
|
|
BuildRequires: python3-devel
|
|
|
|
|
BuildRequires: python3-pexpect
|
|
|
|
|
BuildRequires: python3-pytest
|
|
|
|
@ -28,14 +25,6 @@ BuildRequires: python3-pytest
|
|
|
|
|
%description
|
|
|
|
|
%{desc}
|
|
|
|
|
|
|
|
|
|
%package -n python2-%{pypi_name}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python2-%{pypi_name}}
|
|
|
|
|
|
|
|
|
|
Requires: python2-pytest
|
|
|
|
|
%description -n python2-%{pypi_name}
|
|
|
|
|
%{desc}
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{pypi_name}
|
|
|
|
|
Summary: %{summary}
|
|
|
|
|
%{?python_provide:%python_provide python3-%{pypi_name}}
|
|
|
|
@ -48,23 +37,15 @@ Requires: python3-pytest
|
|
|
|
|
%autosetup -p1 -n %{pypi_name}-%{version}
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%py2_build
|
|
|
|
|
%py3_build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%py2_install
|
|
|
|
|
%py3_install
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
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*
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{pypi_name}
|
|
|
|
|
%doc README
|
|
|
|
|
%license LICENSE
|
|
|
|
@ -72,6 +53,9 @@ PYTHONPATH=%{buildroot}%{python3_sitelib} PYTHONDONTWRITEBYTECODE=1 py.test-%{py
|
|
|
|
|
%{python3_sitelib}/__pycache__/pytest_timeout*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Aug 08 2019 Scott Talbert <swt@techie.net> - 1.3.3-5
|
|
|
|
|
- Remove Python 2 subpackages (#1737398)
|
|
|
|
|
|
|
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.3.3-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|