|
 |
f2b180 |
# what it's called on pypi
|
|
 |
f2b180 |
%global srcname async_generator
|
|
 |
f2b180 |
# what it's imported as
|
|
 |
f2b180 |
%global libname async_generator
|
|
 |
f2b180 |
# name of egg info directory
|
|
 |
f2b180 |
%global eggname async_generator
|
|
 |
f2b180 |
# package name fragment
|
|
 |
f2b180 |
%global pkgname async-generator
|
|
 |
f2b180 |
|
|
 |
f2b180 |
%global _description \
|
|
 |
f2b180 |
This library generally tries hard to match the semantics of Python 3.6's native\
|
|
 |
f2b180 |
async generators in every detail (PEP 525), with additional support for yield\
|
|
 |
f2b180 |
from and for returning non-None values from an async generator (under the\
|
|
 |
f2b180 |
theory that these may well be added to native async generators one day).
|
|
 |
f2b180 |
|
|
 |
f2b180 |
|
|
 |
f2b180 |
Name: python-%{pkgname}
|
|
 |
f2b180 |
Version: 1.10
|
|
 |
f2b180 |
Release: 9%{?dist}
|
|
 |
f2b180 |
Summary: Async generators and context managers
|
|
 |
f2b180 |
License: MIT or ASL 2.0
|
|
 |
f2b180 |
URL: https://github.com/python-trio/async_generator
|
|
 |
f2b180 |
Source0: %pypi_source
|
|
 |
f2b180 |
BuildArch: noarch
|
|
 |
f2b180 |
|
|
 |
f2b180 |
|
|
 |
f2b180 |
%description %{_description}
|
|
 |
f2b180 |
|
|
 |
f2b180 |
|
|
 |
f2b180 |
%package -n python%{python3_pkgversion}-%{pkgname}
|
|
 |
f2b180 |
Summary: %{summary}
|
|
 |
f2b180 |
BuildRequires: python%{python3_pkgversion}-devel
|
|
 |
f2b180 |
BuildRequires: python%{python3_pkgversion}-setuptools
|
|
 |
f2b180 |
BuildRequires: python%{python3_pkgversion}-pytest
|
|
 |
f2b180 |
%{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}
|
|
 |
f2b180 |
|
|
 |
f2b180 |
|
|
 |
f2b180 |
%description -n python%{python3_pkgversion}-%{pkgname} %{_description}
|
|
 |
f2b180 |
|
|
 |
f2b180 |
|
|
 |
f2b180 |
%prep
|
|
 |
f2b180 |
%autosetup -n %{srcname}-%{version}
|
|
 |
f2b180 |
rm -r %{eggname}.egg-info
|
|
 |
f2b180 |
|
|
 |
f2b180 |
|
|
 |
f2b180 |
%build
|
|
 |
f2b180 |
%py3_build
|
|
 |
f2b180 |
|
|
 |
f2b180 |
|
|
 |
f2b180 |
%install
|
|
 |
f2b180 |
%py3_install
|
|
 |
f2b180 |
|
|
 |
f2b180 |
|
|
 |
f2b180 |
%check
|
|
 |
f2b180 |
py.test-%{python3_version} --verbose
|
|
 |
f2b180 |
|
|
 |
f2b180 |
|
|
 |
f2b180 |
%files -n python%{python3_pkgversion}-%{pkgname}
|
|
 |
f2b180 |
%license LICENSE LICENSE.MIT LICENSE.APACHE2
|
|
 |
f2b180 |
%doc README.rst
|
|
 |
f2b180 |
%{python3_sitelib}/%{libname}
|
|
 |
f2b180 |
%{python3_sitelib}/%{eggname}-%{version}-py%{python3_version}.egg-info
|
|
 |
f2b180 |
|
|
 |
f2b180 |
|
|
 |
f2b180 |
%changelog
|
|
 |
f2b180 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-9
|
|
 |
f2b180 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
f2b180 |
|
|
 |
f2b180 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-8
|
|
 |
f2b180 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
f2b180 |
|
|
 |
f2b180 |
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 1.10-7
|
|
 |
f2b180 |
- Rebuilt for Python 3.9
|
|
 |
f2b180 |
|
|
 |
f2b180 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-6
|
|
 |
f2b180 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
f2b180 |
|
|
 |
f2b180 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.10-5
|
|
 |
f2b180 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
 |
f2b180 |
|
|
 |
f2b180 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.10-4
|
|
 |
f2b180 |
- Rebuilt for Python 3.8
|
|
 |
f2b180 |
|
|
 |
f2b180 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-3
|
|
 |
f2b180 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
f2b180 |
|
|
 |
f2b180 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10-2
|
|
 |
f2b180 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
f2b180 |
|
|
 |
f2b180 |
* Fri Sep 07 2018 Carl George <carl@george.computer> - 1.10-1
|
|
 |
f2b180 |
- Initial package
|