|
|
e3a610 |
%global pypi_name pytest-asyncio
|
|
|
e3a610 |
%global srcname pytest_asyncio
|
|
|
e3a610 |
%global project_owner pytest-dev
|
|
|
e3a610 |
%global github_name pytest-asyncio
|
|
|
e3a610 |
|
|
|
e3a610 |
%bcond_without tests
|
|
|
e3a610 |
|
|
|
e3a610 |
Name: python3-%{pypi_name}
|
|
|
e3a610 |
Version: 0.14.0
|
|
|
e3a610 |
Release: 2%{?dist}
|
|
|
e3a610 |
Summary: Pytest support for asyncio
|
|
|
e3a610 |
|
|
|
e3a610 |
License: ASL 2.0
|
|
|
e3a610 |
URL: https://pypi.python.org/pypi/%{pypi_name}
|
|
|
e3a610 |
Source0: https://github.com/%{project_owner}/%{github_name}/archive/v%{version}/%{github_name}-%{version}.tar.gz
|
|
|
e3a610 |
|
|
|
e3a610 |
BuildArch: noarch
|
|
|
e3a610 |
BuildRequires: python3-devel
|
|
|
e3a610 |
BuildRequires: python3-setuptools
|
|
|
e3a610 |
%if %{with tests}
|
|
|
e3a610 |
BuildRequires: python3-pytest >= 5.4
|
|
|
e3a610 |
BuildRequires: python3-coverage
|
|
|
e3a610 |
BuildRequires: python3-async-generator >= 1.3
|
|
|
e3a610 |
BuildRequires: python3-hypothesis >= 5.7.1
|
|
|
e3a610 |
%endif
|
|
|
e3a610 |
|
|
|
e3a610 |
%description
|
|
|
e3a610 |
pytest-asyncio is an Apache2 licensed library, written in Python, for testing
|
|
|
e3a610 |
asyncio code with pytest.
|
|
|
e3a610 |
|
|
|
e3a610 |
asyncio code is usually written in the form of coroutines, which makes it
|
|
|
e3a610 |
slightly more difficult to test using normal testing tools. pytest-asyncio
|
|
|
e3a610 |
provides useful fixtures and markers to make testing easier.
|
|
|
e3a610 |
|
|
|
e3a610 |
|
|
|
e3a610 |
%prep
|
|
|
e3a610 |
%setup -qn %{github_name}-%{version}
|
|
|
e3a610 |
|
|
|
e3a610 |
# Don't treat all warnings as errors, there are DeprecationWarnings on 3.8
|
|
|
e3a610 |
sed -i '/filterwarnings = error/d' setup.cfg
|
|
|
e3a610 |
|
|
|
e3a610 |
%build
|
|
|
e3a610 |
%py3_build
|
|
|
e3a610 |
|
|
|
e3a610 |
|
|
|
e3a610 |
%install
|
|
|
e3a610 |
%py3_install
|
|
|
e3a610 |
|
|
|
e3a610 |
|
|
|
e3a610 |
%if %{with tests}
|
|
|
e3a610 |
%check
|
|
|
e3a610 |
%pytest --verbose
|
|
|
e3a610 |
%endif
|
|
|
e3a610 |
|
|
|
e3a610 |
|
|
|
e3a610 |
%files
|
|
|
e3a610 |
%license LICENSE
|
|
|
e3a610 |
%doc README.rst
|
|
|
e3a610 |
%{python3_sitelib}/%{srcname}-%{version}-py%{python3_version}.egg-info/
|
|
|
e3a610 |
%{python3_sitelib}/%{srcname}/
|
|
|
e3a610 |
|
|
|
e3a610 |
|
|
|
e3a610 |
%changelog
|
|
|
e3a610 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.14.0-2
|
|
|
e3a610 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
e3a610 |
|
|
|
e3a610 |
* Sat Aug 08 2020 Miro Hrončok <mhroncok@redhat.com> - 0.14.0-1
|
|
|
e3a610 |
- Update to 0.14.0
|
|
|
e3a610 |
- Fixes rhbz#1826108
|
|
|
e3a610 |
|
|
|
e3a610 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-7
|
|
|
e3a610 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
e3a610 |
|
|
|
e3a610 |
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-6
|
|
|
e3a610 |
- Rebuilt for Python 3.9
|
|
|
e3a610 |
|
|
|
e3a610 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-5
|
|
|
e3a610 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
e3a610 |
|
|
|
e3a610 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-4
|
|
|
e3a610 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
e3a610 |
|
|
|
e3a610 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.10.0-3
|
|
|
e3a610 |
- Rebuilt for Python 3.8
|
|
|
e3a610 |
|
|
|
e3a610 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
|
|
|
e3a610 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
e3a610 |
|
|
|
e3a610 |
* Thu Apr 18 2019 Carl George <carl@george.computer> - 0.10.0-1
|
|
|
e3a610 |
- Latest upstream
|
|
|
e3a610 |
- Run test suite
|
|
|
e3a610 |
|
|
|
e3a610 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-2
|
|
|
e3a610 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
e3a610 |
|
|
|
e3a610 |
* Wed Aug 01 2018 Julien Enselme <jujens@jujens.eu> - 0.9.0-1
|
|
|
e3a610 |
- Update to 0.9.0
|
|
|
e3a610 |
|
|
|
e3a610 |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-4.git18535c3
|
|
|
e3a610 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
e3a610 |
|
|
|
e3a610 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.8.0-3.git18535c3
|
|
|
e3a610 |
- Rebuilt for Python 3.7
|
|
|
e3a610 |
|
|
|
e3a610 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.0-2.git18535c3
|
|
|
e3a610 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
e3a610 |
|
|
|
e3a610 |
* Tue Sep 26 2017 <jujens@jujens.eu> - 0.8.0-1.git18535c3
|
|
|
e3a610 |
- Update to 0.8.0
|
|
|
e3a610 |
|
|
|
e3a610 |
* Thu Sep 14 2017 <jujens@jujens.eu> - 0.7.0-1.git2407487
|
|
|
e3a610 |
- Update to 0.7.0
|
|
|
e3a610 |
|
|
|
e3a610 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.0-2.git72a6c2b
|
|
|
e3a610 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
e3a610 |
|
|
|
e3a610 |
* Tue May 30 2017 Julien Enselme <jujens@jujens.eu> - 0.6.0-1.git72a6c2b
|
|
|
e3a610 |
- Update to 0.6.0
|
|
|
e3a610 |
|
|
|
e3a610 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-4.git917d8a8
|
|
|
e3a610 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
e3a610 |
|
|
|
e3a610 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.5.0-3.git917d8a8
|
|
|
e3a610 |
- Rebuild for Python 3.6
|
|
|
e3a610 |
|
|
|
e3a610 |
* Mon Oct 10 2016 Julien Enselme <jujens@jujens.eu> - 0.5.0-2.git917d8a8
|
|
|
e3a610 |
- Bump version
|
|
|
e3a610 |
|
|
|
e3a610 |
* Wed Sep 07 2016 Julien Enselme <jujens@jujens.eu> - 0.5.0-1.git917d8a8
|
|
|
e3a610 |
- Update to 0.5.0
|
|
|
e3a610 |
|
|
|
e3a610 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.1-2.git64b79e1
|
|
|
e3a610 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
e3a610 |
|
|
|
e3a610 |
* Sun Jun 05 2016 Julien Enselme <jujens@jujens.eu> - 0.4.1-1.git64b79e1
|
|
|
e3a610 |
- Update to 0.4.1
|
|
|
e3a610 |
|
|
|
e3a610 |
* Wed Jun 01 2016 Julien Enselme <jujens@jujens.eu> - 0.4.0-1.gitb4a4bf8
|
|
|
e3a610 |
- Update to 0.4.0
|
|
|
e3a610 |
|
|
|
e3a610 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.0-2.gitae9b430
|
|
|
e3a610 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
e3a610 |
|
|
|
e3a610 |
* Sun Dec 20 2015 Julien Enselme <jujens@jujens.eu> - 0.3.0-1.gitae9b430
|
|
|
e3a610 |
- Update to 0.3.0 (bz:1293083)
|
|
|
e3a610 |
|
|
|
e3a610 |
* Thu Nov 5 2015 Julien Enselme <jujens@jujens.eu> - 0.1.3-3.git2a4c7e6
|
|
|
e3a610 |
- Rebuilt for python 3.5
|
|
|
e3a610 |
|
|
|
e3a610 |
* Sun Aug 2 2015 Julien Enselme <jujens@jujens.eu> - 0.1.3-2.git2a4c7e6
|
|
|
e3a610 |
- Add %%python_provide
|
|
|
e3a610 |
|
|
|
e3a610 |
* Sat Aug 1 2015 Julien Enselme <jujens@jujens.eu> - 0.1.3-1.git2a4c7e6
|
|
|
e3a610 |
- Initial package
|