Blame SPECS/python3-pytest-asyncio.spec

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