|
 |
6070b05 |
%global srcname asgiref
|
|
 |
6070b05 |
|
|
 |
b8ef332 |
%global common_description %{expand:
|
|
 |
b8ef332 |
ASGI is a standard for Python asynchronous web apps and servers to communicate
|
|
 |
b8ef332 |
with each other, and positioned as an asynchronous successor to WSGI. This
|
|
 |
b8ef332 |
package includes ASGI base libraries, such as:
|
|
 |
6070b05 |
|
|
 |
b8ef332 |
* Sync-to-async and async-to-sync function wrappers, asgiref.sync
|
|
 |
b8ef332 |
* Server base classes, asgiref.server
|
|
 |
b8ef332 |
* A WSGI-to-ASGI adapter, in asgiref.wsgi}
|
|
 |
b8ef332 |
|
|
 |
b8ef332 |
%bcond_without tests
|
|
 |
6070b05 |
|
|
 |
6070b05 |
|
|
 |
f36edcc |
Name: python-%{srcname}
|
|
 |
f36edcc |
Version: 3.4.1
|
|
 |
f36edcc |
Release: 1%{?dist}
|
|
 |
6070b05 |
Summary: ASGI specs, helper code, and adapters
|
|
 |
cb241f2 |
# This is BSD + bundled async-timeout ASL 2.0
|
|
 |
cb241f2 |
License: BSD and ASL 2.0
|
|
 |
6070b05 |
URL: https://github.com/django/asgiref
|
|
 |
6070b05 |
# PyPI tarball doesn't have tests
|
|
 |
6070b05 |
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
|
|
 |
6070b05 |
BuildArch: noarch
|
|
 |
6070b05 |
|
|
 |
6070b05 |
|
|
 |
b8ef332 |
%description %{common_description}
|
|
 |
6070b05 |
|
|
 |
6070b05 |
|
|
 |
f36edcc |
%package -n python3-%{srcname}
|
|
 |
6070b05 |
Summary: %{summary}
|
|
 |
6070b05 |
BuildRequires: python3-devel
|
|
 |
cb241f2 |
# https://github.com/django/asgiref/commit/9c6df6e02700092eb19adefff3552d44388f69b8
|
|
 |
cb241f2 |
Provides: bundled(python3dist(async-timeout)) == 3.0.1
|
|
 |
6070b05 |
|
|
 |
f36edcc |
|
|
 |
f36edcc |
%description -n python3-%{srcname} %{common_description}
|
|
 |
6070b05 |
|
|
 |
6070b05 |
|
|
 |
6070b05 |
%prep
|
|
 |
6070b05 |
%autosetup -n %{srcname}-%{version}
|
|
 |
6070b05 |
|
|
 |
6070b05 |
|
|
 |
f36edcc |
%generate_buildrequires
|
|
 |
f36edcc |
%pyproject_buildrequires -e %{toxenv}-test
|
|
 |
f36edcc |
|
|
 |
f36edcc |
|
|
 |
6070b05 |
%build
|
|
 |
f36edcc |
%pyproject_wheel
|
|
 |
6070b05 |
|
|
 |
6070b05 |
|
|
 |
6070b05 |
%install
|
|
 |
f36edcc |
%pyproject_install
|
|
 |
f36edcc |
%pyproject_save_files %{srcname}
|
|
 |
6070b05 |
|
|
 |
6070b05 |
|
|
 |
6070b05 |
%if %{with tests}
|
|
 |
6070b05 |
%check
|
|
 |
f36edcc |
%tox -e %{toxenv}-test
|
|
 |
6070b05 |
%endif
|
|
 |
6070b05 |
|
|
 |
6070b05 |
|
|
 |
f36edcc |
%files -n python3-%{srcname} -f %{pyproject_files}
|
|
 |
6070b05 |
%license LICENSE
|
|
 |
6070b05 |
%doc README.rst
|
|
 |
6070b05 |
|
|
 |
6070b05 |
|
|
 |
6070b05 |
%changelog
|
|
 |
f36edcc |
* Wed Jul 28 2021 Carl George <carl@george.computer> - 3.4.1-1
|
|
 |
f36edcc |
- Latest upstream
|
|
 |
f36edcc |
- Resolves: rhbz#1976646
|
|
 |
f36edcc |
|
|
 |
b597df1 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.3.4-3
|
|
 |
b597df1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
 |
b597df1 |
|
|
 |
45e346d |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 3.3.4-2
|
|
 |
45e346d |
- Rebuilt for Python 3.10
|
|
 |
45e346d |
|
|
 |
de029de |
* Wed May 12 2021 Miro Hrončok <mhroncok@redhat.com> - 3.3.4-1
|
|
 |
de029de |
- Update to 3.3.4
|
|
 |
de029de |
- Fixes: rhbz#1886909
|
|
 |
de029de |
- Fixes: rhbz#1957047
|
|
 |
de029de |
|
|
 |
566e132 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.10-3
|
|
 |
566e132 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
 |
566e132 |
|
|
 |
e173204 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.10-2
|
|
 |
e173204 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
 |
e173204 |
|
|
 |
b8ef332 |
* Thu Jun 18 2020 Carl George <carl@george.computer> - 3.2.10-1
|
|
 |
b8ef332 |
- Latest upstream
|
|
 |
b8ef332 |
|
|
 |
d66c375 |
* Mon May 25 2020 Miro Hrončok <mhroncok@redhat.com> - 3.2.7-2
|
|
 |
d66c375 |
- Rebuilt for Python 3.9
|
|
 |
d66c375 |
|
|
 |
3faeda3 |
* Thu Apr 09 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 3.2.7-1
|
|
 |
3faeda3 |
- Update to 3.2.7
|
|
 |
3faeda3 |
|
|
 |
2f46a58 |
* Sat Mar 21 2020 Peter Robinson <pbrobinson@fedoraproject.org> - 3.2.5-1
|
|
 |
2f46a58 |
- Update to 3.2.5 (rhbz #1764824)
|
|
 |
2f46a58 |
|
|
 |
0593a0d |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-2
|
|
 |
0593a0d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
 |
0593a0d |
|
|
 |
cb241f2 |
* Mon Sep 16 2019 Miro Hrončok <mhroncok@redhat.com> - 3.2.2-1
|
|
 |
cb241f2 |
- Update to 3.2.2 (#1691128)
|
|
 |
cb241f2 |
|
|
 |
64c943f |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 2.3.2-4
|
|
 |
64c943f |
- Rebuilt for Python 3.8
|
|
 |
64c943f |
|
|
 |
0e164ad |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-3
|
|
 |
0e164ad |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
 |
0e164ad |
|
|
 |
bb09e4d |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.3.2-2
|
|
 |
bb09e4d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
 |
bb09e4d |
|
|
 |
6070b05 |
* Wed Oct 17 2018 Carl George <carl@george.computer> - 2.3.2-1
|
|
 |
6070b05 |
- Initial package
|