%global srcname curio %global common_description %{expand: Curio is a library of building blocks for performing concurrent I/O and common system programming tasks such as launching subprocesses, working with files, and farming work out to thread and process pools. It uses Python coroutines and the explicit async/await syntax introduced in Python 3.5. Its programming model is based on cooperative multitasking and existing programming abstractions such as threads, sockets, files, subprocesses, locks, and queues. You'll find it to be small, fast, and fun. Curio has no third-party dependencies and does not use the standard asyncio module. Most users will probably find it to be a bit too-low level--it's probably best to think of it as a library for building libraries. Although you might not use it directly, many of its ideas have influenced other libraries with similar functionality.} %bcond_without tests Name: python-%{srcname} Version: 1.5 Release: 7%{?dist} Summary: Building blocks for performing concurrent I/O License: BSD URL: https://github.com/dabeaz/curio Source0: %pypi_source BuildArch: noarch %description %{common_description} %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel %if %{with tests} BuildRequires: %{py3_dist pytest} %endif %description -n python3-%{srcname} %{common_description} %prep %autosetup -n %{srcname}-%{version} -p 1 %generate_buildrequires %pyproject_buildrequires -r %build %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %if %{with tests} %check %pytest --verbose -m 'not internet' %endif %files -n python3-%{srcname} -f %{pyproject_files} %doc README.rst %changelog * Fri Jul 22 2022 Fedora Release Engineering - 1.5-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 1.5-6 - Rebuilt for Python 3.11 * Thu Jan 27 2022 Carl George - 1.5-5 - Convert to pyproject macros * Fri Jan 21 2022 Fedora Release Engineering - 1.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 1.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 1.5-2 - Rebuilt for Python 3.10 * Fri Mar 19 2021 Charalampos Stratakis - 1.5-1 - Update to 1.5 (rhbz#1821534) * Wed Jan 27 2021 Fedora Release Engineering - 1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Mon Oct 05 2020 Yatin Karel - 1.4-1 - Update to 1.4 * Wed Jul 29 2020 Fedora Release Engineering - 1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 1.1-2 - Rebuilt for Python 3.9 * Wed Mar 18 2020 Carl George - 1.1-1 - Latest upstream - Add patch0 to skip tests that require internet * Thu Jan 30 2020 Fedora Release Engineering - 0.9-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.9-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.9-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.9-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.9-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Sep 12 2018 Carl George - 0.9-1 - Initial package