0ef27c1
%global pypi_name pytest-forked
0ef27c1
0ef27c1
Name:           python-%{pypi_name}
8b7afc8
Version:        1.3.0
defd634
Release:        1%{?dist}
0ef27c1
Summary:        py.test plugin for running tests in isolated forked subprocesses
0ef27c1
0ef27c1
License:        MIT
0ef27c1
URL:            https://github.com/pytest-dev/pytest-forked
df75f7c
Source0:        %{pypi_source}
0ef27c1
BuildArch:      noarch
0ef27c1
59eb716
BuildRequires:  python3-devel
df75f7c
BuildRequires:  %{py3_dist py pytest setuptools setuptools_scm}
0ef27c1
df75f7c
%global _description %{expand:
df75f7c
The pytest-forked plugin extends py.test by adding an option to run tests in
df75f7c
isolated forked subprocesses. This is useful if you have tests involving C or
df75f7c
C++ libraries that might crash the process. To use the plugin, simply use the
df75f7c
--forked argument when invoking py.test.}
df75f7c
df75f7c
%description %_description
0ef27c1
0ef27c1
%package -n     python3-%{pypi_name}
0ef27c1
Summary:        %{summary}
0ef27c1
%{?python_provide:%python_provide python3-%{pypi_name}}
0ef27c1
df75f7c
Requires:       %{py3_dist py}
df75f7c
%description -n python3-%{pypi_name} %_description
0ef27c1
0ef27c1
%prep
d2fcd30
%autosetup -n %{pypi_name}-%{version} -p1
0ef27c1
0ef27c1
%build
0ef27c1
%py3_build
0ef27c1
0ef27c1
%install
0ef27c1
%py3_install
0ef27c1
0ef27c1
%check
df75f7c
%pytest
0ef27c1
0ef27c1
0ef27c1
%files -n python3-%{pypi_name}
0ef27c1
%doc example/boxed.txt README.rst
0ef27c1
%license LICENSE
0ef27c1
%{python3_sitelib}/pytest_forked*
0ef27c1
0ef27c1
%changelog
8b7afc8
* Tue Jul 28 2020 Scott Talbert <swt@techie.net> - 1.3.0-1
8b7afc8
- Update to new upstream release 1.3.0 (#1861096)
8b7afc8
defd634
* Thu Jun 25 2020 Scott Talbert <swt@techie.net> - 1.2.0-1
defd634
- Update to new upstream release 1.2.0 (#1851035)
defd634
df75f7c
* Wed Jun 24 2020 Scott Talbert <swt@techie.net> - 1.1.1-6
df75f7c
- Modernize Python packaging; BR setuptools
df75f7c
d2fcd30
* Fri May 29 2020 Charalampos Stratakis <cstratak@redhat.com> - 1.1.1-5
d2fcd30
- Fix pytest 5 compatibility
d2fcd30
7858264
* Fri May 29 2020 Charalampos Stratakis <cstratak@redhat.com> - 1.1.1-4
7858264
- Drop manual requires on python3-pytest to support usage with pytest4 compat package
7858264
78bdcd7
* Sun May 24 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1.1-3
78bdcd7
- Rebuilt for Python 3.9
78bdcd7
c583e89
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
c583e89
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c583e89
2c5506f
* Thu Oct 10 2019 Scott Talbert <swt@techie.net> - 1.1.1-1
2c5506f
- Update to new upstream release 1.1.1 (#1760556)
2c5506f
59a2710
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-5
59a2710
- Rebuilt for Python 3.8.0rc1 (#1748018)
59a2710
e0ee56b
* Sat Aug 17 2019 Miro Hrončok <mhroncok@redhat.com> - 1.0.2-4
e0ee56b
- Rebuilt for Python 3.8
e0ee56b
59eb716
* Fri Aug 09 2019 Scott Talbert <swt@techie.net> - 1.0.2-3
59eb716
- Remove Python 2 subpackages (#1739658)
59eb716
e4186bb
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-2
e4186bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
e4186bb
44f748d
* Wed Feb 20 2019 Scott Talbert <swt@techie.net> - 1.0.2-1
44f748d
- New upstream release 1.0.2
44f748d
ce97568
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
ce97568
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ce97568
202115e
* Sat Jan 12 2019 Scott Talbert <swt@techie.net> - 1.0.1-1
202115e
- New upstream release 1.0.1
202115e
033b1e8
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-5
033b1e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
033b1e8
e5a84a8
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.2-4
e5a84a8
- Rebuilt for Python 3.7
e5a84a8
4e32f12
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2-3
4e32f12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
4e32f12
0ef27c1
* Thu Aug 17 2017 Scott Talbert <swt@techie.net> - 0.2-2
0ef27c1
- Updated to use py[23]dist macros for BR and R
0ef27c1
0ef27c1
* Thu Aug 10 2017 Scott Talbert <swt@techie.net> - 0.2-1
0ef27c1
- Initial package.