%global pypi_name pyserial-asyncio Name: %{pypi_name} Version: 0.6 Release: 12%{?dist} Summary: Asynchronous Python Serial Port Extension # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://github.com/pyserial/pyserial-asyncio Source0: %{pypi_source} BuildArch: noarch %description Async I/O extension package for the Python Serial Port Extension. %package -n python3-%{pypi_name} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3dist(pyserial) BuildRequires: python3dist(setuptools) BuildRequires: python3dist(pytest) %{?python_provide:%python_provide python3-%{pypi_name}} %description -n python3-%{pypi_name} Async I/O extension package for the Python Serial Port Extension. %package -n python-%{pypi_name}-doc Summary: pyserial-asyncio documentation BuildRequires: python3dist(sphinx) BuildRequires: python3dist(sphinx-rtd-theme) %description -n python-%{pypi_name}-doc Documentation for pyserial-asyncio. %prep %autosetup -n %{pypi_name}-%{version} rm -rf %{pypi_name}.egg-info sed -i -e '/^#!\//, 1d' serial_asyncio/__init__.py %build %py3_build PYTHONPATH=${PWD} sphinx-build-3 documentation html rm -rf html/.{doctrees,buildinfo} %install %py3_install %check %pytest -v test %files -n python3-%{pypi_name} %license LICENSE.txt %doc README.rst %{python3_sitelib}/serial_asyncio/ %{python3_sitelib}/pyserial_asyncio-%{version}-py%{python3_version}.egg-info/ %files -n python-%{pypi_name}-doc %doc html %license LICENSE.txt %changelog * Wed Sep 04 2024 Miroslav Suchý - 0.6-12 - convert license to SPDX * Fri Jul 19 2024 Fedora Release Engineering - 0.6-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild * Fri Jun 07 2024 Python Maint - 0.6-10 - Rebuilt for Python 3.13 * Fri Jan 26 2024 Fedora Release Engineering - 0.6-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Sun Jan 21 2024 Fedora Release Engineering - 0.6-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild * Fri Jul 21 2023 Fedora Release Engineering - 0.6-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild * Thu Jun 15 2023 Python Maint - 0.6-6 - Rebuilt for Python 3.12 * Fri Jan 20 2023 Fedora Release Engineering - 0.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Fri Jul 22 2022 Fedora Release Engineering - 0.6-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 0.6-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 0.6-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Wed Oct 13 2021 Fabian Affolter - 0.6-1 - Update to latest upstream release 0.6 (closes rhbz#2009553) * Fri Jul 23 2021 Fedora Release Engineering - 0.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.5-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 09 2020 Fabian Affolter - 0.5-1 - Update to latest upstream release 0.5 * Thu Sep 10 2020 Fabian Affolter - 0.4-1 - Initial package for Fedora