d0d535a
%global common_description %{expand:
d0d535a
Curio is a library of building blocks for performing concurrent I/O and common
d0d535a
system programming tasks such as launching subprocesses, working with files,
d0d535a
and farming work out to thread and process pools.  It uses Python coroutines
d0d535a
and the explicit async/await syntax introduced in Python 3.5.  Its programming
d0d535a
model is based on cooperative multitasking and existing programming
d0d535a
abstractions such as threads, sockets, files, subprocesses, locks, and queues.
d0d535a
You'll find it to be small, fast, and fun.  Curio has no third-party
d0d535a
dependencies and does not use the standard asyncio module.  Most users will
d0d535a
probably find it to be a bit too-low level--it's probably best to think of it
d0d535a
as a library for building libraries.  Although you might not use it directly,
d0d535a
many of its ideas have influenced other libraries with similar functionality.}
d0d535a
d0d535a
1f34f02
Name:           python-curio
b449df8
Version:        1.6
1e6cab8
Release:        7%{?dist}
dee8adb
Summary:        Building blocks for performing concurrent I/O
dee8adb
License:        BSD
dee8adb
URL:            https://github.com/dabeaz/curio
12a0326
Source:         %{pypi_source curio}
12a0326
# https://github.com/dabeaz/curio/issues/361
12a0326
Patch:          0001-Python-3.12-compatibility.patch
dee8adb
BuildArch:      noarch
dee8adb
dee8adb
d0d535a
%description %{common_description}
dee8adb
dee8adb
1f34f02
%package -n python3-curio
dee8adb
Summary:        %{summary}
d0d535a
BuildRequires:  python3-devel
d0d535a
BuildRequires:  %{py3_dist pytest}
dee8adb
dee8adb
1f34f02
%description -n python3-curio %{common_description}
dee8adb
dee8adb
dee8adb
%prep
1f34f02
%autosetup -n curio-%{version} -p 1
d0d535a
d0d535a
d0d535a
%generate_buildrequires
1f34f02
%pyproject_buildrequires
dee8adb
dee8adb
dee8adb
%build
d0d535a
%pyproject_wheel
dee8adb
dee8adb
dee8adb
%install
d0d535a
%pyproject_install
1f34f02
%pyproject_save_files curio
dee8adb
dee8adb
dee8adb
%check
d0d535a
%pytest --verbose -m 'not internet'
dee8adb
dee8adb
1f34f02
%files -n python3-curio -f %{pyproject_files}
dee8adb
%doc README.rst
dee8adb
dee8adb
dee8adb
%changelog
1e6cab8
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-7
1e6cab8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
1e6cab8
63ee219
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-6
63ee219
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
63ee219
12a0326
* Tue Jul 25 2023 Carl George <carl@george.computer> - 1.6-5
12a0326
- Add patch for Python 3.12 compatibility, resolves rhbz#2174408
12a0326
6d938ca
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-4
6d938ca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
6d938ca
ca29b6e
* Tue Jun 13 2023 Python Maint <python-maint@redhat.com> - 1.6-3
ca29b6e
- Rebuilt for Python 3.12
ca29b6e
1084b12
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.6-2
1084b12
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
1084b12
b449df8
* Tue Oct 25 2022 Carl George <carl@george.computer> - 1.6-1
b449df8
- Update to 1.6, resolves rhbz#2137578
b449df8
414a6b0
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-7
414a6b0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
414a6b0
37f015e
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.5-6
37f015e
- Rebuilt for Python 3.11
37f015e
d0d535a
* Thu Jan 27 2022 Carl George <carl@george.computer> - 1.5-5
d0d535a
- Convert to pyproject macros
d0d535a
2479092
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-4
2479092
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
2479092
a8687ce
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-3
a8687ce
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
a8687ce
4002979
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.5-2
4002979
- Rebuilt for Python 3.10
4002979
650a1aa
* Fri Mar 19 2021 Charalampos Stratakis <cstratak@redhat.com> - 1.5-1
650a1aa
- Update to 1.5 (rhbz#1821534)
650a1aa
66159e1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-2
66159e1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
66159e1
f361791
* Mon Oct 05 2020 Yatin Karel <ykarel@redhat.com> - 1.4-1
f361791
- Update to 1.4
f361791
0d99bb2
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1-3
0d99bb2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
0d99bb2
aca9c16
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.1-2
aca9c16
- Rebuilt for Python 3.9
aca9c16
653ad2f
* Wed Mar 18 2020 Carl George <carl@george.computer> - 1.1-1
653ad2f
- Latest upstream
959937d
- Add patch0 to skip tests that require internet
653ad2f
8bcfd86
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-6
8bcfd86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
8bcfd86
a14dac1
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-5
a14dac1
- Rebuilt for Python 3.8.0rc1 (#1748018)
a14dac1
2a7e158
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.9-4
2a7e158
- Rebuilt for Python 3.8
2a7e158
7011fa3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-3
7011fa3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
7011fa3
c2373cf
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9-2
c2373cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c2373cf
dee8adb
* Wed Sep 12 2018 Carl George <carl@george.computer> - 0.9-1
dee8adb
- Initial package